mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-05-12 21:08:43 +09:00
.
This commit is contained in:
+8
-9
@@ -1,4 +1,3 @@
|
|||||||
local items = require 'config'
|
|
||||||
|
|
||||||
if settings.startup['PHI-MB'].value then
|
if settings.startup['PHI-MB'].value then
|
||||||
if settings.startup['PHI-MB-ENERGY'].value then
|
if settings.startup['PHI-MB-ENERGY'].value then
|
||||||
@@ -28,18 +27,18 @@ end
|
|||||||
|
|
||||||
if mods['space-age'] then
|
if mods['space-age'] then
|
||||||
require 'data.b.sa'
|
require 'data.b.sa'
|
||||||
else
|
|
||||||
error('[PHI-CL][SA] Space Age not detected.')
|
|
||||||
end
|
|
||||||
|
|
||||||
if mods['space-age'] and (settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value ~= '') then
|
if settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value ~= '' then
|
||||||
require 'data.b.gm'
|
require 'data.b.gm'
|
||||||
end
|
end
|
||||||
|
|
||||||
if settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value == 'SAP' then
|
|
||||||
require 'data.b.gm-sap'
|
|
||||||
end
|
end
|
||||||
|
|
||||||
if settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value == 'VP' then
|
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'
|
require 'data.b.gm-vp'
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,10 @@
|
|||||||
local items = require 'config'
|
local items = require 'config'
|
||||||
|
|
||||||
if not mods['space-age'] then
|
if not mods['space-age'] then
|
||||||
error('[PHI-CL][SA] Space Age not detected.')
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
if mods['space-age'] then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user