Add infotext to start book

master
Wuzzy 2021-12-26 03:58:46 +01:00
parent 8498068e4c
commit 05a256d39e
1 changed files with 4 additions and 0 deletions

View File

@ -47,6 +47,10 @@ minetest.register_node("lzr_menu:startbook", {
}
},
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_rightclick = on_rightclick,
groups = { snappy = 3, not_in_creative_inventory = 1, },