Fix gold sheet recipe being not inside the loop

This commit is contained in:
Wuzzy 2020-03-30 23:00:49 +02:00
parent aa0a0a9f4a
commit 1027aa0f89
1 changed files with 8 additions and 8 deletions

View File

@ -94,6 +94,14 @@ for i, metal in ipairs(metals.list) do
level = metals.levels[i],
material = metal,
})
-- receipe for coin production
realtest.register_anvil_recipe({
item1 = "metals:gold_sheet",
output = "money:coin 15",
level = metals.levels[i],
instrument = "chisel",
material = "gold",
})
end
-- general receipes (for flux production; used for welding)
realtest.register_anvil_recipe({
@ -104,14 +112,6 @@ realtest.register_anvil_recipe({
item1 = "minerals:sylvite",
output = "minerals:flux 4"
})
-- receipe for coin production
realtest.register_anvil_recipe({
item1 = "metals:gold_sheet",
output = "money:coin 15",
level = metals.levels[i],
instrument = "chisel",
material = "gold",
})
--Pig iron --> Wrought iron
realtest.register_anvil_recipe({
item1 = "metals:pig_iron_ingot",