make the tube connection images for furnaces/chests into overlays

also don't redefine furnace top - tubes don't connect there anyways
This commit is contained in:
Vanessa Ezekowitz 2013-12-02 19:29:35 -05:00
parent 3dfe770272
commit a15b69802e
8 changed files with 22 additions and 24 deletions

@ -11,12 +11,11 @@ function pipeworks:clone_node(name)
end
furnace=pipeworks:clone_node("default:furnace")
furnace.tiles[1] = "pipeworks_furnace_top.png"
furnace.tiles[2] = "pipeworks_furnace_bottom.png"
furnace.tiles[3] = "pipeworks_furnace_side.png"
furnace.tiles[4] = "pipeworks_furnace_side.png"
furnace.tiles[5] = "pipeworks_furnace_side.png"
-- note we don't redefine entry #6 - the front.
furnace.tiles[2] = "default_furnace_bottom.png^pipeworks_tube_connection_stony.png"
furnace.tiles[3] = "default_furnace_side.png^pipeworks_tube_connection_stony.png"
furnace.tiles[4] = "default_furnace_side.png^pipeworks_tube_connection_stony.png"
furnace.tiles[5] = "default_furnace_side.png^pipeworks_tube_connection_stony.png"
-- note we don't redefine entries 1 and 6 (top and front)
furnace.groups.tubedevice=1
furnace.groups.tubedevice_receiver=1
furnace.tube={insert_object = function(pos,node,stack,direction)
@ -51,12 +50,11 @@ furnace=pipeworks:clone_node("default:furnace")
minetest.register_node(":default:furnace",furnace)
furnace=pipeworks:clone_node("default:furnace_active")
furnace.tiles[1] = "pipeworks_furnace_top.png"
furnace.tiles[2] = "pipeworks_furnace_bottom.png"
furnace.tiles[3] = "pipeworks_furnace_side.png"
furnace.tiles[4] = "pipeworks_furnace_side.png"
furnace.tiles[5] = "pipeworks_furnace_side.png"
-- note we don't redefine entry #6 - the front.
furnace.tiles[2] = "default_furnace_bottom.png^pipeworks_tube_connection_stony.png"
furnace.tiles[3] = "default_furnace_side.png^pipeworks_tube_connection_stony.png"
furnace.tiles[4] = "default_furnace_side.png^pipeworks_tube_connection_stony.png"
furnace.tiles[5] = "default_furnace_side.png^pipeworks_tube_connection_stony.png"
-- note we don't redefine entries 1 and 6 (top and front)
furnace.groups.tubedevice=1
furnace.groups.tubedevice_receiver=1
furnace.tube={insert_object=function(pos,node,stack,direction)
@ -91,12 +89,12 @@ furnace=pipeworks:clone_node("default:furnace_active")
chest=pipeworks:clone_node("default:chest")
chest.tiles[1] = "pipeworks_chest_tb.png"
chest.tiles[2] = "pipeworks_chest_tb.png"
chest.tiles[3] = "pipeworks_chest_side.png"
chest.tiles[4] = "pipeworks_chest_side.png"
chest.tiles[5] = "pipeworks_chest_side.png"
-- note we don't redefine entry #6 - the front.
chest.tiles[1] = "default_chest_top.png^pipeworks_tube_connection_wooden.png"
chest.tiles[2] = "default_chest_top.png^pipeworks_tube_connection_wooden.png"
chest.tiles[3] = "default_chest_side.png^pipeworks_tube_connection_wooden.png"
chest.tiles[4] = "default_chest_side.png^pipeworks_tube_connection_wooden.png"
chest.tiles[5] = "default_chest_side.png^pipeworks_tube_connection_wooden.png"
-- note we don't redefine entry 6 (front).
chest.groups.tubedevice=1
chest.groups.tubedevice_receiver=1
chest.tube={insert_object = function(pos,node,stack,direction)
@ -122,12 +120,12 @@ minetest.register_node(":default:chest",chest)
chest_locked=pipeworks:clone_node("default:chest_locked")
chest_locked.tiles[1] = "pipeworks_chest_tb.png"
chest_locked.tiles[2] = "pipeworks_chest_tb.png"
chest_locked.tiles[3] = "pipeworks_chest_side.png"
chest_locked.tiles[4] = "pipeworks_chest_side.png"
chest_locked.tiles[5] = "pipeworks_chest_side.png"
-- note we don't redefine entry #6 - the front.
chest_locked.tiles[1] = "default_chest_top.png^pipeworks_tube_connection_wooden.png"
chest_locked.tiles[2] = "default_chest_top.png^pipeworks_tube_connection_wooden.png"
chest_locked.tiles[3] = "default_chest_side.png^pipeworks_tube_connection_wooden.png"
chest_locked.tiles[4] = "default_chest_side.png^pipeworks_tube_connection_wooden.png"
chest_locked.tiles[5] = "default_chest_side.png^pipeworks_tube_connection_wooden.png"
-- note we don't redefine entry 6 (front).
chest_locked.groups.tubedevice=1
chest_locked.groups.tubedevice_receiver=1
chest_locked.tube={insert_object = function(pos,node,stack,direction)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 914 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 587 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 648 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 657 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 648 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 B