mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-06-27 05:46:22 +09:00
.
This commit is contained in:
+5
-5
@@ -11,15 +11,15 @@ if (settings.startup['PHI-MI'].value and settings.startup['PHI-MI-GENERIC'].valu
|
||||
require('data.b.mig')
|
||||
end
|
||||
|
||||
if mods['space-age'] then
|
||||
if settings.startup['PHI-SA'].value or (settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value ~= '') then
|
||||
require('data.b.sa')
|
||||
|
||||
if settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value ~= '' then
|
||||
require('data.b.gm')
|
||||
end
|
||||
end
|
||||
|
||||
if settings.startup['PHI-GM'].value then
|
||||
if settings.startup['PHI-GM'].value ~= '' then
|
||||
require('data.b.gm')
|
||||
end
|
||||
|
||||
if settings.startup['PHI-GM'].value == 'SAP' then
|
||||
require('data.b.gm-sap')
|
||||
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
local mc = require('mc')
|
||||
|
||||
if not mods['space-age'] then
|
||||
error('Mod not found\nSpace Age is not enabled\n太空時代尚未啟用\nSpace Age が有効になっていません')
|
||||
return
|
||||
end
|
||||
mc.space_age()
|
||||
|
||||
-- GM-SAP C 2 SPACE_AGE RESOURCE
|
||||
for _, v in pairs({'lithium-brine', 'fluorine-vent'}) do
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
local items = require('gm-vp-c')
|
||||
local mbm = require('mbm-c')
|
||||
local mc = require('mc')
|
||||
local item_sounds = require('__base__/prototypes/item_sounds')
|
||||
|
||||
if not mods['space-age'] then
|
||||
error('Mod not found\nSpace Age is not enabled\n太空時代尚未啟用\nSpace Age が有効になっていません')
|
||||
return
|
||||
end
|
||||
mc.space_age()
|
||||
|
||||
-- GM-VP C 33 BASE ENTITY
|
||||
-- GM-VP C 6 ELEVATED_RAILS ENTITY
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
local main = {}
|
||||
|
||||
function main.space_age()
|
||||
if not mods['space-age'] then
|
||||
error('Mod not found\nSpace Age is not enabled\n太空時代尚未啟用\nSpace Age が有効になっていません')
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
return main
|
||||
@@ -1,3 +1,6 @@
|
||||
local mc = require('mc')
|
||||
|
||||
mc.space_age()
|
||||
|
||||
local function spoil_handle(i)
|
||||
i.spoil_ticks = nil
|
||||
|
||||
Reference in New Issue
Block a user