Update file turretgenerator.lua

This commit is contained in:
Alex
2023-08-30 18:30:44 +00:00
parent c2d09f1cc2
commit e531517104

View File

@@ -148,7 +148,7 @@ function TurretGenerator.generateSmartCannonTurret(rand, dps, tech, material, ra
weapon.shieldPenetration = 1
elseif specType == 2 then
name = "Plasmed Smart-Cannon /* weapon name*/"%_T
result.damageType = DamageType.Plasma
weapon.damageType = DamageType.Plasma
weapon.damage = weapon.damage * 0.9
end
@@ -286,6 +286,8 @@ function TurretGenerator.generateHookgunTurret(rand, dps, tech, material, rarity
result.slotType = TurretSlotType.Armed
result:updateStaticStats()
local name = "Hookgun /* weapon name*/"%_T
local dmgAdjective, outerAdjective, barrel, multishot, coax, serial = makeTitleParts(rand, specialties, result, DamageType.Physical)
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)