diff options
author | Anthony Zhang <azhang9@gmail.com> | 2012-03-22 17:52:11 -0400 |
---|---|---|
committer | Anthony Zhang <azhang9@gmail.com> | 2012-03-22 17:52:11 -0400 |
commit | 3018128b4b4ad0a1e11de133ab0fe0563d76c00d (patch) | |
tree | e687336b36fa40c519d0573ae668c2080ea05a09 /mesecons_pressureplates/init.lua | |
parent | 9ec076776242be7f8c143ee27b0cd3e8b961b922 (diff) |
Update nodes for compatibility with digging time groups.
Diffstat (limited to 'mesecons_pressureplates/init.lua')
-rw-r--r-- | mesecons_pressureplates/init.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mesecons_pressureplates/init.lua b/mesecons_pressureplates/init.lua index 884bc09..2e5a47b 100644 --- a/mesecons_pressureplates/init.lua +++ b/mesecons_pressureplates/init.lua @@ -11,7 +11,7 @@ minetest.register_node("mesecons_pressureplates:pressure_plate_wood_off", { selection_box = { type = "fixed", }, - material = minetest.digprop_constanttime(0.3), + groups = {choppy=2}, description="Wood Pressure Plate", }) @@ -24,7 +24,7 @@ minetest.register_node("mesecons_pressureplates:pressure_plate_wood_on", { selection_box = { type = "fixed", }, - material = minetest.digprop_constanttime(0.3), + groups = {choppy=2}, drop='"mesecons_pressureplates:pressure_plate_wood_off" 1', }) @@ -88,7 +88,7 @@ minetest.register_node("mesecons_pressureplates:pressure_plate_stone_off", { selection_box = { type = "fixed", }, - material = minetest.digprop_constanttime(0.3), + groups = {choppy=2}, description="Stone Pressure Plate", }) @@ -101,7 +101,7 @@ minetest.register_node("mesecons_pressureplates:pressure_plate_stone_on", { selection_box = { type = "fixed", }, - material = minetest.digprop_constanttime(0.3), + groups = {choppy=2}, drop='"mesecons_pressureplates:pressure_plate_stone_off" 1', }) |