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_hydroturbine/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mesecons_hydroturbine') diff --git a/mesecons_hydroturbine/init.lua b/mesecons_hydroturbine/init.lua index ed64d79..53362c2 100644 --- a/mesecons_hydroturbine/init.lua +++ b/mesecons_hydroturbine/init.lua @@ -2,14 +2,14 @@ minetest.register_node("mesecons_hydroturbine:hydro_turbine_off", { tile_images = {"jeija_hydro_turbine_off.png", "jeija_hydro_turbine_off.png", "jeija_hydro_turbine_off.png", "jeija_hydro_turbine_off.png", "jeija_hydro_turbine_off.png", "jeija_hydro_turbine_off.png"}, - material = minetest.digprop_constanttime(0.5), + groups = {dig_immediate=2}, description="Water Turbine", }) minetest.register_node("mesecons_hydroturbine:hydro_turbine_on", { tile_images = {"jeija_hydro_turbine_on.png", "jeija_hydro_turbine_on.png", "jeija_hydro_turbine_on.png", "jeija_hydro_turbine_on.png", "jeija_hydro_turbine_on.png", "jeija_hydro_turbine_on.png"}, drop = '"mesecons_hydroturbine:hydro_turbine_off" 1', - material = minetest.digprop_constanttime(0.5), + groups = {dig_immediate=2}, description="Water Turbine", }) -- cgit v1.2.3