diff options
| author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2013-12-02 19:29:35 -0500 | 
|---|---|---|
| committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2013-12-02 19:29:35 -0500 | 
| commit | a15b69802e0a9ec08e5815222c7722897daeee8d (patch) | |
| tree | 23e701f8ced242b62fc97eb94d324a063cb2cb18 | |
| parent | 3dfe7702721c6491217312786e1200fb33f7e605 (diff) | |
make the tube connection images for furnaces/chests into overlays
also don't redefine furnace top - tubes don't connect there anyways
| -rw-r--r-- | compat.lua | 46 | ||||
| -rw-r--r-- | textures/pipeworks_chest_side.png | bin | 914 -> 0 bytes | |||
| -rw-r--r-- | textures/pipeworks_chest_tb.png | bin | 587 -> 0 bytes | |||
| -rw-r--r-- | textures/pipeworks_furnace_bottom.png | bin | 648 -> 0 bytes | |||
| -rw-r--r-- | textures/pipeworks_furnace_side.png | bin | 657 -> 0 bytes | |||
| -rw-r--r-- | textures/pipeworks_furnace_top.png | bin | 648 -> 0 bytes | |||
| -rw-r--r-- | textures/pipeworks_tube_connection_stony.png | bin | 0 -> 189 bytes | |||
| -rw-r--r-- | textures/pipeworks_tube_connection_wooden.png | bin | 0 -> 180 bytes | 
8 files changed, 22 insertions, 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) diff --git a/textures/pipeworks_chest_side.png b/textures/pipeworks_chest_side.pngBinary files differ deleted file mode 100644 index 498eb3e..0000000 --- a/textures/pipeworks_chest_side.png +++ /dev/null diff --git a/textures/pipeworks_chest_tb.png b/textures/pipeworks_chest_tb.pngBinary files differ deleted file mode 100644 index ac1cb2b..0000000 --- a/textures/pipeworks_chest_tb.png +++ /dev/null diff --git a/textures/pipeworks_furnace_bottom.png b/textures/pipeworks_furnace_bottom.pngBinary files differ deleted file mode 100644 index a99f292..0000000 --- a/textures/pipeworks_furnace_bottom.png +++ /dev/null diff --git a/textures/pipeworks_furnace_side.png b/textures/pipeworks_furnace_side.pngBinary files differ deleted file mode 100644 index b54bae1..0000000 --- a/textures/pipeworks_furnace_side.png +++ /dev/null diff --git a/textures/pipeworks_furnace_top.png b/textures/pipeworks_furnace_top.pngBinary files differ deleted file mode 100644 index a99f292..0000000 --- a/textures/pipeworks_furnace_top.png +++ /dev/null diff --git a/textures/pipeworks_tube_connection_stony.png b/textures/pipeworks_tube_connection_stony.pngBinary files differ new file mode 100644 index 0000000..1e72d81 --- /dev/null +++ b/textures/pipeworks_tube_connection_stony.png diff --git a/textures/pipeworks_tube_connection_wooden.png b/textures/pipeworks_tube_connection_wooden.pngBinary files differ new file mode 100644 index 0000000..c20cd7d --- /dev/null +++ b/textures/pipeworks_tube_connection_wooden.png | 
