From 24e0462140526b371ef299f132c4ebda179640c4 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Fri, 20 Mar 2026 02:46:40 +0900 Subject: [PATCH] . --- PHI-CL/data/b/mi.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/PHI-CL/data/b/mi.lua b/PHI-CL/data/b/mi.lua index 9f77296..4683f54 100644 --- a/PHI-CL/data/b/mi.lua +++ b/PHI-CL/data/b/mi.lua @@ -2,28 +2,33 @@ if settings.startup['PHI-MI-PIPE'].value then local s = settings.startup['PHI-MI-PIPE'].value / 10 + -- CT C 2 BASE ENTITY for _, t in pairs({data.raw['offshore-pump'], data.raw['pump']}) do for _, v in pairs(t) do v.pumping_speed = v.pumping_speed * s end end + -- CT C 3 BASE ENTITY for _, v in pairs(data.raw['valve']) do v.flow_rate = v.flow_rate * s end + -- CT C 3 BASE ENTITY for _, t in pairs({data.raw['pipe'], data.raw['pipe-to-ground'], data.raw['infinity-pipe']}) do for _, v in pairs(t) do v.fluid_box.volume = v.fluid_box.volume * s end end + -- CT C 1 BASE UTILITY_CONSTANTS data.raw['utility-constants'].default.max_fluid_flow = 100 * s end if settings.startup['PHI-MI-ROBOT'].value then local s = settings.startup['PHI-MI-ROBOT'].value / 10 + -- CT C 2 BASE ENTITY for _, t in pairs({data.raw['construction-robot'], data.raw['logistic-robot']}) do for _, v in pairs(t) do v.speed = v.speed * s @@ -40,6 +45,7 @@ end if settings.startup['PHI-MI-TRAIN'].value then local s = settings.startup['PHI-MI-TRAIN'].value / 10 + -- CT C 4 BASE ENTITY for _, t in pairs({data.raw['locomotive'], data.raw['cargo-wagon'], data.raw['fluid-wagon'], data.raw['artillery-wagon']}) do for _, v in pairs(t) do v.max_health = (v.max_health and (v.max_health * s)) or nil @@ -54,4 +60,5 @@ if settings.startup['PHI-MI-TRAIN'].value then end end +-- CT C 1 BASE UTILITY_CONSTANTS data.raw['utility-constants'].default.default_pipeline_extent = settings.startup['PHI-MI-PIPE-EXTENT'].value