Subsystem: CrewDeck
	Name: #CREWDECK_NAME
	Description: #CREWDECK_DESC
	BaseColor: #c5f946
	Picture: SubsystemButtonArt::8
	Elevation: 4
	
	Tags: DefaultUnlock, Crewed, Control, ControlCore, HasInternals
	Tags: NoBulkhead, BadFiller, Important
	Tags: Category:Control
	Hull: Support, Satellite
	
	EvaluationOrder: -10
	
	Size := HexSize * Hexes
	Crew := floor(40 * Size)
	Command := Hexes * 4

	Repair := 4 * HexSize * (Hexes-1)
	RepairSupplyCost := 0.5 * Repair
	out SupplyDrain := RepairSupplyCost
	
	Hex.Resistance := 0.2
	Hex.HP := 12 * HexSize
	Hex.Mass := HexSize
	
	Hex.LaborCost := 0.07 * HexSize
	Hex.BuildCost := 0.75 * HexSize

	Effect: ControlCore
	
	Provides:
		Crew = Crew
		Command = Command
	
	Module: Default
		Sprite: CrewQuarters
	
	Module: Core
		Sprite: Bridge
		Hex.HP := 4 * Hex.HP
		Hex.Resistance := 0.35
		Hex.BuildCost := 2 * Hex.BuildCost
