From 099aed8eb7976f5e5aa8c6cc1ef3e800cc7b3194 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Tue, 28 Apr 2026 00:26:34 +0900 Subject: [PATCH] . --- PHI-CL/data/b/mig.lua | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/PHI-CL/data/b/mig.lua b/PHI-CL/data/b/mig.lua index 72b8199..95e3350 100644 --- a/PHI-CL/data/b/mig.lua +++ b/PHI-CL/data/b/mig.lua @@ -18,6 +18,21 @@ for _, v in pairs(data.raw['logistic-container']) do v.inventory_type = 'with_filters_and_bar' end +-- MIGS C 1 BASE ENTITY +for _, v in pairs(data.raw['reactor']) do + v.scale_energy_usage = (v.fast_replaceable_group and v.fast_replaceable_group == 'reactor') +end + +-- MIGS C 1 BASE ENTITY +for _, v in pairs(data.raw['pump']) do + v.pumping_speed = math.max(50, v.pumping_speed) * settings.startup['PHI-MI-PIPE'].value / 10 +end + +-- MIGS C 2 BASE ENTITY +for _, v in pairs(data.raw['mining-drill']) do + v.filter_count = 5 +end + -- MIGS C 3 BASE MODULE data.raw['module']['efficiency-module'].effect.consumption = math.min(-0.3, data.raw['module']['efficiency-module'].effect.consumption) data.raw['module']['efficiency-module-2'].effect.consumption = math.min(-0.6, data.raw['module']['efficiency-module'].effect.consumption) @@ -28,14 +43,6 @@ data.raw.recipe['landfill'].ingredients[1].amount = math.min(20, data.raw.recipe data.raw.recipe['selector-combinator'].ingredients = {{type = 'item', name = 'advanced-circuit', amount = 5}, {type = 'item', name = 'decider-combinator', amount = 2}} -for _, v in pairs(data.raw['reactor']) do - v.scale_energy_usage = (v.fast_replaceable_group and v.fast_replaceable_group == 'reactor') -end - -for _, v in pairs(data.raw['pump']) do - v.pumping_speed = math.max(50, v.pumping_speed) * settings.startup['PHI-MI-PIPE'].value / 10 -end - for _, v in pairs(data.raw['mining-drill']) do v.filter_count = 5 end