summaryrefslogtreecommitdiff
path: root/mesecons_dev/mesecons_wireless
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_dev/mesecons_wireless
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_dev/mesecons_wireless')
-rw-r--r--mesecons_dev/mesecons_wireless/init.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/mesecons_dev/mesecons_wireless/init.lua b/mesecons_dev/mesecons_wireless/init.lua
index bffac58..0d956e8 100644
--- a/mesecons_dev/mesecons_wireless/init.lua
+++ b/mesecons_dev/mesecons_wireless/init.lua
@@ -148,14 +148,14 @@ minetest.register_abm(
minetest.register_node("mesecons_wireless:wireless_receiver_off", {
tile_images = {"jeija_wireless_receiver_tb_off.png", "jeija_wireless_receiver_tb_off.png", "jeija_wireless_receiver_off.png", "jeija_wireless_receiver_off.png", "jeija_wireless_receiver_off.png", "jeija_wireless_receiver_off.png"},
inventory_image = minetest.inventorycube("jeija_wireless_receiver_off.png"),
- material = minetest.digprop_constanttime(0.8),
+ groups = {choppy=2},
description="Wireless Receiver",
})
minetest.register_node("mesecons_wireless:wireless_receiver_on", {
tile_images = {"jeija_wireless_receiver_tb_on.png", "jeija_wireless_receiver_tb_on.png", "jeija_wireless_receiver_on.png", "jeija_wireless_receiver_on.png", "jeija_wireless_receiver_on.png", "jeija_wireless_receiver_on.png"},
inventory_image = minetest.inventorycube("jeija_wireless_receiver_on.png"),
- material = minetest.digprop_constanttime(0.8),
+ groups = {choppy=2},
drop = 'mesecons_wireless:wireless_receiver_off',
description="Wireless Receiver",
})
@@ -216,7 +216,7 @@ mesecon:add_receptor_node_off("mesecons_wireless:wireless_receiver_off")
minetest.register_node("mesecons_wireless:wireless_inverter_off", {
tile_images = {"jeija_wireless_inverter_tb.png", "jeija_wireless_inverter_tb.png", "jeija_wireless_inverter_off.png", "jeija_wireless_inverter_off.png", "jeija_wireless_inverter_off.png", "jeija_wireless_inverter_off.png"},
inventory_image = minetest.inventorycube("jeija_wireless_inverter_off.png"),
- material = minetest.digprop_constanttime(0.8),
+ groups = {choppy=2},
drop = 'mesecons_wireless:wireless_inverter_on',
description="Wireless Inverter",
})
@@ -224,7 +224,7 @@ minetest.register_node("mesecons_wireless:wireless_inverter_off", {
minetest.register_node("mesecons_wireless:wireless_inverter_on", {
tile_images = {"jeija_wireless_inverter_tb.png", "jeija_wireless_inverter_tb.png", "jeija_wireless_inverter_on.png", "jeija_wireless_inverter_on.png", "jeija_wireless_inverter_on.png", "jeija_wireless_inverter_on.png"},
inventory_image = minetest.inventorycube("jeija_wireless_inverter_on.png"),
- material = minetest.digprop_constanttime(0.8),
+ groups = {choppy=2},
description="Wireless Inverter",
})
@@ -278,7 +278,7 @@ end
minetest.register_node("mesecons_wireless:wireless_transmitter_on", {
tile_images = {"jeija_wireless_transmitter_tb.png", "jeija_wireless_transmitter_tb.png", "jeija_wireless_transmitter_on.png", "jeija_wireless_transmitter_on.png", "jeija_wireless_transmitter_on.png", "jeija_wireless_transmitter_on.png"},
inventory_image = minetest.inventorycube("jeija_wireless_transmitter_on.png"),
- material = minetest.digprop_constanttime(0.8),
+ groups = {choppy=2},
drop = {'"mesecons_wireless:wireless_transmitter_off" 1'},
description="Wireless Transmitter",
})
@@ -286,7 +286,7 @@ minetest.register_node("mesecons_wireless:wireless_transmitter_on", {
minetest.register_node("mesecons_wireless:wireless_transmitter_off", {
tile_images = {"jeija_wireless_transmitter_tb.png", "jeija_wireless_transmitter_tb.png", "jeija_wireless_transmitter_off.png", "jeija_wireless_transmitter_off.png", "jeija_wireless_transmitter_off.png", "jeija_wireless_transmitter_off.png"},
inventory_image = minetest.inventorycube("jeija_wireless_transmitter_off.png"),
- material = minetest.digprop_constanttime(0.8),
+ groups = {choppy=2},
description="Wireless Transmitter",
})