diff options
author | DS <vorunbekannt75@web.de> | 2017-10-07 00:44:49 +0200 |
---|---|---|
committer | Vitaliy <silverunicorn2011@yandex.ru> | 2017-10-07 01:44:49 +0300 |
commit | 905260c8db2d7d4844e3955fa38a79da233b3ab7 (patch) | |
tree | 046f23d139d256acb59efaedc3c99b2cf5b9cb4d /mesecons_hydroturbine | |
parent | 8999597df2d4d5b5aa2011eb9880dfc758201a5a (diff) |
Handle blasts (#356)
Diffstat (limited to 'mesecons_hydroturbine')
-rw-r--r-- | mesecons_hydroturbine/init.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mesecons_hydroturbine/init.lua b/mesecons_hydroturbine/init.lua index 409da75..53dedac 100644 --- a/mesecons_hydroturbine/init.lua +++ b/mesecons_hydroturbine/init.lua @@ -24,7 +24,8 @@ minetest.register_node("mesecons_hydroturbine:hydro_turbine_off", { sounds = default.node_sound_stone_defaults(), mesecons = {receptor = { state = mesecon.state.off - }} + }}, + on_blast = mesecon.on_blastnode, }) minetest.register_node("mesecons_hydroturbine:hydro_turbine_on", { @@ -51,7 +52,8 @@ minetest.register_node("mesecons_hydroturbine:hydro_turbine_on", { sounds = default.node_sound_stone_defaults(), mesecons = {receptor = { state = mesecon.state.on - }} + }}, + on_blast = mesecon.on_blastnode, }) |