This commit is contained in:
Jeija 2012-08-10 08:26:38 +02:00
commit 5c5db631a6
13 changed files with 85 additions and 55 deletions

@ -20,8 +20,8 @@ minetest.register_node("mesecons_button:button_off", {
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = { fixed = {
{ -6/16, -6/16, 7/16, 6/16, 6/16, 8/16 }, -- the thin plate behind the button { -6/16, -6/16, 6/16, 6/16, 6/16, 8/16 }, -- the thin plate behind the button
{ -4/16, -2/16, 5/16, 4/16, 2/16, 7/16 } -- the button itself { -4/16, -2/16, 4/16, 4/16, 2/16, 6/16 } -- the button itself
} }
}, },
groups = {dig_immediate=2}, groups = {dig_immediate=2},
@ -48,8 +48,8 @@ minetest.register_node("mesecons_button:button_on", {
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = { fixed = {
{ -6/16, -6/16, 7/16, 6/16, 6/16, 8/16 }, { -6/16, -6/16, 6/16, 6/16, 6/16, 8/16 },
{ -4/16, -2/16, 13/32, 4/16, 2/16, 7/16 } { -4/16, -2/16, 11/32, 4/16, 2/16, 6/16 }
} }
}, },
groups = {dig_immediate=2, not_in_creative_inventory=1}, groups = {dig_immediate=2, not_in_creative_inventory=1},

@ -10,11 +10,11 @@ minetest.register_node("mesecons_delayer:delayer_off_1", {
walkable = false, walkable = false,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 },
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 },
}, },
groups = {bendy=2,snappy=1,dig_immediate=2}, groups = {bendy=2,snappy=1,dig_immediate=2},
paramtype = "light", paramtype = "light",
@ -35,11 +35,11 @@ minetest.register_node("mesecons_delayer:delayer_off_2", {
walkable = false, walkable = false,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 },
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 },
}, },
groups = {bendy=2,snappy=1,dig_immediate=2,not_in_creative_inventory=1}, groups = {bendy=2,snappy=1,dig_immediate=2,not_in_creative_inventory=1},
paramtype = "light", paramtype = "light",
@ -60,11 +60,11 @@ minetest.register_node("mesecons_delayer:delayer_off_3", {
walkable = false, walkable = false,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 },
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 },
}, },
groups = {bendy=2,snappy=1,dig_immediate=2,not_in_creative_inventory=1}, groups = {bendy=2,snappy=1,dig_immediate=2,not_in_creative_inventory=1},
paramtype = "light", paramtype = "light",
@ -85,11 +85,11 @@ minetest.register_node("mesecons_delayer:delayer_off_4", {
walkable = false, walkable = false,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 },
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 },
}, },
groups = {bendy=2,snappy=1,dig_immediate=2,not_in_creative_inventory=1}, groups = {bendy=2,snappy=1,dig_immediate=2,not_in_creative_inventory=1},
paramtype = "light", paramtype = "light",
@ -110,11 +110,11 @@ minetest.register_node("mesecons_delayer:delayer_on_1", {
walkable = false, walkable = false,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 },
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 },
}, },
groups = {bendy=2,snappy=1,dig_immediate=2,not_in_creative_inventory=1}, groups = {bendy=2,snappy=1,dig_immediate=2,not_in_creative_inventory=1},
paramtype = "light", paramtype = "light",
@ -135,11 +135,11 @@ minetest.register_node("mesecons_delayer:delayer_on_2", {
walkable = false, walkable = false,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 },
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 },
}, },
groups = {bendy=2,snappy=1,dig_immediate=2,not_in_creative_inventory=1}, groups = {bendy=2,snappy=1,dig_immediate=2,not_in_creative_inventory=1},
paramtype = "light", paramtype = "light",
@ -160,11 +160,11 @@ minetest.register_node("mesecons_delayer:delayer_on_3", {
walkable = false, walkable = false,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 },
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 },
}, },
groups = {bendy=2,snappy=1,dig_immediate=2,not_in_creative_inventory=1}, groups = {bendy=2,snappy=1,dig_immediate=2,not_in_creative_inventory=1},
paramtype = "light", paramtype = "light",
@ -185,11 +185,11 @@ minetest.register_node("mesecons_delayer:delayer_on_4", {
walkable = false, walkable = false,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 },
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5}, fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 },
}, },
groups = {bendy=2,snappy=1,dig_immediate=2,not_in_creative_inventory=1}, groups = {bendy=2,snappy=1,dig_immediate=2,not_in_creative_inventory=1},
paramtype = "light", paramtype = "light",

@ -10,11 +10,11 @@ minetest.register_node("mesecons_pressureplates:pressure_plate_wood_off", {
walkable = true, walkable = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = {-0.45, -0.5, -0.45, 0.45, -0.45, 0.45}, fixed = { -7/16, -8/16, -7/16, 7/16, -7/16, 7/16 },
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = {-0.45, -0.5, -0.45, 0.45, -0.45, 0.45}, fixed = { -7/16, -8/16, -7/16, 7/16, -7/16, 7/16 },
}, },
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3}, groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3},
description="Wood Pressure Plate", description="Wood Pressure Plate",
@ -28,11 +28,11 @@ minetest.register_node("mesecons_pressureplates:pressure_plate_wood_on", {
walkable = true, walkable = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = {-0.45, -0.5, -0.45, 0.45, -0.48, 0.45}, fixed = { -7/16, -8/16, -7/16, 7/16, -7/16, 7/16 },
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = {-0.45, -0.5, -0.45, 0.45, -0.48, 0.45}, fixed = { -7/16, -8/16, -7/16, 7/16, -7/16, 7/16 },
}, },
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,not_in_creative_inventory=1}, groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,not_in_creative_inventory=1},
drop='"mesecons_pressureplates:pressure_plate_wood_off" 1', drop='"mesecons_pressureplates:pressure_plate_wood_off" 1',
@ -92,11 +92,11 @@ minetest.register_node("mesecons_pressureplates:pressure_plate_stone_off", {
walkable = true, walkable = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = {-0.45, -0.5, -0.45, 0.45, -0.45, 0.45}, fixed = { -7/16, -8/16, -7/16, 7/16, -7/16, 7/16 },
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = {-0.45, -0.5, -0.45, 0.45, -0.45, 0.45}, fixed = { -7/16, -8/16, -7/16, 7/16, -7/16, 7/16 },
}, },
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3}, groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3},
description="Stone Pressure Plate", description="Stone Pressure Plate",
@ -110,11 +110,11 @@ minetest.register_node("mesecons_pressureplates:pressure_plate_stone_on", {
walkable = true, walkable = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = {-0.45, -0.5, -0.45, 0.45, -0.48, 0.45}, fixed = { -7/16, -8/16, -7/16, 7/16, -7/16, 7/16 },
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = {-0.45, -0.5, -0.45, 0.45, -0.48, 0.45}, fixed = { -7/16, -8/16, -7/16, 7/16, -7/16, 7/16 },
}, },
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,not_in_creative_inventory=1}, groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,not_in_creative_inventory=1},
drop='"mesecons_pressureplates:pressure_plate_stone_off" 1', drop='"mesecons_pressureplates:pressure_plate_stone_off" 1',

@ -10,15 +10,15 @@ minetest.register_node("mesecons_solarpanel:solar_panel", {
is_ground_content = true, is_ground_content = true,
node_box = { node_box = {
type = "wallmounted", type = "wallmounted",
wall_bottom = {-0.4375, -0.5, -0.4375, 0.4375, -0.45, 0.4375}, wall_bottom = { -7/16, -8/16, -7/16, 7/16, -7/16, 7/16 },
wall_top = {-0.4375, 0.45, -0.4375, 0.4375, 0.5, 0.4375}, wall_top = { -7/16, 7/16, -7/16, 7/16, 8/16, 7/16 },
wall_side = {-0.5, -0.4375, -0.4375, -0.45, 0.4375, 0.4375}, wall_side = { -8/16, -7/16, -7/16, -7/16, 7/16, 7/16 },
}, },
selection_box = { selection_box = {
type = "wallmounted", type = "wallmounted",
wall_bottom = {-0.4375, -0.5, -0.4375, 0.4375, -0.45, 0.4375}, wall_bottom = { -7/16, -8/16, -7/16, 7/16, -7/16, 7/16 },
wall_top = {-0.4375, 0.45, -0.4375, 0.4375, 0.5, 0.4375}, wall_top = { -7/16, 7/16, -7/16, 7/16, 8/16, 7/16 },
wall_side = {-0.5, -0.4375, -0.4375, -0.45, 0.4375, 0.4375}, wall_side = { -8/16, -7/16, -7/16, -7/16, 7/16, 7/16 },
}, },
furnace_burntime = 5, furnace_burntime = 5,
groups = {dig_immediate=3}, groups = {dig_immediate=3},

@ -109,11 +109,11 @@ minetest.register_node("mesecons_temperest:mesecon_plug", {
walkable = false, walkable = false,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.45, 0.5}, fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 },
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.45, 0.5}, fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 },
}, },
description = "Plug", description = "Plug",
after_place_node = plug_off, after_place_node = plug_off,
@ -143,11 +143,11 @@ minetest.register_node("mesecons_temperest:mesecon_socket_off", {
walkable = false, walkable = false,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.45, 0.5}, fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 },
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.45, 0.5}, fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 },
}, },
}) })
@ -160,11 +160,11 @@ minetest.register_node("mesecons_temperest:mesecon_socket_on", {
walkable = false, walkable = false,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.45, 0.5}, fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 },
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.45, 0.5}, fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 },
}, },
drop='"mesecons_temperest:mesecon_socket_off" 1', drop='"mesecons_temperest:mesecon_socket_off" 1',
after_dig_node = function(pos) after_dig_node = function(pos)
@ -195,11 +195,11 @@ if ENABLE_TEMPEREST then
walkable = false, walkable = false,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.45, 0.5}, fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 },
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.45, 0.5}, fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 },
}, },
drop='"mesecons_temperest:mesecon_inverter_on" 1', drop='"mesecons_temperest:mesecon_inverter_on" 1',
}) })
@ -216,11 +216,11 @@ if ENABLE_TEMPEREST then
walkable = false, walkable = false,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.45, 0.5}, fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 },
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.45, 0.5}, fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 },
}, },
after_place_node = function(pos) after_place_node = function(pos)
mesecon:receptor_on(pos) mesecon:receptor_on(pos)

Binary file not shown.

After

Width:  |  Height:  |  Size: 614 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 582 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 520 B

After

Width:  |  Height:  |  Size: 500 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 552 B

After

Width:  |  Height:  |  Size: 517 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 612 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 575 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 587 B

@ -1,29 +1,59 @@
-- WALL LEVER -- WALL LEVER
minetest.register_node("mesecons_walllever:wall_lever_off", { minetest.register_node("mesecons_walllever:wall_lever_off", {
drawtype = "signlike", drawtype = "nodebox",
tile_images = {"jeija_wall_lever_off.png"}, tile_images = {
"jeija_wall_lever_tb.png",
"jeija_wall_lever_bottom.png",
"jeija_wall_lever_sides.png",
"jeija_wall_lever_sides.png",
"jeija_wall_lever_back.png",
"jeija_wall_lever_off.png",
},
inventory_image = "jeija_wall_lever_off.png", inventory_image = "jeija_wall_lever_off.png",
wield_image = "jeija_wall_lever_off.png", wield_image = "jeija_wall_lever_off.png",
paramtype = "light", paramtype = "light",
paramtype2 = "wallmounted", paramtype2 = "facedir",
legacy_wallmounted = true,
walkable = false, walkable = false,
selection_box = { selection_box = {
type = "wallmounted", type = "fixed",
fixed = { -8/16, -8/16, 3/16, 8/16, 8/16, 8/16 },
},
node_box = {
type = "fixed",
fixed = {{ -6/16, -6/16, 6/16, 6/16, 6/16, 8/16 }, -- the base "slab"
{ -5/16, -3/16, 5/16, 5/16, 3/16, 6/16 }, -- the lighted ring area
{ -4/16, -2/16, 4/16, 4/16, 2/16, 5/16 }, -- the raised bit that the lever "sits" on
{ -2/16, -1/16, 3/16, 2/16, 1/16, 4/16 }, -- the lever "hinge"
{ -1/16, -8/16, 4/16, 1/16, 0, 6/16 }} -- the lever itself.
}, },
groups = {dig_immediate=2}, groups = {dig_immediate=2},
description="Lever", description="Lever",
}) })
minetest.register_node("mesecons_walllever:wall_lever_on", { minetest.register_node("mesecons_walllever:wall_lever_on", {
drawtype = "signlike", drawtype = "nodebox",
tile_images = {"jeija_wall_lever_on.png"}, tile_images = {
"jeija_wall_lever_top.png",
"jeija_wall_lever_tb.png",
"jeija_wall_lever_sides.png",
"jeija_wall_lever_sides.png",
"jeija_wall_lever_back.png",
"jeija_wall_lever_on.png",
},
inventory_image = "jeija_wall_lever_on.png", inventory_image = "jeija_wall_lever_on.png",
paramtype = "light", paramtype = "light",
paramtype2 = "wallmounted", paramtype2 = "facedir",
legacy_wallmounted = true,
walkable = false, walkable = false,
selection_box = { selection_box = {
type = "wallmounted", type = "fixed",
fixed = { -8/16, -8/16, 3/16, 8/16, 8/16, 8/16 },
},
node_box = {
type = "fixed",
fixed = {{ -6/16, -6/16, 6/16, 6/16, 6/16, 8/16 }, -- the base "slab"
{ -5/16, -3/16, 5/16, 5/16, 3/16, 6/16 }, -- the lighted ring area
{ -4/16, -2/16, 4/16, 4/16, 2/16, 5/16 }, -- the raised bit that the lever "sits" on
{ -2/16, -1/16, 3/16, 2/16, 1/16, 4/16 }, -- the lever "hinge"
{ -1/16, 0, 4/16, 1/16, 8/16, 6/16 }} -- the lever itself.
}, },
groups = {dig_immediate=2,not_in_creative_inventory=1}, groups = {dig_immediate=2,not_in_creative_inventory=1},
drop = '"mesecons_walllever:wall_lever_off" 1', drop = '"mesecons_walllever:wall_lever_off" 1',