forked from mtcontrib/pipeworks
Added textures for teleport tube
This commit is contained in:
parent
a77095ebe6
commit
23bf19f480
@ -49,9 +49,17 @@ function get_tubes_in_file(pos,channel)
|
|||||||
return newtbl
|
return newtbl
|
||||||
end
|
end
|
||||||
|
|
||||||
|
teleport_noctr_textures={"pipeworks_teleport_tube_noctr.png","pipeworks_teleport_tube_noctr.png","pipeworks_teleport_tube_noctr.png",
|
||||||
|
"pipeworks_teleport_tube_noctr.png","pipeworks_teleport_tube_noctr.png","pipeworks_teleport_tube_noctr.png"}
|
||||||
|
teleport_plain_textures={"pipeworks_teleport_tube_plain.png","pipeworks_teleport_tube_plain.png","pipeworks_teleport_tube_plain.png",
|
||||||
|
"pipeworks_teleport_tube_plain.png","pipeworks_teleport_tube_plain.png","pipeworks_teleport_tube_plain.png"}
|
||||||
|
teleport_end_textures={"pipeworks_teleport_tube_end.png","pipeworks_teleport_tube_end.png","pipeworks_teleport_tube_end.png",
|
||||||
|
"pipeworks_teleport_tube_end.png","pipeworks_teleport_tube_end.png","pipeworks_teleport_tube_end.png"}
|
||||||
|
teleport_short_texture="pipeworks_teleport_tube_short.png"
|
||||||
|
teleport_inv_texture="pipeworks_teleport_tube_inv.png"
|
||||||
|
|
||||||
register_tube("pipeworks:teleport_tube","Teleporter pneumatic tube segment",plain_textures,noctr_textures,end_textures,
|
register_tube("pipeworks:teleport_tube","Teleporter pneumatic tube segment",teleport_plain_textures,
|
||||||
short_texture,inv_texture,
|
teleport_noctr_textures,teleport_end_textures,teleport_short_texture,teleport_inv_texture,
|
||||||
{tube={can_go=function(pos,node,velocity,stack)
|
{tube={can_go=function(pos,node,velocity,stack)
|
||||||
velocity.x=0
|
velocity.x=0
|
||||||
velocity.y=0
|
velocity.y=0
|
||||||
|
BIN
textures/pipeworks_teleport_tube_end.png
Normal file
BIN
textures/pipeworks_teleport_tube_end.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.3 KiB |
BIN
textures/pipeworks_teleport_tube_inv.png
Normal file
BIN
textures/pipeworks_teleport_tube_inv.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
BIN
textures/pipeworks_teleport_tube_noctr.png
Normal file
BIN
textures/pipeworks_teleport_tube_noctr.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.6 KiB |
BIN
textures/pipeworks_teleport_tube_plain.png
Normal file
BIN
textures/pipeworks_teleport_tube_plain.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.2 KiB |
BIN
textures/pipeworks_teleport_tube_short.png
Normal file
BIN
textures/pipeworks_teleport_tube_short.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
Loading…
Reference in New Issue
Block a user