Compare commits

...

4 Commits

Author SHA1 Message Date
Alex
85889377c9 Replace thumb.png 2023-09-02 19:32:57 +00:00
Alex
f37108304e Update file turretgenerator.lua 2023-09-02 18:56:12 +00:00
Alex
d72a2b701e Update file turretgenerator.lua 2023-09-02 18:55:23 +00:00
Alex
c0b7a4ef83 Update file turretgenerator.lua 2023-09-02 18:55:09 +00:00
2 changed files with 10 additions and 4 deletions

View File

@@ -189,6 +189,16 @@ function TurretGenerator.generateHeavyCannonTurret(rand, dps, tech, material, ra
outerAdjective = "Cumulative "%_T
end
if result.size >= 4 then
weapon.speed = weapon.speed * 2
weapon.reach = weapon.reach * 1.2
end
if result.size >= 5 then
weapon.speed = weapon.speed * 2
weapon.reach = weapon.reach * 1.5
end
-- attach weapons to turret
TurretGenerator.attachWeapons(rand, result, weapon, numWeapons)
@@ -208,14 +218,10 @@ function TurretGenerator.generateHeavyCannonTurret(rand, dps, tech, material, ra
if result.size >= 4 then
name = "Mass Driver /* weapon name*/"%_T
weapom.speed = weapon.speed * 2
weapon.reach = weapon.reach * 1.2
end
if result.size >= 5 then
name = "Mass Warper /* weapon name*/"%_T
weapom.speed = weapon.speed * 2
weapon.reach = weapon.reach * 1.5
end
result.title = Format("%1%%2%%3%%4%%5%%6%%7% /* [outer-adjective][barrel][coax][dmg-adjective][multishot][name][serial] */"%_T, outerAdjective, barrel, coax, dmgAdjective, multishot, name, serial)

BIN
thumb.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 53 KiB