made pressure plates go thin (1/4 pixel thick) when "on"

This commit is contained in:
Vanessa Ezekowitz 2012-08-10 02:28:22 -04:00
parent a41bc07d11
commit b24cc2a14d

View File

@ -32,7 +32,7 @@ minetest.register_node("mesecons_pressureplates:pressure_plate_wood_on", {
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = { -7/16, -8/16, -7/16, 7/16, -7/16, 7/16 }, fixed = { -7/16, -8/16, -7/16, 7/16, -31/64, 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',
@ -114,7 +114,7 @@ minetest.register_node("mesecons_pressureplates:pressure_plate_stone_on", {
}, },
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = { -7/16, -8/16, -7/16, 7/16, -7/16, 7/16 }, fixed = { -7/16, -8/16, -7/16, 7/16, -31/64, 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',