aboutsummaryrefslogtreecommitdiff
path: root/games/minimal/mods/legacy
diff options
context:
space:
mode:
authorasl97 <asl97@airmail.cc>2017-10-18 03:50:58 +0800
committerLoïc Blot <nerzhul@users.noreply.github.com>2017-10-17 21:50:58 +0200
commit38b0e2667928ab75737c9dd7a13769d5d8d7072c (patch)
treecb334624f35d5fa63b3f659eb07f6249109063e1 /games/minimal/mods/legacy
parent5e24ca05fd91a7870983858f02b4f6cf7b496a06 (diff)
downloadminetest-38b0e2667928ab75737c9dd7a13769d5d8d7072c.tar.gz
minetest-38b0e2667928ab75737c9dd7a13769d5d8d7072c.tar.bz2
0 files changed, 0 insertions, 0 deletions
n paramtype2 = "facedir", drop = "", on_construct = function(pos) experimental.print_to_everything("experimental:callback_node:on_construct("..minetest.pos_to_string(pos)..")") local meta = minetest.get_meta(pos) meta:set_string("mine", "test") local timer = minetest.get_node_timer(pos) timer:start(4, 3) end, after_place_node = function(pos, placer) experimental.print_to_everything("experimental:callback_node:after_place_node("..minetest.pos_to_string(pos)..")") local meta = minetest.get_meta(pos) if meta:get_string("mine") == "test" then experimental.print_to_everything("correct metadata found") else experimental.print_to_everything("incorrect metadata found") end end, on_destruct = function(pos)