mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-05-13 05:08:44 +09:00
.
This commit is contained in:
@@ -622,7 +622,7 @@ local items = {
|
|||||||
['thruster'] = true,
|
['thruster'] = true,
|
||||||
['space-platform-hub'] = true,
|
['space-platform-hub'] = true,
|
||||||
},
|
},
|
||||||
['hidden_entity'] = {
|
['hidden'] = {
|
||||||
['biochamber'] = 'assembling-machine',
|
['biochamber'] = 'assembling-machine',
|
||||||
['captive-biter-spawner'] = 'assembling-machine',
|
['captive-biter-spawner'] = 'assembling-machine',
|
||||||
['lightning-rod']= 'lightning-attractor',
|
['lightning-rod']= 'lightning-attractor',
|
||||||
@@ -641,7 +641,23 @@ local items = {
|
|||||||
['asteroid-collector'] = 'asteroid-collector',
|
['asteroid-collector'] = 'asteroid-collector',
|
||||||
['space-platform-hub'] = 'space-platform-hub',
|
['space-platform-hub'] = 'space-platform-hub',
|
||||||
['space-platform-starter-pack'] = 'space-platform-starter-pack',
|
['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',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -19,35 +19,11 @@ for _, v in pairs({'gleba-spawner', 'gleba-spawner-small'}) do
|
|||||||
data.raw['unit-spawner'][v].hidden_in_factoriopedia = true
|
data.raw['unit-spawner'][v].hidden_in_factoriopedia = true
|
||||||
end
|
end
|
||||||
|
|
||||||
for _, v in pairs({'small-demolisher', 'medium-demolisher', 'big-demolisher'}) do
|
data.raw['unit']['small-wriggler-pentapod-premature'].absorptions_to_join_attack = {pollution = 0}
|
||||||
data.raw['segmented-unit'][v].hidden = true
|
data.raw['unit']['small-wriggler-pentapod'].absorptions_to_join_attack = {pollution = 2}
|
||||||
data.raw['segmented-unit'][v].hidden_in_factoriopedia = true
|
data.raw['spider-unit']['small-strafer-pentapod'].absorptions_to_join_attack = {pollution = 20}
|
||||||
end
|
data.raw['spider-unit']['small-stomper-pentapod'].absorptions_to_join_attack = {pollution = 25}
|
||||||
|
table.remove(data.raw['spider-unit'][v].dying_trigger_effect, 1)
|
||||||
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}
|
|
||||||
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
|
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
|
data.raw['tree'][v].autoplace = nil
|
||||||
|
|||||||
@@ -434,7 +434,7 @@ for k, v in pairs(items['item']) do
|
|||||||
end
|
end
|
||||||
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
|
if data.raw[v] and data.raw[v][k] then
|
||||||
data.raw[v][k].hidden = true
|
data.raw[v][k].hidden = true
|
||||||
data.raw[v][k].hidden_in_factoriopedia = 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
|
data.raw['tree'][v].hidden_in_factoriopedia = true
|
||||||
end
|
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
|
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
|
data.raw['research-with-science-pack-achievement'][v] = nil
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user