This commit is contained in:
2026-07-01 20:13:16 +09:00
parent 894df27085
commit 6498754056
+2 -2
View File
@@ -170,8 +170,8 @@ end
-- MIG C 3 BASE MODULE
if data.raw['module'] then
for _, v in pairs({1, 2, 3}) do
local n = 'efficiency-module' .. (v == 1 and '' or ('-' .. v['n']))
for v = 1, 3 do
local n = 'efficiency-module' .. (v == 1 and '' or ('-' .. v))
if data.raw['module'][n] and data.raw['module'][n].effect and data.raw['module'][n].effect.consumption then
data.raw['module'][n].effect.consumption = math.min(-0.3 * v, data.raw['module'][n].effect.consumption)