This commit is contained in:
2025-06-04 19:54:36 +09:00
parent 71f8097d00
commit 209b6c7b53
2 changed files with 3 additions and 3 deletions

View File

@@ -2,8 +2,8 @@
-- local main = require 'main'
do
local sa = settings.startup['PHI-SA'].value and settings.startup['PHI-SA-GENERIC'].value
local p = settings.startup['PHI-VP'].value or sa
local sa = settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value == 'SAP'
local p = (settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value == 'VP') or sa
for k, v in pairs(data.raw.recipe) do
if settings.startup['PHI-VP'].value and v.category == 'recycling' then

View File

@@ -87,7 +87,7 @@ function main.EEE(source, tier)
end
if source.tech == 'compound-energy' then
if mods['space-age'] and (not settings.startup['PHI-VP'].value) then
if mods['space-age'] and (not (settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value == 'VP')) then
if not item.surface_conditions then
item.surface_conditions = {}
end