summaryrefslogtreecommitdiff
path: root/mesecons_pressureplates/init.lua
diff options
context:
space:
mode:
authorJeija <norrepli@gmail.com>2012-08-10 08:26:38 +0200
committerJeija <norrepli@gmail.com>2012-08-10 08:26:38 +0200
commit5c5db631a6afbbef413b89950246686f9ca0eac4 (patch)
tree4b5af15c2a01e52c7897f1cfc9c0bce3dec1be3b /mesecons_pressureplates/init.lua
parent9fa033db7b80cdebdaa49d8b12f8a92523c402ca (diff)
parenta41bc07d11d7d34a4cc78f7b2ea8196cf2654a72 (diff)
downloadmesecons-5c5db631a6afbbef413b89950246686f9ca0eac4.tar
mesecons-5c5db631a6afbbef413b89950246686f9ca0eac4.tar.gz
mesecons-5c5db631a6afbbef413b89950246686f9ca0eac4.tar.bz2
mesecons-5c5db631a6afbbef413b89950246686f9ca0eac4.tar.xz
mesecons-5c5db631a6afbbef413b89950246686f9ca0eac4.zip
Merge branch 'master' of https://github.com/Jeija/minetest-mod-mesecons
Diffstat (limited to 'mesecons_pressureplates/init.lua')
-rw-r--r--mesecons_pressureplates/init.lua16
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',