mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-07-28 21:42:30 +09:00
.
This commit is contained in:
@@ -183,7 +183,7 @@ function main_recipe(source, tier)
|
||||
recipe.name = source.name .. '-mk' .. tier .. '-equipment'
|
||||
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.ref_name) or (source.name .. '-mk' .. (tier - 1) .. '-equipment'), amount = 2}}
|
||||
recipe.results = {{type = 'item', name = recipe.name, amount = 1}}
|
||||
|
||||
Reference in New Issue
Block a user