This commit is contained in:
2025-06-21 02:33:15 +09:00
parent 1c307aeb64
commit f187b1ba02

View File

@@ -140,8 +140,6 @@ if settings.startup['PHI-MI'].value or (settings.startup['PHI-GM'].value and set
v.quality_affects_inventory_size = true v.quality_affects_inventory_size = true
end end
end end
data.raw['utility-constants'].default.rocket_lift_weight = settings.startup['PHI-SA-ROCKET-CAPACITY'].value * 1000000
end end
for _, v in pairs({'one-way-valve', 'overflow-valve', 'top-up-valve'}) do for _, v in pairs({'one-way-valve', 'overflow-valve', 'top-up-valve'}) do
@@ -804,6 +802,10 @@ if mods['space-age'] and settings.startup['PHI-SA'].value and settings.startup['
end end
end end
if mods['space-age'] and settings.startup['PHI-SA'].value then
data.raw['utility-constants'].default.rocket_lift_weight = settings.startup['PHI-SA-ROCKET-CAPACITY'].value * 1000000
end
if mods['space-age'] and ((settings.startup['PHI-SA'].value and (not settings.startup['PHI-SA-ENABLE-QUALITY'].value)) or (settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value ~= '')) then if mods['space-age'] and ((settings.startup['PHI-SA'].value and (not settings.startup['PHI-SA-ENABLE-QUALITY'].value)) or (settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value ~= '')) then
for _, v in pairs({'quality-module', 'quality-module-2', 'quality-module-3'}) do for _, v in pairs({'quality-module', 'quality-module-2', 'quality-module-3'}) do
if data.raw.technology[v] then if data.raw.technology[v] then