forked from Mirrorlandia_minetest/mesecons
Merge pull request #65 from montyoso/nextgen
now the insulated wires change their color when are turned on
This commit is contained in:
commit
5e8e003b8c
@ -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,
|
||||||
|
@ -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",
|
||||||
|
@ -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",
|
||||||
|
Before Width: | Height: | Size: 200 B After Width: | Height: | Size: 200 B |
BIN
mesecons_textures/textures/jeija_insulated_wire_sides_on.png
Normal file
BIN
mesecons_textures/textures/jeija_insulated_wire_sides_on.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 169 B |
Loading…
Reference in New Issue
Block a user