diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2013-12-15 04:35:59 -0500 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2013-12-15 04:35:59 -0500 |
commit | 659b4e42b2bb6b55a4031554664b6f371f903f5e (patch) | |
tree | df7d7cbbf3b9d19573e144c7d94a1cb9a6210861 /teleport_tube.lua | |
parent | bd80f18cfce1fb69e78f7d5ce63e7264718378e7 (diff) |
local-ize a few more variables, move all of the nodebox models
into their own file and confine them and pretty much everything
else to the pipeworks.{} table (still global though). More to
come.
Diffstat (limited to 'teleport_tube.lua')
-rw-r--r-- | teleport_tube.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/teleport_tube.lua b/teleport_tube.lua index d373690..a67daed 100644 --- a/teleport_tube.lua +++ b/teleport_tube.lua @@ -67,7 +67,7 @@ local teleport_end_textures={"pipeworks_teleport_tube_end.png","pipeworks_telepo local teleport_short_texture="pipeworks_teleport_tube_short.png" local teleport_inv_texture="pipeworks_teleport_tube_inv.png" -register_tube("pipeworks:teleport_tube","Teleporter pneumatic tube segment",teleport_plain_textures, +pipeworks.register_tube("pipeworks:teleport_tube","Teleporter pneumatic tube segment",teleport_plain_textures, teleport_noctr_textures,teleport_end_textures,teleport_short_texture,teleport_inv_texture, {tube={can_go=function(pos,node,velocity,stack) velocity.x=0 |