This commit is contained in:
2026-04-30 19:42:24 +09:00
parent 1559c30756
commit 596124a554
3 changed files with 14 additions and 12 deletions
+10 -11
View File
@@ -1,4 +1,3 @@
local items = require 'config'
if settings.startup['PHI-MB'].value then
if settings.startup['PHI-MB-ENERGY'].value then
@@ -28,18 +27,18 @@ end
if mods['space-age'] then
require 'data.b.sa'
else
error('[PHI-CL][SA] Space Age not detected.')
if settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value ~= '' then
require 'data.b.gm'
end
end
if mods['space-age'] and (settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value ~= '') then
require 'data.b.gm'
if settings.startup['PHI-GM'].value then
if settings.startup['PHI-GM'].value == 'SAP' then
require 'data.b.gm-sap'
elseif settings.startup['PHI-GM'].value == 'VP' then
require 'data.b.gm-vp'
end
end
if settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value == 'SAP' then
require 'data.b.gm-sap'
end
if settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value == 'VP' then
require 'data.b.gm-vp'
end
+4 -1
View File
@@ -1,7 +1,10 @@
local items = require 'config'
if not mods['space-age'] then
error('[PHI-CL][SA] Space Age not detected.')
return
end
if mods['space-age'] then
return
end