mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-31 04:11:39 +09:00
.
This commit is contained in:
@@ -630,8 +630,10 @@ 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-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})
|
table.insert(data.raw.technology['physical-projectile-damage-7'].effects, {type = 'ammo-damage', ammo_category = 'railgun', modifier = 0.4})
|
||||||
|
table.insert(data.raw.technology['weapon-shooting-speed-6'].effects, {type = 'gun-speed', ammo_category = 'railgun', modifier = 0.2})
|
||||||
|
table.insert(data.raw.technology['artillery-shell-speed-1'].effects, {type = 'gun-speed', ammo_category = 'railgun', modifier = 0.2})
|
||||||
|
|
||||||
for _, 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', 'promethium-science-pack'}) do
|
for _, v in pairs({'artillery-shell-damage-1', 'railgun-damage-1', 'railgun-shooting-speed-1', 'electric-weapons-damage-1', 'electric-weapons-damage-2', 'electric-weapons-damage-3', 'electric-weapons-damage-4', 'promethium-science-pack'}) do
|
||||||
if data.raw.technology[v] then
|
if data.raw.technology[v] then
|
||||||
data.raw.technology[v].hidden = true
|
data.raw.technology[v].hidden = true
|
||||||
data.raw.technology[v].hidden_in_factoriopedia = true
|
data.raw.technology[v].hidden_in_factoriopedia = true
|
||||||
|
|||||||
Reference in New Issue
Block a user