This commit is contained in:
2026-05-08 22:35:13 +09:00
parent d96cabd364
commit 775515386d
2 changed files with 25 additions and 20 deletions
+11 -9
View File
@@ -431,6 +431,17 @@ if data.raw.planet then
end
end
-- GM-VP H 6 SPACE_AGE ITEM
-- GM-VP H 4 SPACE_AGE TOOL
if items['hidden'] then
for k, v in pairs(items['hidden']) do
if data.raw[v] and data.raw[v][k] then
data.raw[v][k].hidden = true
data.raw[v][k].hidden_in_factoriopedia = true
end
end
end
for _, v in pairs({'calcite', 'fluorine-vent', 'lithium-brine', 'scrap', 'tungsten-ore'}) do
data.raw.planet['nauvis'].map_gen_settings.autoplace_controls[v:gsub('-', '_')] = nil
data.raw.planet['nauvis'].map_gen_settings.autoplace_settings.entity.settings[v] = nil
@@ -452,15 +463,6 @@ for _, v in pairs({'vulcanus_coal', 'tungsten_ore', 'calcite', 'sulfuric_acid_ge
end
end
if items['hidden'] then
for k, v in pairs(items['hidden']) do
if data.raw[v] and data.raw[v][k] then
data.raw[v][k].hidden = true
data.raw[v][k].hidden_in_factoriopedia = true
end
end
end
for _, v in pairs(data.raw['tile']) do
if v.subgroup and (v.subgroup == 'vulcanus-tiles' or v.subgroup == 'gleba-tiles' or v.subgroup == 'gleba-water-tiles' or v.subgroup == 'fulgora-tiles' or v.subgroup == 'aquilo-tiles') then
v.hidden = true