mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user