mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-07-28 13:36:22 +09:00
.
This commit is contained in:
@@ -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}}
|
||||
|
||||
Reference in New Issue
Block a user