Make blast-resistant concrete blast resistant

This commit is contained in:
MT-Modder 2016-03-20 00:08:50 -04:00 committed by ShadowNinja
parent 85a984982c
commit 0c144cd75c

View File

@ -83,6 +83,12 @@ minetest.register_node(":technic:blast_resistant_concrete", {
tiles = {"technic_blast_resistant_concrete_block.png",}, tiles = {"technic_blast_resistant_concrete_block.png",},
groups = {cracky=1, level=3, concrete=1}, groups = {cracky=1, level=3, concrete=1},
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
on_blast = function(pos, intensity)
if intensity > 1 then
minetest.remove_node(pos)
minetest.add_item(pos, "technic:blast_resistant_concrete")
end
end,
}) })