V2RL:
	Buildable:
		BuildPaletteOrder: 250
	ProductionCostMultiplier@ukraine:
		Multiplier: 80
		Prerequisites: player.ukraine
	GivesExperienceMultiplier@ukraine:
		Modifier: 120
		RequiresCondition: owner.ukraine
	GrantConditionOnPrerequisite@ukraine:
		Condition: owner.ukraine
		Prerequisites: player.ukraine

1TNK:
	Inherits@AUTOTARGET: ^AutoTargetAllAssaultMovePrioritizeGround
	Buildable:
		BuildPaletteOrder: 140
		Prerequisites: fix, ~vehicles.allies, ~techlevel.medium
		Description: actor-1tnk.description-new
	Armament@SECONDARY:
		Name: secondary
		Weapon: Dragon.TD
		LocalOffset: -85,192,120
		LocalYaw: -64
	SpawnActorOnDeath:
		Actor: 1TNK.Husk

2TNK:
	Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMovePrioritizeVehicles
	Buildable:
		BuildPaletteOrder: 210
		Prerequisites: fix, ~vehicles.allies, ~techlevel.medium, ~!player.germany
	Valued:
		Cost: 800

2TNK.Germany:
	Inherits: 2TNK
	Buildable:
		Prerequisites: fix, ~vehicles.allies, ~player.germany, ~techlevel.medium
	ProducibleWithLevel:
		Prerequisites: techlevel.infonly
		InitialLevels: 1
	WithProductionIconOverlay:
		Types: Veterancy
		Prerequisites: techlevel.infonly
	UpdatesPlayerStatistics:
		OverrideActor: 2tnk
	RenderSprites:
		Image: 2tnk
	-MapEditorData:

3TNK:
	Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMovePrioritizeVehicles
	Buildable:
		BuildPaletteOrder: 220
		Prerequisites: fix, ~vehicles.soviet, ~techlevel.medium, ~!player.russia

3TNK.Russia:
	Inherits: 3TNK
	Buildable:
		Prerequisites: fix, ~vehicles.soviet, ~player.russia, ~techlevel.medium
	ProducibleWithLevel:
		Prerequisites: techlevel.infonly
		InitialLevels: 1
	WithProductionIconOverlay:
		Types: Veterancy
		Prerequisites: techlevel.infonly
	UpdatesPlayerStatistics:
		OverrideActor: 3tnk
	RenderSprites:
		Image: 3tnk
	-MapEditorData:

4TNK:
	Inherits@AUTOTARGET: ^AutoTargetAllAssaultMovePrioritizeGround
	Buildable:
		Description: actor-4tnk.description-new
		BuildPaletteOrder: 230
	Valued:
		Cost: 1800
	Mobile:
		TurnSpeed: 12
		Speed: 54
	Turreted:
		TurnSpeed: 12
	Passenger:
		Weight: 5
	-Crushable:

5TNK:
	Inherits: 4TNK
	Buildable:
		Queue: Vehicle
		BuildPaletteOrder: 445
		Prerequisites: fix, dome, stek, ~vehicles.soviet, ~techlevel.high
		Description: actor-5tnk.description
		BuildLimit: 1
	Tooltip:
		Name: actor-5tnk.name
		GenericName: actor-5tnk.generic-name
	Valued:
		Cost: 2800
	Health:
		HP: 180000
	Mobile:
		TurnSpeed: 8
		Speed: 46
		RequiresCondition: !overload
		PauseOnCondition: disabled
		Voice: Move
	Guard:
		Voice: Move
	Passenger:
		Voice: Move
	Armament@PRIMARY:
		Weapon: 140mm
		LocalOffset: 1100,180,340, 1100,-180,340
		PauseOnCondition: disabled || overload
	Armament@SECONDARY:
		Weapon: MammothTusk2
		PauseOnCondition: disabled || overload
	Turreted:
		TurnSpeed: 8
		Offset: 26,0,0
	GrantConditionOnPrerequisite@WIRELESS:
		Condition: wireless
		Prerequisites: dome-uplink
	GrantCondition@DISABLED:
		Condition: disabled
		RequiresCondition: !wireless || ( !wireless && overload )
	RevealsShroudMultiplier@Offline:
		Modifier: 0
		RequiresCondition: disabled && overload
	RejectsOrders:
		RequiresCondition: disabled && overload
	AttackTurreted:
		PauseOnCondition: disabled || overload
	ChangesHealth:
		RequiresCondition: !disabled && !overload
	DamageMultiplier@DISABLED:
		Modifier: 200
		RequiresCondition: disabled && overload
	WithColoredOverlay@DISABLED:
		Color: 000000B4
		RequiresCondition: disabled || overload
	WithDecoration@DISABLED:
		Image: nosignal
		Sequence: offline
		Palette: chrome
		RequiresCondition: disabled
		Position: Center
	FireWarheadsOnDeath:
		Weapon: UnitExplode
		EmptyWeapon: UnitExplode
		RequiresCondition: !overload
	DetectCloaked:
		DetectionTypes: Cloak
		Range: 2c512
		RequiresCondition: !disabled
	RenderDetectionCircle:
	ExternalCondition@PRODUCED:
		Condition: produced
	VoiceAnnouncement:
		RequiresCondition: produced
		Voice: Build
	Voiced:
		VoiceSet: CyborgVoice
	-CaptureManager:
	-Capturable:
	-CaptureNotification:
	-SpawnActorOnDeath:
	FireWarheadsOnDeath@OVERLOAD:
		Weapon: CrateNuke
		EmptyWeapon: CrateNuke
		DamageSource: Killer
		RequiresCondition: meltdown
	GrantConditionOnDeploy@OVERLOAD:
		DeployedCondition: overload
		DeploySounds: tesla1.aud
		PauseOnCondition: overload || disabled
	WithIdleOverlay@OVERLOAD:
		Sequence: active
		RequiresCondition: overload
	WithIdleOverlay@OVERLOAD2:
		Sequence: active-2
		RequiresCondition: overload
	KillsSelf@OVERLOAD:
		Delay: 128
		RequiresCondition: overload
		GrantsCondition: meltdown
	ToggleConditionOnOrder@InvulnerabilityDisable:
		Condition: invulnerability
		OrderName: deploy
		RequiresCondition: invulnerability && !overload
	WithColoredOverlay@IRONCURTAIN:
		RequiresCondition: invulnerability && !overload
	DamageMultiplier@IRONCURTAIN:
		RequiresCondition: invulnerability && !overload
	RenderSprites:
		Image: 5tnk

ARTY:
	Buildable:
		BuildPaletteOrder: 240
		Prerequisites: dome, ~vehicles.allies, ~techlevel.medium, ~!player.france
	Valued:
		Cost: 800
	Targetable:
		TargetTypes: GroundActor, Vehicle, VehicleDisguise

ARTY.France:
	Inherits: ARTY
	Buildable:
		Prerequisites: dome, ~vehicles.allies, ~player.france, ~techlevel.medium
	ProducibleWithLevel:
		Prerequisites: techlevel.infonly
		InitialLevels: 1
	WithProductionIconOverlay:
		Types: Veterancy
		Prerequisites: techlevel.infonly
	UpdatesPlayerStatistics:
		OverrideActor: arty
	RenderSprites:
		Image: arty
	-MapEditorData:

HARV:
	Buildable:
		Prerequisites: proc, ~techlevel.infonly, ~!global-ercc-refinery
		Description: actor-harv.description-new
		BuildPaletteOrder: 100
	Valued:
		Cost: 1000
	Harvester:
		BaleLoadDelay: 6
		SearchFromProcRadius: 10
	Passenger:
		Weight: 4
	-Crushable:

MCV:
	Buildable:
		BuildPaletteOrder: 250
	Valued:
		Cost: 2500
	Passenger:
		Weight: 5
	-Crushable:
	ProductionCostMultiplier@france:
		Multiplier: 80
		Prerequisites: player.france
	GivesExperienceMultiplier@france:
		Modifier: 120
		RequiresCondition: owner.france
	GrantConditionOnPrerequisite@france:
		Condition: owner.france
		Prerequisites: player.france

JEEP:
	Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMovePrioritizeInfantry
	Buildable:
		Description: actor-jeep.description-new
		BuildPaletteOrder: 110
	Cargo:
		InitialUnits: e1
		LoadedCondition: loaded
		PassengerConditions:
			mech: selfrepair
			e7: tanyainside
			e8: volkovinside
	ChangesHealth@MECHANIC:
		RequiresCondition: selfrepair
		Step: 2000
		Delay: 81
		StartIfBelow: 100
		DamageCooldown: 150
	DetectCloaked:
		DetectionTypes: Cloak
		Range: 2c512
		RequiresCondition: loaded
	RenderDetectionCircle:
	GivesExperience:
		Experience: 400
	WithDecoration@COMMANDO:
		Image: pips
		Sequence: pip-skull
		Palette: effect
		Position: TopLeft
		ValidRelationships: Ally, Enemy, Neutral
		RequiresCondition: tanyainside
	WithDecoration@COMMANDO2:
		Image: pips
		Sequence: pip-redstar
		Palette: effect
		Position: TopLeft
		ValidRelationships: Ally, Enemy, Neutral
		RequiresCondition: volkovinside
	Targetable:
		TargetTypes: GroundActor, Vehicle, WheeledVehicle, VehicleDisguise

APC:
	Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMovePrioritizeInfantry
	Buildable:
		Prerequisites: barracks, ~techlevel.low
		BuildPaletteOrder: 130
	Valued:
		Cost: 800
	Cargo:
		MaxWeight: 5
		PassengerConditions:
			mech: selfrepair
			e7: tanyainside
			e8: volkovinside
	ChangesHealth@MECHANIC:
		RequiresCondition: selfrepair
		Step: 2000
		Delay: 81
		StartIfBelow: 100
		DamageCooldown: 150
	WithDecoration@COMMANDO:
		Image: pips
		Sequence: pip-skull
		Palette: effect
		Position: TopLeft
		ValidRelationships: Ally, Enemy, Neutral
		RequiresCondition: tanyainside
		BlinkInterval: 32
		BlinkPatterns:
			volkovinside: Off, On
	WithDecoration@COMMANDO2:
		Image: pips
		Sequence: pip-redstar
		Palette: effect
		Position: TopLeft
		ValidRelationships: Ally, Enemy, Neutral
		RequiresCondition: volkovinside
		BlinkInterval: 32
		BlinkPatterns:
			tanyainside: On, Off
	Passenger:
		Weight: 4

MNLY:
	Valued:
		Cost: 700
	Buildable:
		Description: actor-mnly.description-new
		BuildPaletteOrder: 250
	Mobile:
		Locomotor: tracked-amphibious
	Minelayer:
		Mine: MINV
		TileUnknownName: build-valid
		TerrainTypes: Clear, Road, Beach, Ore, Gems, Rough, Bridge, Water
	AmmoPool:
		Ammo: 5
	GrantConditionOnTerrain@SEA:
		TerrainTypes: Water
		Condition: floating
	Targetable:
		TargetTypes: GroundActor, Vehicle, VehicleDisguise, Mine
		RequiresCondition: !floating
	Targetable@SEA:
		TargetTypes: GroundActor, WaterActor, Ship, VehicleDisguise, Mine
		RequiresCondition: floating
	WithFacingSpriteBody:
		RequiresCondition: !floating
	WithFacingSpriteBody@SEA:
		Name: floating
		Sequence: idle2
		RequiresCondition: floating

TRUK:
	Buildable:
		Description: actor-truk.description-new
		BuildPaletteOrder: 410
	DeliversCash:
		PlayerExperience: 0
	Passenger:
		Weight: 2
	Chronoshiftable:
		ExplodeInstead: true

MGG:
	Buildable:
		Prerequisites: atek, ~vehicles.allies, ~techlevel.high
		Description: actor-mgg.description-new
		BuildPaletteOrder: 360
	Valued:
		Cost: 800
	WithIdleOverlay@SPINNER:
		PauseOnCondition: disabled
	CreatesShroud:
		RequiresCondition: !disabled
	RenderShroudCircle:
		RequiresCondition: !disabled
	GrantConditionOnDeploy:
		DeployedCondition: disabled
		SkipMakeAnimation: true
	ProximityExternalCondition@normal:
		Condition: gapdebuff
		Range: 7c0
		ValidRelationships: Neutral, Enemy
		RequiresCondition: !disabled
	SpeedMultiplier:
		Modifier: 120
		RequiresCondition: disabled

MRJ:
	Buildable:
		BuildPaletteOrder: 320
		Prerequisites: dome, ~vehicles.england, ~techlevel.high
		Description: actor-mrj.description-new
	JamsMissiles:
		Range: 5c0
		DeflectionRelationships: Neutral, Enemy
		RequiresCondition: !mrj-jammed && !is-jamming
	RenderJammerCircle:
		RequiresCondition: !mrj-jammed && !is-jamming
	ProximityExternalCondition@NOMISSILEJAM:
		Range: 5c0
		ValidRelationships: Enemy, Neutral
		Condition: mrj-jammed
	ExternalCondition@NOMISSILEJAM:
		Condition: mrj-jammed
	Armament:
		Weapon: JammerBeam
		LocalOffset: -256,0,213
		TargetRelationships: Enemy, Neutral
	AttackFrontal:
		FacingTolerance: 512
		TargetFrozenActors: true
		PauseOnCondition: parachute
	GrantConditionOnAttack@WeaponJamming:
		Condition: is-jamming
		RevokeDelay: 9
	AppearsOnRadar:
		ValidRelationships: Ally
	-GpsDot:

TTNK:
	Buildable:
		Prerequisites: stek, ~vehicles.russia, ~techlevel.high
		BuildPaletteOrder: 330

FTRK:
	Inherits@AUTOTARGET: ^AutoTargetAllAssaultMovePrioritizeAir
	Inherits@CARGOPIPS: ^CargoPips
	Buildable:
		Description: actor-ftrk.description-new
		BuildPaletteOrder: 120
	Mobile:
		PauseOnCondition: notmobile || being-captured
	Armament@AA:
		PauseOnCondition: reload-ground
		ReloadingCondition: reload-air
	Armament@AG:
		PauseOnCondition: reload-air
		ReloadingCondition: reload-ground
	Cargo:
		Types: Infantry
		MaxWeight: 1
		LoadingCondition: notmobile
		PassengerConditions:
			mech: selfrepair
			e7: tanyainside
			e8: volkovinside
	ChangesHealth@MECHANIC:
		RequiresCondition: selfrepair
		Step: 2000
		Delay: 81
		StartIfBelow: 100
		DamageCooldown: 150
	WithDecoration@COMMANDO:
		Image: pips
		Sequence: pip-skull
		Palette: effect
		Position: TopLeft
		ValidRelationships: Ally, Enemy, Neutral
		RequiresCondition: tanyainside
	WithDecoration@COMMANDO2:
		Image: pips
		Sequence: pip-redstar
		Palette: effect
		Position: TopLeft
		ValidRelationships: Ally, Enemy, Neutral
		RequiresCondition: volkovinside
	Targetable:
		TargetTypes: GroundActor, Vehicle, WheeledVehicle, VehicleDisguise

DTRK:
	Buildable:
		BuildPaletteOrder: 430
	Valued:
		Cost: 2000
	Mobile:
		Speed: 68

CTNK:
	Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMovePrioritizeVehicles
	Buildable:
		BuildPaletteOrder: 340
	PortableChrono:
		ChargeDelay: 375
		MaxDistance: 15

QTNK:
	Buildable:
		Description: actor-qtnk.description-new
		BuildPaletteOrder: 440
	Valued:
		Cost: 2200
	Tooltip:
		Name: actor-qtnk.name-new
	Health:
		HP: 60000
	Mobile:
		Speed: 54
	Targetable:
		TargetTypes: GroundActor, MADTank, Vehicle, VehicleDisguise
	Passenger:
		Weight: 5
	-Crushable:
	ToggleConditionOnOrder@InvulnerabilityDisable:
		Condition: invulnerability
		OrderName: deploy
		RequiresCondition: invulnerability && !deployed
	WithColoredOverlay@IRONCURTAIN:
		RequiresCondition: invulnerability && !deployed
	DamageMultiplier@IRONCURTAIN:
		RequiresCondition: invulnerability && !deployed

STNK:
	Inherits@AUTOTARGET: ^AutoTargetAllAssaultMove
	Buildable:
		Description: actor-stnk.description-new
		BuildPaletteOrder: 350
	Valued:
		Cost: 950
	Mobile:
		Locomotor: tracked
	Armament:
		Weapon: Stinger
		LocalOffset: 192,-100,176, 192,100,176
		LocalYaw: 64, -64
		PauseOnCondition: reload-air
		ReloadingCondition: reload-ground
	Armament@SECONDARY:
		Weapon: StingerAA
		LocalOffset: 192,-100,176, 192,100,176
		LocalYaw: 64, -64
		PauseOnCondition: reload-ground
		ReloadingCondition: reload-air
	Cargo:
		MaxWeight: 3
		PassengerConditions:
			mech: selfrepair
			e7: tanyainside
			e8: volkovinside
	ChangesHealth@MECHANIC:
		RequiresCondition: selfrepair
		Step: 2000
		Delay: 81
		StartIfBelow: 100
		DamageCooldown: 150
	WithDecoration@COMMANDO:
		Image: pips
		Sequence: pip-skull
		Palette: effect
		Position: TopLeft
		ValidRelationships: Ally, Enemy, Neutral
		RequiresCondition: tanyainside
		BlinkInterval: 32
		BlinkPatterns:
			volkovinside: Off, On
	WithDecoration@COMMANDO2:
		Image: pips
		Sequence: pip-redstar
		Palette: effect
		Position: TopLeft
		ValidRelationships: Ally, Enemy, Neutral
		RequiresCondition: volkovinside
		BlinkInterval: 32
		BlinkPatterns:
			tanyainside: On, Off

RIG:
	Inherits: ^TrackedVehicle
	-WithFacingSpriteBody:
	Buildable:
		Queue: Vehicle
		BuildPaletteOrder: 430
		Prerequisites: fix, atek, ~vehicles.germany, ~techlevel.high
		Description: actor-rig.description
	Valued:
		Cost: 800
	Tooltip:
		Name: actor-rig.name
		RequiresCondition: !deployed
	Tooltip@deployed:
		Name: actor-rig.name-deployed
		RequiresCondition: deployed
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Health:
		HP: 32000
	Armor:
		Type: Heavy
	Mobile:
		Speed: 68
		PauseOnCondition: being-captured || deployed
		Locomotor: lighttracked
	RevealsShroud:
		MinRange: 4c0
		Range: 5c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 4c0
	ChangesHealth:
		Step: 100
		Delay: 25
		StartIfBelow: 50
		DamageCooldown: 500
	GrantConditionOnDeploy:
		PauseOnCondition: being-captured
		DeployedCondition: deployed
		UndeployedCondition: undeployed
		UndeployOnMove: true
		Facing: 384
		AllowedTerrainTypes: Clear, Road
		DeploySounds: placbldg.aud
		UndeploySounds: hydrod1.aud
		Voice: Action
	Repairable:
		RequireForceMoveCondition: !undeployed
	Passenger:
		RequireForceMoveCondition: !undeployed
	WithSpriteBody:
		Name: body2
		Sequence: idle-deployed
		RequiresCondition: deployed
	WithMakeAnimation:
	WithFacingSpriteBody:
		RequiresCondition: !deployed
	RepairsUnits:
		HpPerStep: 1000
		StartRepairingNotification: Repairing
		StartRepairingTextNotification: notification-repairing
		FinishRepairingNotification: UnitRepaired
		FinishRepairingTextNotification: notification-unit-repaired
		PlayerExperience: 0
		RequiresCondition: deployed
	ProximityExternalCondition@repair:
		Condition: machineshop
		Range: 3c0
		RequiresCondition: deployed
	WithRangeCircle:
		Color: FFFF0080
		Range: 3c0
		RequiresCondition: deployed
	SpawnActorOnDeath:
		Actor: RIG.Husk
	Targetable:
		TargetTypes: GroundActor, Vehicle, VehicleDisguise

FTNK:
	Inherits: ^TrackedVehicle
	Inherits@GAINSEXPERIENCE: ^GainsExperience
	Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMovePrioritizeDefenses
	Buildable:
		Queue: Vehicle
		BuildPaletteOrder: 340
		Prerequisites: fix, stek, ~vehicles.ukraine, ~techlevel.high
		Description: actor-ftnk.description
	Valued:
		Cost: 950
	Tooltip:
		Name: actor-ftnk.name
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Health:
		HP: 32000
	Armor:
		Type: Heavy
	Mobile:
		Speed: 72
	RevealsShroud:
		MinRange: 4c0
		Range: 5c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 4c0
	Armament@PRIMARY:
		Weapon: TankFlamer
		LocalOffset: 800,200,130
	Armament@SECONDARY:
		Name: secondary
		Weapon: TankFlamer
		LocalOffset: 800,-200,130
	AttackFrontal:
		Armaments: primary, secondary
		FacingTolerance: 0
	FireWarheadsOnDeath:
		Weapon: Napalm
		EmptyWeapon: Napalm
		Chance: 100
	ProducibleWithLevel:
		Prerequisites: vehicles.upgraded
	WithProductionIconOverlay:
		Types: Veterancy
		Prerequisites: vehicles.upgraded

HARV.flip:
	Inherits: HARV
	Buildable:
		Prerequisites: proc, ~techlevel.infonly, ~global-ercc-refinery
	WithDockingAnimation:
		DockSequence: dock-flip
		DockLoopSequence: dock-flip-loop
	RenderSprites:
		Image: harv
