This commit is contained in:
2026-05-07 22:43:46 +09:00
parent aba9807e61
commit 103c5c219f
3 changed files with 126 additions and 135 deletions
+46 -45
View File
@@ -441,51 +441,52 @@ local items = {
'lava-processing' 'lava-processing'
}, },
['technology'] = { ['technology'] = {
['planet-discovery-vulcanus'] = true, -- SPACE_AGE 0
['planet-discovery-gleba'] = true, 'planet-discovery-vulcanus',
['planet-discovery-fulgora'] = true, 'planet-discovery-gleba',
['planet-discovery-aquilo'] = true, 'planet-discovery-fulgora',
['recycling'] = true, 'planet-discovery-aquilo',
['lightning-collector'] = true, 'recycling',
['tungsten-carbide'] = true, -- SPACE_AGE 5
['tungsten-steel'] = true, 'lightning-collector',
['metallurgic-science-pack'] = true, 'tungsten-carbide',
['yumako'] = true, 'tungsten-steel',
['jellynut'] = true, 'metallurgic-science-pack',
['bioflux'] = true, 'yumako',
['artificial-soil'] = true, -- SPACE_AGE 10
['overgrowth-soil'] = true, 'jellynut',
['bacteria-cultivation'] = true, 'bioflux',
['bioflux-processing'] = true, 'artificial-soil',
['agricultural-science-pack'] = true, 'overgrowth-soil',
['captivity'] = true, 'bacteria-cultivation',
['biter-egg-handling'] = true, -- SPACE_AGE 15
['carbon-fiber'] = true, 'bioflux-processing',
['fish-breeding'] = true, 'agricultural-science-pack',
['holmium-processing'] = true, 'captivity',
['electromagnetic-science-pack'] = true, 'biter-egg-handling',
['rail-support-foundations'] = true, 'carbon-fiber',
['lithium-processing'] = true, -- SPACE_AGE 20
['quantum-processor'] = true, 'fish-breeding',
['cryogenic-science-pack'] = true, 'holmium-processing',
['captive-biter-spawner'] = true, 'electromagnetic-science-pack',
['promethium-science-pack'] = true, 'rail-support-foundations',
['foundation'] = true, 'lithium-processing',
['scrap-recycling-productivity'] = true, -- SPACE_AGE 25
['biochamber'] = true, 'quantum-processor',
['space-platform-thruster'] = true, 'cryogenic-science-pack',
['space-platform'] = true, 'captive-biter-spawner',
['asteroid-reprocessing'] = true, 'promethium-science-pack',
['advanced-asteroid-processing'] = true, 'foundation',
['asteroid-productivity'] = true, -- SPACE_AGE 30
['calcite-processing'] = true, 'scrap-recycling-productivity',
['artillery-shell-damage-1'] = true, 'biochamber',
['electric-weapons-damage-1'] = true, 'space-platform-thruster',
['electric-weapons-damage-2'] = true, 'space-platform',
['electric-weapons-damage-3'] = true, 'asteroid-reprocessing',
['electric-weapons-damage-4'] = true, -- SPACE_AGE 35
['railgun-damage-1'] = true, 'advanced-asteroid-processing',
['railgun-shooting-speed-1'] = true, 'asteroid-productivity',
'calcite-processing',
}, },
['recipe'] = { ['recipe'] = {
['recycler'] = true, ['recycler'] = true,
+51
View File
@@ -0,0 +1,51 @@
--[[
for _, v in pairs({'gleba-spawner', 'gleba-spawner-small'}) do
data.raw['unit-spawner'][v].loot = nil
data.raw['unit-spawner'][v].collision_mask = nil
data.raw['unit-spawner'][v].autoplace = nil
data.raw['unit-spawner'][v].hidden = true
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}
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
end
for _, v in pairs({'yumako-tree', 'jellystem'}) do
data.raw['plant'][v].autoplace = nil
end
for _, v in pairs({'natural-yumako-soil', 'natural-jellynut-soil', 'wetland-yumako', 'wetland-jellynut', 'lowland-brown-blubber', 'lowland-olive-blubber', 'lowland-olive-blubber-2', 'lowland-olive-blubber-3', 'lowland-cream-red', 'lowland-red-vein', 'lowland-red-vein-2', 'lowland-red-vein-3', 'lowland-red-vein-4', 'lowland-red-vein-dead', 'lowland-red-infection', 'ammoniacal-ocean', 'ammoniacal-ocean-2'}) do
data.raw['planet']['nauvis'].map_gen_settings.autoplace_settings.tile.settings[v] = nil
end
]]
+29 -90
View File
@@ -207,6 +207,26 @@ if items['technology_reform'] then
end end
end end
-- GM-VP H 38 SPACE_AGE RESEARCH
if items['technology'] then
for _, v in pairs(items['technology']) do
if data.raw.technology[v] then
data.raw.technology[v].hidden = true
data.raw.technology[v].hidden_in_factoriopedia = true
data.raw.technology[v].effects = nil
if data.raw.technology[v].research_trigger then
data.raw.technology[v].research_trigger = nil
data.raw.technology[v].unit = {count = 1000, time = 30, ingredients = {{'automation-science-pack', 1}}}
end
if data.raw.technology[v].unit and data.raw.technology[v].unit.ingredients then
data.raw.technology[v].unit.ingredients = {{'space-science-pack', 1}}
end
end
end
end
-- GM-VP A 2 SPACE_AGE RESEARCH_EFFECT -- GM-VP A 2 SPACE_AGE RESEARCH_EFFECT
table.insert(data.raw.technology['fusion-reactor'].effects, {type = 'unlock-recipe', recipe = 'fluoroketone'}) table.insert(data.raw.technology['fusion-reactor'].effects, {type = 'unlock-recipe', recipe = 'fluoroketone'})
table.insert(data.raw.technology['fusion-reactor'].effects, {type = 'unlock-recipe', recipe = 'fluoroketone-cooling'}) table.insert(data.raw.technology['fusion-reactor'].effects, {type = 'unlock-recipe', recipe = 'fluoroketone-cooling'})
@@ -229,16 +249,6 @@ for _, v in pairs({'carbonic', 'metallic', 'promethium', 'oxide'}) do
end end
end end
-- GM-VP H 20 SPACE_AGE ENTITY
for _, a in pairs({'asteroid', 'asteroid-chunk'}) do
if data.raw[a] then
for _, v in pairs(data.raw[a]) do
v.hidden = true
v.hidden_in_factoriopedia = true
end
end
end
-- GM-VP H 2 SPACE_AGE FLUID -- GM-VP H 2 SPACE_AGE FLUID
for _, v in pairs({'thruster-oxidizer', 'thruster-fuel'}) do for _, v in pairs({'thruster-oxidizer', 'thruster-fuel'}) do
if data.raw.fluid[v] then if data.raw.fluid[v] then
@@ -285,16 +295,16 @@ if data.raw['unit-spawner'] then
end end
end end
-- GM-VP H 3 SPACE_AGE SPACE_LOCATION -- GM-VP H 20 SPACE_AGE ENTITY
for _, v in pairs(data.raw['space-location']) do
v.hidden = true
v.hidden_in_factoriopedia = true
end
-- GM-VP H 9 SPACE_AGE SPACE_CONNECTION -- GM-VP H 9 SPACE_AGE SPACE_CONNECTION
for _, v in pairs(data.raw['space-connection']) do -- GM-VP H 3 SPACE_AGE SPACE_LOCATION
v.hidden = true for _, c in pairs({'space-connection', 'space-location', 'asteroid', 'asteroid-chunk'}) do
v.hidden_in_factoriopedia = true if data.raw[c] then
for _, v in pairs(data.raw[c]) do
v.hidden = true
v.hidden_in_factoriopedia = true
end
end
end end
for _, v in pairs(data.raw.recipe) do for _, v in pairs(data.raw.recipe) do
@@ -384,34 +394,7 @@ end
data.raw['lightning-attractor']['fulgoran-ruin-attractor'].autoplace = nil data.raw['lightning-attractor']['fulgoran-ruin-attractor'].autoplace = nil
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
end
for _, v in pairs({'yumako-tree', 'jellystem'}) do
data.raw['plant'][v].autoplace = nil
end
for _, v in pairs({'natural-yumako-soil', 'natural-jellynut-soil', 'wetland-yumako', 'wetland-jellynut', 'lowland-brown-blubber', 'lowland-olive-blubber', 'lowland-olive-blubber-2', 'lowland-olive-blubber-3', 'lowland-cream-red', 'lowland-red-vein', 'lowland-red-vein-2', 'lowland-red-vein-3', 'lowland-red-vein-4', 'lowland-red-vein-dead', 'lowland-red-infection', 'ammoniacal-ocean', 'ammoniacal-ocean-2'}) do
data.raw['planet']['nauvis'].map_gen_settings.autoplace_settings.tile.settings[v] = nil
end
for k, v in pairs(items['technology']) do
if data.raw.technology[k] then
data.raw.technology[k].hidden = v
data.raw.technology[k].hidden_in_factoriopedia = v
data.raw.technology[k].effects = nil
if data.raw.technology[k].research_trigger then
data.raw.technology[k].research_trigger = nil
data.raw.technology[k].unit = {count = 1000, time = 30, ingredients = {{'automation-science-pack', 1}}}
end
if data.raw.technology[k].unit and data.raw.technology[k].unit.ingredients then
data.raw.technology[k].unit.ingredients = {{'space-science-pack', 1}}
end
end
end
for k, v in pairs(items['item']) do for k, v in pairs(items['item']) do
if data.raw.item[k] then if data.raw.item[k] then
@@ -445,44 +428,6 @@ for _, v in pairs({'cliff-fulgora', 'cliff-gleba', 'cliff-vulcanus', 'crater-cli
data.raw['cliff'][v].hidden_in_factoriopedia = true data.raw['cliff'][v].hidden_in_factoriopedia = true
end 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}
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({'gleba-spawner', 'gleba-spawner-small'}) do
data.raw['unit-spawner'][v].loot = nil
data.raw['unit-spawner'][v].collision_mask = nil
data.raw['unit-spawner'][v].autoplace = nil
data.raw['unit-spawner'][v].hidden = true
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({'bioflux', 'jelly', 'jellynut', 'yumako', 'yumako-mash'}) do for _, v in pairs({'bioflux', 'jelly', 'jellynut', 'yumako', 'yumako-mash'}) do
data.raw['capsule'][v].hidden = true data.raw['capsule'][v].hidden = true
data.raw['capsule'][v].hidden_in_factoriopedia = true data.raw['capsule'][v].hidden_in_factoriopedia = true
@@ -512,12 +457,6 @@ data.raw['kill-achievement']['if-it-bleeds'] = nil
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.tree) do
if v.minable and v.minable.results then
v.minable.results = {{type = 'item', name = 'wood', amount = 4}}
end
end
data.raw['tile']['empty-space'].hidden = true data.raw['tile']['empty-space'].hidden = true
data.raw['tile']['empty-space'].hidden_in_factoriopedia = true data.raw['tile']['empty-space'].hidden_in_factoriopedia = true
data.raw['tile']['space-platform-foundation'].hidden = true data.raw['tile']['space-platform-foundation'].hidden = true