From 3018128b4b4ad0a1e11de133ab0fe0563d76c00d Mon Sep 17 00:00:00 2001 From: Anthony Zhang Date: Thu, 22 Mar 2012 17:52:11 -0400 Subject: Update nodes for compatibility with digging time groups. --- mesecons_pressureplates/init.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'mesecons_pressureplates') 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', }) -- cgit v1.2.3