1^ExistsInWorld:
2	AppearsOnRadar:
3	CombatDebugOverlay:
4	GivesExperience:
5		PlayerExperienceModifier: 1
6	ScriptTriggers:
7	ConditionManager:
8	RenderDebugState:
9
10^SpriteActor:
11	BodyOrientation:
12	QuantizeFacingsFromSequence:
13	RenderSprites:
14
15^1x1Shape:
16	HitShape:
17		UseTargetableCellsOffsets: true
18		Type: Rectangle
19			TopLeft: -512, -512
20			BottomRight: 512, 512
21
22^2x1Shape:
23	HitShape:
24		UseTargetableCellsOffsets: true
25		Type: Rectangle
26			TopLeft: -1024, -512
27			BottomRight: 1024, 512
28
29^2x2Shape:
30	HitShape:
31		UseTargetableCellsOffsets: true
32		Type: Rectangle
33			TopLeft: -1024, -1024
34			BottomRight: 1024, 1024
35
36^3x2Shape:
37	HitShape:
38		UseTargetableCellsOffsets: true
39		Type: Rectangle
40			TopLeft: -1536, -1024
41			BottomRight: 1536, 1024
42
43^GainsExperience:
44	GainsExperience:
45		LevelUpNotification: LevelUp
46		Conditions:
47			200: rank-veteran
48			400: rank-veteran
49			800: rank-veteran
50			1600: rank-veteran
51		LevelUpImage: crate-effects
52	GrantCondition@RANK-ELITE:
53		RequiresCondition: rank-veteran >= 4
54		Condition: rank-elite
55	DamageMultiplier@RANK-1:
56		RequiresCondition: rank-veteran == 1
57		Modifier: 95
58	DamageMultiplier@RANK-2:
59		RequiresCondition: rank-veteran == 2
60		Modifier: 90
61	DamageMultiplier@RANK-3:
62		RequiresCondition: rank-veteran == 3
63		Modifier: 85
64	DamageMultiplier@RANK-ELITE:
65		RequiresCondition: rank-elite
66		Modifier: 75
67	FirepowerMultiplier@RANK-1:
68		RequiresCondition: rank-veteran == 1
69		Modifier: 105
70	FirepowerMultiplier@RANK-2:
71		RequiresCondition: rank-veteran == 2
72		Modifier: 110
73	FirepowerMultiplier@RANK-3:
74		RequiresCondition: rank-veteran == 3
75		Modifier: 120
76	FirepowerMultiplier@RANK-ELITE:
77		RequiresCondition: rank-elite
78		Modifier: 130
79	SpeedMultiplier@RANK-1:
80		RequiresCondition: rank-veteran == 1
81		Modifier: 105
82	SpeedMultiplier@RANK-2:
83		RequiresCondition: rank-veteran == 2
84		Modifier: 110
85	SpeedMultiplier@RANK-3:
86		RequiresCondition: rank-veteran == 3
87		Modifier: 120
88	SpeedMultiplier@RANK-ELITE:
89		RequiresCondition: rank-elite
90		Modifier: 140
91	ReloadDelayMultiplier@RANK-1:
92		RequiresCondition: rank-veteran == 1
93		Modifier: 95
94	ReloadDelayMultiplier@RANK-2:
95		RequiresCondition: rank-veteran == 2
96		Modifier: 90
97	ReloadDelayMultiplier@RANK-3:
98		RequiresCondition: rank-veteran == 3
99		Modifier: 85
100	ReloadDelayMultiplier@RANK-ELITE:
101		RequiresCondition: rank-elite
102		Modifier: 75
103	SelfHealing@ELITE:
104		Step: 0
105		PercentageStep: 5
106		Delay: 100
107		HealIfBelow: 100
108		DamageCooldown: 125
109		RequiresCondition: rank-elite
110	WithDecoration@RANK-1:
111		Image: rank
112		Sequence: rank-veteran-1
113		Palette: effect
114		ReferencePoint: Bottom, Right
115		ValidStances: Ally, Enemy, Neutral
116		RequiresCondition: rank-veteran == 1
117		ZOffset: 256
118	WithDecoration@RANK-2:
119		Image: rank
120		Sequence: rank-veteran-2
121		Palette: effect
122		ReferencePoint: Bottom, Right
123		ValidStances: Ally, Enemy, Neutral
124		RequiresCondition: rank-veteran == 2
125		ZOffset: 256
126	WithDecoration@RANK-3:
127		Image: rank
128		Sequence: rank-veteran-3
129		Palette: effect
130		ReferencePoint: Bottom, Right
131		ValidStances: Ally, Enemy, Neutral
132		RequiresCondition: rank-veteran == 3
133		ZOffset: 256
134	WithDecoration@RANK-ELITE:
135		Image: rank
136		Sequence: rank-elite
137		Palette: effect
138		ReferencePoint: Bottom, Right
139		ValidStances: Ally, Enemy, Neutral
140		RequiresCondition: rank-elite
141		ZOffset: 256
142
143^InfantryExperienceHospitalOverrides:
144	WithDecoration@RANK-1:
145		BlinkInterval: 32
146		BlinkPatterns:
147			hospitalheal: On, Off
148	WithDecoration@RANK-2:
149		BlinkInterval: 32
150		BlinkPatterns:
151			hospitalheal: On, Off
152	WithDecoration@RANK-3:
153		BlinkInterval: 32
154		BlinkPatterns:
155			hospitalheal: On, Off
156	WithDecoration@RANK-ELITE:
157		BlinkInterval: 32
158		BlinkPatterns:
159			hospitalheal: On, Off
160
161^IronCurtainable:
162	WithColoredOverlay@IRONCURTAIN:
163		RequiresCondition: invulnerability
164	DamageMultiplier@IRONCURTAIN:
165		RequiresCondition: invulnerability
166		Modifier: 0
167	TimedConditionBar:
168		Condition: invulnerability
169	ExternalCondition@INVULNERABILITY:
170		Condition: invulnerability
171
172^AutoTargetGround:
173	AutoTarget:
174		AttackAnythingCondition: stance-attackanything
175	AutoTargetPriority@DEFAULT:
176		RequiresCondition: !stance-attackanything
177		ValidTargets: Infantry, Vehicle, Water, Underwater, Defense, Mine
178		InvalidTargets: NoAutoTarget, WaterStructure
179	AutoTargetPriority@ATTACKANYTHING:
180		RequiresCondition: stance-attackanything
181		ValidTargets: Infantry, Vehicle, Water, Underwater, Structure, Defense, Mine
182		InvalidTargets: NoAutoTarget
183
184^AutoTargetGroundAssaultMove:
185	Inherits: ^AutoTargetGround
186	AutoTargetPriority@DEFAULT:
187		RequiresCondition: !stance-attackanything && !assault-move
188	AutoTargetPriority@ATTACKANYTHING:
189		RequiresCondition: stance-attackanything || assault-move
190	AttackMove:
191		AssaultMoveCondition: assault-move
192
193^AutoTargetAir:
194	AutoTarget:
195	AutoTargetPriority@DEFAULT:
196		ValidTargets: Air
197		InvalidTargets: NoAutoTarget
198
199^AutoTargetAll:
200	AutoTarget:
201		AttackAnythingCondition: stance-attackanything
202	AutoTargetPriority@DEFAULT:
203		RequiresCondition: !stance-attackanything
204		ValidTargets: Infantry, Vehicle, Water, Underwater, Air, Defense, Mine
205		InvalidTargets: NoAutoTarget, WaterStructure
206	AutoTargetPriority@ATTACKANYTHING:
207		RequiresCondition: stance-attackanything
208		ValidTargets: Infantry, Vehicle, Water, Underwater, Air, Structure, Defense, Mine
209		InvalidTargets: NoAutoTarget
210
211^AutoTargetAllAssaultMove:
212	Inherits: ^AutoTargetAll
213	AutoTargetPriority@DEFAULT:
214		RequiresCondition: !stance-attackanything && !assault-move
215	AutoTargetPriority@ATTACKANYTHING:
216		RequiresCondition: stance-attackanything || assault-move
217	AttackMove:
218		AssaultMoveCondition: assault-move
219
220^GlobalBounty:
221	GrantConditionOnPrerequisite@GLOBALBOUNTY:
222		Condition: global-bounty
223		Prerequisites: global-bounty
224	GivesBounty:
225		RequiresCondition: global-bounty
226
227^Vehicle:
228	Inherits@1: ^ExistsInWorld
229	Inherits@2: ^IronCurtainable
230	Inherits@3: ^SpriteActor
231	Inherits@bounty: ^GlobalBounty
232	Inherits@selection: ^SelectableCombatUnit
233	Huntable:
234	OwnerLostAction:
235		Action: Kill
236	DrawLineToTarget:
237	UpdatesPlayerStatistics:
238	Mobile:
239		PauseOnCondition: being-captured
240		Locomotor: wheeled
241		TurnSpeed: 5
242	SelectionDecorations:
243	WithSpriteControlGroupDecoration:
244	Selectable:
245		Bounds: 24, 24
246	Targetable:
247		RequiresCondition: !parachute
248		TargetTypes: Ground, Vehicle
249	Targetable@REPAIR:
250		RequiresCondition: !parachute && damaged
251		TargetTypes: Repair
252	GrantConditionOnDamageState@DAMAGED:
253		Condition: damaged
254		ValidDamageStates: Light, Medium, Heavy, Critical
255	Repairable:
256		RepairActors: fix
257	Chronoshiftable:
258	Passenger:
259		CargoType: Vehicle
260	AttackMove:
261	HiddenUnderFog:
262	ActorLostNotification:
263	ProximityCaptor:
264		Types: Vehicle
265	GpsDot:
266		String: Vehicle
267	WithDamageOverlay:
268	Guard:
269	Guardable:
270	Tooltip:
271		GenericName: Vehicle
272	CaptureManager:
273		BeingCapturedCondition: being-captured
274	Capturable:
275		Types: vehicle
276		CancelActivity: True
277	CaptureNotification:
278		Notification: UnitStolen
279		LoseNotification: UnitLost
280	MustBeDestroyed:
281	Voiced:
282		VoiceSet: VehicleVoice
283	Parachutable:
284		FallRate: 26
285		KilledOnImpassableTerrain: true
286		ParachutingCondition: parachute
287	Explodes:
288		Weapon: UnitExplodeSmall
289		EmptyWeapon: UnitExplodeSmall
290	WithFacingSpriteBody:
291	WithParachute:
292		ShadowImage: parach-shadow
293		ShadowSequence: idle
294		Image: parach
295		Sequence: idle
296		OpeningSequence: open
297		Offset: 0,0,200
298		RequiresCondition: parachute
299	BodyOrientation:
300		UseClassicFacingFudge: True
301	HitShape:
302	MapEditorData:
303		Categories: Vehicle
304
305^TrackedVehicle:
306	Inherits: ^Vehicle
307	Mobile:
308		Locomotor: tracked
309
310^Infantry:
311	Inherits@1: ^ExistsInWorld
312	Inherits@2: ^GainsExperience
313	Inherits@3: ^InfantryExperienceHospitalOverrides
314	Inherits@4: ^SpriteActor
315	Inherits@bounty: ^GlobalBounty
316	Inherits@selection: ^SelectableCombatUnit
317	Huntable:
318	OwnerLostAction:
319		Action: Kill
320		DeathTypes: DefaultDeath
321	DrawLineToTarget:
322	Health:
323		HP: 2500
324	Armor:
325		Type: None
326	RevealsShroud:
327		Range: 4c0
328	Mobile:
329		Speed: 56
330		Locomotor: foot
331	SelectionDecorations:
332	WithSpriteControlGroupDecoration:
333	Selectable:
334		Bounds: 18,20,0,-6
335		DecorationBounds: 12,18,0,-8
336	Targetable:
337		RequiresCondition: !parachute
338		TargetTypes: Ground, Infantry, Disguise
339	Targetable@HEAL:
340		RequiresCondition: !parachute && damaged
341		TargetTypes: Heal
342	GrantConditionOnDamageState@DAMAGED:
343		Condition: damaged
344		ValidDamageStates: Light, Medium, Heavy, Critical
345	QuantizeFacingsFromSequence:
346		Sequence: stand
347	WithInfantryBody:
348	WithDeathAnimation:
349		DeathTypes:
350			DefaultDeath: 1
351			BulletDeath: 2
352			SmallExplosionDeath: 3
353			ExplosionDeath: 4
354			FireDeath: 5
355			ElectricityDeath: 6
356		CrushedSequence: die-crushed
357	AttackMove:
358	Passenger:
359		CargoType: Infantry
360		CargoCondition: disable-experience
361	GainsExperienceMultiplier:
362		Modifier: 0
363		RequiresCondition: disable-experience
364	HiddenUnderFog:
365	ActorLostNotification:
366	GpsDot:
367		String: Infantry
368	Crushable:
369		CrushSound: squishy2.aud
370	Guard:
371	Guardable:
372	Tooltip:
373		GenericName: Soldier
374	SelfHealing@HOSPITAL:
375		Step: 500
376		Delay: 100
377		HealIfBelow: 100
378		DamageCooldown: 125
379		RequiresCondition: hospitalheal
380	GrantConditionOnPrerequisite@HOSPITAL:
381		Condition: hospital
382		Prerequisites: hosp
383	GrantConditionOnDamageState@HOSPITAL:
384		Condition: damaged
385		ValidDamageStates: Light, Medium, Heavy, Critical
386	GrantCondition@HOSPITAL:
387		RequiresCondition: hospital && damaged
388		Condition: hospitalheal
389	WithDecoration@REDCROSS:
390		Image: pips
391		Sequence: medic
392		ReferencePoint: Bottom, Right
393		RequiresCondition: hospitalheal
394		BlinkInterval: 32
395		BlinkPattern: Off, On
396	DeathSounds@NORMAL:
397		DeathTypes: DefaultDeath, BulletDeath, SmallExplosionDeath, ExplosionDeath
398	DeathSounds@BURNED:
399		Voice: Burned
400		DeathTypes: FireDeath
401	DeathSounds@ZAPPED:
402		Voice: Zapped
403		DeathTypes: ElectricityDeath
404	Parachutable:
405		FallRate: 26
406		KilledOnImpassableTerrain: true
407		GroundCorpseSequence: corpse
408		GroundImpactSound: squishy2.aud
409		WaterImpactSound: splash9.aud
410		WaterCorpseSequence: small_splash
411		ParachutingCondition: parachute
412	Cloneable:
413		Types: Infantry
414	Voiced:
415		VoiceSet: GenericVoice
416	WithParachute:
417		ShadowImage: parach-shadow
418		ShadowSequence: idle
419		Image: parach
420		Sequence: idle
421		OpeningSequence: open
422		Offset: 0,0,427
423		RequiresCondition: parachute
424	HitShape:
425		Type: Circle
426			Radius: 128
427	MapEditorData:
428		Categories: Infantry
429	EdibleByLeap:
430	DetectCloaked:
431		CloakTypes: Cloak
432		Range: 1c0
433
434^Soldier:
435	Inherits: ^Infantry
436	UpdatesPlayerStatistics:
437	MustBeDestroyed:
438	ProximityCaptor:
439		Types: Infantry
440	TakeCover:
441		DamageModifiers:
442			Prone50Percent: 50
443		DamageTriggers: TriggerProne
444	WithInfantryBody:
445		IdleSequences: idle1,idle2
446		StandSequences: stand,stand2
447	AttackFrontal:
448
449^CivInfantry:
450	Inherits: ^Infantry
451	Selectable:
452		Class: CivInfantry
453	Valued:
454		Cost: 10
455	Tooltip:
456		Name: Civilian
457		GenericVisibility: None
458	RevealsShroud:
459		Range: 3c0
460	Passenger:
461		PipType: Gray
462	ProximityCaptor:
463		Types: CivilianInfantry
464	ScaredyCat:
465	Voiced:
466		VoiceSet: CivilianMaleVoice
467	Wanders:
468		MinMoveDelay: 150
469		MaxMoveDelay: 750
470	MapEditorData:
471		Categories: Civilian infantry
472
473^ArmedCivilian:
474	Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
475	Armament:
476		Weapon: Pistol
477	AttackFrontal:
478	WithInfantryBody:
479		DefaultAttackSequence: shoot
480
481^Ship:
482	Inherits@1: ^ExistsInWorld
483	Inherits@2: ^GainsExperience
484	Inherits@3: ^IronCurtainable
485	Inherits@4: ^SpriteActor
486	Inherits@bounty: ^GlobalBounty
487	Inherits@selection: ^SelectableCombatUnit
488	Huntable:
489	OwnerLostAction:
490		Action: Kill
491	DrawLineToTarget:
492	UpdatesPlayerStatistics:
493	Mobile:
494		Locomotor: naval
495	SelectionDecorations:
496	WithSpriteControlGroupDecoration:
497	Selectable:
498		Bounds: 24,24
499	Targetable:
500		TargetTypes: Ground, Water, Ship
501	Targetable@REPAIR:
502		RequiresCondition: damaged
503		TargetTypes: Repair
504	GrantConditionOnDamageState@DAMAGED:
505		Condition: damaged
506		ValidDamageStates: Light, Medium, Heavy, Critical
507	HiddenUnderFog:
508	AttackMove:
509	ActorLostNotification:
510		Notification: NavalUnitLost
511	ProximityCaptor:
512		Types: Ship
513	Chronoshiftable:
514	RepairableNear:
515		RepairActors: spen, syrd
516	GpsDot:
517		String: Ship
518	WithDamageOverlay:
519	Explodes:
520		Weapon: UnitExplodeShip
521		EmptyWeapon: UnitExplodeShip
522	Guard:
523	Guardable:
524	Tooltip:
525		GenericName: Ship
526	MustBeDestroyed:
527	MapEditorData:
528		ExcludeTilesets: INTERIOR
529		Categories: Naval
530	Voiced:
531		VoiceSet: VehicleVoice
532	WithFacingSpriteBody:
533	HitShape:
534
535^NeutralPlane:
536	Inherits@1: ^ExistsInWorld
537	Inherits@4: ^SpriteActor
538	Inherits@bounty: ^GlobalBounty
539	Inherits@selection: ^SelectableCombatUnit
540	Huntable:
541	OwnerLostAction:
542		Action: Kill
543	DrawLineToTarget:
544	Armor:
545		Type: Light
546	UpdatesPlayerStatistics:
547	AppearsOnRadar:
548		UseLocation: true
549	SelectionDecorations:
550	WithSpriteControlGroupDecoration:
551	Selectable:
552		Bounds: 24,24
553	Aircraft:
554		AirborneCondition: airborne
555	Targetable@GROUND:
556		RequiresCondition: !airborne
557		TargetTypes: Ground, Vehicle
558	Targetable@AIRBORNE:
559		RequiresCondition: airborne
560		TargetTypes: Air
561	Targetable@REPAIR:
562		RequiresCondition: !airborne && damaged
563		TargetTypes: Repair
564	GrantConditionOnDamageState@DAMAGED:
565		Condition: damaged
566		ValidDamageStates: Light, Medium, Heavy, Critical
567	HiddenUnderFog:
568		Type: GroundPosition
569	AttackMove:
570	Guard:
571	Guardable:
572	ActorLostNotification:
573		Notification: AirUnitLost
574	ProximityCaptor:
575		Types: Plane
576	EjectOnDeath:
577		PilotActor: E1
578		SuccessRate: 50
579		EjectOnGround: false
580		EjectInAir: true
581		AllowUnsuitableCell: true
582		ChuteSound: chute1.aud
583	GpsDot:
584		String: Plane
585	Tooltip:
586		GenericName: Plane
587	WithShadow:
588		Offset: 43, 128, 0
589		ZOffset: -129
590	WithFacingSpriteBody:
591	MustBeDestroyed:
592	Voiced:
593		VoiceSet: GenericVoice
594	HitShape:
595	MapEditorData:
596		Categories: Aircraft
597	SpawnActorOnDeath:
598		RequiresCondition: airborne
599	Explodes:
600		Weapon: UnitExplode
601		RequiresCondition: !airborne
602
603^Plane:
604	Inherits: ^NeutralPlane
605	Inherits@2: ^GainsExperience
606	Repairable:
607		RepairActors: fix
608
609^Helicopter:
610	Inherits: ^Plane
611	Tooltip:
612		GenericName: Helicopter
613	Aircraft:
614		CanHover: True
615		CruisingCondition: cruising
616		WaitDistanceFromResupplyBase: 4c0
617		TakeOffOnResupply: true
618		VTOL: true
619		LandableTerrainTypes: Clear, Rough, Road, Ore, Beach, Gems
620		Crushes: crate, mine, infantry
621		InitialFacing: 224
622		CanSlide: True
623	GpsDot:
624		String: Helicopter
625	Hovers@CRUISING:
626		RequiresCondition: cruising
627	BodyOrientation:
628		UseClassicFacingFudge: True
629
630^BasicBuilding:
631	Inherits@1: ^ExistsInWorld
632	Inherits@2: ^IronCurtainable
633	Inherits@3: ^SpriteActor
634	Inherits@shape: ^1x1Shape
635	Inherits@bounty: ^GlobalBounty
636	Inherits@selection: ^SelectableBuilding
637	SelectionDecorations:
638	WithSpriteControlGroupDecoration:
639	Targetable:
640		TargetTypes: Ground, C4, DetonateAttack, Structure
641	Building:
642		Dimensions: 1,1
643		Footprint: x
644		TerrainTypes: Clear,Road
645		RequiresBaseProvider: True
646		BuildSounds: placbldg.aud, build5.aud
647		UndeploySounds: cashturn.aud
648	ActorPreviewPlaceBuildingPreview:
649		OverridePalette: placebuilding
650	RequiresBuildableArea:
651		AreaTypes: building
652	SoundOnDamageTransition:
653		DamagedSounds: kaboom1.aud
654		DestroyedSounds: kaboom22.aud
655	WithSpriteBody:
656	Explodes:
657		Type: Footprint
658		Weapon: BuildingExplode
659		EmptyWeapon: BuildingExplode
660	CaptureNotification:
661	ShakeOnDeath:
662	ProximityCaptor:
663		Types: Building
664	Guardable:
665		Range: 3c0
666	FrozenUnderFog:
667	FrozenUnderFogUpdatedByGps:
668	Tooltip:
669		GenericName: Structure
670	Demolishable:
671	MapEditorData:
672		Categories: Building
673	CommandBarBlacklist:
674
675^Building:
676	Inherits: ^BasicBuilding
677	Huntable:
678	OwnerLostAction:
679		Action: Kill
680	UpdatesPlayerStatistics:
681	GivesBuildableArea:
682		AreaTypes: building, fake
683	RepairableBuilding:
684		RepairStep: 700
685		PlayerExperience: 25
686		RepairingNotification: Repairing
687	EngineerRepairable:
688	AcceptsDeliveredCash:
689	WithMakeAnimation:
690		Condition: build-incomplete
691	CaptureManager:
692		BeingCapturedCondition: being-captured
693	Capturable:
694		RequiresCondition: !build-incomplete
695		Types: building
696	CapturableProgressBar:
697	CapturableProgressBlink:
698	SpawnActorsOnSell:
699		ActorTypes: e1,e1,e1,tecn,tecn
700	MustBeDestroyed:
701		RequiredForShortGame: true
702	GpsDot:
703		String: Structure
704	Demolishable:
705		Condition: being-demolished
706	Sellable:
707		RequiresCondition: !build-incomplete && !being-captured && !being-demolished
708		SellSounds: cashturn.aud
709	WithBuildingRepairDecoration:
710		Image: allyrepair
711		Sequence: repair
712		ReferencePoint: Center
713		Palette: player
714		IsPlayerPalette: True
715
716^ScienceBuilding:
717	Inherits: ^Building
718	SpawnActorsOnSell:
719		ActorTypes: e1,e1,e1,e1,tecn,tecn,tecn,tecn,tecn,tecn,tecn,tecn,tecn,tecn,e6,e6,e6,e6,e6,chan,chan,chan,chan
720
721^Defense:
722	Inherits: ^Building
723	Inherits@selection: ^SelectableCombatBuilding
724	Selectable:
725		Bounds: 24,24
726	Targetable:
727		TargetTypes: Ground, C4, DetonateAttack, Structure, Defense
728	MustBeDestroyed:
729		RequiredForShortGame: false
730	-GivesBuildableArea:
731	-AcceptsDeliveredCash:
732	DrawLineToTarget:
733	RenderRangeCircle:
734	Explodes:
735		Weapon: SmallBuildingExplode
736		EmptyWeapon: SmallBuildingExplode
737	MapEditorData:
738		Categories: Defense
739	-CommandBarBlacklist:
740
741^Wall:
742	Inherits@1: ^ExistsInWorld
743	Inherits@2: ^SpriteActor
744	Inherits@shape: ^1x1Shape
745	Interactable:
746		Bounds: 24,24
747	OwnerLostAction:
748		Action: ChangeOwner
749	Building:
750		Dimensions: 1,1
751		Footprint: x
752		BuildSounds: placbldg.aud
753		TerrainTypes: Clear,Road
754		UndeploySounds: cashturn.aud
755	FootprintPlaceBuildingPreview:
756		LineBuildSegmentPalette: placelinesegment
757	RequiresBuildableArea:
758		AreaTypes: building
759		Adjacent: 7
760	SoundOnDamageTransition:
761		DamagedSounds: sandbag2.aud
762		DestroyedSounds: sandbag2.aud
763	Crushable:
764		CrushClasses: wall
765	LineBuild:
766		Range: 8
767		NodeTypes: wall
768	LineBuildNode:
769		Types: wall
770	Targetable:
771		TargetTypes: Ground, DetonateAttack, Wall, NoAutoTarget
772	-GivesExperience:
773	RenderSprites:
774		Palette: effect
775	WithWallSpriteBody:
776	Sellable:
777		SellSounds: cashturn.aud
778	Guardable:
779	FrozenUnderFog:
780	FrozenUnderFogUpdatedByGps:
781	Health:
782		HP: 10000
783	RadarColorFromTerrain:
784		Terrain: Wall
785	AppearsOnMapPreview:
786		Terrain: Wall
787	MapEditorData:
788		Categories: Wall
789
790^TechBuilding:
791	Inherits: ^BasicBuilding
792	Huntable:
793	Health:
794		HP: 40000
795	Armor:
796		Type: Wood
797	Tooltip:
798		Name: Civilian Building
799		GenericVisibility: None
800	FrozenUnderFog:
801	MapEditorData:
802		Categories: Tech building
803
804^FakeBuilding:
805	Inherits: ^Building
806	GivesBuildableArea:
807		AreaTypes: fake
808	RequiresBuildableArea:
809		AreaTypes: fake
810	Health:
811		HP: 10000
812	Explodes:
813		Weapon: Demolish
814		DamageThreshold: 70
815	RevealsShroud:
816		Range: 1c0
817	WithDecoration@fake:
818		RequiresSelection: true
819		Image: pips
820		Sequence: tag-fake
821		ReferencePoint: Top
822		ZOffset: 256
823	-SpawnActorsOnSell:
824	-MustBeDestroyed:
825	MapEditorData:
826		Categories: Fake
827
828^InfiltratableFake:
829	Targetable:
830		TargetTypes: Ground, Structure, C4, DetonateAttack, SpyInfiltrate
831	InfiltrateForDecoration:
832		Types: SpyInfiltrate
833		RequiresSelection: true
834		Image: pips
835		Sequence: tag-fake
836		ReferencePoint: Top
837		ZOffset: 256
838
839^AmmoBox:
840	Inherits: ^TechBuilding
841	-Selectable:
842	SelectionDecorations:
843		RenderSelectionBars: False
844	Health:
845		HP: 1000
846	Explodes:
847		Weapon: UnitExplode
848	Tooltip:
849		Name: Ammo Box
850	Targetable:
851		TargetTypes: Ground, C4, DetonateAttack, Structure, NoAutoTarget
852	Armor:
853		Type: Light
854	MapEditorData:
855		Categories: Decoration
856	Interactable:
857		Bounds: 24,24
858
859^CivBuilding:
860	Inherits: ^TechBuilding
861	RenderSprites:
862		Palette: player
863	MapEditorData:
864		ExcludeTilesets: INTERIOR
865		Categories: Civilian building
866	SpawnActorOnDeath@1:
867		Actor: c1
868		Probability: 40
869	SpawnActorOnDeath@2:
870		Actor: c4
871		Probability: 20
872	SpawnActorOnDeath@3:
873		Actor: c3
874		Probability: 15
875	Explodes:
876		Weapon: SmallBuildingExplode
877	Explodes@CIVPANIC:
878		Weapon: CivPanicExplosion
879
880^CivField:
881	Inherits: ^CivBuilding
882	-HitShape:
883	-Health:
884	-Explodes:
885	-Explodes@CIVPANIC:
886	-Selectable:
887	-SelectionDecorations:
888	Tooltip:
889		Name: Field
890	-Targetable:
891	-Demolishable:
892	MapEditorData:
893		ExcludeTilesets: INTERIOR
894	Interactable:
895
896^Tree:
897	Inherits@1: ^SpriteActor
898	Inherits@shape: ^1x1Shape
899	Interactable:
900	Tooltip:
901		Name: Tree
902		ShowOwnerRow: false
903	RenderSprites:
904		Palette: terrain
905	WithSpriteBody:
906	Building:
907		Footprint: x
908		Dimensions: 1,1
909	AppearsOnRadar:
910	RadarColorFromTerrain:
911		Terrain: Tree
912	AppearsOnMapPreview:
913		Terrain: Tree
914	Health:
915		HP: 50000
916	Armor:
917		Type: Wood
918	Targetable:
919		TargetTypes: Trees
920	WithDamageOverlay@SmallBurn:
921		DamageTypes: Incendiary
922		Image: burn-s
923		Palette: effect
924		MinimumDamageState: Light
925		MaximumDamageState: Medium
926	WithDamageOverlay@MediumBurn:
927		DamageTypes: Incendiary
928		Image: burn-m
929		Palette: effect
930		MinimumDamageState: Medium
931		MaximumDamageState: Heavy
932	WithDamageOverlay@LargeBurn:
933		DamageTypes: Incendiary
934		Image: burn-l
935		Palette: effect
936		MinimumDamageState: Heavy
937		MaximumDamageState: Dead
938	HiddenUnderShroud:
939	ScriptTriggers:
940	MapEditorData:
941		ExcludeTilesets: INTERIOR
942		Categories: Tree
943	RequiresSpecificOwners:
944		ValidOwnerNames: Neutral
945
946^TreeHusk:
947	Inherits@1: ^SpriteActor
948	Interactable:
949	RenderSprites:
950		Palette: terrain
951	AppearsOnRadar:
952	RadarColorFromTerrain:
953		Terrain: Tree
954	AppearsOnMapPreview:
955		Terrain: Tree
956	Building:
957		Footprint: x
958		Dimensions: 1,1
959	WithSpriteBody:
960	Tooltip:
961		Name: Tree (Burnt)
962		ShowOwnerRow: false
963	HiddenUnderShroud:
964	ScriptTriggers:
965	MapEditorData:
966		Categories: Tree
967	RequiresSpecificOwners:
968		ValidOwnerNames: Neutral
969
970^Box:
971	Inherits: ^Tree
972	RenderSprites:
973		Palette: player
974	Tooltip:
975		Name: Boxes
976	MapEditorData:
977		-ExcludeTilesets:
978		Categories: Decoration
979
980^BasicHusk:
981	Inherits@1: ^SpriteActor
982	Interactable:
983	Health:
984		HP: 28000
985	Armor:
986		Type: Heavy
987	HiddenUnderFog:
988		Type: CenterPosition
989		AlwaysVisibleStances: None
990	ScriptTriggers:
991	WithFacingSpriteBody:
992	HitShape:
993	MapEditorData:
994		Categories: Husk
995
996^Husk:
997	Inherits: ^BasicHusk
998	Husk:
999		AllowedTerrain: Clear, Rough, Road, Ore, Gems, Beach
1000	Burns:
1001		Damage: 200
1002	OwnerLostAction:
1003		Action: ChangeOwner
1004	CaptureManager:
1005	Capturable:
1006		Types: husk
1007		ValidStances: Enemy, Neutral
1008	TransformOnCapture:
1009		ForceHealthPercentage: 25
1010	InfiltrateForTransform:
1011		Types: Husk
1012		ForceHealthPercentage: 25
1013	WithColoredOverlay@IDISABLE:
1014		Palette: disabled
1015	Targetable:
1016		TargetTypes: Ground, Husk, NoAutoTarget
1017		RequiresForceFire: true
1018	Chronoshiftable:
1019	Tooltip:
1020		GenericName: Destroyed Vehicle
1021	BodyOrientation:
1022		UseClassicFacingFudge: True
1023
1024^PlaneHusk:
1025	Inherits: ^BasicHusk
1026	WithShadow:
1027		Offset: 43, 128, 0
1028		ZOffset: -129
1029	Tooltip:
1030		GenericName: Destroyed Plane
1031	Aircraft:
1032	FallsToEarth:
1033		Moves: True
1034		Velocity: 86
1035		Explosion: UnitExplodePlane
1036		MaximumSpinSpeed: 0
1037	-MapEditorData:
1038	RevealOnDeath:
1039		Duration: 60
1040		Radius: 4c0
1041
1042^HelicopterHusk:
1043	Inherits: ^BasicHusk
1044	WithShadow:
1045		Offset: 43, 128, 0
1046		ZOffset: -129
1047	Tooltip:
1048		GenericName: Destroyed Helicopter
1049	Aircraft:
1050		CanHover: True
1051		VTOL: true
1052		CanSlide: True
1053	FallsToEarth:
1054		Explosion: UnitExplodeHeli
1055	BodyOrientation:
1056		UseClassicFacingFudge: True
1057	-MapEditorData:
1058	RevealOnDeath:
1059		Duration: 60
1060		Radius: 4c0
1061
1062^Bridge:
1063	Inherits@shape: ^1x1Shape
1064	AlwaysVisible:
1065	Tooltip:
1066		Name: Bridge
1067		ShowOwnerRow: false
1068	Targetable:
1069		TargetTypes: Ground, Water, Bridge
1070		RequiresForceFire: true
1071	Building:
1072		Footprint: ____ ____
1073		Dimensions: 4,2
1074	Health:
1075		HP: 100000
1076	Armor:
1077		Type: Concrete
1078	ScriptTriggers:
1079	BodyOrientation:
1080		QuantizedFacings: 1
1081	Interactable:
1082		Bounds: 96,48
1083	ShakeOnDeath:
1084		Duration: 15
1085		Intensity: 6
1086
1087^Rock:
1088	Inherits@1: ^SpriteActor
1089	Interactable:
1090	Tooltip:
1091		Name: Rock
1092		ShowOwnerRow: false
1093	RenderSprites:
1094		Palette: desert
1095	WithSpriteBody:
1096	Building:
1097		Footprint: __ x_
1098		Dimensions: 2,2
1099	AppearsOnRadar:
1100	RadarColorFromTerrain:
1101		Terrain: Tree
1102	AppearsOnMapPreview:
1103		Terrain: Tree
1104	HiddenUnderShroud:
1105	ScriptTriggers:
1106	MapEditorData:
1107		RequireTilesets: DESERT
1108		Categories: Decoration
1109	RequiresSpecificOwners:
1110		ValidOwnerNames: Neutral
1111
1112^DesertCivBuilding:
1113	Inherits: ^CivBuilding
1114	RenderSprites:
1115		Palette: desert
1116	MapEditorData:
1117		RequireTilesets: DESERT
1118
1119^Crate:
1120	Inherits@1: ^SpriteActor
1121	Interactable:
1122		Bounds: 24,24
1123	HiddenUnderFog:
1124	Tooltip:
1125		Name: Crate
1126		GenericName: Crate
1127		ShowOwnerRow: false
1128	Crate:
1129		Lifetime: 180
1130		TerrainTypes: Clear, Rough, Road, Ore, Beach, Water
1131	RenderSprites:
1132		Palette: effect
1133		Image: scrate
1134	WithCrateBody:
1135		XmasImages: xcratea, xcrateb, xcratec, xcrated
1136		LandSequence: land
1137		WaterSequence: water
1138	Parachutable:
1139		FallRate: 26
1140		KilledOnImpassableTerrain: false
1141		ParachutingCondition: parachute
1142	Passenger:
1143	WithParachute:
1144		Image: parach
1145		Sequence: idle
1146		OpeningSequence: open
1147		ShadowImage: parach-shadow
1148		ShadowSequence: idle
1149		RequiresCondition: parachute
1150	ConditionManager:
1151	MapEditorData:
1152		Categories: System
1153
1154^Mine:
1155	Inherits: ^SpriteActor
1156	Interactable:
1157		Bounds: 24,24
1158	WithSpriteBody:
1159	HiddenUnderFog:
1160	Mine:
1161		CrushClasses: mine
1162		DetonateClasses: mine
1163		AvoidFriendly: false
1164		BlockFriendly: false
1165	Health:
1166		HP: 10000
1167		NotifyAppliedDamage: false
1168	Armor:
1169		Type: Light
1170	Cloak:
1171		CloakSound:
1172		UncloakSound:
1173		Palette:
1174		CloakTypes: Mine
1175		InitialDelay: 0
1176	Tooltip:
1177		Name: Mine
1178	Targetable:
1179		TargetTypes: Ground, Mine
1180	Immobile:
1181		OccupiesSpace: true
1182	HitShape:
1183	MapEditorData:
1184		Categories: System
1185
1186^DisableOnLowPower:
1187	WithColoredOverlay@IDISABLE:
1188		RequiresCondition: disabled
1189		Palette: disabled
1190	GrantConditionOnPowerState@LOWPOWER:
1191		Condition: lowpower
1192		ValidPowerStates: Low, Critical
1193	GrantCondition@IDISABLE:
1194		RequiresCondition: lowpower
1195		Condition: disabled
1196
1197^DisableOnLowPowerOrPowerDown:
1198	Inherits: ^DisableOnLowPower
1199	GrantCondition@IDISABLE:
1200		RequiresCondition: lowpower || powerdown
1201		Condition: disabled
1202	ToggleConditionOnOrder:
1203		DisabledSound: EnablePower
1204		EnabledSound: DisablePower
1205		Condition: powerdown
1206		OrderName: PowerDown
1207	WithDecoration@POWERDOWN:
1208		Image: poweroff
1209		Sequence: offline
1210		Palette: chrome
1211		RequiresCondition: powerdown
1212		ReferencePoint: Center
1213		Offsets:
1214			repairing: 10, 0
1215	PowerMultiplier@POWERDOWN:
1216		RequiresCondition: powerdown
1217		Modifier: 0
1218	RepairableBuilding:
1219		RepairCondition: repairing
1220	WithBuildingRepairDecoration:
1221		Offsets:
1222			powerdown: -10, 0
1223
1224^DisabledByPowerOutage:
1225	WithColoredOverlay@IDISABLE:
1226		RequiresCondition: disabled
1227		Palette: disabled
1228	GrantCondition@IDISABLE:
1229		RequiresCondition: power-outage
1230		Condition: disabled
1231	AffectedByPowerOutage:
1232		Condition: power-outage
1233	InfiltrateForPowerOutage:
1234		Types: SpyInfiltrate
1235	Power:
1236		RequiresCondition: !disabled
1237
1238^SelectableCombatUnit:
1239	Selectable:
1240		Priority: 10
1241		PriorityModifiers: Ctrl
1242
1243^SelectableSupportUnit:
1244	Selectable:
1245		Priority: 8
1246		PriorityModifiers: Ctrl, Alt
1247
1248^SelectableEconomicUnit:
1249	Selectable:
1250		Priority: 6
1251		PriorityModifiers: Ctrl, Alt
1252
1253^SelectableCombatBuilding:
1254	Selectable:
1255		Priority: 4
1256
1257^SelectableBuilding:
1258	Selectable:
1259		Priority: 2
1260