This commit is contained in:
2024-11-21 14:24:35 +09:00
parent b27e6444c6
commit 5802c1c02a
3 changed files with 7 additions and 8 deletions

View File

@@ -246,7 +246,7 @@ if settings.startup['PHI-MI'].value then
end end
end end
if (settings.startup['PHI-CT'].value and settings.startup['PHI-CT-TOOL'].value) or (settings.startup['PHI-SA'].value and (settings.startup['PHI-SA-REQUIREMENT'].value or settings.startup['PHI-SA-VANILLA'].value)) then if (settings.startup['PHI-CT'].value and settings.startup['PHI-CT-TOOL'].value) or (settings.startup['PHI-MI'].value) or (settings.startup['PHI-SA'].value and (settings.startup['PHI-SA-REQUIREMENT'].value or settings.startup['PHI-SA-VANILLA'].value)) then
data:extend({{type='recipe-category', name='fluid'}}) data:extend({{type='recipe-category', name='fluid'}})
item = table.deepcopy(data.raw['item']['offshore-pump']) item = table.deepcopy(data.raw['item']['offshore-pump'])
@@ -585,7 +585,6 @@ if settings.startup['PHI-SA'].value then
data.raw.planet[v].hidden_in_factoriopedia = true data.raw.planet[v].hidden_in_factoriopedia = true
end end
for _, v in pairs(data.raw['space-location']) do for _, v in pairs(data.raw['space-location']) do
v.hidden = true v.hidden = true
v.hidden_in_factoriopedia = true v.hidden_in_factoriopedia = true
@@ -889,10 +888,10 @@ if settings.startup['PHI-SA'].value then
data.raw['kill-achievement']['we-need-bigger-guns'] = nil data.raw['kill-achievement']['we-need-bigger-guns'] = nil
data.raw['kill-achievement']['size-doesnt-matter'] = nil data.raw['kill-achievement']['size-doesnt-matter'] = nil
for _, v in pairs(data.raw.recipe) do for k, v in pairs(items['space-age']['recipe']) do
if items['space-age']['recipe'][v.name] then if data.raw.recipe[k] then
data.raw.recipe[v.name].hidden = true data.raw.recipe[k].hidden = v
data.raw.recipe[v.name].hidden_in_factoriopedia = true data.raw.recipe[k].hidden_in_factoriopedia = v
end end
end end

View File

@@ -1,6 +1,6 @@
{ {
"name": "PHI-CL", "name": "PHI-CL",
"version": "3.0.32", "version": "3.0.33",
"factorio_version": "2.0", "factorio_version": "2.0",
"date": "2024-11-22", "date": "2024-11-22",
"title": "Phidias Collection", "title": "Phidias Collection",

View File

@@ -183,7 +183,7 @@ data:extend({
type = 'bool-setting', type = 'bool-setting',
name = 'PHI-SA-REQUIREMENT', name = 'PHI-SA-REQUIREMENT',
setting_type = 'startup', setting_type = 'startup',
default_value = false, default_value = true,
order = 'F04' order = 'F04'
}, { }, {
type = 'bool-setting', type = 'bool-setting',