This commit is contained in:
2026-07-01 20:16:41 +09:00
parent 6498754056
commit 2c83d2acdc
+3 -3
View File
@@ -168,10 +168,10 @@ if data.raw['mining-drill'] then
end end
end end
-- MIG C 3 BASE MODULE -- MIG C 2 BASE MODULE
if data.raw['module'] then if data.raw['module'] then
for v = 1, 3 do for v = 2, 3 do
local n = 'efficiency-module' .. (v == 1 and '' or ('-' .. v)) local n = 'efficiency-module-' .. v
if data.raw['module'][n] and data.raw['module'][n].effect and data.raw['module'][n].effect.consumption then 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) data.raw['module'][n].effect.consumption = math.min(-0.3 * v, data.raw['module'][n].effect.consumption)