mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-06-27 13:56:20 +09:00
.
This commit is contained in:
@@ -241,6 +241,9 @@ function main_recipe(source, tier)
|
||||
energy_required = 2,
|
||||
enabled = false,
|
||||
categories = {'crafting'},
|
||||
auto_recycle = data.raw.recipe[source.ref_name].auto_recycle,
|
||||
maximum_productivity = data.raw.recipe[source.ref_name].maximum_productivity,
|
||||
surface_conditions = data.raw.recipe[source.ref_name].surface_conditions,
|
||||
ingredients = {{type = 'item', name = (tier > source.min and (source.name .. '-' .. (tier - 1))) or source.ref_name, amount = ((source.tech == 'compound-energy' and (source.type == 'solar-panel' or source.type == 'accumulator')) and tonumber(settings.startup['PHI-MB-ENERGY-SOLAR-RATIO'].value) or 4) or 2}},
|
||||
results = {{type = 'item', name = result_name, amount = 1}},
|
||||
main_product = result_name,
|
||||
|
||||
Reference in New Issue
Block a user