Subsystem: AncientsFlagshipHull
	Name: #S_ANCIENTSFLAGSHIP_HULL
	Description: #S_ANCIENTSFLAGSHIP_HULL_DESC

	Tags: Applied:Hull, Category:Hulls, NoCore
	Tags: HeraldsDLC
	Hull: Flagship
	EvaluationOrder: -200
	BaseColor: #993060

	//HexLimit := 30
	AddShipModifier: FlagshipHull::HexLimitFactor(2.0)
	AddShipModifier: FlagshipHull::GridWidthFactor(sqrt(3.0))
	AddShipModifier: FlagshipHull::GridHeightFactor(sqrt(3.0))

	AddShipModifier: HpFactor(4.0)
	AddShipModifier: ArmorResistFactor(2.5)
	//AddShipModifier: tag/Weapon::DamageFactor(1.5)  //1.25?
	//AddShipModifier: MassFactor(0.5)
	//AddShipModifier: tag/Weapon::RangeFactor(0.7)
	//AddShipModifier: BuildCostFactor(1.0 - 0.5 * min(sqrt(ShipSize / 3000), 1.0))  //0.25 * min()?

	StrengthModHP := 2.0

	Assert: ShipSize >= 64
		Message: #ERROR_MIN_SIZE:$1:64

	Assert: TagCount.Weapon >= 5
		Message: Atlantean Warship Hulls must have at least 5 different weapon systems.

	//Assert: Sum.SupportCapacity == 0
	//	Message: #ERROR_CANNOT_HAVE_SUPPORT

	Assert: Sum.SupportCapHexes == 0
		Message: Cannot have Support Command modules

	Module: Default
		Sprite: HullSubsystems::1
		DrawMode: 3
