From f5d968231aabfa2b45f3302e9821859f69013296 Mon Sep 17 00:00:00 2001 From: Aaron Suen Date: Sat, 14 Aug 2021 19:59:28 -0400 Subject: [PATCH] Recipe to unbond bricks Pick the bonding back out of the grooves with a metal or better pick. --- mods/nc_stonework/bricks.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/mods/nc_stonework/bricks.lua b/mods/nc_stonework/bricks.lua index e8997bc4..a12ff455 100644 --- a/mods/nc_stonework/bricks.lua +++ b/mods/nc_stonework/bricks.lua @@ -66,6 +66,18 @@ function nodecore.register_stone_bricks(name, desc, tile, alpha, bondalpha, made .. name .. "_bonded"}) end }) + nodecore.register_craft({ + label = "unbond " .. name .. " bricks", + action = "pummel", + toolgroups = {cracky = 4}, + indexkeys = {modname .. ":bricks_" .. name .. "_bonded"}, + nodes = { + { + match = modname .. ":bricks_" .. name .. "_bonded", + replace = modname .. ":bricks_" .. name + } + } + }) end nodecore.register_stone_bricks("stone", "Stone",