summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-12-02 19:29:35 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-12-02 19:29:35 -0500
commita15b69802e0a9ec08e5815222c7722897daeee8d (patch)
tree23e701f8ced242b62fc97eb94d324a063cb2cb18
parent3dfe7702721c6491217312786e1200fb33f7e605 (diff)
downloadpipeworks-a15b69802e0a9ec08e5815222c7722897daeee8d.tar
pipeworks-a15b69802e0a9ec08e5815222c7722897daeee8d.tar.gz
pipeworks-a15b69802e0a9ec08e5815222c7722897daeee8d.tar.bz2
pipeworks-a15b69802e0a9ec08e5815222c7722897daeee8d.tar.xz
pipeworks-a15b69802e0a9ec08e5815222c7722897daeee8d.zip
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.lua46
-rw-r--r--textures/pipeworks_chest_side.pngbin914 -> 0 bytes
-rw-r--r--textures/pipeworks_chest_tb.pngbin587 -> 0 bytes
-rw-r--r--textures/pipeworks_furnace_bottom.pngbin648 -> 0 bytes
-rw-r--r--textures/pipeworks_furnace_side.pngbin657 -> 0 bytes
-rw-r--r--textures/pipeworks_furnace_top.pngbin648 -> 0 bytes
-rw-r--r--textures/pipeworks_tube_connection_stony.pngbin0 -> 189 bytes
-rw-r--r--textures/pipeworks_tube_connection_wooden.pngbin0 -> 180 bytes
8 files changed, 22 insertions, 24 deletions
diff --git a/compat.lua b/compat.lua
index 05558f8..074484e 100644
--- a/compat.lua
+++ b/compat.lua
@@ -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.png
deleted file mode 100644
index 498eb3e..0000000
--- a/textures/pipeworks_chest_side.png
+++ /dev/null
Binary files differ
diff --git a/textures/pipeworks_chest_tb.png b/textures/pipeworks_chest_tb.png
deleted file mode 100644
index ac1cb2b..0000000
--- a/textures/pipeworks_chest_tb.png
+++ /dev/null
Binary files differ
diff --git a/textures/pipeworks_furnace_bottom.png b/textures/pipeworks_furnace_bottom.png
deleted file mode 100644
index a99f292..0000000
--- a/textures/pipeworks_furnace_bottom.png
+++ /dev/null
Binary files differ
diff --git a/textures/pipeworks_furnace_side.png b/textures/pipeworks_furnace_side.png
deleted file mode 100644
index b54bae1..0000000
--- a/textures/pipeworks_furnace_side.png
+++ /dev/null
Binary files differ
diff --git a/textures/pipeworks_furnace_top.png b/textures/pipeworks_furnace_top.png
deleted file mode 100644
index a99f292..0000000
--- a/textures/pipeworks_furnace_top.png
+++ /dev/null
Binary files differ
diff --git a/textures/pipeworks_tube_connection_stony.png b/textures/pipeworks_tube_connection_stony.png
new file mode 100644
index 0000000..1e72d81
--- /dev/null
+++ b/textures/pipeworks_tube_connection_stony.png
Binary files differ
diff --git a/textures/pipeworks_tube_connection_wooden.png b/textures/pipeworks_tube_connection_wooden.png
new file mode 100644
index 0000000..c20cd7d
--- /dev/null
+++ b/textures/pipeworks_tube_connection_wooden.png
Binary files differ