This commit is contained in:
2026-05-08 17:41:27 +09:00
parent 0f85f10653
commit 96a9c44d31
3 changed files with 24 additions and 35 deletions
+18 -2
View File
@@ -622,7 +622,7 @@ local items = {
['thruster'] = true,
['space-platform-hub'] = true,
},
['hidden_entity'] = {
['hidden'] = {
['biochamber'] = 'assembling-machine',
['captive-biter-spawner'] = 'assembling-machine',
['lightning-rod']= 'lightning-attractor',
@@ -641,7 +641,23 @@ local items = {
['asteroid-collector'] = 'asteroid-collector',
['space-platform-hub'] = 'space-platform-hub',
['space-platform-starter-pack'] = 'space-platform-starter-pack',
['space-platform'] = 'surface'
['space-platform'] = 'surface',
['capture-robot-rocket'] = 'ammo',
['small-demolisher'] = 'segmented-unit',
['medium-demolisher'] = 'segmented-unit',
['big-demolisher'] = 'segmented-unit',
['small-wriggler-pentapod-premature'] = 'unit',
['medium-wriggler-pentapod-premature'] = 'unit',
['big-wriggler-pentapod-premature'] = 'unit',
['small-wriggler-pentapod'] = 'unit',
['medium-wriggler-pentapod'] = 'unit',
['big-wriggler-pentapod'] = 'unit',
['small-strafer-pentapod'] = 'spider-unit',
['medium-strafer-pentapod'] = 'spider-unit',
['big-strafer-pentapod'] = 'spider-unit',
['small-stomper-pentapod'] = 'spider-unit',
['medium-stomper-pentapod'] = 'spider-unit',
['big-stomper-pentapod'] = 'spider-unit',
}
}
+4 -28
View File
@@ -19,35 +19,11 @@ for _, v in pairs({'gleba-spawner', 'gleba-spawner-small'}) do
data.raw['unit-spawner'][v].hidden_in_factoriopedia = true
end
for _, v in pairs({'small-demolisher', 'medium-demolisher', 'big-demolisher'}) do
data.raw['segmented-unit'][v].hidden = true
data.raw['segmented-unit'][v].hidden_in_factoriopedia = true
end
for _, v in pairs({'small-wriggler-pentapod-premature', 'medium-wriggler-pentapod-premature', 'big-wriggler-pentapod-premature'}) do
data.raw['unit'][v].absorptions_to_join_attack = {pollution = 0}
data.raw['unit'][v].hidden = true
data.raw['unit'][v].hidden_in_factoriopedia = true
end
for _, v in pairs({'small-wriggler-pentapod', 'medium-wriggler-pentapod', 'big-wriggler-pentapod'}) do
data.raw['unit'][v].absorptions_to_join_attack = {pollution = 2}
data.raw['unit'][v].hidden = true
data.raw['unit'][v].hidden_in_factoriopedia = true
end
for _, v in pairs({'small-strafer-pentapod', 'medium-strafer-pentapod', 'big-strafer-pentapod'}) do
data.raw['spider-unit'][v].absorptions_to_join_attack = {pollution = 20}
data.raw['spider-unit'][v].hidden = true
data.raw['spider-unit'][v].hidden_in_factoriopedia = true
end
for _, v in pairs({'small-stomper-pentapod', 'medium-stomper-pentapod', 'big-stomper-pentapod'}) do
data.raw['spider-unit'][v].absorptions_to_join_attack = {pollution = 25}
data.raw['unit']['small-wriggler-pentapod-premature'].absorptions_to_join_attack = {pollution = 0}
data.raw['unit']['small-wriggler-pentapod'].absorptions_to_join_attack = {pollution = 2}
data.raw['spider-unit']['small-strafer-pentapod'].absorptions_to_join_attack = {pollution = 20}
data.raw['spider-unit']['small-stomper-pentapod'].absorptions_to_join_attack = {pollution = 25}
table.remove(data.raw['spider-unit'][v].dying_trigger_effect, 1)
data.raw['spider-unit'][v].hidden = true
data.raw['spider-unit'][v].hidden_in_factoriopedia = true
end
for _, v in pairs({'ashland-lichen-tree', 'ashland-lichen-tree-flaming', 'cuttlepop', 'slipstack', 'funneltrunk', 'hairyclubnub', 'teflilly', 'lickmaw', 'stingfrond', 'boompuff', 'sunnycomb', 'water-cane'}) do
data.raw['tree'][v].autoplace = nil
+1 -4
View File
@@ -434,7 +434,7 @@ for k, v in pairs(items['item']) do
end
end
for k, v in pairs(items['hidden_entity']) do
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
@@ -470,9 +470,6 @@ for _, v in pairs({'ashland-lichen-tree', 'ashland-lichen-tree-flaming', 'slipst
data.raw['tree'][v].hidden_in_factoriopedia = true
end
data.raw.ammo['capture-robot-rocket'].hidden = true
data.raw.ammo['capture-robot-rocket'].hidden_in_factoriopedia = true
for _, v in pairs({'research-with-metallurgics', 'research-with-agriculture', 'research-with-electromagnetics', 'research-with-cryogenics', 'research-with-promethium'}) do
data.raw['research-with-science-pack-achievement'][v] = nil
end