Subsystem: SingularityReactor
	Name: #SINGULARITYREACTOR
	Description: #SINGULARITYREACTOR_DESC
	BaseColor: #8833aa
	Elevation: 1

	Tags: IsReactor, Category:Control
	Tags: Important, HasInternals
	Hull: Flagship, Station

	Size := HexSize * Hexes
	Power := 100 * Size

	SupplyCapacity := Size * 600
	SupplyRate := Size * 25

	Hex.Resistance := 0.5
	Hex.HP := 18 * HexSize
	Hex.Mass := 3.5 * HexSize
	
	Hex.LaborCost := 0.25 * HexSize + 1.2
	Hex.BuildCost := 25 * HexSize + 2
	Hex.MaintainCost := HexSize + 1

	Effect: VitalSubsystem
	
	Provides:
		Power = Power
	
	Module: Core
		Hex.BuildCost := 5.0 * Hex.BuildCost
		Hex.Mass := 5.0 * Hex.Mass
		Hex.HP := 18 * Size
		Sprite: DOFModule2

	Module: Default
		Hex.BuildCost := 0.9 * Hex.BuildCost
		Hex.Mass := 0.9 * Hex.Mass

	Modifier: SupplyCapacityFactor(factor)
		SupplyCapacity := SupplyCapacity * factor

	Modifier: PowerFactor(factor)
		Power := Power * factor
