diff options
author | Jeija <norrepli@googlemail.com> | 2012-08-09 23:12:41 -0700 |
---|---|---|
committer | Jeija <norrepli@googlemail.com> | 2012-08-09 23:12:41 -0700 |
commit | a41bc07d11d7d34a4cc78f7b2ea8196cf2654a72 (patch) | |
tree | 2b763fd5214080bdc33f1dd20f668280e97d8e8e /mesecons_pressureplates | |
parent | d3ba13e878b6e256042fab1012e48792a583a1bb (diff) | |
parent | e19a31b8659e65bfb79941e9b449b6873aebbc5e (diff) | |
download | mesecons-a41bc07d11d7d34a4cc78f7b2ea8196cf2654a72.tar mesecons-a41bc07d11d7d34a4cc78f7b2ea8196cf2654a72.tar.gz mesecons-a41bc07d11d7d34a4cc78f7b2ea8196cf2654a72.tar.bz2 mesecons-a41bc07d11d7d34a4cc78f7b2ea8196cf2654a72.tar.xz mesecons-a41bc07d11d7d34a4cc78f7b2ea8196cf2654a72.zip |
Merge pull request #14 from VanessaE/master
Nodebox-based wall levers, take 2.
- This time it works -
Thanks, VanessaE
Diffstat (limited to 'mesecons_pressureplates')
-rw-r--r-- | mesecons_pressureplates/init.lua | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/mesecons_pressureplates/init.lua b/mesecons_pressureplates/init.lua index 8a47b22..89b917d 100644 --- a/mesecons_pressureplates/init.lua +++ b/mesecons_pressureplates/init.lua @@ -10,11 +10,11 @@ minetest.register_node("mesecons_pressureplates:pressure_plate_wood_off", { walkable = true, selection_box = { 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 = { 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}, description="Wood Pressure Plate", @@ -28,11 +28,11 @@ minetest.register_node("mesecons_pressureplates:pressure_plate_wood_on", { walkable = true, selection_box = { 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 = { 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}, drop='"mesecons_pressureplates:pressure_plate_wood_off" 1', @@ -92,11 +92,11 @@ minetest.register_node("mesecons_pressureplates:pressure_plate_stone_off", { walkable = true, selection_box = { 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 = { 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}, description="Stone Pressure Plate", @@ -110,11 +110,11 @@ minetest.register_node("mesecons_pressureplates:pressure_plate_stone_on", { walkable = true, selection_box = { 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 = { 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}, drop='"mesecons_pressureplates:pressure_plate_stone_off" 1', |