spicebloom:
	SpiceBloom:
		Pieces: 4,5

^Husk:
	Health:
		HP: 10000

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: 10000


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

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
		StartWidth: 0c128
		StartColorUsePlayerColor: false
	Contrail@2:
		Offset: -598,383,0
		StartColor: 000000
		StartWidth: 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

deviator.husk:
	Inherits: ^VehicleHusk
	ProximityExternalCondition@isHuskAlive:
		Condition: devation_husk_still_alive
		Range: 2c112
		MaximumVerticalOffset: 1c0
		AffectsParent: true
		ValidRelationships: Ally, Neutral, Enemy

^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:

^dummygas:
	Inherits: ^Dummy
	ExternalCondition@huskCheck:
		Condition: devation_husk_still_alive
	Explodes:
		Weapon: DeviatorGas
		EmptyWeapon: DeviatorGas
		RequiresCondition: devation_husk_still_alive
	KillsSelf:
		Delay: 10
	HitShape:
		Type: Circle
			Radius: 16
	Health:
		HP: 1

dummygas01:
	Inherits: ^dummygas
	KillsSelf:
		Delay: 100

dummygas02:
	Inherits: ^dummygas
	KillsSelf:
		Delay: 130

dummygas03:
	Inherits: ^dummygas
	KillsSelf:
		Delay: 160

dummygas04:
	Inherits: ^dummygas
	KillsSelf:
		Delay: 200

dummygas05:
	Inherits: ^dummygas
	KillsSelf:
		Delay: 250
dummygas06:
	Inherits: ^dummygas
	KillsSelf:
		Delay: 300
dummygas07:
	Inherits: ^dummygas
	KillsSelf:
		Delay: 350
dummygas08:
	Inherits: ^dummygas
	KillsSelf:
		Delay: 390