This commit is contained in:
2026-06-05 22:18:54 +09:00
parent 16029768cb
commit f468696071
5 changed files with 22 additions and 13 deletions
+5 -5
View File
@@ -11,15 +11,15 @@ if (settings.startup['PHI-MI'].value and settings.startup['PHI-MI-GENERIC'].valu
require('data.b.mig') require('data.b.mig')
end 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') require('data.b.sa')
if settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value ~= '' then
require('data.b.gm')
end
end end
if settings.startup['PHI-GM'].value then 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 if settings.startup['PHI-GM'].value == 'SAP' then
require('data.b.gm-sap') require('data.b.gm-sap')
+2 -4
View File
@@ -1,8 +1,6 @@
local mc = require('mc')
if not mods['space-age'] then mc.space_age()
error('Mod not found\nSpace Age is not enabled\n太空時代尚未啟用\nSpace Age が有効になっていません')
return
end
-- GM-SAP C 2 SPACE_AGE RESOURCE -- GM-SAP C 2 SPACE_AGE RESOURCE
for _, v in pairs({'lithium-brine', 'fluorine-vent'}) do for _, v in pairs({'lithium-brine', 'fluorine-vent'}) do
+2 -4
View File
@@ -1,11 +1,9 @@
local items = require('gm-vp-c') local items = require('gm-vp-c')
local mbm = require('mbm-c') local mbm = require('mbm-c')
local mc = require('mc')
local item_sounds = require('__base__/prototypes/item_sounds') local item_sounds = require('__base__/prototypes/item_sounds')
if not mods['space-age'] then mc.space_age()
error('Mod not found\nSpace Age is not enabled\n太空時代尚未啟用\nSpace Age が有効になっていません')
return
end
-- GM-VP C 33 BASE ENTITY -- GM-VP C 33 BASE ENTITY
-- GM-VP C 6 ELEVATED_RAILS ENTITY -- GM-VP C 6 ELEVATED_RAILS ENTITY
+10
View File
@@ -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
+3
View File
@@ -1,3 +1,6 @@
local mc = require('mc')
mc.space_age()
local function spoil_handle(i) local function spoil_handle(i)
i.spoil_ticks = nil i.spoil_ticks = nil