summaryrefslogtreecommitdiff
path: root/tubes.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2012-09-01 18:37:19 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2012-09-01 18:37:19 -0400
commitccf696748d8ef354033224265119b60c947c55ff (patch)
tree393f8f05aeda8be175e670ca11f3c393c9553e70 /tubes.lua
parentf0c4ee45059795c351bca9166d49a3839ab11da6 (diff)
downloadpipeworks-ccf696748d8ef354033224265119b60c947c55ff.tar
pipeworks-ccf696748d8ef354033224265119b60c947c55ff.tar.gz
pipeworks-ccf696748d8ef354033224265119b60c947c55ff.tar.bz2
pipeworks-ccf696748d8ef354033224265119b60c947c55ff.tar.xz
pipeworks-ccf696748d8ef354033224265119b60c947c55ff.zip
flattened wielded pipe segment.
Diffstat (limited to 'tubes.lua')
-rw-r--r--tubes.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/tubes.lua b/tubes.lua
index fb606a0..3487661 100644
--- a/tubes.lua
+++ b/tubes.lua
@@ -139,6 +139,7 @@ for zp = 0, 1 do
tgroups = {snappy=3, tube=1, not_in_creative_inventory=1}
tubedesc = "Pneumatic tube segment ("..tname..")... You hacker, you."
iimg=nil
+ wscale = {x=1,y=1,z=1}
else
tgroups = {snappy=3, tube=1}
tubedesc = "Pneumatic tube segment"
@@ -153,6 +154,7 @@ for zp = 0, 1 do
}
outboxes = { -24/64, -9/64, -9/64, 24/64, 9/64, 9/64 }
outsel = { -24/64, -10/64, -10/64, 24/64, 10/64, 10/64 }
+ wscale = {x=1,y=1,z=0.01}
end
minetest.register_node("pipeworks:tube_"..tname, {
@@ -161,6 +163,7 @@ for zp = 0, 1 do
tiles = outimgs,
inventory_image=iimg,
wield_image=iimg,
+ wield_scale=wscale,
paramtype = "light",
selection_box = {
type = "fixed",