diff options
author | FaceDeer <derksenmobile@gmail.com> | 2017-09-10 21:30:28 -0600 |
---|---|---|
committer | FaceDeer <derksenmobile@gmail.com> | 2017-09-10 21:30:28 -0600 |
commit | 268b4d16263104f1c1710fdacbeb61a75de69ec3 (patch) | |
tree | 7e5c5c6209260e0f5b9218878076f57c2e834335 | |
parent | 97a258cf9ca601266e934018b5bdea6d2f3a088c (diff) |
upgrade lbm for builder extrusion metadata
-rw-r--r-- | init.lua | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -97,6 +97,15 @@ minetest.register_lbm({ end }) +minetest.register_lbm({ + name = "digtron:builder_extrusion_upgrade", + nodenames = {"digtron:builder"}, + action = function(pos, node) + local meta = minetest.get_meta(pos) + meta:set_int("extrusion", 1) + end +}) + if minetest.get_modpath("catacomb") and catacomb ~= nil and catacomb.chamber_protected_nodes ~= nil and catacomb.passage_protected_nodes ~= nil then local digtron_nodes = { minetest.get_content_id("digtron:inventory"), |