mirror of
https://github.com/minetest-mods/technic.git
synced 2025-03-20 11:20:31 +01:00
add emitter on_blast
This commit is contained in:
parent
88e6a814ff
commit
913362dc48
@ -324,6 +324,10 @@ minetest.register_node("technic:forcefield_emitter_on", {
|
|||||||
update_forcefield(pos, meta, false)
|
update_forcefield(pos, meta, false)
|
||||||
technic.swap_node(pos, "technic:forcefield_emitter_off")
|
technic.swap_node(pos, "technic:forcefield_emitter_off")
|
||||||
end,
|
end,
|
||||||
|
on_blast = function(pos, intensity)
|
||||||
|
minetest.dig_node(pos)
|
||||||
|
return {"technic:forcefield_emitter_off"}
|
||||||
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("technic:forcefield", {
|
minetest.register_node("technic:forcefield", {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user