summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--concrete/init.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/concrete/init.lua b/concrete/init.lua
index 599a27b..4d5e781 100644
--- a/concrete/init.lua
+++ b/concrete/init.lua
@@ -83,6 +83,12 @@ minetest.register_node(":technic:blast_resistant_concrete", {
tiles = {"technic_blast_resistant_concrete_block.png",},
groups = {cracky=1, level=3, concrete=1},
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,
})