This commit is contained in:
2026-05-08 20:37:55 +09:00
parent d5582f61de
commit a37e4e5f3b
2 changed files with 29 additions and 25 deletions
+9
View File
@@ -687,6 +687,15 @@ local items = {
['small-stomper-pentapod'] = 'spider-unit',
['medium-stomper-pentapod'] = 'spider-unit',
['big-stomper-pentapod'] = 'spider-unit',
['cliff-fulgora'] = 'cliff',
['cliff-gleba'] = 'cliff',
['cliff-vulcanus'] = 'cliff',
['crater-cliff'] = 'cliff',
['bioflux'] = 'capsule',
['jelly'] = 'capsule',
['jellynut'] = 'capsule',
['yumako'] = 'capsule',
['yumako-mash'] = 'capsule',
}
}
+13 -18
View File
@@ -350,6 +350,7 @@ for _, c in pairs({'space-connection', 'space-location', 'asteroid', 'asteroid-c
end
end
if items['recipe'] then
for _, v in pairs(data.raw.recipe) do
v.surface_conditions = nil
v.maximum_productivity = nil
@@ -360,6 +361,18 @@ for _, v in pairs(data.raw.recipe) do
v.hidden_in_factoriopedia = true
end
end
end
if items['item'] then
for _, v in pairs(data.raw.item) do
v.auto_recycle = false
if items['item'][v.name] then
v.hidden = true
v.hidden_in_factoriopedia = true
end
end
end
-- GM-VP H 18 SPACE_AGE MENU_SIMULATION
if data.raw['utility-constants'] and data.raw['utility-constants']['default'] and data.raw['utility-constants']['default']['main_menu_simulations'] then
@@ -446,14 +459,6 @@ for _, v in pairs({'vulcanus_coal', 'tungsten_ore', 'calcite', 'sulfuric_acid_ge
end
end
for k, v in pairs(items['item']) do
if data.raw.item[k] then
data.raw.item[k].auto_recycle = false
data.raw.item[k].hidden = v
data.raw.item[k].hidden_in_factoriopedia = v
end
end
for k, v in pairs(items['hidden']) do
if data.raw[v] and data.raw[v][k] then
data.raw[v][k].hidden = true
@@ -473,16 +478,6 @@ for _, v in pairs({'empty-space', 'space-platform-foundation', 'foundation'}) do
data.raw.tile[v].hidden_in_factoriopedia = true
end
for _, v in pairs({'cliff-fulgora', 'cliff-gleba', 'cliff-vulcanus', 'crater-cliff'}) do
data.raw['cliff'][v].hidden = true
data.raw['cliff'][v].hidden_in_factoriopedia = true
end
for _, v in pairs({'bioflux', 'jelly', 'jellynut', 'yumako', 'yumako-mash'}) do
data.raw['capsule'][v].hidden = true
data.raw['capsule'][v].hidden_in_factoriopedia = true
end
for _, v in pairs({'ashland-lichen-tree', 'ashland-lichen-tree-flaming', 'slipstack', 'funneltrunk', 'hairyclubnub', 'teflilly', 'lickmaw', 'stingfrond', 'boompuff', 'sunnycomb', 'cuttlepop', 'water-cane'}) do
data.raw['tree'][v].hidden = true
data.raw['tree'][v].hidden_in_factoriopedia = true