summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeija <norrepli@googlemail.com>2012-12-21 21:21:39 -0800
committerJeija <norrepli@googlemail.com>2012-12-21 21:21:39 -0800
commit5e8e003b8c45e6cf4898f960d312b1f442a5e012 (patch)
tree7d5d9e534e34d1c052c7533e68e186c89cc5123e
parent6fab716f3e05140981259c084bcf8e075721d938 (diff)
parent34fa8a116702864f295f8858cfbd61dc4085bb3b (diff)
downloadmesecons-5e8e003b8c45e6cf4898f960d312b1f442a5e012.tar
mesecons-5e8e003b8c45e6cf4898f960d312b1f442a5e012.tar.gz
mesecons-5e8e003b8c45e6cf4898f960d312b1f442a5e012.tar.bz2
mesecons-5e8e003b8c45e6cf4898f960d312b1f442a5e012.tar.xz
mesecons-5e8e003b8c45e6cf4898f960d312b1f442a5e012.zip
Merge pull request #65 from montyoso/nextgen
now the insulated wires change their color when are turned on
-rw-r--r--mesecons_extrawires/crossing.lua2
-rw-r--r--mesecons_extrawires/tjunction.lua12
-rw-r--r--mesecons_insulated/init.lua16
-rw-r--r--mesecons_textures/textures/jeija_insulated_wire_sides_off.png (renamed from mesecons_textures/textures/jeija_insulated_wire_sides.png)bin200 -> 200 bytes
-rw-r--r--mesecons_textures/textures/jeija_insulated_wire_sides_on.pngbin0 -> 169 bytes
5 files changed, 15 insertions, 15 deletions
diff --git a/mesecons_extrawires/crossing.lua b/mesecons_extrawires/crossing.lua
index 2b35af1..9b381bf 100644
--- a/mesecons_extrawires/crossing.lua
+++ b/mesecons_extrawires/crossing.lua
@@ -6,7 +6,7 @@ end
minetest.register_node("mesecons_extrawires:crossing_on", {
drawtype = "nodebox",
- tiles = {"jeija_insulated_wire_sides.png"},
+ tiles = {"jeija_insulated_wire_sides_on.png"},
paramtype = "light",
walkable = false,
stack_max = 99,
diff --git a/mesecons_extrawires/tjunction.lua b/mesecons_extrawires/tjunction.lua
index cb16cfb..aa100f5 100644
--- a/mesecons_extrawires/tjunction.lua
+++ b/mesecons_extrawires/tjunction.lua
@@ -28,11 +28,11 @@ end
minetest.register_node("mesecons_extrawires:tjunction_on", {
drawtype = "nodebox",
tiles = {
- "jeija_insulated_wire_sides.png",
- "jeija_insulated_wire_sides.png",
+ "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.png",
+ "jeija_insulated_wire_sides_on.png",
"jeija_insulated_wire_ends_on.png"
},
paramtype = "light",
@@ -55,11 +55,11 @@ minetest.register_node("mesecons_extrawires:tjunction_off", {
drawtype = "nodebox",
description = "T-junction",
tiles = {
- "jeija_insulated_wire_sides.png",
- "jeija_insulated_wire_sides.png",
+ "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.png",
+ "jeija_insulated_wire_sides_off.png",
"jeija_insulated_wire_ends_off.png"
},
paramtype = "light",
diff --git a/mesecons_insulated/init.lua b/mesecons_insulated/init.lua
index 8bf75c7..37f64c8 100644
--- a/mesecons_insulated/init.lua
+++ b/mesecons_insulated/init.lua
@@ -11,12 +11,12 @@ minetest.register_node("mesecons_insulated:insulated_on", {
drawtype = "nodebox",
description = "insulated mesecons",
tiles = {
- "jeija_insulated_wire_sides.png",
- "jeija_insulated_wire_sides.png",
+ "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.png",
- "jeija_insulated_wire_sides.png"
+ "jeija_insulated_wire_sides_on.png",
+ "jeija_insulated_wire_sides_on.png"
},
paramtype = "light",
paramtype2 = "facedir",
@@ -43,12 +43,12 @@ minetest.register_node("mesecons_insulated:insulated_off", {
drawtype = "nodebox",
description = "insulated mesecons",
tiles = {
- "jeija_insulated_wire_sides.png",
- "jeija_insulated_wire_sides.png",
+ "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.png",
- "jeija_insulated_wire_sides.png"
+ "jeija_insulated_wire_sides_off.png",
+ "jeija_insulated_wire_sides_off.png"
},
paramtype = "light",
paramtype2 = "facedir",
diff --git a/mesecons_textures/textures/jeija_insulated_wire_sides.png b/mesecons_textures/textures/jeija_insulated_wire_sides_off.png
index db33f14..db33f14 100644
--- a/mesecons_textures/textures/jeija_insulated_wire_sides.png
+++ b/mesecons_textures/textures/jeija_insulated_wire_sides_off.png
Binary files differ
diff --git a/mesecons_textures/textures/jeija_insulated_wire_sides_on.png b/mesecons_textures/textures/jeija_insulated_wire_sides_on.png
new file mode 100644
index 0000000..f76e9a8
--- /dev/null
+++ b/mesecons_textures/textures/jeija_insulated_wire_sides_on.png
Binary files differ