aboutsummaryrefslogtreecommitdiff
path: root/games/minimal
diff options
context:
space:
mode:
Diffstat (limited to 'games/minimal')
-rw-r--r--games/minimal/mods/default/init.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/games/minimal/mods/default/init.lua b/games/minimal/mods/default/init.lua
index 516968f38..ed16e6a37 100644
--- a/games/minimal/mods/default/init.lua
+++ b/games/minimal/mods/default/init.lua
@@ -1112,6 +1112,12 @@ minetest.register_node("default:sign_wall", {
groups = {choppy=2,dig_immediate=2},
legacy_wallmounted = true,
sounds = default.node_sound_defaults(),
+ on_construct = function(pos)
+ --local n = minetest.env:get_node(pos)
+ local meta = minetest.env:get_meta(pos)
+ meta:set_string("formspec", "hack:sign_text_input")
+ meta:set_string("infotext", "\"${text}\"")
+ end,
})
minetest.register_node("default:chest", {