Subsystem: TurboLaser
	Name: #TURBOLASER_NAME
	Description: #TURBOLASER_DESC
	BaseColor: #cc3399
	TypeColor: #cc3399
	Picture: SubsystemButtonArt::7
	Elevation: 2
	
	Tags: BaseCost, Category:Weapons
	Tags: WeaponBase, Rotatable, HexLimitArc, TurboLaserBase, EnergyBase
	Tags: ExteriorCore, Weapon, IsProjWeapon, HasInternals, MainDPS
	Hull: Flagship, Station

	Size := HexSize * Hexes	
	Range := (Size + 450) * 2
	Damage := Size * 12.0
	Reload := 3 * (1.0 + Size/512)
	Speed := max(300, Range / 10)
	//Speed := max(600, Range / 5)
	Spread := 0.01 / max(Range / 600, 1)
	Tracking := 0.5
	FireArc := 1.0
	Pierce := 0.3
	Bypass := 0
	SupplyCost := Size * 1.0
	PowerUse := 8.0 * Size
	
	Hex.HP := 18 * HexSize
	Hex.Resistance := 0.2
	Hex.Mass := HexSize

	Requires:
		Command = 1
		Power = PowerUse
	
	Module: Default
		Hex.BuildCost := Hex.BuildCost * 3

	Module: Core
		Hex.HP := Hex.HP * 3
		Hex.BuildCost := 5.0 * Hex.BuildCost
		Hex.Mass := 5.0 * Hex.Mass

		Sprite: Railgun::0
		DrawMode: 1

		Hex.DamageResist := ShipSize / 64.0
		Effect: DamageResist
			Resist = Hex.DamageResist

	Effector: TurboLaser
		Range = Range
		Damage = Damage
		Reload = Reload
		Speed = Speed
		Tracking = Tracking
		Spread = Spread
		FireArc = FireArc
		TargetTolerance = max(pi,FireArc + pi/4)
		FireTolerance = Spread * 3
		Pierce = Pierce
		SupplyCost = SupplyCost * Reload
		CapOnTarget = 24
		Bypass = Bypass
		IgnoreDR = 0
