forked from minetest-mods/technic
Make blast-resistant concrete blast resistant
This commit is contained in:
parent
85a984982c
commit
0c144cd75c
@ -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,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user