diff options
Diffstat (limited to 'mesecons_extrawires')
-rw-r--r-- | mesecons_extrawires/corner.lua | 6 | ||||
-rw-r--r-- | mesecons_extrawires/crossover.lua | 4 | ||||
-rw-r--r-- | mesecons_extrawires/mesewire.lua | 3 | ||||
-rw-r--r-- | mesecons_extrawires/tjunction.lua | 6 |
4 files changed, 14 insertions, 5 deletions
diff --git a/mesecons_extrawires/corner.lua b/mesecons_extrawires/corner.lua index 6033893..4b90260 100644 --- a/mesecons_extrawires/corner.lua +++ b/mesecons_extrawires/corner.lua @@ -44,7 +44,8 @@ minetest.register_node("mesecons_extrawires:corner_on", { state = mesecon.state.on, rules = corner_get_rules, offstate = "mesecons_extrawires:corner_off" - }} + }}, + on_blast = mesecon.on_blastnode, }) minetest.register_node("mesecons_extrawires:corner_off", { @@ -70,7 +71,8 @@ minetest.register_node("mesecons_extrawires:corner_off", { state = mesecon.state.off, rules = corner_get_rules, onstate = "mesecons_extrawires:corner_on" - }} + }}, + on_blast = mesecon.on_blastnode, }) minetest.register_craft({ diff --git a/mesecons_extrawires/crossover.lua b/mesecons_extrawires/crossover.lua index 8f3b8c2..95aeeaa 100644 --- a/mesecons_extrawires/crossover.lua +++ b/mesecons_extrawires/crossover.lua @@ -39,6 +39,7 @@ minetest.register_node("mesecons_extrawires:crossover_off", { rules = crossover_get_rules(), } }, + on_blast = mesecon.on_blastnode, }) minetest.register_node("mesecons_extrawires:crossover_01", { @@ -63,6 +64,7 @@ minetest.register_node("mesecons_extrawires:crossover_01", { rules = crossover_get_rules(), } }, + on_blast = mesecon.on_blastnode, }) minetest.register_node("mesecons_extrawires:crossover_10", { @@ -87,6 +89,7 @@ minetest.register_node("mesecons_extrawires:crossover_10", { rules = crossover_get_rules(), } }, + on_blast = mesecon.on_blastnode, }) minetest.register_node("mesecons_extrawires:crossover_on", { @@ -111,6 +114,7 @@ minetest.register_node("mesecons_extrawires:crossover_on", { rules = crossover_get_rules(), } }, + on_blast = mesecon.on_blastnode, }) minetest.register_craft({ diff --git a/mesecons_extrawires/mesewire.lua b/mesecons_extrawires/mesewire.lua index 3640de8..455f75f 100644 --- a/mesecons_extrawires/mesewire.lua +++ b/mesecons_extrawires/mesewire.lua @@ -26,7 +26,8 @@ local powered_def = mesecon.mergetable(minetest.registered_nodes["default:mese"] offstate = "default:mese", rules = mesewire_rules }}, - groups = {cracky = 1, not_in_creative_inventory = 1} + groups = {cracky = 1, not_in_creative_inventory = 1}, + on_blast = mesecon.on_blastnode, }) for i, v in pairs(powered_def.tiles) do diff --git a/mesecons_extrawires/tjunction.lua b/mesecons_extrawires/tjunction.lua index 70f343b..1bfc48a 100644 --- a/mesecons_extrawires/tjunction.lua +++ b/mesecons_extrawires/tjunction.lua @@ -45,7 +45,8 @@ minetest.register_node("mesecons_extrawires:tjunction_on", { state = mesecon.state.on, rules = tjunction_get_rules, offstate = "mesecons_extrawires:tjunction_off" - }} + }}, + on_blast = mesecon.on_blastnode, }) minetest.register_node("mesecons_extrawires:tjunction_off", { @@ -71,7 +72,8 @@ minetest.register_node("mesecons_extrawires:tjunction_off", { state = mesecon.state.off, rules = tjunction_get_rules, onstate = "mesecons_extrawires:tjunction_on" - }} + }}, + on_blast = mesecon.on_blastnode, }) minetest.register_craft({ |