Add infotext to start book
parent
8498068e4c
commit
05a256d39e
|
@ -47,6 +47,10 @@ minetest.register_node("lzr_menu:startbook", {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
|
on_construct = function(pos)
|
||||||
|
local meta = minetest.get_meta(pos)
|
||||||
|
meta:set_string("infotext", S("Start game"))
|
||||||
|
end,
|
||||||
on_punch = on_punch,
|
on_punch = on_punch,
|
||||||
on_rightclick = on_rightclick,
|
on_rightclick = on_rightclick,
|
||||||
groups = { snappy = 3, not_in_creative_inventory = 1, },
|
groups = { snappy = 3, not_in_creative_inventory = 1, },
|
||||||
|
|
Loading…
Reference in New Issue