summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZefram <zefram@fysh.org>2014-07-03 02:00:24 +0100
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2014-07-02 21:40:36 -0400
commita7cd0e3ddb5f35896e72dc4f4e1ca532b45529db (patch)
tree1f413d420013863499217bcfe872e7f3fd24d960
parent65baf218beb277d616604f4376bcce444e85d264 (diff)
downloadpipeworks-a7cd0e3ddb5f35896e72dc4f4e1ca532b45529db.tar
pipeworks-a7cd0e3ddb5f35896e72dc4f4e1ca532b45529db.tar.gz
pipeworks-a7cd0e3ddb5f35896e72dc4f4e1ca532b45529db.tar.bz2
pipeworks-a7cd0e3ddb5f35896e72dc4f4e1ca532b45529db.tar.xz
pipeworks-a7cd0e3ddb5f35896e72dc4f4e1ca532b45529db.zip
Fix drops for storage tanks
-rw-r--r--devices.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/devices.lua b/devices.lua
index ab14a2d..b7571d3 100644
--- a/devices.lua
+++ b/devices.lua
@@ -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)