This commit is contained in:
2026-07-01 19:09:34 +09:00
parent b9010cd9bd
commit 5b695f3e69
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -377,7 +377,7 @@ function main_recipe(source, tier)
recipe.name = source.name .. '-' .. tier
recipe.icons = table.deepcopy(data.raw.item[source.ref_name].icons)
recipe.energy_required = 2
recipe.enabled = false
recipe.enabled = (data.raw.technology[source.tech] and false) or true
recipe.categories = {'crafting'}
recipe.ingredients = {{type = 'item', name = (tier > source.min and (source.name .. '-' .. (tier - 1))) or source.ref_name, amount = 2}}
recipe.results = {{type = 'item', name = recipe.name, amount = 1}}