mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-11-11 21:34:52 +09:00
.
This commit is contained in:
1 parent
894df27085
commit
6498754056
1 file changed
+2
-2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user