forked from Mirrorlandia_minetest/mesecons
thickened up pressure plates slightly for consistency
This commit is contained in:
parent
6d0e2b04c6
commit
368a7c1eda
@ -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',
|
||||||
|
@ -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)
|
||||||
@ -241,4 +241,4 @@ if ENABLE_TEMPEREST then
|
|||||||
{'"mesecons:mesecon_off"', '"default:steel_ingot"', '"mesecons:mesecon_off"'},
|
{'"mesecons:mesecon_off"', '"default:steel_ingot"', '"mesecons:mesecon_off"'},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user