This commit is contained in:
2025-05-20 23:24:33 +09:00
parent 191685b3d4
commit aafb6bf9f4
2 changed files with 8 additions and 9 deletions

View File

@@ -466,13 +466,7 @@ local items = {
['promethium-science-pack'] = true,
['foundation'] = true,
['scrap-recycling-productivity'] = true,
['biochamber'] = true,
['electric-weapons-damage-1'] = true,
['electric-weapons-damage-2'] = true,
['electric-weapons-damage-3'] = true,
['electric-weapons-damage-4'] = true,
['artillery-shell-damage-1'] = true,
['railgun-damage-1'] = true,
['biochamber'] = true
},
['recipe'] = {
['thruster'] = true,

View File

@@ -534,8 +534,13 @@ if mods['space-age'] and ((settings.startup['PHI-SA'].value and settings.startup
table.insert(data.raw.technology['physical-projectile-damage-6'].effects, {type = 'ammo-damage', ammo_category = 'railgun', modifier = 0.2})
table.insert(data.raw.technology['physical-projectile-damage-7'].effects, {type = 'ammo-damage', ammo_category = 'railgun', modifier = 0.4})
data.raw.technology['artillery-shell-damage-1'].effects = nil
data.raw.technology['railgun-damage-1'].effects = nil
for k, v in pairs({'artillery-shell-damage-1', 'railgun-damage-1', 'electric-weapons-damage-1', 'electric-weapons-damage-2', 'electric-weapons-damage-3', 'electric-weapons-damage-4'}) 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
end
end
end
if settings.startup['PHI-SA'].value and settings.startup['PHI-SA-SPOIL-FREEZE'].value and settings.startup['PHI-SA-SPOIL'].value and mods['space-age'] then