now the insulated wires change their color when they are turn on

This commit is contained in:
Andres Eduardo Montoya Cruz 2012-12-21 20:24:43 -05:00
parent 23bebfc054
commit 34fa8a1167
5 changed files with 15 additions and 15 deletions

View File

@ -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,

View File

@ -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",

View File

@ -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",

View File

Before

Width:  |  Height:  |  Size: 200 B

After

Width:  |  Height:  |  Size: 200 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 B