Merge pull request #65 from montyoso/nextgen

now the insulated wires change their color when are turned on
This commit is contained in:
Jeija 2012-12-21 21:21:39 -08:00
commit 5e8e003b8c
5 changed files with 15 additions and 15 deletions

View File

@ -6,7 +6,7 @@ end
minetest.register_node("mesecons_extrawires:crossing_on", { minetest.register_node("mesecons_extrawires:crossing_on", {
drawtype = "nodebox", drawtype = "nodebox",
tiles = {"jeija_insulated_wire_sides.png"}, tiles = {"jeija_insulated_wire_sides_on.png"},
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
stack_max = 99, stack_max = 99,

View File

@ -28,11 +28,11 @@ end
minetest.register_node("mesecons_extrawires:tjunction_on", { minetest.register_node("mesecons_extrawires:tjunction_on", {
drawtype = "nodebox", drawtype = "nodebox",
tiles = { tiles = {
"jeija_insulated_wire_sides.png", "jeija_insulated_wire_sides_on.png",
"jeija_insulated_wire_sides.png", "jeija_insulated_wire_sides_on.png",
"jeija_insulated_wire_ends_on.png", "jeija_insulated_wire_ends_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" "jeija_insulated_wire_ends_on.png"
}, },
paramtype = "light", paramtype = "light",
@ -55,11 +55,11 @@ minetest.register_node("mesecons_extrawires:tjunction_off", {
drawtype = "nodebox", drawtype = "nodebox",
description = "T-junction", description = "T-junction",
tiles = { tiles = {
"jeija_insulated_wire_sides.png", "jeija_insulated_wire_sides_off.png",
"jeija_insulated_wire_sides.png", "jeija_insulated_wire_sides_off.png",
"jeija_insulated_wire_ends_off.png", "jeija_insulated_wire_ends_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" "jeija_insulated_wire_ends_off.png"
}, },
paramtype = "light", paramtype = "light",

View File

@ -11,12 +11,12 @@ minetest.register_node("mesecons_insulated:insulated_on", {
drawtype = "nodebox", drawtype = "nodebox",
description = "insulated mesecons", description = "insulated mesecons",
tiles = { tiles = {
"jeija_insulated_wire_sides.png", "jeija_insulated_wire_sides_on.png",
"jeija_insulated_wire_sides.png", "jeija_insulated_wire_sides_on.png",
"jeija_insulated_wire_ends_on.png", "jeija_insulated_wire_ends_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_sides.png" "jeija_insulated_wire_sides_on.png"
}, },
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
@ -43,12 +43,12 @@ minetest.register_node("mesecons_insulated:insulated_off", {
drawtype = "nodebox", drawtype = "nodebox",
description = "insulated mesecons", description = "insulated mesecons",
tiles = { tiles = {
"jeija_insulated_wire_sides.png", "jeija_insulated_wire_sides_off.png",
"jeija_insulated_wire_sides.png", "jeija_insulated_wire_sides_off.png",
"jeija_insulated_wire_ends_off.png", "jeija_insulated_wire_ends_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_sides.png" "jeija_insulated_wire_sides_off.png"
}, },
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", 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