Update file turretgenerator.lua
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user