This commit is contained in:
2026-06-26 01:05:32 +09:00
parent 838b01cf81
commit fc4cdfe7a2
3 changed files with 9 additions and 0 deletions
+3
View File
@@ -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,