mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
.
This commit is contained in:
@@ -182,13 +182,11 @@ function main.EEE(source, tier)
|
||||
elseif source.type == 'agricultural-tower' then
|
||||
item.radius = item.radius + (1 * (tier - source.min + 1))
|
||||
|
||||
local s = (4 + (tier - source.min + 1)) / 4
|
||||
local s = (8 + (tier - source.min + 1)) / 8
|
||||
|
||||
for _, v in pairs(item.crane.speed) do
|
||||
for _, v2 in pairs(v) do
|
||||
if type(v2) == 'number' then
|
||||
v2 = v2 * s
|
||||
end
|
||||
for _, v in pairs({item.crane.speed.arm, item.crane.speed.grappler}) do
|
||||
if type(v) == 'number' then
|
||||
v = v * s
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user