mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
.
This commit is contained in:
@@ -87,12 +87,23 @@ if settings.startup['PHI-MI'].value and settings.startup['PHI-MI-PIPE'].value th
|
||||
|
||||
for _, t in pairs({data.raw['pipe'], data.raw['pipe-to-ground']}) do
|
||||
for _, v in pairs(t) do
|
||||
v.fluid_box.height = v.fluid_box.height * s
|
||||
if v.fluid_box.height then
|
||||
v.fluid_box.height = v.fluid_box.height * s
|
||||
|
||||
else
|
||||
v.fluid_box.height = s
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
for _, v in pairs(data.raw['pump']) do
|
||||
v.fluid_box.height = v.fluid_box.height * s
|
||||
if v.fluid_box.height then
|
||||
v.fluid_box.height = v.fluid_box.height * s
|
||||
|
||||
else
|
||||
v.fluid_box.height = s
|
||||
end
|
||||
|
||||
v.pumping_speed = v.pumping_speed * s
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user