summaryrefslogtreecommitdiff
path: root/mesecons_hydroturbine
diff options
context:
space:
mode:
authorAnthony Zhang <azhang9@gmail.com>2012-03-22 17:52:11 -0400
committerAnthony Zhang <azhang9@gmail.com>2012-03-22 17:52:11 -0400
commit3018128b4b4ad0a1e11de133ab0fe0563d76c00d (patch)
treee687336b36fa40c519d0573ae668c2080ea05a09 /mesecons_hydroturbine
parent9ec076776242be7f8c143ee27b0cd3e8b961b922 (diff)
downloadmesecons-3018128b4b4ad0a1e11de133ab0fe0563d76c00d.tar
mesecons-3018128b4b4ad0a1e11de133ab0fe0563d76c00d.tar.gz
mesecons-3018128b4b4ad0a1e11de133ab0fe0563d76c00d.tar.bz2
mesecons-3018128b4b4ad0a1e11de133ab0fe0563d76c00d.tar.xz
mesecons-3018128b4b4ad0a1e11de133ab0fe0563d76c00d.zip
Update nodes for compatibility with digging time groups.
Diffstat (limited to 'mesecons_hydroturbine')
-rw-r--r--mesecons_hydroturbine/init.lua4
1 files changed, 2 insertions, 2 deletions
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",
})