mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-07-26 21:16:23 +09:00
.
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user