mirror of
https://github.com/mt-mods/pipeworks.git
synced 2025-07-02 16:20:35 +02:00
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.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user