This commit is contained in:
2026-06-24 01:40:50 +09:00
parent 07722ae290
commit 63e654bcec
12 changed files with 55 additions and 41 deletions
+1
View File
@@ -238,6 +238,7 @@ function main_recipe(source, tier)
icons = table.deepcopy(data.raw.item[source.ref_name].icons),
energy_required = 2,
enabled = false,
categories = {'crafting'},
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,