summaryrefslogtreecommitdiff
path: root/mesecons_temperest
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_temperest
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_temperest')
-rw-r--r--mesecons_temperest/init.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/mesecons_temperest/init.lua b/mesecons_temperest/init.lua
index fb0ec8d..3c31013 100644
--- a/mesecons_temperest/init.lua
+++ b/mesecons_temperest/init.lua
@@ -7,7 +7,7 @@ minetest.register_node("mesecons_temperest:mesecon_plug", {
tile_images = {"jeija_mesecon_plug.png"},
inventory_image = "jeija_mesecon_plug.png",
wield_image = "jeija_mesecon_plug.png",
- material = minetest.digprop_constanttime(0.1),
+ groups = {dig_immediate=2},
walkable = false,
selection_box = {
type = "fixed",
@@ -133,7 +133,7 @@ minetest.register_node("mesecons_temperest:mesecon_socket_off", {
tile_images = {"jeija_mesecon_socket_off.png"},
inventory_image = "jeija_mesecon_socket_off.png",
wield_image = "jeija_mesecon_socket_off.png",
- material = minetest.digprop_constanttime(0.1),
+ groups = {dig_immediate=2},
walkable = false,
selection_box = {
type = "fixed",
@@ -145,7 +145,7 @@ minetest.register_node("mesecons_temperest:mesecon_socket_on", {
paramtype = "light",
is_ground_content = true,
tile_images = {"jeija_mesecon_socket_on.png"},
- material = minetest.digprop_constanttime(0.1),
+ groups = {dig_immediate=2},
walkable = false,
selection_box = {
type = "fixed",
@@ -180,7 +180,7 @@ if ENABLE_TEMPEREST==1 then
paramtype = "light",
is_ground_content = true,
tile_images = {"jeija_mesecon_inverter_off.png"},
- material = minetest.digprop_constanttime(0.1),
+ groups = {dig_immediate=2},
walkable = false,
selection_box = {
type = "fixed",
@@ -196,7 +196,7 @@ if ENABLE_TEMPEREST==1 then
tile_images = {"jeija_mesecon_inverter_on.png"},
inventory_image = "jeija_mesecon_inverter_on.png",
wield_image = "jeija_mesecon_inverter_on.png",
- material = minetest.digprop_constanttime(0.1),
+ groups = {dig_immediate=2},
walkable = false,
selection_box = {
type = "fixed",