summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2012-12-27 12:48:02 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2012-12-27 12:48:02 -0500
commit84ad046533be7449b647ad06c9a168cfc91b2b60 (patch)
treeafee7886d3e7be94f321f93327d562a3f3ce7d1b
parentcdd9a93da9c8ed5e89993bc225647dbce71f96f4 (diff)
downloadmesecons-84ad046533be7449b647ad06c9a168cfc91b2b60.tar
mesecons-84ad046533be7449b647ad06c9a168cfc91b2b60.tar.gz
mesecons-84ad046533be7449b647ad06c9a168cfc91b2b60.tar.bz2
mesecons-84ad046533be7449b647ad06c9a168cfc91b2b60.tar.xz
mesecons-84ad046533be7449b647ad06c9a168cfc91b2b60.zip
Added a couple of needed textures for curved/corner wires and tweak code to
use them. Also fixed the "on" state image for wire ends so that it works for curved wires also.
-rw-r--r--mesecons_extrawires/corner.lua8
-rw-r--r--mesecons_textures/textures/jeija_insulated_wire_curved_tb_off.pngbin0 -> 253 bytes
-rw-r--r--mesecons_textures/textures/jeija_insulated_wire_curved_tb_on.pngbin0 -> 196 bytes
-rw-r--r--mesecons_textures/textures/jeija_insulated_wire_ends_off.pngbin172 -> 173 bytes
-rw-r--r--mesecons_textures/textures/jeija_insulated_wire_ends_on.pngbin172 -> 166 bytes
5 files changed, 4 insertions, 4 deletions
diff --git a/mesecons_extrawires/corner.lua b/mesecons_extrawires/corner.lua
index 885a1ca..df45d41 100644
--- a/mesecons_extrawires/corner.lua
+++ b/mesecons_extrawires/corner.lua
@@ -24,9 +24,9 @@ end
minetest.register_node("mesecons_extrawires:corner_on", {
drawtype = "nodebox",
tiles = {
+ "jeija_insulated_wire_curved_tb_on.png",
+ "jeija_insulated_wire_curved_tb_on.png^[transformR270",
"jeija_insulated_wire_sides_on.png",
- "jeija_insulated_wire_sides_on.png",
- "jeija_insulated_wire_ends_on.png",
"jeija_insulated_wire_ends_on.png",
"jeija_insulated_wire_sides_on.png",
"jeija_insulated_wire_ends_on.png"
@@ -51,9 +51,9 @@ minetest.register_node("mesecons_extrawires:corner_off", {
drawtype = "nodebox",
description = "Mesecon Corner",
tiles = {
+ "jeija_insulated_wire_curved_tb_off.png",
+ "jeija_insulated_wire_curved_tb_off.png^[transformR270",
"jeija_insulated_wire_sides_off.png",
- "jeija_insulated_wire_sides_off.png",
- "jeija_insulated_wire_ends_off.png",
"jeija_insulated_wire_ends_off.png",
"jeija_insulated_wire_sides_off.png",
"jeija_insulated_wire_ends_off.png"
diff --git a/mesecons_textures/textures/jeija_insulated_wire_curved_tb_off.png b/mesecons_textures/textures/jeija_insulated_wire_curved_tb_off.png
new file mode 100644
index 0000000..85ca90b
--- /dev/null
+++ b/mesecons_textures/textures/jeija_insulated_wire_curved_tb_off.png
Binary files differ
diff --git a/mesecons_textures/textures/jeija_insulated_wire_curved_tb_on.png b/mesecons_textures/textures/jeija_insulated_wire_curved_tb_on.png
new file mode 100644
index 0000000..772d9a6
--- /dev/null
+++ b/mesecons_textures/textures/jeija_insulated_wire_curved_tb_on.png
Binary files differ
diff --git a/mesecons_textures/textures/jeija_insulated_wire_ends_off.png b/mesecons_textures/textures/jeija_insulated_wire_ends_off.png
index accb72a..1fb4782 100644
--- a/mesecons_textures/textures/jeija_insulated_wire_ends_off.png
+++ b/mesecons_textures/textures/jeija_insulated_wire_ends_off.png
Binary files differ
diff --git a/mesecons_textures/textures/jeija_insulated_wire_ends_on.png b/mesecons_textures/textures/jeija_insulated_wire_ends_on.png
index 8148edd..91736ed 100644
--- a/mesecons_textures/textures/jeija_insulated_wire_ends_on.png
+++ b/mesecons_textures/textures/jeija_insulated_wire_ends_on.png
Binary files differ