1
0
Fork 0

Increased cut copper recipe output

This commit is contained in:
the-real-herowl 2023-11-26 00:47:02 +01:00 committed by the-real-herowl
parent f1c5f0ca1c
commit 8fd988da11
2 changed files with 3 additions and 3 deletions

View File

@ -61,8 +61,8 @@ end
local cuttable_blocks = { "block", "waxed_block", "block_exposed", "waxed_block_exposed", "block_weathered", "waxed_block_weathered", "block_oxidized", "waxed_block_oxidized" }
for _, w in ipairs(cuttable_blocks) do
mcl_stonecutter.register_recipe("mcl_copper:"..w, "mcl_copper:"..w.."_cut")
for _, c in ipairs(cuttable_blocks) do
mcl_stonecutter.register_recipe("mcl_copper:"..c, "mcl_copper:"..c.."_cut", 4)
end
minetest.register_craft({

View File

@ -66,7 +66,7 @@ function mcl_stonecutter.register_recipe(input, output, count)
local fallthrough = mcl_stonecutter.registered_recipes[output]
if fallthrough then
for o, c in pairs(fallthrough) do
mcl_stonecutter.register_recipe(input, o, c)
mcl_stonecutter.register_recipe(input, o, c * count)
end
end