Fix drops for storage tanks
authorZefram <zefram@fysh.org>
Thu, 3 Jul 2014 01:00:24 +0000 (02:00 +0100)
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>
Thu, 3 Jul 2014 01:40:36 +0000 (21:40 -0400)
devices.lua

index ab14a2d1dd5d236688404a2edf3c1eba0c3433ae..b7571d36ec693456aaefadeffb09ea3a062d7877 100644 (file)
@@ -590,7 +590,7 @@ for fill = 0, 10 do
                groups = {snappy=3, pipe=1, tankfill=fill+1, not_in_creative_inventory=1},
                sounds = default.node_sound_wood_defaults(),
                walkable = true,
-               drop = "pipeworks:storage_tank_"..fill,
+               drop = "pipeworks:storage_tank_0",
                after_place_node = function(pos)
                        pipeworks.look_for_stackable_tanks(pos)
                        pipeworks.scan_for_pipe_objects(pos)
@@ -616,6 +616,7 @@ for fill = 0, 10 do
                groups = sgroups,
                sounds = default.node_sound_wood_defaults(),
                walkable = true,
+               drop = "pipeworks:storage_tank_0",
                after_place_node = function(pos)
                        pipeworks.look_for_stackable_tanks(pos)
                        pipeworks.scan_for_pipe_objects(pos)