diff options
author | Zefram <zefram@fysh.org> | 2014-07-23 01:47:40 +0100 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2014-07-23 09:50:50 -0400 |
commit | 7cf5e3cfb90f75e2ededf280f6ea58b122e8292b (patch) | |
tree | 5affc7f40f91cbb61d7e29a4bdbefc5f09eb2c09 /legacy.lua | |
parent | 46d44eebcf9bb148cea505fcb4f25a97efcd6368 (diff) |
Refactor node breaker
Merge node breaker into the generic wielder mechanism. Center the wield
inventory in all wielders' formspecs. Implement full auto-upgrade of
legacy node breakers, occurring upon use or punching of the node breaker.
Make node breaker respect on_dig hooks.
Diffstat (limited to 'legacy.lua')
-rw-r--r-- | legacy.lua | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -14,6 +14,7 @@ if not minetest.get_modpath("auto_tree_tap") and inv:set_size("ghost_pick", 1) inv:set_size("main", 100) minetest.set_node(pos, {name = "pipeworks:nodebreaker_off", param2 = fdir}) + minetest.registered_nodes["pipeworks:nodebreaker_off"].on_punch(pos, node) inv:set_stack("pick", 1, ItemStack("technic:treetap")) end }) |