Make TNT respect on_blast, implement on_blast for some nodes

Implemented nodes:
- Steel Door: Ignores explosion
- Locked Chest: Ignores explosion
- Fire: Ignores explosion
- TNT: Starts burning
- Burning TNT: Explodes immediately
- Gunpowder: Starts burning
- Burning Gunpowder: Ignores explosion
This commit is contained in:
Wuzzy
2015-03-07 08:32:00 +01:00
committed by Novatux
parent ab4485f824
commit 8bc8dd64c5
4 changed files with 61 additions and 19 deletions

View File

@ -1341,6 +1341,7 @@ minetest.register_node("default:chest_locked", {
)
end
end,
on_blast = function() end,
})