This commit is contained in:
2026-07-01 19:09:34 +09:00
parent b9010cd9bd
commit 5b695f3e69
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -245,7 +245,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 = ((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}}
recipe.results = {{type = 'item', name = recipe.name, amount = 1}}
+1 -1
View File
@@ -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}}
+1 -1
View File
@@ -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}}