Subsystem: PulseLaserSupport
	Name: #PULSELASER_NAME
	Description: #PULSELASER_DESC
	BaseColor: #f9464d
	TypeColor: #f9464d
	Picture: SubsystemButtonArt::7
	Elevation: 2

	Tags: Category:Weapons
	Tags: WeaponBase, Rotatable, HexLimitArc, PulseLaserBase, EnergyBase
	Tags: ExteriorCore, Weapon, IsProjWeapon, DefaultUnlock, HasInternals, MainDPS
	Hull: Support, Satellite

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

	Hex.BuildCost := 0.75 * HexSize
	Hex.LaborCost := 0.07 * HexSize

	Requires:
		Command = 1

	
	Module: Default

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

		Sprite: HyperdenseLaser::0
		DrawMode: 1

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

	Effector: PulseLaser
		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

