This commit is contained in:
2024-10-04 03:09:52 +09:00
parent bc10d2e123
commit 91725d5ca1
2 changed files with 8 additions and 3 deletions

View File

@@ -85,9 +85,14 @@ end
if settings.startup['PHI-MI'].value and settings.startup['PHI-MI-PIPE'].value then if settings.startup['PHI-MI'].value and settings.startup['PHI-MI-PIPE'].value then
for _, t in pairs({data.raw['pipe'], data.raw['pipe-to-ground']}) do for _, t in pairs({data.raw['pipe'], data.raw['pipe-to-ground']}) do
for _, v in pairs(t) do for _, v in pairs(t) do
v.height = v.height * ((1 + settings.startup['PHI-MI-PIPE'].value) / 2) v.fluid_box.height = v.fluid_box.height * ((1 + settings.startup['PHI-MI-PIPE'].value) / 2)
end end
end end
for _, v in pairs(data.raw['pump']) do
v.fluid_box.height = v.fluid_box.height * ((1 + settings.startup['PHI-MI-PIPE'].value) / 2)
v.pumping_speed = v.pumping_speed * ((1 + settings.startup['PHI-MI-PIPE'].value) / 2)
end
end end
if settings.startup['PHI-MB'].value and mods['space-exploration'] and settings.startup['PHI-MB-MINING-TIER'].value > 1 then if settings.startup['PHI-MB'].value and mods['space-exploration'] and settings.startup['PHI-MB-MINING-TIER'].value > 1 then

View File

@@ -1,8 +1,8 @@
{ {
"name": "PHI-CL", "name": "PHI-CL",
"version": "2.0.45", "version": "2.0.46",
"factorio_version": "1.1", "factorio_version": "1.1",
"date": "2024-10-03", "date": "2024-10-04",
"title": "Phidias Collection", "title": "Phidias Collection",
"author": "PHIDIAS0303", "author": "PHIDIAS0303",
"contributers": "", "contributers": "",