Subsystem: WraithNodeBioelectric
	Name: #WRAITHNODEBIOELECTRIC
	Description: #WRAITHNODEBIOELECTRIC_DESC
	BaseColor: #667770
	Elevation: 0
	
	Tags: BaseCost, NonContiguous, NoCore, HasInternals, Category:Equipment
	Tags: NoBulkhead, BadFiller
	Hull: Flagship, Station
	
	Size := HexSize * Hexes

	Hex.Resistance := 0.2
	Hex.HP := 40 * HexSize
	Hex.Mass := HexSize * 1.5

	PowerUse := 1 * Size

	//BioelectricBuff := 1 + 0.01 * Hexes
	//BioelectricBuff2 := 1 - 0.02 * Hexes

	AddShipModifier: DamageFactor(1 + 0.03 * Hexes)
	AddShipModifier: SupplyCostFactor(1 - 0.02 * Hexes)
	//AddShipModifier: tag/Weapon::PowerUseFactor(1 - 0.02 * Hexes)
	AddShipModifier: PowerUseFactor(1 - 0.02 * Hexes)
	//AddShipModifier: DamageFactor(pow(0.98,Hexes))
	//AddShipModifier: SupplyCostFactor(pow(0.98,Hexes))

	Assert: TagCount.WraithSinew > 0
		Message:  Design must use Wraith Sinew.

	Assert: Hexes <= 25
		Message: A design cannot have more than 25 Bio-Electric Conversion Nodes.

	Requires:
		Power = PowerUse

	Module: Default
		Hex.BuildCost := Hex.BuildCost * 5
		Sprite: SinewWraithBionode4