Support | News | Classic | F.A.Q. | Discord | Discussions | Wiki | Roadmap

When a BatteryStorageis preset to be full, the spawned ship will have the NoBattery indicator shown in the game and of course the crew will not supply it since it's already full. And the part is not operational, too.
Sample code:

		BatteryStorage
		{
			Type = AmmoConsumer
			AmmoType = battery
			MaxAmmo = 2000
			StartingAmmo = 2000 // &MaxAmmo
			LowConsumeJobPriority = &/TERRAN_PRIORITIES/SmallLaser_LowConsume
			HighConsumeJobPriority = &/TERRAN_PRIORITIES/SmallLaser_HighConsume
			EmptyConsumeJobPriority = &/TERRAN_PRIORITIES/SmallLaser_EmptyConsume
			JobUnassignThreshold = 1000000// Effectively unassignable.
			ResupplyThreshold = 500
			RequiredForWholePartOperation = true
			AmmoDesireToggle = PowerToggle

		ReceiveAmmoMediaEffects = &/EFFECT_PREFABS/PowerDeliver
	}

Confirmed bug, will fix for the next update.

    Write a Reply...