forked from VoxeLibre/VoxeLibre
Increased cut copper recipe output
This commit is contained in:
parent
f1c5f0ca1c
commit
8fd988da11
|
@ -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" }
|
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
|
for _, c in ipairs(cuttable_blocks) do
|
||||||
mcl_stonecutter.register_recipe("mcl_copper:"..w, "mcl_copper:"..w.."_cut")
|
mcl_stonecutter.register_recipe("mcl_copper:"..c, "mcl_copper:"..c.."_cut", 4)
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
|
|
|
@ -66,7 +66,7 @@ function mcl_stonecutter.register_recipe(input, output, count)
|
||||||
local fallthrough = mcl_stonecutter.registered_recipes[output]
|
local fallthrough = mcl_stonecutter.registered_recipes[output]
|
||||||
if fallthrough then
|
if fallthrough then
|
||||||
for o, c in pairs(fallthrough) do
|
for o, c in pairs(fallthrough) do
|
||||||
mcl_stonecutter.register_recipe(input, o, c)
|
mcl_stonecutter.register_recipe(input, o, c * count)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue