Subsystem: DevoutShrine
	Name: #S_SHRINE
	Description: #S_SHRINE_DESC
	BaseColor: #408fc1
	Elevation: 1

	Tags: BaseCost, Prayer
	Tags: IsShield, Defense, Category:Control, HasInternals
	Hull: Flagship, Station

	Prayer := Hexes

	Size := HexSize * Hexes
	//ShieldCapacity := Size * 300
	//ShieldRegen := Size * 0.7
	ShieldCapacity := Size * 150
	ShieldRegen := Size


	Hex.Resistance := 0.5
	Hex.HP := 12 * HexSize
	Hex.Mass := 2.5 * HexSize

	ShieldMitFactor := 0
	Mitigation := 0
	//This is only for data display purposes
	ShieldAbsorbRate := ShieldRegen / (1 - Mitigation/100)

	//Effect: ShieldDamage
	Effect: DOFShieldDamage
		Mitigation = Mitigation

	Assert: Sum.Prayer >= Sum.Command
		Unique: True
		Message: #ERROR_EQUAL_PRAYER
	
	Module: Core
		Sprite: AntimatterReactor * #408fc1
		Hex.BuildCost := 2 * Hex.BuildCost
