forked from minetest-mods/mesecons
now the insulated wires change their color when they are turn on
This commit is contained in:
parent
23bebfc054
commit
34fa8a1167
@ -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,
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
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