Don't show legacy auto-tree-tap in creative invy
authorZefram <zefram@fysh.org>
Mon, 14 Jul 2014 18:42:17 +0000 (19:42 +0100)
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>
Mon, 14 Jul 2014 18:55:31 +0000 (14:55 -0400)
legacy.lua

index 662e68d656d96b30d3ab73cb2b0c2f004243f8c8..472eaca62f6877c28a3b16ec8d2123acf92f317d 100644 (file)
@@ -24,7 +24,7 @@ if not minetest.get_modpath("auto_tree_tap") and
                        "pipeworks_nodebreaker_back.png","pipeworks_nodebreaker_front_off.png"},
                is_ground_content = true,
                paramtype2 = "facedir",
-               groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2, mesecon = 2,tubedevice=1},
+               groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2, mesecon = 2,tubedevice=1, not_in_creative_inventory=1 },
                mesecons= {effector={rules=pipeworks.rules_all,action_on=node_breaker_on, action_off=node_breaker_off}},
                sounds = default.node_sound_stone_defaults(),
                tube = {connect_sides={back=1}},