mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-26 03:07:32 +01:00
Rename painting description
This commit is contained in:
parent
827d7c7eb2
commit
1a88bce60d
@ -21,9 +21,16 @@ if n == 1 then
|
||||
groups = {choppy=2, dig_immediate=3, picture=1, deco_block=1}
|
||||
end
|
||||
|
||||
local desc
|
||||
if n == 1 then
|
||||
desc = "Painting"
|
||||
else
|
||||
desc = "Painting ("..n..")"
|
||||
end
|
||||
|
||||
-- inivisible node
|
||||
minetest.register_node("gemalde:node_"..n.."", {
|
||||
description = "Painting #"..n.."",
|
||||
description = desc,
|
||||
drawtype = "signlike",
|
||||
tiles = {"gemalde_"..n..".png"},
|
||||
visual_scale = 3.0,
|
||||
@ -37,6 +44,7 @@ minetest.register_node("gemalde:node_"..n.."", {
|
||||
selection_box = {
|
||||
type = "wallmounted",
|
||||
},
|
||||
drop = "gemalde:node_1",
|
||||
groups = groups,
|
||||
|
||||
on_rightclick = function(pos, node, clicker)
|
||||
|
Loading…
Reference in New Issue
Block a user