summaryrefslogtreecommitdiff
path: root/mesecons_temperest
diff options
context:
space:
mode:
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",