Merge pull request #26 from VanessaE/master

isolated wires
This commit is contained in:
Jeija 2012-08-17 02:27:40 -07:00
commit 64cbdb9af2
4 changed files with 41 additions and 2 deletions

View File

@ -1,13 +1,52 @@
minetest.register_node("mesecons_isolated:isolated_on", {
drawtype = "nodebox",
description = "isolated mesecons",
tiles = {"default_stone.png"},
tiles = {
"jeija_isolated_wire_sides.png",
"jeija_isolated_wire_sides.png",
"jeija_isolated_wire_ends_on.png",
"jeija_isolated_wire_ends_on.png",
"jeija_isolated_wire_sides.png",
"jeija_isolated_wire_sides.png"
},
paramtype = "light",
walkable = false,
stack_max = 99,
selection_box = {
type = "fixed",
fixed = { -16/32-0.001, -19/32, -5/32, 16/32+0.001, -11/32, 5/32 }
},
node_box = {
type = "fixed",
fixed = { -16/32-0.001, -17/32, -3/32, 16/32+0.001, -13/32, 3/32 }
},
groups = {dig_immediate = 3, mesecon = 3, mesecon_conductor_craftable=1},
drop = "mesecons_isolated:isolated_off",
})
minetest.register_node("mesecons_isolated:isolated_off", {
drawtype = "nodebox",
description = "isolated mesecons",
tiles = {"default_wood.png"},
tiles = {
"jeija_isolated_wire_sides.png",
"jeija_isolated_wire_sides.png",
"jeija_isolated_wire_ends_off.png",
"jeija_isolated_wire_ends_off.png",
"jeija_isolated_wire_sides.png",
"jeija_isolated_wire_sides.png"
},
paramtype = "light",
walkable = false,
stack_max = 99,
selection_box = {
type = "fixed",
fixed = { -16/32-0.001, -19/32, -5/32, 16/32+0.001, -11/32, 5/32 }
},
node_box = {
type = "fixed",
fixed = { -16/32-0.001, -17/32, -3/32, 16/32+0.001, -13/32, 3/32 }
},
groups = {dig_immediate = 3, mesecon = 3, mesecon_conductor_craftable=1, not_in_creative_inventory = 1},
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 211 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 B