spicebloom:
	SpiceBloom:
		Pieces: 4,5

^Husk:
	Health:
		HP: 6000

mcv.husk:
	Health:
		HP: 4000
	TransformOnCapture:
		IntoActor: mcv
	
^VehicleHusk:
	WithColoredOverlay@IDISABLE:
		Color: 00000060
	CaptureManager:
	Capturable:
		Types: husk
		ValidRelationships: Enemy, Neutral, Ally
	ChangesHealth:
		Step: -30
		StartIfBelow: 101
		Delay: 6
	TransformOnCapture:
		ForceHealthPercentage: 20

devastator.husk:
	Inherits: ^VehicleHusk
	Health:
		HP: 6000


^combat_tank.husk:
	Inherits: ^VehicleHusk
	Health:
		HP: 5000

carryall.husk:
	FallsToEarth:
		Explosion: ExplosionAircraft
	Contrail@1:
		Offset: -300,-383,0
		StartColor: 000000
		StartColorUsePlayerColor: false
	Contrail@2:
		Offset: -598,383,0
		StartColor: 000000
		StartColorUsePlayerColor: false
	SpawnActorOnDeath@debris:
		Actor: dummy.shrapnels
		OwnerType: InternalName

carryall.huskVTOL:
	FallsToEarth:
		Moves: False
		Velocity: 0c128
		Explosion: ExplosionAircraft
	SpawnActorOnDeath@debris:
		Actor: dummy.shrapnels
		OwnerType: InternalName

ornithopter.husk:
	FallsToEarth:
		MaximumSpinSpeed: 1
		Explosion: ExplosionAircraft
	Contrail@1:
		Offset: -300,-383,0
		StartColor: 000000
		TrailWidth: 0c128
		StartColorUsePlayerColor: false
	Contrail@2:
		Offset: -598,383,0
		StartColor: 000000
		TrailWidth: 0c80
		StartColorUsePlayerColor: false

^Dummy:
	EditorOnlyTooltip:
		Name: wpdummy
	MapEditorData:
		Categories: system
	AlwaysVisible:
	Interactable:
	Immobile:
		OccupiesSpace: false
	RenderSpritesEditorOnly:
		Image: waypoint
	WithSpriteBody:
	BodyOrientation:
		QuantizedFacings: 1
	OwnerLostAction:
		Action: Dispose

dummy.shrapnels:
	Inherits: ^Dummy
	KillsSelf:
		Delay: 0
	HitShape:
		Type: Circle
			Radius: 16
	Health:
		HP: 1
	ThrowsShrapnel@derbisshort:
		Weapons: Debris, Debris2
		Pieces: 1, 3
		Range: 1c0, 2c512
	ThrowsShrapnel@derbislong:
		Weapons: Debris, Debris2, Debris3, Debris4
		Pieces: 2, 4
		Range: 3c0, 6c0


^DummyVehicle:
	Inherits@1: ^ExistsInWorld
	Inherits@2: ^SpriteActor
	Interactable:
	Mobile:
		TurnSpeed: 20
		Locomotor: vehicle
		Speed: 20
		PauseOnCondition: notmobile
	Targetable:
		TargetTypes: Ground, Vehicle, C4
	Passenger:
		CargoType: Vehicle
	HiddenUnderFog:
	WithFacingSpriteBody:
	HitShape:
		Type: Circle
			Radius: 16
	Tooltip:
	AutoCarryable:
		CarriedCondition: notmobile
		LockedCondition: notmobile
	RejectsOrders:

dummy.generic:
	Inherits: ^DummyVehicle
	Targetable:
		TargetTypes: Ground, Air_support
		RequiresForceFire: true
	RenderSprites:
		Image: invisible
	GrantCondition@dontmoveDammit:
		Condition: notmobile
	Health:
		HP: 1000000
	Armor:
		Type: invulnerable


waypoint.airtstrike_a:
	Inherits: ^Dummy
	RenderSpritesEditorOnly: