#Special credit for a lot of the original .shp files and code to Inqubi of the Combined Arms mod
#All credit to Pinkthoth for The Royal Marine, Scavenger, Bronetransporter, Missile Tortoise, Halo, Tactical Bomber and Stealth Generator
^BaseWorld:
	Faction@0:
		Name: USA
		InternalName: allies
		Side: Allies
		Selectable: true
		Description: USA
	Faction@4:
		Name: China
		InternalName: soviet
		Side: Soviet
		Selectable: true
		Description: China
	Faction@7:
		Name: Turkey
		InternalName: turkey
		Side: Soviet
	Faction@8:
		Name: Spain
		InternalName: spain
		Side: Allies
	Faction@randomallies:
		Name: USA
		InternalName: RandomAllies
		RandomFactionMembers: allies
		Side: Allies
		Description: USA: Prism Technology\n Units:\n  • GI\n  • Apache\n  • Guardian GI \n  • Sherman Tank\n  • Prism Tank\n  • Frigate\n\n Powers:\n  • Airstrike
	Faction@randomsoviet:
		Name: China
		InternalName: RandomSoviet
		RandomFactionMembers: soviet
		Side: Soviet
		Description: China
	Faction@random:
		Name: Any
		InternalName: Random
		RandomFactionMembers: allies, france, england, germany, spain, soviet, russia, ukraine, turkey
World:
	SpawnStartingUnits:
		DropdownLocked: true
		StartingUnitsClass: none
	StartingUnits@mcvonly:
		Class: none
		ClassName: MCV Only
		Factions: england, france, germany, russia, ukraine, usa, china, spain, turkey
		BaseActor: mcv
	StartingUnits@usa:
		Class: none
		ClassName: MCV Only
		Factions: allies
		BaseActor: mcv
	StartingUnits@china:
		Class: none
		ClassName: MCV Only
		Factions: soviet
		BaseActor: mcv
	Locomotor@NAVAL:
		Crushes: crate, mine
Player:
	TechTree:
	ClassicProductionQueue@Building:
		BuildTimeSpeedReduction: 100, 81, 72, 64, 57, 49, 42, 36, 31, 27, 24, 22, 20
	ClassicProductionQueue@Defense:
		BuildTimeSpeedReduction: 100, 81, 72, 64, 57, 49, 42, 36, 31, 27, 24, 22, 20
	ClassicProductionQueue@Vehicle:
		BuildTimeSpeedReduction: 100, 81, 72, 64, 57, 49, 42, 36, 31, 27, 24, 22, 20
	ClassicProductionQueue@Infantry:
		BuildTimeSpeedReduction: 100, 81, 72, 64, 57, 49, 42, 36, 31, 27, 24, 22, 20
	ClassicProductionQueue@Ship:
		BuildTimeSpeedReduction: 100, 81, 72, 64, 57, 49, 42, 36, 31, 27, 24, 22, 20
	ClassicProductionQueue@Aircraft:
		BuildTimeSpeedReduction: 100, 81, 72, 64, 57, 49, 42, 36, 31, 27, 24, 22, 20
	ProximityCaptor:
		Types: Player
^Palettes:
	PaletteFromFile@cnc:
		Name: cnc
		Filename: bits/temperatcnc.pal
		ShadowIndex: 4
	PlayerColorPalette@cnc:
		BaseName: cncplayer
		BasePalette: cnc
		RemapIndex: 176, 178, 180, 182, 184, 186, 189, 191, 177, 179, 181, 183, 185, 187, 188, 190
	PaletteFromFile@temptd:
		Name: temptd
		Filename: bits/temperattd.pal
		ShadowIndex: 4
	PlayerColorPalette@TD:
		BasePalette: temptd
		BaseName: playertd
		RemapIndex: 176, 178, 180, 182, 184, 186, 189, 191, 177, 179, 181, 183, 185, 187, 188, 190
	PaletteFromFile@chromeTD:
		Name: chrometd
		Filename: bits/temperattd.pal
		ShadowIndex: 3
		AllowModifiers: false
	PaletteFromRGBA@invred:
		Name: invred
		R: 128
		G: 0
		B: 0
		A: 128
	PaletteFromRGBA@invblue:
		Name: invblue
		R: 0
		G: 0
		B: 128
		A: 128
	PaletteFromFile@playercloak:
		Name: playercloak
		Filename: bits/playercloak.pal
		ShadowIndex: 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164, 166, 168, 170, 172, 174, 176, 178, 2, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164, 166, 168, 170, 172, 174, 176, 178
	PlayerColorPalette@CLOAK:
		BaseName: player-cloak
		BasePalette: playercloak
		RemapIndex: 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95
	RotationPaletteEffect@CLOAKROTATEPLAYER:
		Palettes: newcloak
		RotationBase: 80
		RotationRange: 15
	RotationPaletteEffect@CLOAKROTATE1:
		Palettes: newcloak
		RotationBase: 1
		RotationRange: 79
	RotationPaletteEffect@CLOAKROTATE2:
		Palettes: newcloak
		RotationBase: 96
		RotationRange: 158
	PaletteFromPlayerPaletteWithAlpha@newcloak:
		BaseName: newcloak
		BasePalette: player-cloak
		Alpha: 0.55
	PaletteFromFile@cc2unittem:
		Name: cc2unittem
		Filename: cc2unittem.pal
		ShadowIndex: 1
	PlayerColorPalette@cc2unittem:
		BasePalette: cc2unittem
		BaseName: player-cc2
		RemapIndex: 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31
	PaletteFromPlayerPaletteWithAlpha@cloak:
		BaseName: cloak
		BasePalette: player
		Alpha: 0.45
^Stealthable:
	Cloak@STEALTHABLE:
		InitialDelay: 0
		CloakDelay: 30
		IsPlayerPalette: true
		RequiresCondition: stealth
		Palette: newcloak
	TimedConditionBar@STEALTH:
		Condition: stealth
		Color: FF54D1
	ExternalCondition@STEALTH:
		Condition: stealth
^Husk:
	Targetable:
		TargetTypes: GroundActor, Husk, NoAutoTarget
		RequiresForceFire: false
^Building:
	Inherits@STEALTHABLE: ^Stealthable
	Capturable@2:
		RequiresCondition: !build-incomplete
		Types: building-external
^Defense:
	Inherits@STEALTHABLE: ^Stealthable
	RequiresBuildableArea:
		AreaTypes: building
		Adjacent: 4
^Infantry:
	Inherits@PROC: ^AffectsPROC

^AffectsPROC:
	ProximityExternalCondition@cloak:
		Condition: cloak
		ValidRelationships: enemy, neutral, ally
		Range: 0c552
		RequiresCondition: !moving
	GrantConditionOnMovement@proc:
		Condition: moving

^AffectsPROC2:
	GrantConditionOnAttack@proc:
		Condition: attack
		ArmamentNames: primary, secondary, garrisoned
		RevokeDelay: 50
	ProximityExternalCondition@cloak:
		Condition: cloak
		ValidRelationships: enemy, neutral, ally
		Range: 0c412
		RequiresCondition: attack

^Vehicle:
	Inherits@STEALTHABLE: ^Stealthable
	Inherits@PROC: ^AffectsPROC
^Ship:
	Inherits@STEALTHABLE: ^Stealthable
MINS: #seamines
	Inherits: ^Mine
	RenderSprites:
		Image: mins
	Explodes:
		Weapon: ASMine

#units
#infantry------------------------------------------------------------------------------------------infantry
GENMEDI:
	Inherits: MEDI
	Buildable:
		Prerequisites: ~hosp, ~techlevel.infonly
	RenderSprites:
		Image: MEDI
E1:
	Buildable:
		Prerequisites: ~barracks, ~infantry.vanilla, ~techlevel.infonly
#AlliedInfantry-----------------------------------------------------------------------------alliedinfantry
E1GI:
	Inherits: E1
	Buildable:
		Icon: e1gi
		Prerequisites: ~infantry.usa, ~techlevel.infonly
		Description: US basic infantry.\n  Strong vs Infantry\n  Weak vs Vehicles, Aircraft
	Tooltip:
		Name: GI
	ProducibleWithLevel:
		Prerequisites: techlevel.infonly
		InitialLevels: 1
	Voiced:
		VoiceSet: USAVoice
	RenderSprites:
		Image: E1
SNIPER:
	Valued:
		Cost: 800
	Buildable:
		Prerequisites: ~tent, dome, ~infantry.usa, ~techlevel.medium
	ProducibleWithLevel:
		Prerequisites: techlevel.infonly
		InitialLevels: 1
	Health:
		HP: 9500
	IgnoresDisguise:
MECH:
	Inherits: ^Soldier
	CaptureManager:
	GrantConditionOnPrerequisite@REUSABLEMECHANICS:
		Condition: global-reusable-mechanics
		Prerequisites: global-reusable-mechanics
	Captures:
		RequiresCondition: !global-reusable-mechanics
		CaptureTypes: husk
		PlayerExperience: 25
		EnterCursor: goldwrench
		ConsumedByCapture: true
	Captures@rehusk:
		RequiresCondition: global-reusable-mechanics
		CaptureTypes: husk
		PlayerExperience: 25
		ConsumedByCapture: False
		EnterCursor: goldwrench
	Infiltrates:
		RequiresCondition: !global-reusable-mechanics
		Types: Husk
		ValidRelationships: ally
		EnterCursor: goldwrench
		PlayerExperience: 25
	Infiltrates@rehusk:
		RequiresCondition: global-reusable-mechanics
		Types: Husk
		ValidRelationships: ally
		EnterCursor: goldwrench
		EnterBehaviour: Exit
		PlayerExperience: 25
E13:
	Inherits: ^Soldier
	Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
	Buildable:
		Queue: Infantry
		BuildAtProductionType: Soldier
		BuildPaletteOrder: 120
		Prerequisites: ~tent, atek, ~infantry.germany, ~techlevel.high
		Description: Elite Infantry with portable Chrono cannons.\n Strong vs Infantry, Vehicles\n Weak vs Aircraft
	Valued:
		Cost: 650
	Tooltip:
		Name: Chrono Soldier
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Health:
		HP: 5000
	Mobile:
		Voice: Move
	RevealsShroud:
		Range: 5c0
	Armament@PRIMARY:
		Weapon: ChronoHandGun
		LocalOffset: 427, 0, 341
	Armament@GARRISONED:
		Name: garrisoned
		Weapon: ChronoHandGun
	PortableChrono:
		ChargeDelay: 500
		MaxDistance: 24
	TakeCover:
		ProneOffset: 227,0,-245
	AttackFrontal:
		Voice: Attack
		FacingTolerance: 0
	AttackMove:
		Voice: Move
	Passenger:
		Voice: Move
	Guard:
		Voice: Move
	WithInfantryBody:
		DefaultAttackSequence: shoot
		RequiresCondition: !parachute
	WithInfantryBody@PARACHUTE:
		StandSequences: parachute
		RequiresCondition: parachute
	Voiced:
		VoiceSet: ChronoVoice
	ProducibleWithLevel:
		Prerequisites: barracks.upgraded
E7:
	Buildable:
		Prerequisites: ~tent, atek, ~techlevel.high
	ProducibleWithLevel:
		Prerequisites: techlevel.high
		InitialLevels: 4
RMBO:
	Inherits: ^Soldier
	Inherits@EXPERIENCE: ^GainsExperience
	Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
	Valued:
		Cost: 400
	Tooltip:
		Name: Commando
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Buildable:
		BuildPaletteOrder: 120
		Prerequisites: ~tent, atek, ~infantry.usa, ~techlevel.high
		BuildAtProductionType: Infantry
		Queue: Infantry
		BuildLimit: 10
		Description: Elite commando infantry. Armed with\nHeavy Machine Gun.\n Strong vs Infantry, Buildings\n  Weak vs Vehicles, Aircraft\n  Special Ability: Destroy Building with C4
		IconPalette: cnc
	ProducibleWithLevel:
		Prerequisites: techlevel.high
		InitialLevels: 2
	Mobile:
		Speed: 71
		Voice: Move
	Guard:
		Voice: Move
	Health:
		HP: 15000
	Passenger:
		CustomPipType: red
		Voice: Move
	-Crushable:
	RevealsShroud:
		Range: 6c0
	AutoTarget:
		ScanRadius: 8
	Armament@PRIMARY:
		Weapon: C60mg
	Armament@SECONDARY:
		Weapon: BuildingGrenade
	Armament@GARRISONED:
		Name: garrisoned
		Weapon: Vulcan
		MuzzleSequence: garrison-muzzle
	AttackFrontal:
		Voice: Attack
		FacingTolerance: 0
	AttackMove:
		Voice: Attack
	WithInfantryBody:
		DefaultAttackSequence: shoot
		IdleSequences: idle1,idle2,idle3
	Targetable:
		TargetTypes: GroundActor, Infantry
	AnnounceOnKill:
	Voiced:
		VoiceSet: USAVoice
	RenderSprites:
		PlayerPalette: cncplayer
		Image: rmbo
SPECOP:
	Inherits: ^Soldier
	Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
	Buildable:
		Queue: Infantry
		BuildAtProductionType: Soldier
		BuildPaletteOrder: 80
		Prerequisites: ~techlevel.medium, ~infantry.england, dome
		Description: Elite rifleman armed with grenades.\n  Strong vs Infantry, Buildings\n  Weak vs Vehicles, Aircraft
	Valued:
		Cost: 250
	Tooltip:
		Name: Royal Marine
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Health:
		HP: 5000
	Mobile:
	ProducibleWithLevel:
		Prerequisites: techlevel.medium
		InitialLevels: 1
	RevealsShroud:
		Range: 6c0
	Armament@PRIMARY:
		Name: primary
		Weapon: M1Carbine2
	Armament@SECONDARY:
		Name: secondary
		Weapon: BuildingGrenade
		LocalOffset: 0,0,555
		FireDelay: 15
	Armament@GARRISONED:
		Name: garrisoned
		Weapon: M1Carbine
		MuzzleSequence: garrison-muzzle
	WithInfantryBody:
		AttackSequences:
			primary: shoot
			secondary: throw
		RequiresCondition: !parachute
	WithInfantryBody@PARACHUTE:
		StandSequences: parachute
		RequiresCondition: parachute
	WithInfantryBody:
		IdleSequences: idle1,idle2,idle3
	RenderSprites:

#sovietinfantry--------------------------------------------------------------------sovietinfantry
E1CH:
	Inherits: E1
	Buildable:
		Icon: e1ch
		Prerequisites: ~infantry.china, ~techlevel.infonly
		Description: Conscripted Infantry.\n  Strong vs Infantry\n  Weak vs Vehicles, Aircraft
	Valued:
		Cost: 50
	Tooltip:
		Name: Chinese Conscript
	Health:
		HP: 4000
	RenderSprites:
		Image: e1
SCVN:
	Inherits: ^Soldier
	Buildable:
		Queue: Infantry
		BuildAtProductionType: Soldier
		BuildPaletteOrder: 90
		Prerequisites: ~barr, fix, ~infantry.ukraine, ~techlevel.medium
		Description: Recovers resources from husks.\n	Unarmed
	Valued:
		Cost: 500
	Tooltip:
		Name: Scavenger
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Health:
		HP: 8000
	Mobile:
		Voice: Move
	RevealsShroud:
		Range: 3c0
	Passenger:
		CustomPipType: blue
		Voice: Move
	Armament:
		Weapon: HuskBreaker
		Cursor: repair
		OutsideRangeCursor: repair
		TargetRelationships: Ally, Neutral, Enemy
		ReloadingCondition: reloading-wrench
	CashTrickler:
		Interval: 80
		InitialDelay: 0
		Amount: 75
		RequiresCondition: reloading-wrench
	WithInfantryBody:
		IdleSequences: idle
		DefaultAttackSequence: repair
		StandSequences: stand
	Voiced:
		VoiceSet: MechanicVoice
	AutoTarget:
		AllowMovement: True
	AutoTargetPriority@DEFAULT:
		ValidTargets: Husk
		ValidRelationships: Enemy, Neutral, Ally
	Selectable:
		Priority: 6
		PriorityModifiers: Ctrl, Alt
IVAN:
	Inherits: ^Soldier
	Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
	Buildable:
		Queue: Infantry
		BuildAtProductionType: Soldier
		BuildPaletteOrder: 32
		Prerequisites: ~infantry.turkey, weap, ~techlevel.infonly
		Description: Specialist demolition infantry armed with explosives.\n• Strong vs Buildings, Defenses, Light Armor\n• Cannot attack Aircraft\n• Has difficulty hitting moving targets
	Valued:
		Cost: 600
	Tooltip:
		Name: Crazy Ivan
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Health:
		HP: 7000
	Mobile:
		Speed: 66
		Voice: Move
	AttackMove:
		Voice: Move
	Passenger:
		Voice: Move
	Guard:
		Voice: Move
	RevealsShroud:
		Range: 5c0
	Armament@PRIMARY:
		Weapon: TNT
		LocalOffset: 0,0,555
		FireDelay: 15
	Armament@Garrison:
		Name: mounted
		Weapon: TNT
		FireDelay: 15
	TakeCover:
		ProneOffset: 256,64,-331
	AttackFrontal:
		Voice: Attack
		FacingTolerance: 0
	WithInfantryBody:
		DefaultAttackSequence: throw
		RequiresCondition: !parachute
	WithInfantryBody@PARACHUTE:
		StandSequences: parachute
		RequiresCondition: parachute
	Explodes:
		Weapon: ArtilleryExplode
		EmptyWeapon: ArtilleryExplode
		Chance: 100
		DamageSource: Killer
	ProducibleWithLevel:
		Prerequisites: barracks.upgraded
	Voiced:
		VoiceSet: CrazyIvanVoice
	RenderSprites:
		PlayerPalette: cncplayer
DOG:
	DetectCloaked:
		Range: 3c0
		DetectionTypes: Mine
#vehicles-------------------------------------------------------------------------------------------vehicles
HARV:
	Carryable:
		LocalOffset: 0,0,200
	ProximityExternalCondition@cloak:
		ValidRelationships: enemy
MCV:
	Carryable:
		LocalOffset: 0,0,200
MNLY:
	Carryable:
		LocalOffset: 0,0,200
TRUK:
	Carryable:
		LocalOffset: 0,0,200
#alliedvehicles--------------------------------------------------------------------------------alliedvehicles
STNK:
	Carryable:
		LocalOffset: 0,0,200
JEEP:
	Buildable:
		Prerequisites: ~vehicles.allies, ~!vehicles.usa, ~techlevel.low
	Carryable:
		LocalOffset: 0,0,200
HUMM:
	Inherits: ^Vehicle
	Inherits@GAINSEXPERIENCE: ^GainsExperience
	Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
	Inherits@CARGOPIPS: ^CargoPips
	Buildable:
		Queue: Vehicle
		BuildPaletteOrder: 130
		Prerequisites: ~vehicles.usa, ~techlevel.low
		Description: Fast scout & anti-infantry vehicle.\nCan carry 4 infantry.\n  Strong vs Infantry\n  Weak vs Vehicles, Aircraft
	Valued:
		Cost: 500
	Tooltip:
		Name: Humvee
	Carryable:
		LocalOffset: 0,0,200
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Health:
		HP: 15000
	Armor:
		Type: Light
	Mobile:
		TurnSpeed: 40
		Speed: 170
		PauseOnCondition: notmobile || being-captured
	RevealsShroud:
		MinRange: 4c0
		Range: 8c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 4c0
	Turreted:
		TurnSpeed: 40
		Offset: 0,0,128
	Armament:
		Weapon: M60mg
		MuzzleSequence: muzzle
		LocalOffset: 128,0,43
	AttackTurreted:
	WithMuzzleOverlay:
	WithSpriteTurret:
	Cargo:
		Types: Infantry
		MaxWeight: 4
		LoadingCondition: notmobile
	DetectCloaked:
		Range: 3c0
		DetectionTypes: Mine
	ProducibleWithLevel:
		Prerequisites: vehicles.upgraded
	Voiced:
		VoiceSet: USAVoice
	RenderSprites:
		PlayerPalette: cncplayer
RTNK:
	Inherits: ^TrackedVehicle
	Inherits@GAINSEXPERIENCE: ^GainsExperience
	Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
	Buildable:
		Queue: Vehicle
		BuildPaletteOrder: 220
		Prerequisites: fix, atek, ~vehicles.france, ~techlevel.medium
		Description: French Stealth Tank.\n Cloaks.\n  Strong vs Vehicles\n  Weak vs Infantry, Aircraft
	Valued:
		Cost: 1100
	Tooltip:
		Name: Mirage Tank
		GenericName: Tank
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Health:
		HP: 47000
	Armor:
		Type: Heavy
	Mobile:
		Speed: 75
	RevealsShroud:
		MinRange: 4c0
		Range: 6c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 4c0
	Turreted:
		TurnSpeed: 15
	Armament:
		Weapon: 120mmHEAT
		Recoil: 128
		RecoilRecovery: 38
		LocalOffset: 720,0,80
		MuzzleSequence: muzzle
	AttackTurreted:
	WithMuzzleOverlay:
	WithSpriteTurret:
	SpawnActorOnDeath:
		Actor: RTNK.Husk
	Cloak:
		InitialDelay: 105
		CloakDelay: 175
		CloakSound: appear1.aud
		IsPlayerPalette: true
		UncloakSound: appear1.aud
		PauseOnCondition: cloak-force-disabled
	GrantConditionOnDamageState@UNCLOAK:
		Condition: cloak-force-disabled
		ValidDamageStates: Critical
	SelectionDecorations:
	ProducibleWithLevel:
		Prerequisites: vehicles.upgraded
	Selectable:
		DecorationBounds: 1194, 1194
	Voiced:
		VoiceSet: MirageVoice
RTNK.Husk:
	Inherits: ^Husk
	Tooltip:
		Name: Husk (Mirage Tank)
	ThrowsParticle@turret:
		Anim: turret
	TransformOnCapture:
		IntoActor: rtnk
	InfiltrateForTransform:
		IntoActor: rtnk
	RenderSprites:
		Image: rtnk.destroyed
FTRK:
	Buildable:
		Prerequisites: dome, ~bio, ~techlevel.low
	Tooltip:
		Name: Mobile AA Gun
MGG:
	Inherits@selection: ^SelectableSupportUnit
2TNK:
	Buildable:
		Prerequisites: fix, ~!vehicles.germany, ~!vehicles.usa, ~vehicles.allies, ~techlevel.medium
	Valued:
		Cost: 800
	Carryable:
		LocalOffset: 0,0,200
MRJ:
	Buildable:
		Prerequisites: techcenter, ~vehicles.allies, ~techlevel.high

PANZER:
	Inherits: ^TrackedVehicle
	Inherits@GAINSEXPERIENCE: ^GainsExperience
	Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
	Buildable:
		Queue: Vehicle
		IconPalette: cnc
		BuildPaletteOrder: 220
		Prerequisites: fix, ~vehicles.germany, ~techlevel.medium
		Description: German Main Battle Tank.\n  Strong vs Vehicles, Infantry\n  Weak vs Aircraft
	Valued:
		Cost: 850
	Carryable:
		LocalOffset: 0,0,200
	Tooltip:
		Name: Panzer Tank
		GenericName: Tank
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Health:
		HP: 45000
	Armor:
		Type: Heavy
	Mobile:
		Speed: 85
	RevealsShroud:
		MinRange: 4c0
		Range: 6c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 4c0
	Turreted:
		TurnSpeed: 5
	Armament@PRIMARY:
		Weapon: P90mm
		Recoil: 128
		RecoilRecovery: 38
		LocalOffset: 720,0,80
		MuzzleSequence: muzzle
	Armament@SECONDARY:
		Weapon: P60mg
		LocalOffset: 720,0,80
		MuzzleSequence: muzzle
	AttackTurreted:
	WithMuzzleOverlay:
	WithSpriteTurret:
	Voiced:
		VoiceSet: PanzerVoice
	SpawnActorOnDeath:
		Actor: PANZER.Husk
	SelectionDecorations:
	ProducibleWithLevel:
		Prerequisites: vehicles.upgraded
	Selectable:
		DecorationBounds: 1194, 1194
	RenderSprites:
		Image: panzer
PANZER.Husk:
	Inherits: ^Husk
	Tooltip:
		Name: Husk (Panzer Tank)
	ThrowsParticle@turret:
		Anim: turret
	TransformOnCapture:
		IntoActor: panzer
	InfiltrateForTransform:
		IntoActor: panzer
	RenderSprites:
		Image: panzer.destroyed
SHERMAN:
	Inherits: ^TrackedVehicle
	Inherits@GAINSEXPERIENCE: ^GainsExperience
	Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
	Buildable:
		Queue: Vehicle
		BuildPaletteOrder: 220
		Prerequisites: fix, ~vehicles.usa, ~techlevel.medium
		Description: USA Main Battle Tank.\n  Strong vs Vehicles\n  Weak vs Infantry
	Valued:
		Cost: 850
	Carryable:
		LocalOffset: 0,0,200
	Tooltip:
		Name: Sherman Tank
		GenericName: Tank
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Health:
		HP: 45000
	Armor:
		Type: Heavy
	Mobile:
		Speed: 85
	RevealsShroud:
		MinRange: 4c0
		Range: 6c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 4c0
	Turreted:
		TurnSpeed: 5
	Armament@PRIMARY:
		Weapon: 90mm
		Recoil: 128
		RecoilRecovery: 38
		LocalOffset: 720,0,80
		MuzzleSequence: muzzle
	Armament@SECONDARY:
		Weapon: RedEye
		LocalOffset: 420,10,90
	AttackTurreted:
	WithMuzzleOverlay:
	WithSpriteTurret:
	Voiced:
		VoiceSet: USAVoice
	SpawnActorOnDeath:
		Actor: 2TNK.Husk
	SelectionDecorations:
	ProducibleWithLevel:
		Prerequisites: vehicles.upgraded
	Selectable:
		DecorationBounds: 1194, 1194
	RenderSprites:
		PlayerPalette: cncplayer
		Image: sherman
PTNK:
	Inherits: ^TrackedVehicle
	Inherits@GAINSEXPERIENCE: ^GainsExperience
	Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
	Carryable:
		LocalOffset: 0,0,200
	Buildable:
		Queue: Vehicle
		BuildPaletteOrder: 230
		BuildDuration: 1450
		Prerequisites: atek, ~vehicles.usa, ~techlevel.high
		Description: Medium-range artillery with Prism weapon.\n  Strong vs Buildings, Defenses, Infantry, Light Armor\n  Weak vs Tanks, Aircraft
	Valued:
		Cost: 1500
	Tooltip:
		Name: Prism Tank
		GenericName: Tank
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Health:
		HP: 12000
	Armor:
		Type: Light
	Mobile:
		Speed: 82
		Voice: Move
	Passenger:
		Voice: Move
	RevealsShroud:
		MinRange: 4c0
		Range: 6c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 4c0
	Turreted:
		TurnSpeed: 5
		Offset: 100,0,0
	Armament:
		Weapon: PrisTLaser
		LocalOffset: 100,0,180
	AttackTurreted:
		TargetFrozenActors: True
		OpportunityFire: False
		Voice: Attack
	WithSpriteTurret:
	SpawnActorOnDeath:
		Actor: PTNK.Husk
	Voiced:
		VoiceSet: PrismVoice
	ProducibleWithLevel:
		Prerequisites: vehicles.upgraded
	Selectable:
		DecorationBounds: 1194, 1194
PTNK.Husk:
	Inherits: ^Husk
	Tooltip:
		Name: Husk (Prism Tank)
	ThrowsParticle@turret:
		Anim: turret
	TransformOnCapture:
		IntoActor: ptnk
	InfiltrateForTransform:
		IntoActor: ptnk
	RenderSprites:
		Image: ptnk.destroyed
IFV:
	Inherits: ^TrackedVehicle
	Inherits@AUTOTARGET: ^AutoTargetAllAssaultMove
	Inherits@CARGOPIPS: ^CargoPips
	Buildable:
		Queue: Vehicle
		BuildPaletteOrder: 120
		BuildDuration: 670
		Prerequisites: dome, ~vehicles.allies, ~techlevel.medium
		Description: Adaptable infantry transport.\n• Weapon and ability changes dependant on Occupant\n  Special Ability: Transform
	Carryable:
		LocalOffset: 0,0,200
	Valued:
		Cost: 800
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Mobile:
		Speed: 158
		PauseOnCondition: being-captured
	Turreted:
		TurnSpeed: 40
		Offset: 20,0,0
	AttackTurreted:
	WithMuzzleOverlay:
	RevealsShroud:
		MinRange: 4c0
		Range: 8c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 4c0
	Armor:
		Type: Light
	Health:
		HP: 26000
	Tooltip@empty:
		Name: IFV
		RequiresCondition: !loaded
	Cargo:
		Types: Infantry
		MaxWeight: 1
		InitialUnits: e1
		LoadedCondition: loaded
		PassengerConditions:
			e1: ifv-rifle
			e1gi: ifv-rifle
			e1ch: ifv-rifle
			e1r1: ifv-rifle
			e2: ifv-grenadier
			e3: ifv-rocket
			e3r1: ifv-rocket
			e4: ifv-flame
			spy: ifv-spy
			spy.england: ifv-spy
			e7: ifv-sniper
			rmbo: ifv-sniper
			medi: ifv-medic
			genmedi: ifv-medic
			mech: ifv-mechanic
			thf: ifv-spy
			shok: ifv-tesla
			sniper: ifv-sniper
			e13: ifv-chrono
			ivan: ifv-grenadier
		
	Armament@rifle:
		Weapon: m60mg
		LocalOffset: 128,0,43
		RequiresCondition: ifv-rifle
	Tooltip@rifleman:
		Name: Assault IFV
		RequiresCondition: ifv-rifle
	WithSpriteTurret@gun:
		RequiresCondition: ifv-rifle
		Sequence: turret3
		
	Armament@chrono:
		Weapon: ChronoHandGun
		LocalOffset: 128,0,43
		RequiresCondition: ifv-chrono
	WithSpriteTurret@chrono:
		RequiresCondition: ifv-chrono
		Sequence: turret9
	Tooltip@chrono:
		Name: Chrono IFV
		RequiresCondition: ifv-chrono
	Armament@rocketAA:
		Weapon: SidewinderAA
		LocalOffset: 128,0,43
		RequiresCondition: ifv-rocket
	Armament@rocketAG:
		Weapon: APTusk
		LocalOffset: 128,0,43
		RequiresCondition: ifv-rocket
	Tooltip@rocket:
		Name: Rocket IFV
		RequiresCondition: ifv-rocket
	WithSpriteTurret@samturr2:
		RequiresCondition: ifv-rocket
		Sequence: turret2
	Armament@medic:
		Weapon: mHeal
		Cursor: heal
		OutsideRangeCursor: heal
		TargetRelationships: Ally
		RequiresCondition: ifv-medic
	Tooltip@medic:
		Name: Ambulance IFV
		RequiresCondition: ifv-medic
	WithDecoration@REDCROSS:
		Image: pips
		Sequence: medic
		Position: BottomRight
		RequiresCondition: ifv-medic
	Armament@mechanic:
		Weapon: mRepair
		Cursor: repair
		OutsideRangeCursor: repair
		TargetRelationships: Ally
		RequiresCondition: ifv-mechanic
	WithSpriteTurret@mech:
		RequiresCondition: ifv-mechanic
		Sequence: turret6
	ChangesHealth@mechanic:
		Step: 10
		Delay: 50
		StartIfBelow: 100
		DamageCooldown: 150
		RequiresCondition: ifv-mechanic
	Tooltip@mechanic:
		Name: Repair IFV
		RequiresCondition: ifv-mechanic
	DetectCloaked@spy:
		DetectionTypes: Cloak
		RequiresCondition: ifv-spy
	Tooltip@spy:
		Name: Stealth IFV
		RequiresCondition: ifv-spy
	Cloak:
		InitialDelay: 25
		CloakDelay: 175
		CloakSound: appear1.aud
		UncloakSound: appear1.aud
		IsPlayerPalette: true
		PauseOnCondition: cloak-force-disabled
		RequiresCondition: ifv-spy
	GrantConditionOnDamageState@UNCLOAK:
		Condition: cloak-force-disabled
		ValidDamageStates: Critical
	WithIdleOverlay@SPINNER:
		Sequence: spinner
		PauseOnCondition: cloak-force-disabled
		RequiresCondition: ifv-spy
		Offset: 0,0,200
	Armament@sniper:
		Weapon: mSniper
		LocalOffset: 128,0,43
		RequiresCondition: ifv-sniper
	Tooltip@sniper:
		Name: Sniper Ranger
		RequiresCondition: ifv-sniper
	WithSpriteTurret@snip:
		Sequence: turret11
		RequiresCondition: ifv-sniper
	Armament@grenadier:
		Weapon: mGrenade
		LocalOffset: 128,0,43
		RequiresCondition: ifv-grenadier
	WithSpriteTurret@gren:
		Sequence: turret8
		RequiresCondition: ifv-grenadier
	Tooltip@grenadier:
		Name: Grenade Ranger
		RequiresCondition: ifv-grenadier
	Armament@flamer:
		Weapon: Flamer
		LocalOffset: 128,0,43
		RequiresCondition: ifv-flame
	Tooltip@flamer:
		Name: Flame IFV
		RequiresCondition: ifv-flame
	WithSpriteTurret@flamer:
		Sequence: turret5
		RequiresCondition: ifv-flame
	Armament@shock:
		Weapon: TTankZap
		LocalOffset: 128,0,43
		RequiresCondition: ifv-tesla
	Tooltip@shock:
		Name: Tesla IFV
		RequiresCondition: ifv-tesla
	WithIdleOverlay@TESLA:
		Sequence: tesla
		RequiresCondition: ifv-tesla
	GrantCondition@customautotarget:
		RequiresCondition: ifv-medic || ifv-mechanic || ifv-sniper
		Condition: customautotarget
	AutoTargetPriority@ATTACKANYTHING:
		RequiresCondition: stance-attackanything || assault-move && !customautotarget
	AutoTargetPriority@INCLUDEAIR:
		ValidTargets: AirborneActor
		InvalidTargets: NoAutoTarget
		RequiresCondition: ifv-rocket
	AutoTargetPriority@MEDICORSNIPERORTANYA:
		ValidTargets: Infantry
		InvalidTargets: NoAutoTarget
		RequiresCondition: ifv-medic || ifv-sniper
	AutoTargetPriority@MECHANIC:
		ValidTargets: Vehicle, Tank
		InvalidTargets: NoAutoTarget
		RequiresCondition: ifv-mechanic









MSAR:
	Inherits: ^Vehicle
	Inherits@SELECTION: ^SelectableSupportUnit
	Buildable:
		Queue: Vehicle
		BuildPaletteOrder: 230
		IconPalette: chrometd
		Prerequisites: weap, ~vehicles.france, ~techlevel.medium
		BuildDurationModifier: 50
		Description: Listening Post.\n When deployed, provides radar and increases nearby vehicle view range.\n Detects cloaked units.\n Unarmed
	Valued:
		Cost: 1000
	Carryable:
		LocalOffset: 0,0,200
	Tooltip:
		Name: Mobile Sensor Array
		RequiresCondition: !deployed
	Tooltip@DEPLOYED:
		Name: Listening Post
		RequiresCondition: deployed
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Health:
		HP: 22000
	Armor:
		Type: Heavy
	Mobile:
		Speed: 82
		RequireForceMoveCondition: !undeployed
	RevealsShroud:
		MinRange: 4c0
		Range: 6c0
		RevealGeneratedShroud: False
		RequiresCondition: undeployed
	RevealsShroud@GAPGEN:
		Range: 4c0
		RequiresCondition: undeployed
	RevealsShroud@DEPLOYED:
		RequiresCondition: !undeployed
		Range: 20c0
	RenderSprites:
		Image: msar
	Repairable:
		RequireForceMoveCondition: !undeployed
	Passenger:
		RequireForceMoveCondition: !undeployed
	GrantCondition@PREVIEWWORKAROUND:
		Condition: real-actor
	WithMakeAnimation:
		BodyNames: deployedbody
	Carryable:
		LocalOffset: 0,0,150
	WithSpriteBody@deployed:
		Sequence: idle-static
		RequiresCondition: !undeployed && real-actor
		Name: deployedbody
	WithFacingSpriteBody:
		RequiresCondition: !deployed
	GrantConditionOnDeploy:
		PauseOnCondition: being-captured
		DeployedCondition: deployed
		UndeployedCondition: undeployed
		Facing: 165
		AllowedTerrainTypes: Clear, Road, Rough, Ore, Gems
		DeploySounds: placbldg.aud
		UndeploySounds: audio/clicky1.aud
		UndeployOnMove: true
		UndeployOnPickup: true
	DetectCloaked@Deployed:
		Range: 10c0
		DetectionTypes: Cloak
		RequiresCondition: deployed
	IgnoresDisguise:
	RenderDetectionCircle:
		TrailCount: 3
	ProvidesRadar:
		RequiresCondition: deployed
	GpsDot:
		String: Communications
	Selectable:
		DecorationBounds: 1280, 1280
	ProximityExternalCondition@Bino:
		Condition: bino
		Range: 15c0
		EnableSound: bits/dsaping1.aud
		AffectsParent: False
		RequiresCondition: deployed
	Targetable:
		TargetTypes: GroundActor, Vehicle, C4
	RenderSprites:
		PlayerPalette: playertd
	WithDamageOverlay:
		Image: smoke_mtd
TNKD:
	Inherits: ^TrackedVehicle
	Inherits@GAINSEXPERIENCE: ^GainsExperience
	Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
	Buildable:
		Queue: Vehicle
		BuildPaletteOrder: 230
		Prerequisites: fix, ~atek, ~vehicles.germany, ~techlevel.high
		Description: Mobile anti-armor platform, sporting a big gun\n Strong vs Tanks, Vehicles\n Weak vs Infantry, Aircraft
	Valued:
		Cost: 975
	Tooltip:
		Name: Tank Destroyer
		GenericName: Tank
	Carryable:
		LocalOffset: 0,0,200
	Health:
		HP: 67000
	Armor:
		Type: Heavy
	Mobile:
		TurnSpeed: 4
		Speed: 71
	RevealsShroud:
		Range: 6c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 4c0
	Armament:
		Weapon: 130mm
		LocalOffset: 720,0,90
		MuzzleSequence: muzzle
	AttackFrontal:
		FacingTolerance: 0
	WithMuzzleOverlay:
	Voiced:
		VoiceSet: TnkdVoice
	SpawnActorOnDeath:
		Actor: TNKD.Husk
	ProducibleWithLevel:
		Prerequisites: vehicles.upgraded
TNKD.Husk:
	Inherits: ^Husk
	Tooltip:
		Name: Tank Destroyer (Destroyed)
	TransformOnCapture:
		IntoActor: tnkd
	InfiltrateForTransform:
		IntoActor: tnkd
	RenderSprites:
		Image: tnkd.destroyed
BATF:
	Inherits: ^TrackedVehicle
	Inherits@CARGOPIPS: ^CargoPips
	Inherits@GAINSEXPERIENCE: ^GainsExperience
	Inherits@AUTOTARGET: ^AutoTargetAllAssaultMove
	Buildable:
		Queue: Vehicle
		BuildPaletteOrder: 320
		Prerequisites: fix, atek, ~vehicles.spain, ~techlevel.high
		Description: Heavily-armored fortress on wheels, armed with multiple turrets.\nMust be manned to fire.\nCan crush concrete walls \n Strong vs Everything\n Weak vs Nothing
	Valued:
		Cost: 2100
	Tooltip:
		Name: Battle Fortress
	TooltipDescription:
		Description: Must be manned to fire.\n Carries 8 Passengers.
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Health:
		HP: 100000
	Armor:
		Type: Heavy
	Mobile:
		Locomotor: heavytracked
		Speed: 50
		Voice: Move
	Cargo:
		Types: Infantry
		MaxWeight: 8
		InitialUnits: e1, e1, e3, mech
		LoadedCondition: loaded
		LoadingCondition: notmobile
	RevealsShroud:
		MinRange: 4c0
		Range: 6c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 4c0
	AttackTurreted:
		Turrets: primary, secondary, tertiary
		Armaments: primary, secondary, tertiary
		Voice: Attack
	Armament@PRIMARY:
		Name: primary
		Turret: primary
		Weapon: 130mm
		LocalOffset: 200,0,300
		RequiresCondition: loaded
	Armament@SECONDARY:
		Name: secondary
		Turret: secondary
		Weapon: 130mm
		FireDelay: 8
		LocalOffset: 200,0,300
		RequiresCondition: loaded
	Armament@TERTIARY:
		Name: tertiary
		Turret: tertiary
		Weapon: ApocalypseTusk
		LocalOffset: -200,0,300
		MuzzleSequence: muzzle
		RequiresCondition: loaded
	Turreted@PRIMARY:
		Turret: primary
		Offset: 200,-300,0
		TurnSpeed: 3
	Turreted@SECONDARY:
		Turret: secondary
		Offset: 200,300,0
		TurnSpeed: 3
	Turreted@TERTIARY:
		Turret: tertiary
		Offset: -300,0,358
		TurnSpeed: 4
	WithMuzzleOverlay:
	ProducibleWithLevel:
		Prerequisites: vehicles.upgraded
	Selectable:
		DecorationBounds: 1877, 1621, 0, -170
	Voiced:
		VoiceSet: BattleFortressVoice
	ChangesHealth:
		Step: 100
		Delay: 3
		StartIfBelow: 50
		DamageCooldown: 150
	WithSpriteTurret@PRIMARY:
		Turret: primary
	WithSpriteTurret@SECONDARY:
		Turret: secondary
	WithSpriteTurret@TERTIARY:
		Turret: tertiary
		Sequence: turret2
	SpawnActorOnDeath:
		Actor: BATF.Husk
	Capturable:
BATF.Husk:
	Inherits: ^Husk
	Tooltip:
		Name: Husk (Battle Fortress)
	TransformOnCapture:
		IntoActor: batf
	InfiltrateForTransform:
		IntoActor: batf
	RenderSprites:
		Image: batf.destroyed
#sovietvehicles-------------------------------------------------------------------------------sovietvehicles
APC:
	Buildable:
		Prerequisites: ~vehicles.soviet, ~!vehicles.russia, ~techlevel.low
	Carryable:
		LocalOffset: 0,0,200
TTNK:
	Carryable:
		LocalOffset: 0,0,200
	Valued:
		Cost: 1200
DTRK:
	Carryable:
		LocalOffset: 0,0,200
QTNK:
	Carryable:
		LocalOffset: 0,0,200
V2RL:
	Buildable:
		Prerequisites: dome, ~!vehicles.russia, ~!vehicles.turkey, ~vehicles.soviet, ~techlevel.medium
3TNK:
	Inherits: ^TrackedVehicle
	Buildable:
		Prerequisites: fix, ~!vehicles.china, ~vehicles.soviet, ~techlevel.medium
		Description: Soviet Main Battle Tank, with dual cannons\n  Strong vs Vehicles\n  Weak vs Infantry, Aircraft
	Valued:
		Cost: 1150
	Carryable:
		LocalOffset: 0,0,200
	Tooltip:
		Name: Heavy Tank
		GenericName: Tank
	Health:
		HP: 60000
	Mobile:
		Speed: 71
3TNK.china:
	Inherits: 3TNK
	Buildable:
		Prerequisites: fix, ~vehicles.china, ~techlevel.medium
		Description: China Main Battle Tank, with dual cannons\n made cheaper at the cost of quality.\n  Strong vs Vehicles\n  Weak vs Infantry, Aircraft
	Valued:
		Cost: 950
	Tooltip:
		Name: China Heavy Tank
		GenericName: Tank
	Health:
		HP: 47000
	Mobile:
		Speed: 65
	RenderSprites:
		Image: 3tnk
KATY:
	Inherits: ^Vehicle
	Inherits@GAINSEXPERIENCE: ^GainsExperience
	Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
	Buildable:
		Queue: Vehicle
		BuildPaletteOrder: 171
		IconPalette: chrometd
		Prerequisites: ~vehicles.turkey, ~techlevel.medium
		Description: Long-range rocket artillery.\n• Strong vs Buildings, Defenses, Infantry, Light Armor\n• Cannot attack Aircraft\n• Has difficulty hitting moving targets
	Valued:
		Cost: 700
	Tooltip:
		Name: Katyusha
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Health:
		HP: 15000
	Armor:
		Type: Light
	Mobile:
		Speed: 49
		TurnSpeed: 14
	RevealsShroud:
		Range: 5c0
	Armament@PRIMARY:
		Weapon: KatyushaRockets
		LocalOffset: 268,-100,440
	Armament@SECONDARY:
		Weapon: KatyushaRocketsWide
		LocalOffset: 268,100,440
		FireDelay: 6
	AttackFrontal:
		TargetFrozenActors: True
		ForceFireIgnoresActors: True
		FacingTolerance: 0
	Explodes:
		Weapon: BarrelExplode
	ProducibleWithLevel:
		Prerequisites: vehicles.upgraded
	Selectable:
		DecorationBounds: 1194, 1194
CTRK:
	Inherits: ^Vehicle
	Inherits@GAINSEXPERIENCE: ^GainsExperience
	Inherits@AUTOTARGET: ^AutoTargetAllAssaultMove
	Buildable:
		Queue: Vehicle
		BuildPaletteOrder: 130
		Prerequisites: ~vehicles.soviet, ~techlevel.low
		Description: Mobile unit with mounted ChainGun.\n• NO LONGER ANTI AIR\n• Strong vs Infantry, Light armor\n•  Weak vs Tanks, Aircraft
	Valued:
		Cost: 600
	Carryable:
		LocalOffset: 0,0,200
	Tooltip:
		Name: ChainGun Truk
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Health:
		HP: 15000
	Armor:
		Type: Light
	Mobile:
		TurnSpeed: 40
		Speed: 118
	RevealsShroud:
		MinRange: 4c0
		Range: 6c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 4c0
	Turreted:
		TurnSpeed: 40
		Offset: -298,0,298
	Armament@PRIMARY:
		Weapon: p60mg
		Recoil: 85
		LocalOffset: 512,0,192
		MuzzleSequence: muzzle
	Armament@SECONDARY:
		Weapon: m60mg
		Recoil: 85
		LocalOffset: 512,0,192
		MuzzleSequence: muzzle
	AttackTurreted:
	WithMuzzleOverlay:
	WithSpriteTurret:
	ProducibleWithLevel:
		Prerequisites: vehicles.upgraded
	Selectable:
		DecorationBounds: 1194, 1194
BTR:
	Inherits: ^TrackedVehicle
	Inherits@GAINSEXPERIENCE: ^GainsExperience
	Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
	Inherits@CARGOPIPS: ^CargoPips
	Buildable:
		Queue: Vehicle
		BuildPaletteOrder: 120
		Prerequisites: ~vehicles.russia, ~techlevel.low
		Description: Tough infantry transport.\n  Strong vs Light armor\n  Weak vs Infantry, Tanks, Aircraft
	Valued:
		Cost: 850
	Carryable:
		LocalOffset: 0,0,200
	Tooltip:
		Name: Bronetransporter
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Health:
		HP: 35000
	Armor:
		Type: Heavy
	Mobile:
		Speed: 110
		Locomotor: wheeled
		PauseOnCondition: notmobile || being-captured
	RevealsShroud:
		MinRange: 4c0
		Range: 5c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 4c0
	Armament:
		Weapon: 25mm
		Recoil: 85
		RecoilRecovery: 25
		LocalOffset: 508,0,90
		MuzzleSequence: muzzle
	Turreted:
		Offset: 120,0,250
		TurnSpeed: 28
	AttackTurreted:
	WithSpriteTurret:
	WithMuzzleOverlay:
	Cargo:
		Types: Infantry
		MaxWeight: 8
		LoadingCondition: notmobile
	ProducibleWithLevel:
		Prerequisites: vehicles.upgraded
ECTNK:
	Inherits: 4TNK
	Valued:
		Cost: 2250
	Tooltip:
		Name: Missile Tortoise
		GenericName: Tank
	Buildable:
		Queue: Vehicle
		BuildPaletteOrder: 320
		Prerequisites: stek, ~vehicles.russia, ~techlevel.high
		Description: Big and slow tank with missile barrage.\n  Strong vs Vehicles, Infantry\n  Weak vs Aircraft
	RenderSprites:
		Image: ectnk
	-WithMuzzleOverlay:
	Turreted:
		Offset: -50,0,400
	Armament@PRIMARY:
		Weapon: NapalmMissile
		LocalOffset: 213,128,0, 213,-128,0
		-MuzzleSequence:
	Armament@SECONDARY:
		Name: secondary
		Weapon: NapalmMissile
		LocalOffset: 213,-128,0, 213,128,0
		-MuzzleSequence:
ftnk:
	Inherits: ^TrackedVehicle
	Inherits@GAINSEXPERIENCE: ^GainsExperience
	Inherits@AUTOTARGET: ^AutoTargetAllAssaultMove
	Buildable:
		Queue: Vehicle
		Prerequisites: ftur, ~vehicles.china, ~techlevel.low
		BuildPaletteOrder: 120
		Description: Flame tank.\n  Strong vs Infantry\n  Weak vs Tanks, Aircraft
		IconPalette: cnc
	Valued:
		Cost: 800
	Tooltip:
		Name: Flame Tank
	RevealsShroud:
		MinRange: 4c0
		Range: 5c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 4c0
	Health:
		HP: 18000
	Mobile:
		Locomotor: lighttracked
		Speed: 90
	Armament:
		Weapon: Flamer.Tank
		Recoil: 0
		RecoilRecovery: 0
		LocalOffset: 512,128,42, 512,-128,42
		MuzzleSequence:
	AttackFrontal:
		FacingTolerance: 0
	WithMuzzleOverlay:
	ProducibleWithLevel:
		Prerequisites: vehicles.upgraded
	Explodes:
		Weapon: CrateNapalm
		EmptyWeapon: CrateNapalm
		LoadedChance: 50
		DamageSource: Killer
	RenderSprites:
		Image: ftnk
		PlayerPalette: cncplayer
HFTK:
	Inherits: ^TrackedVehicle
	Inherits@GAINSEXPERIENCE: ^GainsExperience
	Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
	Buildable:
		Queue: Vehicle
		BuildPaletteOrder: 321
		IconPalette: chrometd
		Prerequisites: ftur, stek, ~vehicles.china, ~techlevel.medium
		Description: Heavy tank armed with dual short-range flamethrowers.
	Valued:
		Cost: 1100
	Tooltip:
		Name: Heavy Flame Tank
		GenericName: Tank
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Health:
		HP: 46000
	Armor:
		Type: Heavy
	Mobile:
		Locomotor: heavytracked
		Speed: 56
		Voice: Move
	RevealsShroud:
		MinRange: 4c0
		Range: 6c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 4c0
	Turreted:
		TurnSpeed: 20
	Armament@PRIMARY:
		Weapon: HeavyFlamer
		MuzzleSequence: muzzle
		MuzzlePalette: chrometd
		LocalOffset: 750,200,150, 750,-200,150
	AttackTurreted:
		Voice: Attack
		RangeMargin: 0
	WithSpriteTurret:
	WithMuzzleOverlay:
	Voiced:
		VoiceSet: FlameTankVoice
	Explodes:
		Weapon: BarrelExplode
		EmptyWeapon: BarrelExplode
	ProducibleWithLevel:
		Prerequisites: vehicles.upgraded
	RenderSprites:
		PlayerPalette: cncplayer
MSAM:
	Inherits: ^TrackedVehicle
	Inherits@AUTOTARGET: ^AutoTargetAllAssaultMove
	Buildable:
		Queue: Vehicle
		BuildPaletteOrder: 130
		Prerequisites: ~dome, ~vehicles.soviet, ~techlevel.high
		Description: Mobile Anti Air Rocket Launcher.\n  Strong vs Aircraft\n  Weak vs Infantry, Tanks
		IconPalette: cnc
	Valued:
		Cost: 600
	Tooltip:
		Name: Mobile SAM
	RevealsShroud:
		MinRange: 4c0
		Range: 5c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 4c0
	Health:
		HP: 35000
	Mobile:
		Speed: 110
	Armament:
		Weapon: MobileNike
		LocalOffset: 213,128,0, 213,-128,0
	Mobile:
		Speed: 95
		TurnSpeed: 8
	AttackTurreted:
	Turreted:
		TurnSpeed: 20
	WithSpriteTurret:
	RenderSprites:
V3RL:
	Inherits: ^Vehicle
	Inherits@GAINSEXPERIENCE: ^GainsExperience
	Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
	Buildable:
		Queue: Vehicle
		BuildPaletteOrder: 230
		BuildDuration: 1450
		Prerequisites: dome, ~vehicles.russia, ~techlevel.high
		Description: Extreme long-range rocket artillery.\n  Strong vs Buildings, Defenses, Infantry\n  Weak vs Tanks, Aircraft
	Valued:
		Cost: 1500
	Tooltip:
		Name: V3 Launcher
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Health:
		HP: 20000
	Armor:
		Type: Light
	Mobile:
		Speed: 85
		Voice: Move
	Passenger:
		Voice: Move
	RevealsShroud:
		MinRange: 4c0
		Range: 5c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 4c0
	Armament:
		Weapon: V3Launcher
		ReloadingCondition: reloading
	AttackFrontal:
		TargetFrozenActors: True
		ForceFireIgnoresActors: True
		Voice: Attack
		FacingTolerance: 0
	WithFacingSpriteBody:
		RequiresCondition: !reloading
		Name: loaded
	WithFacingSpriteBody@EMPTY:
		RequiresCondition: reloading
		Sequence: empty-idle
		Name: reloading
	Explodes:
		Weapon: BarrelExplode
	ProducibleWithLevel:
		Prerequisites: vehicles.upgraded
	Selectable:
		DecorationBounds: 1194, 1194
	Voiced:
		VoiceSet: V3Voice
	Exit:
		SpawnOffset: 0,-128,0
	AutoTarget:
		ScanRadius: 16
4TNK:
	Buildable:
		Prerequisites: fix, stek, ~!vehicles.ukraine, ~vehicles.soviet, ~techlevel.high
TTNK:
	Buildable:
		Queue: Vehicle
		BuildPaletteOrder: 230
		Prerequisites: tsla, fix, ~vehicles.russia, ~techlevel.medium
TTNK2:
	Inherits: 4TNK
	Buildable:
		Queue: Vehicle
		BuildPaletteOrder: 330
		Prerequisites: tsla, stek, ~vehicles.russia, ~techlevel.high
		Description: Adapted Mammoth Tank with twin mounted Tesla Coils.\n• Strong vs Infantry, Heavy Armor, Light Armor\n• Cannot attack Aircraft
	Valued:
		Cost: 2250
	Tooltip:
		Name: Tesla Mammoth Tank
		GenericName: Tank
	Armament@PRIMARY:
		Weapon: TTankZap
		LocalOffset: 511,200,113
		-MuzzleSequence:
	Armament@SECONDARY:
		Name: secondary
		Weapon: TTankZap
		LocalOffset: 511,-200,113
		FireDelay: 3
		-MuzzleSequence:
	AttackTurreted:
	-WithMuzzleOverlay:
	WithSpriteTurret:
APOC:
	Inherits: ^TrackedVehicle
	Inherits@GAINSEXPERIENCE: ^GainsExperience
	Inherits@AUTOTARGET: ^AutoTargetAllAssaultMove
	Buildable:
		Queue: Vehicle
		BuildPaletteOrder: 350
		BuildDuration: 2000
		Prerequisites: fix, stek, ~vehicles.ukraine, ~techlevel.high
		Description: Enormous slow tank with uranium shells and anti-air capability.
	Valued:
		Cost: 2600
	Tooltip:
		Name: Apocalypse Tank
		GenericName: Tank
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Health:
		HP: 110000
	Armor:
		Type: Heavy
	Mobile:
		Speed: 40
		TurnSpeed: 8
		Locomotor: heavytracked
		Voice: Move
	RevealsShroud:
		MinRange: 4c0
		Range: 6c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 4c0
	Turreted:
		TurnSpeed: 8
	Armament@PRIMARY:
		Weapon: 152mm
		LocalOffset: 1400,100,340, 1400,-100,340
		Recoil: 171
		RecoilRecovery: 30
		MuzzleSequence: muzzle
	Armament@SECONDARY:
		Name: secondary
		Weapon: ApocalypseTusk
		LocalOffset: -85,384,340, -85,-384,340
		LocalYaw: -100,100
		Recoil: 43
		MuzzleSequence: muzzle
	AttackTurreted:
		Voice: Attack
	WithMuzzleOverlay:
	WithSpriteTurret:
	SpawnActorOnDeath:
		Actor: APOC.Husk
	ChangesHealth:
		PercentageStep: 1
		Delay: 25
		StartIfBelow: 50
		DamageCooldown: 150
	ProducibleWithLevel:
		Prerequisites: vehicles.upgraded
	Selectable:
		DecorationBounds: 1877, 1621, 0, -170
	Carryable:
		LocalOffset: 0,0,200
	Voiced:
		VoiceSet: ApocalypseVoice
	AttackMove:
		Voice: Attack
	RenderSprites:
APOC.Husk:
	Inherits: ^Husk
	Tooltip:
		Name: Husk (Apocalypse)
	ThrowsParticle@turret:
		Anim: turret
	TransformOnCapture:
		IntoActor: apoc
	InfiltrateForTransform:
		IntoActor: apoc
	RenderSprites:
		Image: apoc.destroyed
ISU:
	Inherits: ^TrackedVehicle
	Inherits@GAINSEXPERIENCE: ^GainsExperience
	Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
	Buildable:
		Queue: Vehicle
		BuildPaletteOrder: 260
		BuildDuration: 2000
		Prerequisites: fix, ~stek, ~vehicles.ukraine, ~techlevel.high
		Description: Powerful medium-range artillery.\n Strong vs Buildings, Infantry\n Weak vs Aircraft
	Valued:
		Cost: 1800
	Carryable:
		LocalOffset: 0,0,200
	Tooltip:
		Name: Siege Tank
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Health:
		HP: 65000
	Armor:
		Type: Heavy
	Mobile:
		TurnSpeed: 3
		Speed: 66
		Locomotor: heavytracked
		Voice: Move
	RevealsShroud:
		MinRange: 4c0
		Range: 6c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 4c0
	Armament:
		Weapon: 380mm
		LocalOffset: 824,0,208
		MuzzleSequence: muzzle
	AttackFrontal:
		TargetFrozenActors: True
		ForceFireIgnoresActors: True
		Voice: Attack
		FacingTolerance: 0
	WithMuzzleOverlay:
	Explodes:
		Weapon: ArtilleryExplode
		LoadedChance: 75
	ProducibleWithLevel:
		Prerequisites: vehicles.upgraded
	Passenger:
		Voice: Move
	Voiced:
		VoiceSet: SiegeTankVoice
	SpawnActorOnDeath:
		Actor: ISU.Husk
ISU.Husk:
	Inherits: ^Husk
	Tooltip:
		Name: Husk (Siege Tank)
	TransformOnCapture:
		IntoActor: isu
	InfiltrateForTransform:
		IntoActor: isu
	RenderSprites:
		Image: isu.destroyed
LATNK:
	Inherits: ^TrackedVehicle
	Inherits@SELECTION: ^SelectableSupportUnit
	Inherits@GAINSEXPERIENCE: ^GainsExperience
	Buildable:
		Queue: Vehicle
		BuildDuration: 1450
		BuildLimit: 1
		Prerequisites: ~iron, ~vehicles.china
		Description: Portable Iron Curtain
	Valued:
		Cost: 3000
	Tooltip:
		Name: Portable Iron Curtain
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Health:
		HP: 30000
	Armor:
		Type: Light
	Mobile:
		Speed: 90
		TurnSpeed: 5
	RevealsShroud:
		MinRange: 4c0
		Range: 5c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 4c0
	Armament:
		Weapon: IronCannon
		TargetRelationships: Ally
	AttackTurreted:
	Turreted:
	WithIdleOverlay@SPINNER:
		Sequence: spinner
		Offset: 0, 0, 10
		Palette:
		IsPlayerPalette: false
	Selectable:
		DecorationBounds: 1280, 1280
	ProducibleWithLevel:
		Prerequisites: vehicles.upgraded
	SpawnActorOnDeath:
		Actor: LATNK.Husk
LATNK.Husk:
	Inherits: ^Husk
	Tooltip:
		Name: Husk (PIC)
	TransformOnCapture:
		IntoActor: latnk
	InfiltrateForTransform:
		IntoActor: latnk
	RenderSprites:
#aircraft-----------------------------------------------------------------------------------------aircraft
B2B:
	Inherits: BADR
	Health:
		HP: 150000
	Aircraft:
		CruiseAltitude: 2560
		TurnSpeed: 20
		Speed: 200
		Repulsable: False
		MaximumPitch: 56
	Tooltip:
		Name: Stealth Bomber
	-ParaDrop:
	-Cargo:
	-MapEditorData:
	RenderSprites:
		Image: b2b
	AttackBomber:
		FacingTolerance: 8
	AmmoPool:
		Ammo: 8
	Armament:
		Weapon: ASFireBombs
	Contrail@1:
		Offset: -432,560,0
	Contrail@2:
		Offset: -432,-560,0
	LeavesTrails@0:
		Offsets: -432,560,0
		MovingInterval: 2
		Image: smokey
		StationaryInterval: 2
		SpawnAtLastPosition: False
		TrailWhileStationary: True
		Type: CenterPosition
		RequiresCondition: enable-smoke
	LeavesTrails@1:
		Offsets: -432,-560,0
		MovingInterval: 2
		Image: smokey
		StationaryInterval: 2
		SpawnAtLastPosition: False
		TrailWhileStationary: True
		Type: CenterPosition
		RequiresCondition: enable-smoke
	GrantConditionOnDamageState@SmokeTrail:
		Condition: enable-smoke
DOUGLAS:
	Inherits: BADR
	RenderSprites:
		Image: douglas
	SpawnActorOnDeath:
		Actor: DOUGLAS.Husk
	Tooltip:
		Name: Douglas
	Contrail@1:
		Offset: -152,560,0
	Contrail@2:
		Offset: -152,-560,0
DOUGLAS.Husk:
	Inherits: BADR.Husk
	RenderSprites:
		Image: douglas
	Tooltip:
		Name: Douglas
	LeavesTrails@0:
		Offsets: -152,560,0
		MovingInterval: 2
		Image: smokey
		SpawnAtLastPosition: False
		Type: CenterPosition
	LeavesTrails@1:
		Offsets: -152,-560,0
		MovingInterval: 2
		Image: smokey
		SpawnAtLastPosition: False
		Type: CenterPosition
RMTRAN:
	Inherits: TRAN
	-Buildable:
	Health:
		HP: 50000
	Aircraft:
		Repulsable: False
		Speed: 158
	Carryall:
		LocalOffset: 0,0,-10
	ParaDrop:
		DropRange: 5c0
		ChuteSound: chute1.aud
	-RevealsShroud:
	-RevealsShroud@GAPGEN:
	-Selectable:
	SelectionDecorations:
	-Voiced:
	Tooltip:
		Name: Royal Marine Drop
	-EjectOnDeath:
	RejectsOrders:
	GivesExperience:
		Experience: 1000
	Interactable:
	RenderSprites:
		Image: tran
#alliedaircraft----------------------------------------------------------------------------alliedaircraft
HELI:
	Buildable:
		Prerequisites: ~hpad, atek, ~!vehicles.usa, ~techlevel.medium
	Rearmable:
		RearmActors: hpad
MH60:
	Inherits@CARGOPIPS: ^CargoPips
	Buildable:
		Prerequisites: ~aircraft.usa, ~techlevel.medium
		Description: Helicopter transport gunship armed\nwith dual chainguns.\n  Strong vs Infantry, Light armor\n  Weak vs Tanks, Aircraft
	Cargo:
		Types: Infantry
		MaxWeight: 4
		AfterUnloadDelay: 40
	Rearmable:
		RearmActors: hpad
	WithAmmoPipsDecoration:
		Position: TopLeft
		RequiresSelection: true
		PipCount: 6
HIND:
	Buildable:
		Prerequisites: ~hpad, ~!aircraft.usa, ~techlevel.medium
	Rearmable:
		RearmActors: hpad
MI26:
	Inherits: ^Helicopter
	Buildable:
		Queue: Aircraft
		BuildAtProductionType: Helicopter
		BuildPaletteOrder: 10
		Prerequisites: fix, ~aircraft.usa, ~techlevel.medium
		Description: USAF Tank Transport Helicopter.\n	Unarmed
	Valued:
		Cost: 900
	Tooltip:
		Name: Halo
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Health:
		HP: 14000
	RevealsShroud:
		MinRange: 6c0
		Range: 8c0
		Type: GroundPosition
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 6c0
		Type: GroundPosition
	Aircraft:
		TurnSpeed: 20
		Speed: 108
		AltitudeVelocity: 0c58
	Voiced:
		VoiceSet: USAVoice
	Carryall:
		LocalOffset: 0,0,-10
		DropOffCursor: deploy
	-WithFacingSpriteBody:
	WithShadow:
		RequiresCondition: airborne
	WithFacingSpriteBody@INTHEAIR:
		Sequence: idle
		Name: airmi26
		RequiresCondition: airborne
	WithFacingSpriteBody@INTHEGROUND:
		Sequence: idle-grounded
		Name: groundmi26
		RequiresCondition: !airborne
	WithIdleOverlay@ROTOR1AIR:
		Offset: 0,0,430
		Sequence: rotor
		RequiresCondition: airborne
	WithIdleOverlay@ROTOR1GROUND:
		Offset: 0,0,430
		Sequence: slow-rotor
		RequiresCondition: !airborne
	WithIdleOverlay@ROTOR1GROUNDSHADOW:
		Offset: 0,0,-100
		Sequence: slow-rotor-shadow
		RequiresCondition: !airborne
	WithIdleOverlay@ROTOR1AIR2:
		Offset: 0,0,430
		Sequence: rotor2
		RequiresCondition: airborne
	WithIdleOverlay@ROTOR1GROUND2:
		Offset: 0,0,430
		Sequence: slow-rotor2
		RequiresCondition: !airborne
	WithIdleOverlay@ROTOR1GROUNDSHADOW2:
		Offset: 0,0,-100
		Sequence: slow-rotor-shadow2
		RequiresCondition: !airborne
	SpawnActorOnDeath:
		Actor: MI26.Husk
		RequiresCondition: !airborne
	Selectable:
		DecorationBounds: 1706, 1536
MI26.Husk:
	Inherits: ^HelicopterHusk
	Tooltip:
		Name: Halo
	Aircraft:
		TurnSpeed: 16
		Speed: 149
	RevealsShroud:
		MinRange: 6c0
		Range: 8c0
		Type: GroundPosition
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 6c0
		Type: GroundPosition
	RenderSprites:
		Image: mi26
apache:
	Inherits: ^Helicopter
	Inherits@GAINSEXPERIENCE: ^GainsExperience
	Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
	Inherits@AUTOTARGET2: ^AutoTargetAir
	Buildable:
		Queue: Aircraft
		BuildAtProductionType: Helicopter
		Prerequisites: ~hpad, atek, ~aircraft.usa, ~techlevel.high
		Description: USAF Helicopter gunship.\n  Strong vs Everything.\n  Weak vs Nothing
		IconPalette: cnc
	Valued:
		Cost: 2100
	Tooltip:
		Name: Apache
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Health:
		HP: 13500
	RevealsShroud:
		MinRange: 8c0
		Range: 10c0
		Type: GroundPosition
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 8c0
		Type: GroundPosition
	Armament@PRIMARY:
		Weapon: ApacheHellfire
		LocalOffset: 85,-213,-85, 85,213,-85
		MuzzleSequence: muzzle
		PauseOnCondition: !ammo
	Armament@SECONDARY:
		Weapon: ApacheChainGun
		LocalOffset: 85,-213,-85, 85,213,-85
		MuzzleSequence: muzzle
	Armament@TERTIARY:
		Weapon: SidewinderAA
		LocalOffset: 85,-213,-85, 85,213,-85
		MuzzleSequence: muzzle
	AttackAircraft:
		FacingTolerance: 20
		PersistentTargeting: True
		AttackType: Hover
		OpportunityFire: True
	Aircraft:
		TurnSpeed: 5
		Speed: 145
	AutoTarget:
		InitialStance: Defend
	WithIdleOverlay@ROTORAIR:
		Sequence: rotor
		RequiresCondition: airborne
	WithIdleOverlay@ROTORGROUND:
		Sequence: slow-rotor
		RequiresCondition: !airborne
	AmmoPool:
		Ammo: 10
		ReloadDelay: 8
		AmmoCondition: ammo
	WithAmmoPipsDecoration:
		Position: BottomLeft
		Margin: 4, 3
		RequiresSelection: true
		PipCount: 5
	Voiced:
		VoiceSet: USAVoice
	SelectionDecorations:
	WithMuzzleOverlay:
	SpawnActorOnDeath:
		Actor: HELI.Husk
	LeavesTrails:
		Offsets: -427,0,0
		Image: smokey
		MovingInterval: 3
		StationaryInterval: 3
		SpawnAtLastPosition: False
		TrailWhileStationary: True
		Type: CenterPosition
		RequiresCondition: enable-smoke
	ProducibleWithLevel:
		Prerequisites: aircraft.upgraded
	Selectable:
		DecorationBounds: 1621, 1365
	Rearmable:
		RearmActors: hpad
	RenderSprites:
		PlayerPalette: cncplayer
		Image: apache
	GrantConditionOnDamageState@SmokeTrail:
		Condition: enable-smoke
HARR:
	Inherits: ^Helicopter
	Inherits@AUTOTARGET: ^AutoTargetAllAssaultMove
	Buildable:
		Queue: Aircraft
		BuildAtProductionType: Helicopter
		BuildPaletteOrder: 110
		Prerequisites: atek, ~aircraft.england, ~techlevel.high
		Description: Fast VTOL ground attack aircraft armed\n  with powerful explosive missiles.
	Valued:
		Cost: 2000
	Tooltip:
		Name: Harrier
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Health:
		HP: 26500
	RevealsShroud:
		Range: 12c0
		MinRange: 10c0
		Type: GroundPosition
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 10c0
		Type: GroundPosition
	Armament@PRIMARY:
		Weapon: HellfireAA.Harrier
		LocalOffset: 0,500,-85, 0,-500,-85
		PauseOnCondition: !ammo
	Armament@SECONDARY:
		Weapon: HellfireAG.Harrier
		LocalOffset: 0,500,-85, 0,-500,-85
		PauseOnCondition: !ammo
	AttackAircraft:
		FacingTolerance: 80
		Voice: Attack
		PersistentTargeting: false
		OpportunityFire: true
	Aircraft:
		CruiseAltitude: 2560
		VTOL: True
		TurnSpeed: 16
		Speed: 201
		RepulsionSpeed: 40
		MaximumPitch: 56
		CanHover: False
		TakeoffSounds: audio/mtoff1.aud
		LandingSounds: audio/mland1.aud
		Voice: Move
		CanSlide: False
		AltitudeVelocity: 0c200
	ChangesHealth@carrier:
		Step: 5
		PercentageStep: 100
		Delay: 5
		StartIfBelow: 100
		DamageCooldown: 150
		RequiresCondition: onboard
	Passenger:
		CargoType: Aircraft
		CargoCondition: onboard
	GpsDot:
		String: Plane
	AutoTarget:
		InitialStance: HoldFire
		InitialStanceAI: AttackAnything
	AmmoPool:
		Ammo: 4
		ReloadDelay: 60
		AmmoCondition: ammo
	WithAmmoPipsDecoration:
		Position: BottomLeft
		Margin: 4, 3
		RequiresSelection: true
	Contrail@1:
		Offset: -400,-443,0
		StartColorUsePlayerColor: false
		ZOffset: -512
		StartColor: FFFFFF80
	Contrail@2:
		Offset: -400,443,0
		StartColorUsePlayerColor: false
		ZOffset: -512
		StartColor: FFFFFF80
	SpawnActorOnDeath:
		Actor: HARR.Husk
	LeavesTrails:
		Offsets: -427,0,0
		Image: smokey
		MovingInterval: 3
		StationaryInterval: 3
		SpawnAtLastPosition: False
		TrailWhileStationary: True
		Type: CenterPosition
		RequiresCondition: enable-smoke
	Selectable:
		DecorationBounds: 1536, 1194
	Voiced:
		VoiceSet: HarrierVoice
	ProducibleWithLevel:
		Prerequisites: aircraft.upgraded
	Rearmable:
		RearmActors: hpad
	GrantConditionOnDamageState@SmokeTrail:
		Condition: enable-smoke
HARR.Husk:
	Inherits: ^PlaneHusk
	Tooltip:
		Name: Harrier
	Aircraft:
		TurnSpeed: 4
		Speed: 201
	LeavesTrails:
		Offsets: -427,0,0
		Image: smokey
		MovingInterval: 3
		StationaryInterval: 3
		SpawnAtLastPosition: False
		TrailWhileStationary: True
		Type: CenterPosition
	Contrail@1:
		Offset: -400,-483,0
	Contrail@2:
		Offset: -400,483,0
	RevealsShroud:
		Range: 12c0
		MinRange: 10c0
		Type: GroundPosition
		RevealGeneratedShroud: false
	RevealsShroud@GAPGEN:
		Range: 10c0
		Type: GroundPosition
	RenderSprites:
		Image: harr
#sovietaircraft---------------------------------------------------------------------------------sovietaircraft
MIG:
	Buildable:
		Prerequisites: ~afld, stek, ~techlevel.high
	Aircraft:
		CruiseAltitude: 2560
		TurnSpeed: 16
		Speed: 253
		RepulsionSpeed: 40
		MaximumPitch: 56
	Rearmable:
		RearmActors: afld, afld.ukraine
SUK:
	Inherits: ^Plane
	Inherits@AUTOTARGET: ^AutoTargetAllAssaultMove
	Buildable:
		Queue: Aircraft
		BuildAtProductionType: Plane
		BuildPaletteOrder: 120
		Prerequisites: afld, stek, ~aircraft.russia, ~techlevel.high
		Description: Fast air to air attack aircraft armed\n  with powerful armor-piercing munitions.\n Russian Helicopter Hunter.\n Cannot attack ground units.
	Valued:
		Cost: 2000
	Tooltip:
		Name: Sukhoi SU-29 Attack Plane
	Health:
		HP: 22500
	RevealsShroud:
		Range: 12c0
		MinRange: 10c0
		Type: GroundPosition
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 10c0
		Type: GroundPosition
	Armament@PRIMARY:
		Weapon: HellfireSU
		LocalOffset: 0,-640,0, 0,640,0
		PauseOnCondition: !ammo
	AttackAircraft:
		FacingTolerance: 80
		PersistentTargeting: false
		OpportunityFire: true
	Aircraft:
		CruiseAltitude: 2560
		InitialFacing: 192
		TurnSpeed: 16
		Speed: 225
		RepulsionSpeed: 40
		MaximumPitch: 56
		TakeoffSounds: audio/migtoff1.aud
	AutoTarget:
		InitialStance: HoldFire
		InitialStanceAI: AttackAnything
	AmmoPool:
		Ammo: 4
		ReloadDelay: 30
		AmmoCondition: ammo
	WithAmmoPipsDecoration:
		PipCount: 4
		Position: BottomLeft
		Margin: 4, 3
		RequiresSelection: true
	Contrail@1:
		Offset: -598,-683,-40
	Contrail@2:
		Offset: -598,683,-40
	LeavesTrails:
		Offsets: -853,0,0
		MovingInterval: 2
		Image: smokey
		StationaryInterval: 2
		SpawnAtLastPosition: False
		TrailWhileStationary: True
		Type: CenterPosition
		RequiresCondition: enable-smoke
	SpawnActorOnDeath:
		Actor: SUK.Husk
	Selectable:
		DecorationBounds: 1280, 1194, 0, 85
	ProducibleWithLevel:
		Prerequisites: aircraft.upgraded
	Rearmable:
		RearmActors: afld, afld.ukraine
		
	GrantConditionOnDamageState@SmokeTrail:
		Condition: enable-smoke
SUK.Husk:
	Inherits: ^PlaneHusk
	Tooltip:
		Name: Sukhoi Attack Plane
	Contrail@1:
		Offset: -598,-683,-40
	Contrail@2:
		Offset: -598,683,-40
	Aircraft:
		TurnSpeed: 5
		Speed: 225
	LeavesTrails:
		Offsets: -853,0,0
		MovingInterval: 2
		Image: smokey
		StationaryInterval: 2
		SpawnAtLastPosition: False
		TrailWhileStationary: True
		Type: CenterPosition
	RevealsShroud:
		Range: 12c0
		MinRange: 10c0
		Type: GroundPosition
		RevealGeneratedShroud: false
	RevealsShroud@GAPGEN:
		Range: 10c0
		Type: GroundPosition
	RenderSprites:
		Image: suk
KIROV:
	Inherits: ^Helicopter
	Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
	Buildable:
		Queue: Aircraft
		BuildPaletteOrder: 55
		BuildDurationModifier: 75
		Prerequisites: ~afld, stek, ~aircraft.ukraine, ~techlevel.high
		Description: Heavily armoured airship equipped with massive bombs.\n Strong vs Buildings, Infantry\n  Weak vs Aircraft, Vehicles
	Valued:
		Cost: 3000
	Tooltip:
		Name: Kirov Airship
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Health:
		HP: 150000
	Armor:
		Type: Heavy
	RevealsShroud:
		Range: 10c0
		MinRange: 8c0
		Type: GroundPosition
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 8c0
		Type: GroundPosition
	Armament@PRIMARY:
		Weapon: KirovBomb
		LocalOffset: -20,0,0
		PauseOnCondition: !ammo
	AmmoPool:
		Ammo: 8
		AmmoCondition: ammo
	AttackAircraft:
		FacingTolerance: 128
		AttackType: Hover
		Voice: Attack
	Aircraft:
		CruiseAltitude: 2c0
		InitialFacing: 192
		TurnSpeed: 3
		Speed: 50
		Voice: Move
		AltitudeVelocity: 0c50
		CanForceLand: False
	AutoTarget:
		InitialStanceAI: AttackAnything
		ScanRadius: 10
	SpawnActorOnDeath:
		Actor: KIROV.Husk
	WithIdleOverlay@ROTOR1AIR:
		Offset: -180,597,250
		Sequence: rotor
		RequiresCondition: airborne
	WithIdleOverlay@ROTOR1GROUND:
		Offset: -180,597,250
		Sequence: slow-rotor
		RequiresCondition: !airborne
	WithIdleOverlay@ROTOR2AIR:
		Offset: -180,-597,250
		Sequence: rotor
		RequiresCondition: airborne
	WithIdleOverlay@ROTOR2GROUND:
		Offset: -180,-597,250
		Sequence: slow-rotor
		RequiresCondition: !airborne
	LeavesTrails@1:
		Offsets: -100,500,100
		Image: smokey
		MovingInterval: 3
		StationaryInterval: 3
		SpawnAtLastPosition: False
		TrailWhileStationary: True
		Type: CenterPosition
		RequiresCondition: enable-smoke
	LeavesTrails@2:
		Offsets: -100,-500,100
		Image: smokey
		MovingInterval: 3
		StationaryInterval: 3
		SpawnAtLastPosition: False
		TrailWhileStationary: True
		Type: CenterPosition
		RequiresCondition: enable-smoke
	Rearmable:
		RearmActors: afld, afld.ukraine
	Selectable:
		Bounds: 1536, 1194, 0, 85
		DecorationBounds: 1706, 1706, 0, 42
	Voiced:
		VoiceSet: KirovVoice
	Explodes:
		Weapon: KirovExplode
		RequiresCondition: !airborne
	WithAmmoPipsDecoration:
		Position: BottomLeft
		Margin: 4, 3
		RequiresSelection: true
	GrantConditionOnDamageState@SmokeTrail:
		Condition: enable-smoke
KIROV.Husk:
	Inherits: ^HelicopterHusk
	Tooltip:
		Name: Husk (Kirov)
	Aircraft:
		TurnSpeed: 2
		Speed: 30
	FallsToEarth:
		MaximumSpinSpeed: 0
	LeavesTrails@0:
		Offsets: -432,560,0
		MovingInterval: 2
		Image: smokey
		StationaryInterval: 2
		SpawnAtLastPosition: False
		TrailWhileStationary: True
		Type: CenterPosition
	LeavesTrails@1:
		Offsets: -432,-560,0
		MovingInterval: 2
		Image: smokey
		StationaryInterval: 2
		SpawnAtLastPosition: False
		TrailWhileStationary: True
		Type: CenterPosition
	RevealsShroud:
		Range: 10c0
		Type: CenterPosition
	FallsToEarth:
		Explosion: KirovExplode
ANT40:
	Inherits: YAK
	Buildable:
		BuildPaletteOrder: 500
		Prerequisites: ~afld, stek, ~aircraft.china, ~techlevel.high
		Description: Drops incendiary bombs.\n  Strong vs Infantry, Light armor\n  Weak vs Aircraft
	Valued:
		Cost: 2500
	Tooltip:
		Name: Tactical Bomber
	Health:
		HP: 17500
	SpawnActorOnDeath:
		Actor: ANT40.Husk
	Armament@PRIMARY:
		Weapon: FireBombs
		LocalOffset: 350,-213,-100
		MuzzleSequence: muzzle
		PauseOnCondition: !ammo
	Armament@SECONDARY:
		Name: secondary
		Weapon: FireBombs
		LocalOffset: 350,213,-100
		MuzzleSequence: muzzle
		PauseOnCondition: !ammo
	AttackAircraft:
		Armaments: primary, secondary
	AmmoPool:
		Ammo: 16
		ReloadDelay: 11
		AmmoCondition: ammo
	WithAmmoPipsDecoration:
		Position: BottomLeft
		Margin: 4, 3
		RequiresSelection: true
		PipCount: 8
	Aircraft:
		CruiseAltitude: 4c0
		Speed: 130
	-WithMuzzleOverlay:
	Contrail:
		Offset: 0,-553,0
	Contrail@2:
		Offset: 0,553,0
	Selectable:
		DecorationBounds: 2133, 2133, 0, 0
ANT40.Husk:
	Inherits: YAK.Husk
	Tooltip:
		Name: Tactical Bomber
	RenderSprites:
		Image: ant40
#ship-------------------------------------------------------------------------------------------ships
SMNLY:
	Inherits@selection: ^SelectableSupportUnit
	Inherits: ^Ship
	Buildable:
		Queue: Ship
		BuildPaletteOrder: 20
		Prerequisites: ~dome, ~techlevel.naval
		IconPalette: cnc
		Description: Minelaying support ship.\nCan detect submarines, mines.\n  Strong vs Naval units\n  Lays seamines \n Mines reload over time.
	Valued:
		Cost: 900
	Tooltip:
		Name: Naval Minelayer
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Health:
		HP: 20000
	Armor:
		Type: Heavy
	Mobile:
		TurnSpeed: 8
		Speed: 128
	RevealsShroud:
		MinRange: 5c0
		Range: 7c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 5c0
	Minelayer:
		Mine: MINS
		TileUnknownName: build-valid
		TerrainTypes: Water
	MineImmune:
	AmmoPool:
		Ammo: 5
	Rearmable:
		RearmActors: syrdcharger
	DetectCloaked:
		DetectionTypes: Underwater, Mine
		Range: 4c0
	RenderDetectionCircle:
	Selectable:
		DecorationBounds: 1536, 1536
	Targetable:
		TargetTypes: WaterActor, Ship, Mine
	WithAmmoPipsDecoration:
		Position: TopLeft
		Margin: 4, 3
		RequiresSelection: true
#alliedships-----------------------------------------------------------------------------------alliedships
PT:
	Buildable:
		Prerequisites: ~syrd, ~techlevel.naval, ~techlevel.low
NGG:
	Inherits: ^Ship
	Buildable:
		Queue: Ship
		BuildAtProductionType: Boat
		BuildPaletteOrder: 20
		IconPalette: cnc
		Prerequisites: ~syrd, ~ships.england, ~techlevel.naval, ~techlevel.low
		Description: Naval Gap Generator ship.\nGenerates shroud cover at sea.
	Valued:
		Cost: 1000
	Tooltip:
		Name: Gap Generator Ship
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Health:
		HP: 20000
	Armor:
		Type: Heavy
	Mobile:
		TurnSpeed: 28
		Speed: 82
	RevealsShroud:
		MinRange: 5c0
		Range: 7c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 5c0
	WithIdleOverlay@SPINNER:
		Offset: 512,0,0
		Sequence: spinner
	CreatesShroud:
		Range: 7c0
	RenderShroudCircle:
	Selectable:
		DecorationBounds: 1536, 1536
DD:
	Buildable:
		Prerequisites: ~syrd, dome, ~ships.allies, ~techlevel.naval, ~techlevel.medium
	ProducibleWithLevel:
		Prerequisites: ships.england
		InitialLevels: 1
CA:
	Buildable:
		Prerequisites: ~syrd, atek, ~alliedships.vanilla, ~techlevel.naval, ~techlevel.high
	ProducibleWithLevel:
		Prerequisites: ships.england
		InitialLevels: 1
DD2:
	Inherits: ^Ship
	Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
	Buildable:
		Queue: Ship
		BuildAtProductionType: Boat
		BuildPaletteOrder: 40
		Prerequisites: ~syrd, ~atek, ~ships.usa, ~techlevel.naval, ~techlevel.high
		IconPalette: chrometd
		Description: Advanced warship\n armed with a prism beam.\n  Strong vs Naval, Ground units\n  Weak vs Aircraft
	Valued:
		Cost: 1500
	Tooltip:
		Name: Frigate
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Health:
		HP: 60000
	Armor:
		Type: Heavy
	Mobile:
		TurnSpeed: 5
		Speed: 65
	RevealsShroud:
		Range: 6c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 5c0
	WithIdleOverlay@SPINNER:
		Sequence: spinner
		Offset: -90,0,406
	Turreted:
		TurnSpeed: 6
		Offset: 551,0,158
	Armament:
		Weapon: PrisTLaser
		LocalOffset: 200,0,30
		Recoil: 0
		RecoilRecovery: 0
		MuzzleSequence: muzzle
	AttackTurreted:
	SelectionDecorations:
	AutoTarget:
	WithSpriteTurret@PRIMARY:
		Turret: primary
	WithMuzzleOverlay:
	Selectable:
		DecorationBounds: 1621, 1621

#sovietships------------------------------------------------------------------------------------sovietships
SS:
	Buildable:
		Prerequisites: ~spen, ~techlevel.naval, ~techlevel.low
MSUB:
	Buildable:
		Prerequisites: ~spen, stek, ~ships.russia, ~ships.ukraine, ~techlevel.naval, ~techlevel.high
ICBMSUB:
	Inherits: ^Ship
	Inherits@AUTOTARGET: ^AutoTargetAllAssaultMove
	Buildable:
		Queue: Ship
		BuildAtProductionType: Submarine
		BuildPaletteOrder: 61
		Prerequisites: ~spen, stek, ~ships.china, ~techlevel.naval, ~techlevel.high
		Description: Submerged anti-ground siege unit\narmed with long range missiles.\nCan detect other submarines.\n  Strong vs Infantry, Buildings\n  Weak vs Naval units, Aircraft\n  Special Ability: Submerge
	Valued:
		Cost: 2000
	Tooltip:
		Name: ICBM Submarine
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Health:
		HP: 45000
	Armor:
		Type: Light
	Mobile:
		TurnSpeed: 10
		Speed: 42
	RevealsShroud:
		Range: 8c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 5c0
	Targetable:
		TargetTypes: WaterActor, Ship, Submarine, Repair
		RequiresCondition: !underwater
	Targetable@UNDERWATER:
		TargetTypes: Underwater, Submarine
		RequiresCondition: underwater
	Cloak:
		DetectionTypes: Underwater
		InitialDelay: 0
		CloakDelay: 120
		CloakSound: subshow1.aud
		UncloakSound: subshow1.aud
		CloakedCondition: underwater
		Palette: submerged
		PauseOnCondition: cloak-force-disabled
	GrantConditionOnDamageState@UNCLOAK:
		Condition: cloak-force-disabled
		ValidDamageStates: Critical
	Armament@primary:
		Weapon: SubV3
		LocalOffset: 450,151,0
		FireDelay: 5
	Armament@secondary:
		Weapon: SubV3
		LocalOffset: -150,151,0
		FireDelay: 30
	AttackFrontal:
		TargetFrozenActors: True
		ForceFireIgnoresActors: True
		FacingTolerance: 0
	SelectionDecorations:
	AutoTarget:
		InitialStance: HoldFire
		InitialStanceAI: ReturnFire
	DetectCloaked:
		DetectionTypes: Underwater
		Range: 4c0
	RenderDetectionCircle:
	Explodes:
		Weapon: UnitExplodeSubmarine
		EmptyWeapon: UnitExplodeSubmarine
	Selectable:
		DecorationBounds: 1877, 1877
#structures--------------------------------------------------------------------------------------structures
FACT:
	GrantConditionOnFaction@USA:
		Factions: allies
		Condition: usa
	ProvidesPrerequisite@MSLO:
		Factions: soviet, ukraine, russia, china, turkey, spain, england, france, germany
		Prerequisite: structures.nuke
	ProvidesPrerequisite@usabuild:
		Factions: allies
		Prerequisite: structures.usa
	ProvidesPrerequisite@spainbuild:
		Factions: spain
		Prerequisite: structures.spain
	ProvidesPrerequisite@allies:
		Factions: allies, england, france, germany, spain
		Prerequisite: structures.allies
	ProvidesPrerequisite@infantryvanilla:
		Factions: russia, ukraine, turkey, england, france, germany, spain
		Prerequisite: infantry.vanilla
	ProvidesPrerequisite@usainf:
		Factions: allies
		Prerequisite: infantry.usa
	SpawnActorsOnSell:
		ActorTypes: e1,e1,e1,tecn,tecn2,e6
		RequiresCondition: !usa
	SpawnActorsOnSell@USA:
		ActorTypes: e1gi,e1gi,e1gi,tecn,tecn,e6
		RequiresCondition: usa
	ProvidesPrerequisite@chinabuild:
		Factions: soviet
		Prerequisite: structures.china
	ProvidesPrerequisite@soviet:
		Factions: soviet, russia, ukraine, turkey
		Prerequisite: structures.soviet
	ProvidesPrerequisite@chinainf:
		Factions: soviet
		Prerequisite: infantry.china
	ProvidesPrerequisite@turkey:
		Factions: turkey
		Prerequisite: structures.turkey

WEAP:
	GrantConditionOnFaction@CHINA:
		Factions: soviet
		Condition: china
	ProvidesPrerequisite@usa:
		Factions: allies
		Prerequisite: vehicles.usa
	ProvidesPrerequisite@china:
		Factions: soviet
		Prerequisite: vehicles.china
	ProvidesPrerequisite@spanish:
		Factions: spain
		Prerequisite: vehicles.spain
	ProvidesPrerequisite@turk:
		Factions: turkey
		Prerequisite: vehicles.turkey
	FreeActor@1:
		Actor: 3TNK.china
		SpawnOffset: 3,3
		RequiresCondition: china
	FreeActor@2:
		Actor: 3TNK.china
		SpawnOffset: -1,-1
		RequiresCondition: china

#ercc refinery 2.1
PROC:
	RenderSprites:
		Image: ref-bot
	Building:
		Footprint: =+x +=+ x==
		Dimensions: 3,3
		LocalCenterOffset: 0,-512,0
	Refinery:
		DockAngle: 768
		DockOffset: 1,1
	FreeActor:
		Actor: HARV
		SpawnOffset: 1,1
		Facing: 768
	Selectable:
		Bounds: 3072,1920,0,-170
		DecorationBounds: 3072,3200,42,-170
	-WithIdleOverlay@TOP:
	WithIdleOverlay@topsolid:
		Sequence: topsolid
		RequiresCondition: !cloak
	ExternalCondition@cloak:
		Condition: cloak
	WithIdleOverlay@cloak:
		Sequence: topsolid
		Palette: cloak
		IsPlayerPalette: true
	-HitShape:
	-HitShape@BOTTOMLEFT:
	-HitShape@TOP:

	HitShape@TOPLEFT:
		TargetableOffsets: 0,-1052,0
		Type: Rectangle
			TopLeft: -1536,-256
			BottomRight: -256,256

	HitShape@TOPRIGHT:
		TargetableOffsets: 1050,1152,0,620,830,0
		Type: Rectangle
			TopLeft: 256,-1024
			BottomRight: 1536,256

	HitShape@BOTRIGHT:
		TargetableOffsets: -1600,1052,0
		Type: Rectangle
			TopLeft: 256,718
			BottomRight: 1536,1280

	HitShape@BOTLEFT:
		TargetableOffsets: -1600,-1252,0,-1700,-730,0
		Type: Rectangle
			TopLeft: -1536,768
			BottomRight: -256,2048

#bcc barracks 1.1
BARR:
	Selectable:
		Bounds: 2048,853
		DecorationBounds: 2048,2048
	HitShape:
		UseTargetableCellsOffsets: false
		TargetableOffsets: 0,0,0,630,-512,0,355,512,0,-281,-512,0,-630,512,0
		Type: Rectangle
			TopLeft: -1036,-768
			BottomRight: 1036,1036
	Building:
		Footprint: x= xx ==
		Dimensions: 2,3
		LocalCenterOffset: 0,-200,0
	RallyPoint:
	Exit@1:
		RequiresCondition: !being-captured
		SpawnOffset: 700,-100,0
		ExitCell: 1,0
		ProductionTypes: Soldier, Infantry
	Exit@2:
		RequiresCondition: !being-captured
		SpawnOffset: -700,600,0
		ExitCell: 0,2
		ProductionTypes: Soldier, Infantry

TENT:
	Selectable:
		Bounds: 2048,853
		DecorationBounds: 2048,2048
	Building:
		Footprint: x= xx ==
		Dimensions: 2,3
		LocalCenterOffset: 0,-200,0
	RallyPoint:
	Exit@1:
		RequiresCondition: !being-captured
		SpawnOffset: 700,-100,0
		ExitCell: 1,0
		Facing: 512
		ProductionTypes: Soldier, Infantry
	Exit@2:
		RequiresCondition: !being-captured
		SpawnOffset: -700,600,0
		ExitCell: 0,2
		Facing: 1024
		ProductionTypes: Soldier, Infantry

TENF:
	Selectable:
		Bounds: 2048,853
		DecorationBounds: 2048,2048
	Building:
		Footprint: x= xx ==
		Dimensions: 2,3
		LocalCenterOffset: 0,-200,0

#acc airfield 1.0
AFLD:
	Exit@1:
		ExitCell: 1,3
	Exit@2:
		RequiresCondition: !being-captured
		ExitCell: 0,0
		Facing: 256

#superweapons--------------------------------------------------------------------------superweapons
MSLO:
	Buildable:
		Prerequisites: ~techcenter, ~structures.nuke, ~techlevel.unrestricted
IRON:
	Buildable:
		Prerequisites: ~techcenter, ~structures.soviet, ~techlevel.unrestricted
	ProvidesPrerequisite@buildingname:
PDOX:
	Buildable:
		Prerequisites: ~techcenter, ~structures.allies, ~techlevel.unrestricted
IONCAN:
	Inherits: ^ScienceBuilding
	Inherits@IDISABLE: ^DisableOnLowPowerOrPowerDown
	HitShape:
		UseTargetableCellsOffsets: true
		Type: Rectangle
			TopLeft: -1536, -1024
			BottomRight: 1024, 1024
	Valued:
		Cost: 2500
	Tooltip:
		Name: Ion Cannon Uplink
	Buildable:
		Queue: Defense
		BuildPaletteOrder: 130
		Prerequisites: ~atek, ~structures.usa, ~techlevel.high
		BuildLimit: 1
		Description: Ion Cannon.\nFires a particle beam from orbit.
		IconPalette: cnc
	Power:
		Amount: -200
	IonCannonPower:
		PauseOnCondition: disabled
		Prerequisites: ~techlevel.high
		Icon: ioncannon
		Cursor: ability
		IconPalette: cnc
		EffectPalette: cnc
		ChargeInterval: 6750
		Name: Ion Cannon
		Description: Initiate an Ion Cannon strike.\nApplies instant damage to a small area.
		BeginChargeSpeechNotification: IonCannonCharging
		EndChargeSpeechNotification: IonCannonReady
		SelectTargetSpeechNotification: SelectTarget
		InsufficientPowerSpeechNotification: InsufficientPower
		DisplayTimerRelationships: Ally, Neutral, Enemy
		OnFireSound: ion1.aud
		DisplayRadarPing: True
		CameraActor: camera
		SupportPowerPaletteOrder: 20
	Building:
		Footprint: xxx xx+
		Dimensions: 3,2
		LocalCenterOffset: 0,0,0
	Selectable:
		Bounds: 2048, 1706, 0, 384
		DecorationBounds: 2048, 2261, 0, -170
	SelectionDecorations:
	WithSpriteBody:
		PauseOnCondition: lowpower
	SupportPowerChargeBar:
	InfiltrateForSupportPowerReset:
		Types: SpyInfiltrate
	Targetable:
		TargetTypes: GroundActor, C4, DetonateAttack, Structure, SpyInfiltrate
	Health:
		HP: 90000
	RevealsShroud:
		Range: 10c0
	WithBuildingBib:
	MustBeDestroyed:
		RequiredForShortGame: false
STHGEN:
	Inherits: ^ScienceBuilding
	Inherits@IDISABLE: ^DisableOnLowPowerOrPowerDown
	Inherits@shape: ^2x2Shape
	Selectable:
	Buildable:
		Queue: Defense
		BuildPaletteOrder: 120
		Prerequisites: atek, ~structures.france, ~techlevel.unrestricted
		BuildLimit: 1
		Description: Makes vehicles invisible for a short time.\nRequires power to operate.\nMaximum 1 can be built.\n  Special Ability: Stealth Shield
	Valued:
		Cost: 1500
	Tooltip:
		Name: Phase Generator
	Building:
		Footprint: xx xx
		Dimensions: 2,2
	Health:
		HP: 100000
	Armor:
		Type: Wood
	RevealsShroud:
		MinRange: 5c0
		Range: 6c0
		RequiresCondition: !disabled
		RevealGeneratedShroud: False
	RevealsShroud@Offline:
		Range: 5c0
		RequiresCondition: disabled
	RevealsShroud@GAPGEN:
		Range: 5c0
		RequiresCondition: !disabled
	WithBuildingBib:
		HasMinibib: true
	GrantExternalConditionPower@STEALTH:
		OrderName: GrantExternalConditionPowerStealth
		PauseOnCondition: disabled
		Icon: cloakicon
		ChargeInterval: 3000
		Name: Stealth Shield
		Description: Makes a group of units invisible\nfor 30 seconds.
		Duration: 750
		SelectTargetSpeechNotification: SelectTarget
		InsufficientPowerSpeechNotification: InsufficientPower
		BeginChargeSpeechNotification: Charging
		EndChargeSpeechNotification: Ready
		DisplayRadarPing: True
		Condition: stealth
		OnFireSound: appear1.aud
		SupportPowerPaletteOrder: 10
		Dimensions: 5, 5
		Footprint: __x__ _xxx_ xxxxx _xxx_ __x__
	SupportPowerChargeBar:
	InfiltrateForSupportPowerReset:
		Types: SpyInfiltrate
	Targetable:
		TargetTypes: GroundActor, C4, DetonateAttack, Structure, SpyInfiltrate
	Power:
		Amount: -200
	MustBeDestroyed:
		RequiredForShortGame: false
	ProvidesPrerequisite@buildingname:

#alliedDefences----------------------------------------------------------------------alliedDefences
PBOX:
	Buildable:
		Prerequisites: tent, ~structures.allies, ~techlevel.low
	Cargo:
		Types: Infantry
		MaxWeight: 2
		InitialUnits: e1
	Power:
		Amount: -10
	DetectCloaked:
		Range: 4c0
GUN:
	Buildable:
		Prerequisites: tent, ~structures.allies, ~techlevel.medium
HTUR:
	Inherits: ^Defense
	Inherits@AUTOTARGET: ^AutoTargetGround
	Inherits@shape: ^2x2Shape
	Buildable:
		Queue: Defense
		BuildPaletteOrder: 60
		BuildDuration: 1450
		Prerequisites: atek, ~structures.france, ~techlevel.high
		Description: Anti-Armor artillary of epic proportions.\n  Strong vs Vehicles, Infantry\n  Weak vs Aircraft
	Valued:
		Cost: 2000
	Tooltip:
		Name: Grand Cannon
	Building:
		Footprint: xx xx
		Dimensions: 2,2
	Health:
		HP: 74000
	Armor:
		Type: Heavy
	RevealsShroud:
		MinRange: 6c0
		Range: 8c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 6c0
	Turreted:
		TurnSpeed: 3
		InitialFacing: 0
		RealignDelay: -1
	-WithSpriteBody:
	WithEmbeddedTurretSpriteBody:
	AttackTurreted:
	Armament:
		Weapon: 203mm
		MuzzleSequence: muzzle
		LocalOffset: 1000,200,60, 1000,0,60, 1000,-200,60
	WithMuzzleOverlay:
	Power:
		Amount: -100
	BodyOrientation:
	Explodes:
		Weapon: BuildingExplode
		EmptyWeapon: BuildingExplode
	WithBuildingBib:
		HasMinibib: true
	Selectable:
		Bounds: 2048, 2048
PRIS:
	Inherits: ^Defense
	Inherits@IDISABLE: ^DisableOnLowPowerOrPowerDown
	Inherits@AUTOTARGET: ^AutoTargetGround
	Buildable:
		Queue: Defense
		BuildPaletteOrder: 90
		Prerequisites: dome, atek, ~structures.usa, ~techlevel.high
		Description: Advanced prism base defense.
	Valued:
		Cost: 1300
	Tooltip:
		Name: Prism Tower
	Building:
	Selectable:
		DecorationBounds: 1024, 1962, 0, -426
	Health:
		HP: 35000
	Armor:
		Type: Concrete
	RevealsShroud:
		MinRange: 6c0
		Range: 8c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 6c0
	WithBuildingBib:
		HasMinibib: true
	WithSpriteBody:
		PauseOnCondition: disabled
	Armament:
		Weapon: PrisLaser
		LocalOffset: 0,-85,956
	AttackTesla:
		RequiresCondition: !build-incomplete
		PauseOnCondition: disabled
		ChargeAudio: audio/bpripow.aud
		MaxCharges: 1
		ReloadDelay: 40
	Power:
		Amount: -75
	ProvidesPrerequisite@buildingname:
#alliedbuildings-----------------------------------------------------------------alliedbuildings
SYRD:
	Buildable:
		Queue: Building
		BuildPaletteOrder: 40
		Prerequisites: anypower, ~structures.allies, ~techlevel.low
	ProvidesPrerequisite@VANILLASHIPS:
		Factions: england, france, germany, spain
		Prerequisite: alliedships.vanilla
	ProvidesPrerequisite@usa:
		Factions: allies
		Prerequisite: ships.usa
	SpawnActorPower@sonar:
		Icon: sonar
		Name: Sonar Pulse
		Prerequisites: ~structures.england, ~techlevel.high
		Description: Reveals all submarines in the\n vicinity for a short time.
		ChargeInterval: 3000
		EndChargeSpeechNotification: SonarPulseReady
		SelectTargetSpeechNotification: SelectTarget
		Actor: sonar
		LifeTime: 500
		DeploySound: sonpulse.aud
		EffectImage: moveflsh
		EffectPalette: moveflash
	Building:
		Footprint: =x= xxx =x=
	FreeActor@1:
		Actor: SYRDCHARGER
		SpawnOffset: 0,0
		Facing: 768
	FreeActor@2:
		Actor: SYRDCHARGER
		SpawnOffset: 3,0
		Facing: 768
	FreeActor@3:
		Actor: SYRDCHARGER
		SpawnOffset: 0,3
		Facing: 768
	FreeActor@4:
		Actor: SYRDCHARGER
		SpawnOffset: 3,3
		Facing: 768
	ProximityExternalCondition@keepchargersalive:
		Condition: keepchargeralive
		Range: 2c0
#this allows the minelyer to rearm, very special thanks to Pinkthoth for making this work!
SYRDCHARGER:
	Interactable:
	EditorOnlyTooltip:
		Name: (DummyCharger)
	AlwaysVisible:
	Building:
		Footprint: _
		Dimensions: 1,1
	BodyOrientation:
		QuantizedFacings: 1
	WithSpriteBody:
	RenderSpritesEditorOnly:
		Image: camera
	MapEditorData:
		Categories: System
	Exit@1:
		SpawnOffset: 0,0,0
		ExitCell: 0,0
		Facing: 896
	ExternalCondition:
		Condition: keepchargeralive
	KillsSelf:
		RequiresCondition: !keepchargeralive
		Delay: 1
ATEK:
	GrantConditionOnFaction@Spain:
		Factions: spain
		Condition: spanish
	AirstrikePower@airstrike:
		OrderName: USAirstrike
		Prerequisites: structures.usa
		Icon: airstrike
		ChargeInterval: 7500
		Name: Airstrike
		Description: A squad of B-2 Spirit drop\n incendiary bombs on your target.
		SelectTargetSpeechNotification: SelectTarget
		CameraActor: camera
		CameraRemoveDelay: 150
		UnitType: b2b
		QuantizedFacings: 8
		DisplayBeacon: true
		SquadSize: 3
		SquadOffset: 1792,1792,0
		ArrowSequence: arrow
		ClockSequence: clock
		CircleSequence: circles
		UseDirectionalTarget: True
		DirectionArrowAnimation: paradirection
		SupportPowerPaletteOrder: 40
	Tooltip@SPAIN:
		Name: Spanish Tech Center
		RequiresCondition: spanish

ADEPT:
	Inherits: ^Building
	Inherits@shape: ^3x2Shape
	Valued:
		Cost: 1300
	Tooltip:
		Name: Allied Embassy
	Selectable:
	Building:
		Footprint: ___ ___ xxx xxx ===
		Dimensions: 3, 5
	Selectable:
	Buildable:
		Queue: Building
		BuildPaletteOrder: 80
		Prerequisites: atek, ~structures.spain
		Description: Allows the building of Allied Tech.
	Health:
		HP: 80000
	Armor:
		Type: Wood
	RevealsShroud:
		MinRange: 4c0
		Range: 5c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 4c0
	WithBuildingBib:
	Power:
		Amount: -30
	ProvidesPrerequisite@englandinf:
		Factions: spain
		Prerequisite: infantry.england
	ProvidesPrerequisite@franceinf:
		Factions: spain
		Prerequisite: infantry.france
	ProvidesPrerequisite@germaninf:
		Factions: spain
		Prerequisite: infantry.germany
	ProvidesPrerequisite@usainf:
		Factions: spain
		Prerequisite: infantry.usa
	ProvidesPrerequisite@englandair:
		Factions: spain
		Prerequisite: aircraft.england
	ProvidesPrerequisite@usaair:
		Factions: spain
		Prerequisite: aircraft.usa
	ProvidesPrerequisite@francebuild:
		Factions: spain
		Prerequisite: structures.france
	ProvidesPrerequisite@usabuild:
		Factions: spain
		Prerequisite: structures.usa
	ProvidesPrerequisite@englandtank:
		Factions: spain
		Prerequisite: vehicles.england
	ProvidesPrerequisite@francetanks:
		Factions: spain
		Prerequisite: vehicles.france
	ProvidesPrerequisite@germantanks:
		Factions: spain
		Prerequisite: vehicles.germany
	ProvidesPrerequisite@usatanks:
		Factions: spain
		Prerequisite: vehicles.usa
	ProvidesPrerequisite@englishnavy:
		Factions: spain
		Prerequisite: ships.england
	ProvidesPrerequisite@usanavy:
		Factions: spain
		Prerequisite: ships.usa
	HitShape:
		TargetableOffsets: 1273,939,0, -980,-640,0, -980,640,0
		Type: Rectangle
			TopLeft: -1536, -1536
			BottomRight: 1536, 1536
	WithDeathAnimation:
		DeathSequence: dead
		UseDeathTypeSuffix: false
HPAD:
	Buildable:
		Prerequisites: dome, ~structures.allies, ~techlevel.medium
	ProvidesPrerequisite@usa:
		Factions: RandomAllies, allies
		Prerequisite: aircraft.usa
	ParatroopersPower@specoppara:
		OrderName: SpecOpPara
		Prerequisites: aircraft.england
		Icon: specopdropicon
		ChargeInterval: 9000
		Name: Specop Drop
		Description: A Chinook drops a squad of royal marines\nanywhere on the map.
		UnitType: RMTRAN
		DropItems: SPECOP, SPECOP, SPECOP
		ReinforcementsArrivedSpeechNotification: ReinforcementsArrived
		SelectTargetSpeechNotification: SelectTarget
		AllowImpassableCells: false
		QuantizedFacings: 8
		CameraActor: camera.paradrop
		DisplayBeacon: true
		BeaconPoster: specopdropbeacon
		ArrowSequence: arrow
		ClockSequence: clock
		CircleSequence: circles
		UseDirectionalTarget: True
		DirectionArrowAnimation: paradirection
		SupportPowerPaletteOrder: 50
	ParatroopersPower@usaparatroopers:
		OrderName: USAParatroopers
		Prerequisites: structures.usa
		Icon: sniperdrop
		UnitType: DOUGLAS
		ChargeInterval: 7500
		Name: Sniper Drop
		Description: A Chinook drops a squad of snipers\nanywhere on the map.
		DropItems: SNIPER,SNIPER,SNIPER
		ReinforcementsArrivedSpeechNotification: ReinforcementsArrived
		SelectTargetSpeechNotification: SelectTarget
		AllowImpassableCells: false
		QuantizedFacings: 8
		CameraActor: camera.paradrop
		DisplayBeacon: true
		BeaconPoster: pinficon
		ArrowSequence: arrow
		ClockSequence: clock
		CircleSequence: circles
		UseDirectionalTarget: True
		DirectionArrowAnimation: paradirection
		SupportPowerPaletteOrder: 50
#sovietdefences----------------------------------------------------------------------sovietdefences
MTSLA:
	Inherits: ^Defense
	Inherits@shape: ^3x2Shape
	Inherits@IDISABLE: ^DisableOnLowPowerOrPowerDown
	Inherits@AUTOTARGET: ^AutoTargetGround
	RenderSprites:
		PlayerPalette: cncplayer
	Selectable:
		Bounds: 3072, 2560, 0, 256
	HitShape:
		TargetableOffsets: 0,0,0, 0,1024,0, 0,-1024,0
		Type: Rectangle
			TopLeft: -1536, -1024
			BottomRight: 1536, 512
	Building:
		Footprint: XxX xxx X+X
		Dimensions: 3,3
		LocalCenterOffset: 0,-512,0
	Health:
		HP: 80000
	Armor:
		Type: Heavy
	RevealsShroud:
		MinRange: 4c0
		Range: 5c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 4c0
	Buildable:
		Queue: Defense
		BuildPaletteOrder: 200
		IconPalette: chrometd
		Prerequisites: ~structures.russia, stek, ~techlevel.high
		Description: Mega Tesla.
		BuildLimit: 1
	-Capturable:
	Valued:
		Cost: 2500
	Tooltip:
		Name: Mega Tesla
	Power:
		Amount: -300
	Armament:
		Weapon: TeslaZap
		LocalOffset: 0,0,896
	AttackTesla:
		RequiresCondition: !build-incomplete
		PauseOnCondition: disabled
		ChargeAudio: tslachg2.aud
		MaxCharges: 9
		ReloadDelay: 100
	DetectCloaked:
		Range: 6c0
		RequiresCondition: !disabled
#sovietbuildings---------------------------------------------------------------------sovietbuildings
BARR:
	GrantConditionOnFaction@CHINA:
		Factions: soviet
		Condition: china
	FreeActor@1:
		Actor: E1CH
		SpawnOffset: 3,3
		RequiresCondition: china
	FreeActor@2:
		Actor: E1CH
		SpawnOffset: -1,-1
		RequiresCondition: china
	FreeActor@3:
		Actor: E1CH
		SpawnOffset: -1,3
		RequiresCondition: china
	FreeActor@4:
		Actor: E1CH
		SpawnOffset: 3,-1
		RequiresCondition: china
SPEN:
	Building:
		Footprint: =x= xxx =x=
	FreeActor@1:
		Actor: SYRDCHARGER
		SpawnOffset: 0,0
		Facing: 768
	FreeActor@2:
		Actor: SYRDCHARGER
		SpawnOffset: 3,0
		Facing: 768
	FreeActor@3:
		Actor: SYRDCHARGER
		SpawnOffset: 0,3
		Facing: 768
	FreeActor@4:
		Actor: SYRDCHARGER
		SpawnOffset: 3,3
		Facing: 768
	ProximityExternalCondition@keepchargersalive:
		Condition: keepchargeralive
		Range: 2c0
	Buildable:
		Queue: Building
		BuildPaletteOrder: 50
		Prerequisites: anypower, ~structures.soviet, ~techlevel.low
	Exit@b1:
		RequiresCondition: !being-captured
		SpawnOffset: -1024,1024,0
		Facing: 640
		ExitCell: 0,2
		ProductionTypes: Ship, Boat
	Exit@b2:
		RequiresCondition: !being-captured
		SpawnOffset: 1024,1024,0
		Facing: 896
		ExitCell: 2,2
		ProductionTypes: Ship, Boat
	Exit@b3:
		RequiresCondition: !being-captured
		SpawnOffset: -1024,-1024,0
		Facing: 384
		ExitCell: 0,0
		ProductionTypes: Ship, Boat
	Exit@b4:
		RequiresCondition: !being-captured
		SpawnOffset: 1024,-1024,0
		Facing: 128
		ExitCell: 2,0
		ProductionTypes: Ship, Boat
	ProvidesPrerequisite@chinaship:
		Factions: RandomSoviet, soviet
		Prerequisite: ships.china
STEK:
	Inherits@IDISABLE: ^DisableOnLowPowerOrPowerDown
	Buildable:
		Prerequisites: weap, dome, ~structures.soviet, ~techlevel.high
	ProduceActorPower:
		Actors: 3tnk.china
		Type: Vehicle
		Prerequisites: structures.china
		ReadyAudio: ChinaPower
		ChargeInterval: 3000
		Icon: industry
		Name: Industrialisation
		Description: Advanced Chinese industry\n produces a stream\n of heavy tanks.
		ClockSequence: clock
		CircleSequence: circles
		InsufficientPowerSpeechNotification: InsufficientPower
		SupportPowerPaletteOrder: 80
		PauseOnCondition: lowpower

HACKER:
	Inherits: ^ScienceBuilding
	Inherits@shape: ^3x2Shape
	Inherits@IDISABLE: ^DisableOnLowPowerOrPowerDown
	HitShape:
		TargetableOffsets: 0,0,0, 0,512,0, 420,-598,256
		Type: Rectangle
			TopLeft: -1024, -384
			BottomRight: 1024, 1024
	Valued:
		Cost: 1000
	Tooltip:
		Name: Hacker Post
	Buildable:
		BuildPaletteOrder: 130
		Prerequisites: stek, ~structures.china, ~techlevel.medium
		Queue: Building
		Description: Chinese hackers steal money.\nGenerates funds.\nRequires power to operate.
		IconPalette: cnc
	Power:
		Amount: -100
	Building:
		Footprint: X_ xx ==
		Dimensions: 2,3
		LocalCenterOffset: 0,-512,0
	Selectable:
		Bounds: 2048, 1706, 0, 384
		DecorationBounds: 2048, 2261, 0, -170
	SelectionDecorations:
	WithSpriteBody:
		PauseOnCondition: lowpower
	Health:
		HP: 80000
	RevealsShroud:
		Range: 10c0
	WithBuildingBib:
	GpsDot:
		String: Communications
	CashTrickler:
		Interval: 50
		Amount: 15
		PauseOnCondition: lowpower
	InfiltrateForCash:
		Percentage: 25
		Types: SpyInfiltrate, ThiefInfiltrate
		InfiltratedNotification: CreditsStolen
	WithDeathAnimation:
		DeathSequence: dead
		UseDeathTypeSuffix: false
	RenderSprites:
		Image: hacker
		PlayerPalette: cncplayer
AFLD:
	ProvidesPrerequisite@chinaair:
		Factions: RandomSoviet, soviet
		Prerequisite: aircraft.china
EMBSY:
	Inherits: ^ScienceBuilding
	Inherits@shape: ^2x2Shape
	Selectable:
		Bounds: 2048, 2048
	Building:
		Footprint: xx xx ==
		Dimensions: 2,3
		LocalCenterOffset: 0,-512,0
	WithBuildingBib:
	Buildable:
		BuildPaletteOrder: 230
		Prerequisites: ~stek, ~structures.turkey, ~techlevel.high
		Queue: Building
		Description: Soviet Embassy.\nGrants the ability to build all\nother soviet technology.
	Health:
		HP: 80000
	Armor:
		Type: Wood
	Tooltip:
		Name: Soviet Embassy
	RevealsShroud:
		MinRange: 4c0
		Range: 5c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 4c0
	Power:
		Amount: 40
	ProvidesPrerequisite@buildingname:
	ProvidesPrerequisite@china:
		Factions: turkey
		Prerequisite: structures.china
	ProvidesPrerequisite@chinainf:
		Factions: turkey
		Prerequisite: infantry.china
	ProvidesPrerequisite@chinanavy:
		Factions: turkey
		Prerequisite: ships.china
	ProvidesPrerequisite@russianinf:
		Factions: turkey
		Prerequisite: infantry.russia
	ProvidesPrerequisite@ukrainianinf:
		Factions: turkey
		Prerequisite: infantry.ukraine
	ProvidesPrerequisite@turkinf:
		Factions: turkey
		Prerequisite: infantry.turkey
	ProvidesPrerequisite@chinaair:
		Factions: turkey
		Prerequisite: aircraft.china
	ProvidesPrerequisite@russiaair:
		Factions: turkey
		Prerequisite: aircraft.russia
	ProvidesPrerequisite@ukraineair:
		Factions: turkey
		Prerequisite: aircraft.ukraine
	ProvidesPrerequisite@russia:
		Factions: turkey
		Prerequisite: structures.russia
	ProvidesPrerequisite@ukraine:
		Factions: turkey
		Prerequisite: structures.ukraine
	ProvidesPrerequisite@russianstank:
		Factions: turkey
		Prerequisite: vehicles.russia
	ProvidesPrerequisite@ukrainiantanks:
		Factions: turkey
		Prerequisite: vehicles.ukraine
	ProvidesPrerequisite@chinatanks:
		Factions: turkey
		Prerequisite: vehicles.china

#walls&fences------------------------------------------------------------------------------walls&fences
SBAG:
	Buildable:
		Prerequisites: fact, ~!structures.usa, ~!structures.france, ~structures.allies, ~techlevel.low
FENC:
	Buildable:
		Prerequisites: fact, ~!structures.china, ~structures.soviet, ~techlevel.low
CYCL:
	Inherits: ^Wall
	Valued:
		Cost: 45
	CustomSellValue:
		Value: 0
	Tooltip:
		Name: Chain Link Barrier
	Buildable:
		BuildPaletteOrder: 20
		Prerequisites: ~structures.usa, ~techlevel.low
		Queue: Defense
		Description: Stops infantry and light vehicles.\nCan be crushed by tanks.
	Armor:
		Type: Wood
	LineBuild:
		NodeTypes: chain
	LineBuildNode:
		Types: chain
	WithWallSpriteBody:
		Type: chain
WOOD:
	Inherits: ^Wall
	Valued:
		Cost: 25
	CustomSellValue:
		Value: 0
	Tooltip:
		Name: Wooden Fence
	Buildable:
		BuildPaletteOrder: 20
		Prerequisites: fact, ~structures.france, ~techlevel.low
		Queue: Defense
		Description: Stops infantry and light vehicles.\nCan be crushed by tanks.
	Armor:
		Type: Wood
	LineBuild:
		NodeTypes: woodfence
	LineBuildNode:
		Types: woodfence
	WithWallSpriteBody:
		Type: woodfence
BARB:
	Inherits: ^Wall
	Buildable:
		Queue: Defense
		BuildPaletteOrder: 1
		Prerequisites: ~structures.china, ~techlevel.low
		Description: Stops infantry and light vehicles.\nCan be crushed by tracked vehicles.
	Valued:
		Cost: 50
	CustomSellValue:
		Value: 0
	Tooltip:
		Name: Barbed Wire Fence
	Armor:
		Type: Wood
	LineBuildNode:
		Types: barbwire
	WithWallSpriteBody:
		Type: barbwire
BRIK:
	Buildable:
		Prerequisites: anypower, ~techlevel.medium
^Wall:
	LineBuildNode:
		Types: wall, gate
^Gate:
	Inherits: ^Building
	-WithSpriteBody:
	-EngineerRepairable:
	-Capturable:
	-Capturable@2:
	-SpawnActorsOnSell:
	-CaptureManager:
	-CapturableProgressBar:
	-CapturableProgressBlink:
	-WithMakeAnimation:
	-GivesBuildableArea:
	-GivesExperience:
	-MustBeDestroyed:
	Health:
		HP: 35000
	Armor:
		Type: Heavy
	LineBuildNode:
		Types: concrete, gate
	WithGateSpriteBody:
	Tooltip:
		Name: Gate
	Building:
		BuildSounds: bits/place2.aud
		TerrainTypes: Clear, Road
	RequiresBuildableArea:
		AreaTypes: building
		Adjacent: 6
	MapEditorData:
		Categories: Wall
	Gate:
		OpeningSound: audio/hydrod1.aud
		ClosingSound: audio/hvydoor1.aud
		BlocksProjectilesHeight: 0
HGATE:
	Inherits: ^Gate
	HitShape:
		UseTargetableCellsOffsets: true
		Type: Rectangle
			TopLeft: -1536, -512
			BottomRight: 1536, 512
	Building:
		Footprint: xxx
		Dimensions: 3,1
	Buildable:
		Queue: Defense
		BuildPaletteOrder: 30
		Prerequisites: ~anypower, ~techlevel.medium
		Description: Places an horizontal gate.\nThe gate automatically opens for friendly units.\nBlocks enemy access into your base.
	Valued:
		Cost: 500
	Demolishable:
		Condition: being-demolished
	Sellable:
		RequiresCondition: !being-demolished
	CustomSellValue:
		Value: 50
	WithGateSpriteBody:
		WallConnections: -1,0, 3,0
	LineBuildNode:
		Connections: -1,0, 1,0
	Tooltip:
		Name: Gate - (horizontal)
	RevealsShroud:
		Range: 1c0
	RenderSprites:
		Image: hgate
VGATE:
	Inherits: ^Gate
	HitShape:
		UseTargetableCellsOffsets: true
		Type: Rectangle
			TopLeft: -512, -1536
			BottomRight: 512, 1536
	Building:
		Footprint: x x x
		Dimensions: 1,3
	Buildable:
		Queue: Defense
		BuildPaletteOrder: 31
		Prerequisites: ~anypower, ~techlevel.medium
		Description: Places an vertical gate.\nThe gate automatically opens for friendly units.\nBlocks enemy access into your base.
	Valued:
		Cost: 500
	Demolishable:
		Condition: being-demolished
	Sellable:
		RequiresCondition: !being-demolished
	CustomSellValue:
		Value: 50
	WithGateSpriteBody:
		WallConnections: 0,-1, 0,3
	LineBuildNode:
		Connections: 0,-1, 0,1
	Tooltip:
		Name: Gate I (vertical)
	RevealsShroud:
		Range: 1c0
#civilianbuildings-------------------------------------------------------------------------civilianbuildings
OILB:
	ProximityCapturable:
		CaptorTypes: Player, Vehicle, Tank, Infantry
		Range: 5c0
		MustBeClear: false
		Sticky: true
		Permanent: true
V01:
	Inherits: ^BasicBuilding
	Inherits@AUTOTARGET: ^AutoTargetAll
	Inherits@CARGOPIPS: ^CargoPips
	Tooltip:
		Name: Church. Capture to Garrison.
	Health:
		HP: 40000
	Armor:
		Type: Wood
	CaptureManager:
	Capturable:
		Types: Building
		RequiresCondition: !civgarrison
	ProximityCapturable:
		CaptorTypes: Player, Infantry
		Range: 2c0
		Sticky: True
		MustBeClear: false
	RevealsShroud:
		MinRange: 0c0
		Range: 8c0
		RequiresCondition: civgarrison
	Cargo:
		Types: Infantry
		MaxWeight: 3
		LoadedCondition: civgarrison
	AttackGarrisoned:
		Armaments: garrisoned
		PortOffsets: 384,0,128, 224,-341,128, -224,-341,128, -384,0,128, -224,341,128, 224,341,128
		PortYaws: 0, 176, 341, 512, 682, 853
		PortCones: 88, 88, 88, 88, 88, 88
RUSHOUSE:
	Inherits: ^BasicBuilding
	Inherits@AUTOTARGET: ^AutoTargetAll
	Inherits@CARGOPIPS: ^CargoPips
	Tooltip:
		Name: House. Capture to Garrison.
	Health:
		HP: 40000
	Armor:
		Type: Wood
	CaptureManager:
	Capturable:
		Types: Building
		RequiresCondition: !civgarrison
	ProximityCapturable:
		CaptorTypes: Player, Infantry
		Range: 2c0
		Sticky: True
		MustBeClear: false
	RevealsShroud:
		MinRange: 0c0
		Range: 12c0
		RequiresCondition: civgarrison
	Cargo:
		Types: Infantry
		MaxWeight: 3
		LoadedCondition: civgarrison
	AttackGarrisoned:
		Armaments: garrisoned
		PortOffsets: 384,0,128, 224,-341,128, -224,-341,128, -384,0,128, -224,341,128, 224,341,128
		PortYaws: 0, 176, 341, 512, 682, 853
		PortCones: 88, 88, 88, 88, 88, 88
LHUS:
	Inherits: ^BasicBuilding
	Inherits@AUTOTARGET: ^AutoTargetAll
	Inherits@CARGOPIPS: ^CargoPips
	Tooltip:
		Name: Lighthouse. Capture to Garrison.
	Health:
		HP: 40000
	Armor:
		Type: Wood
	CaptureManager:
	Capturable:
		Types: Building
		RequiresCondition: !civgarrison
	ProximityCapturable:
		CaptorTypes: Player, Infantry
		Range: 2c0
		Sticky: True
		MustBeClear: false
	RevealsShroud:
		MinRange: 0c0
		Range: 12c0
		RequiresCondition: civgarrison
	Cargo:
		Types: Infantry
		MaxWeight: 3
		LoadedCondition: civgarrison
	AttackGarrisoned:
		Armaments: garrisoned
		PortOffsets: 384,0,328, 224,-341,228, -224,-341,128, -384,0,328, -224,341,228, 224,341,128
		PortYaws: 0, 176, 341, 512, 682, 853
		PortCones: 88, 88, 88, 88, 88, 88
WINDMILL:
	Inherits: ^BasicBuilding
	Inherits@AUTOTARGET: ^AutoTargetAll
	Inherits@CARGOPIPS: ^CargoPips
	Tooltip:
		Name: Windmill. Capture to Garrison.
	Health:
		HP: 40000
	Armor:
		Type: Wood
	CaptureManager:
	Capturable:
		Types: Building
		RequiresCondition: !civgarrison
	ProximityCapturable:
		CaptorTypes: Player, Infantry
		Range: 2c0
		Sticky: True
		MustBeClear: false
	RevealsShroud:
		MinRange: 0c0
		Range: 10c0
		RequiresCondition: civgarrison
	Cargo:
		Types: Infantry
		MaxWeight: 3
		LoadedCondition: civgarrison
	AttackGarrisoned:
		Armaments: garrisoned
		PortOffsets: 384,0,228, 224,-341,228, -224,-341,228, -384,0,228, -224,341,228, 224,341,228
		PortYaws: 0, 176, 341, 512, 682, 853
		PortCones: 88, 88, 88, 88, 88, 88
