- retexture
- rebalance
This commit is contained in:
@@ -118,10 +118,22 @@ function TurretGenerator.generateSmartCannonTurret(rand, dps, tech, material, ra
|
||||
TurretGenerator.createStandardCooling(result, coolingTime, shootingTime)
|
||||
|
||||
TurretGenerator.scale(rand, result, WeaponType.SmartCannon, tech, 0.6)
|
||||
TurretGenerator.addSpecialties(rand, result, WeaponType.SmartCannon)
|
||||
local specialties = TurretGenerator.addSpecialties(rand, result, WeaponType.SmartCannon)
|
||||
|
||||
result.slotType = TurretSlotType.Armed
|
||||
result:updateStaticStats()
|
||||
|
||||
local name = "SmartCannon /* 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], e.g. Enduring Dual Coaxial Plasmatic Tri-R-Mining Laser T-F */"%_T, outerAdjective, barrel, coax, dmgAdjective, multishot, name, serial)
|
||||
local specType = 1
|
||||
if specType > 0 then
|
||||
weapon.prefix = "Ionized /* Weapon Prefix*/"%_t
|
||||
weapon.shieldPenetration = 1
|
||||
end
|
||||
|
||||
return result
|
||||
end
|
||||
|
||||
@@ -152,10 +164,22 @@ function TurretGenerator.generateHeavyCannonTurret(rand, dps, tech, material, ra
|
||||
TurretGenerator.createStandardCooling(result, coolingTime, shootingTime)
|
||||
|
||||
TurretGenerator.scale(rand, result, WeaponType.HeavyCannon, tech, 0.6)
|
||||
TurretGenerator.addSpecialties(rand, result, WeaponType.HeavyCannon)
|
||||
local specialties = TurretGenerator.addSpecialties(rand, result, WeaponType.HeavyCannon)
|
||||
|
||||
result.slotType = TurretSlotType.Armed
|
||||
result:updateStaticStats()
|
||||
|
||||
local name = "Heavy Cannon /* weapon name*/"%_T
|
||||
|
||||
local Pen = rand:getInt(0, rarity.value)
|
||||
if Pen > 0 then
|
||||
weapon.blockPenetration = Pen
|
||||
weapon.prefix = "Cumulative /* Weapon Prefix*/"%_t
|
||||
end
|
||||
|
||||
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], e.g. Enduring Dual Coaxial Plasmatic Tri-R-Mining Laser T-F */"%_T, outerAdjective, barrel, coax, dmgAdjective, multishot, name, serial)
|
||||
|
||||
return result
|
||||
end
|
||||
|
||||
@@ -186,10 +210,16 @@ function TurretGenerator.generateDiffuserTurret(rand, dps, tech, material, rarit
|
||||
|
||||
|
||||
TurretGenerator.scale(rand, result, WeaponType.Diffuser, tech, 0.75)
|
||||
TurretGenerator.addSpecialties(rand, result, WeaponType.Diffuser)
|
||||
local specialties = TurretGenerator.addSpecialties(rand, result, WeaponType.Diffuser)
|
||||
|
||||
result.slotType = TurretSlotType.Armed
|
||||
result:updateStaticStats()
|
||||
|
||||
local name = "Diffusor /* weapon name*/"%_T
|
||||
|
||||
local dmgAdjective, outerAdjective, barrel, multishot, coax, serial = makeTitleParts(rand, specialties, result, DamageType.Energy)
|
||||
result.title = Format("%1%%2%%3%%4%%5%%6%%7% /* [outer-adjective][barrel][coax][dmg-adjective][multishot][name][serial], e.g. Enduring Dual Coaxial Plasmatic Tri-R-Mining Laser T-F */"%_T, outerAdjective, barrel, coax, dmgAdjective, multishot, name, serial)
|
||||
|
||||
return result
|
||||
end
|
||||
|
||||
@@ -220,10 +250,16 @@ function TurretGenerator.generateHookgunTurret(rand, dps, tech, material, rarity
|
||||
|
||||
|
||||
TurretGenerator.scale(rand, result, WeaponType.Hookgun, tech, 0.75)
|
||||
TurretGenerator.addSpecialties(rand, result, WeaponType.Hookgun)
|
||||
local specialties = TurretGenerator.addSpecialties(rand, result, WeaponType.Hookgun)
|
||||
|
||||
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], e.g. Enduring Dual Coaxial Plasmatic Tri-R-Mining Laser T-F */"%_T, outerAdjective, barrel, coax, dmgAdjective, multishot, name, serial)
|
||||
|
||||
return result
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user