CONVOY:
	Inherits: ^Building
	Inherits@shape: ^3x2Shape
	Selectable:
		Bounds: 72,48
	Tooltip:
		Name: Convoy builder. \nProduces Heavy Supply Truck (from defense tab)
	Building:
		Footprint: xxx xxx ===
		Dimensions: 3,3
		LocalCenterOffset: 0,-512,0
	Health:
		HP: 150000
	Armor:
		Type: Wood
	RevealsShroud:
		MinRange: 4c0
		Range: 5c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 4c0
	WithBuildingBib:
	WithProductionDoorOverlay:
		RequiresCondition: !build-incomplete
		Sequence: build-top
	RallyPoint:
	Exit@1:
		RequiresCondition: !being-captured
		SpawnOffset: 213,-128,0
		ExitCell: 1,2
	Production:
		Produces: Vehicle
	PrimaryBuilding:
		PrimaryCondition: primary
		SelectionNotification: PrimaryBuildingSelected
	ProductionBar:
		ProductionType: Defense
	Power:
		Amount: -10
	ProvidesPrerequisite@russia:
		Factions: russia
		Prerequisite: vehicles.russia
	ProvidesPrerequisite@buildingname:
	Targetable:
		TargetTypes: Ground, C4, DetonateAttack, Structure
	WithDecoration@primary:
		RequiresSelection: true
		Image: pips
		Sequence: tag-primary
		ReferencePoint: Top
		ZOffset: 256
		RequiresCondition: primary
	-ActorPreviewPlaceBuildingPreview:
	SequencePlaceBuildingPreview:
		Sequence: place
		SequencePalette: placebuilding
	RenderSprites:
		Image: weap

CONVOYTRUK:
	Inherits: ^Vehicle
	Inherits@selection: ^SelectableSupportUnit
	Buildable:
		Queue: Defense
		BuildAtProductionType: Vehicle
		BuildPaletteOrder: 410
		Prerequisites: ~vehicles.russia, ~techlevel.low
		Description: Transports cash over the Caucasus\n  to Georgia and Armenia. Unarmed.
		BuildDuration: 500
	Valued:
		Cost: 1000
	Tooltip:
		Name: Heavy Supply Truck
	Health:
		HP: 11000
	Armor:
		Type: Light
	Mobile:
		Speed: 128
	RevealsShroud:
		Range: 4c0
	DeliversCash:
		Payload: 1000
		PlayerExperience: 50
	SpawnActorOnDeath:
		Actor: moneycrate
	RenderSprites:
		Image: truk

TRUK:
	Inherits: ^Vehicle
	Inherits@selection: ^SelectableSupportUnit
	Buildable:
		Queue: Vehicle
		BuildPaletteOrder: 410
		Prerequisites: ~weap, ~techlevel.low
		Description: Transports cash to other players.\n  Unarmed
	Valued:
		Cost: 500
	Tooltip:
		Name: Supply Truck
	Health:
		HP: 11000
	Armor:
		Type: Light
	Mobile:
		Speed: 128
	RevealsShroud:
		Range: 4c0
	DeliversCash:
		Payload: 500
		PlayerExperience: 50
	SpawnActorOnDeath:
		Actor: moneycrate

HARV:
	Inherits: ^Vehicle
	Inherits@selection: ^SelectableEconomicUnit
	Buildable:
		Queue: Vehicle
		BuildPaletteOrder: 110
		Prerequisites: ~weap, proc, ~techlevel.infonly
		Description: Collects Ore and Gems for processing.\n  Unarmed
	Valued:
		Cost: 1100
	Tooltip:
		Name: Ore Truck
		GenericName: Harvester
	Selectable:
		DecorationBounds: 42,42
	SelectionDecorations:
	Harvester:
		Capacity: 20
		Resources: Ore,Gems
		BaleUnloadDelay: 1
		SearchFromProcRadius: 15
		SearchFromHarvesterRadius: 8
		EmptyCondition: no-ore
	Health:
		HP: 60000
	Armor:
		Type: Heavy
	Mobile:
		Speed: 85
		Locomotor: heavywheeled
	RevealsShroud:
		Range: 4c0
	WithHarvestAnimation:
	WithDockingAnimation:
	GpsDot:
		String: Harvester
	SpawnActorOnDeath:
		Actor: HARV.EmptyHusk
	HarvesterHuskModifier:
		FullHuskActor: HARV.FullHusk
		FullnessThreshold: 50
	SelfHealing:
		Step: 100
		Delay: 25
		HealIfBelow: 50
		DamageCooldown: 500
	Explodes:
		RequiresCondition: !no-ore
		Weapon: OreExplosion
	WithHarvesterSpriteBody:
		ImageByFullness: harvempty, harvhalf, harv
	-WithFacingSpriteBody:

MCV:
	Inherits: ^Vehicle
	Inherits@selection: ^SelectableSupportUnit
	Buildable:
		Queue: Vehicle
		BuildPaletteOrder: 210
		Prerequisites: ~weap, fix, ~techlevel.medium
		BuildDurationModifier: 50
		Description: Deploys into another Construction Yard.\n  Unarmed
	Valued:
		Cost: 2000
	Tooltip:
		Name: Mobile Construction Vehicle
	Selectable:
		DecorationBounds: 42,42
	SelectionDecorations:
	Health:
		HP: 60000
	Armor:
		Type: Light
	Mobile:
		Speed: 71
		Locomotor: heavywheeled
	RevealsShroud:
		Range: 4c0
	Transforms:
		IntoActor: fact
		Offset: -1,-1
		Facing: 96
		TransformSounds: placbldg.aud, build5.aud
		NoTransformNotification: BuildingCannotPlaceAudio
	MustBeDestroyed:
		RequiredForShortGame: true
	BaseBuilding:
	SpawnActorOnDeath:
		Actor: MCV.Husk
	TransferTimedExternalConditionOnTransform:
		Condition: invulnerability

MNLY:
	Inherits: ^TrackedVehicle
	Inherits@selection: ^SelectableSupportUnit
	Buildable:
		Queue: Vehicle
		BuildPaletteOrder: 310
		Prerequisites: ~weap, fix, ~techlevel.medium
		Description: Lays mines to destroy\nunwary enemy units.\nCan detect mines.\n  Unarmed
	Valued:
		Cost: 800
	Tooltip:
		Name: Minelayer
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Health:
		HP: 30000
	Armor:
		Type: Heavy
	Mobile:
		Speed: 128
	RevealsShroud:
		MinRange: 4c0
		Range: 5c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 4c0
	Minelayer:
		Mine: MINV
		TileUnknownName: build-valid
	MineImmune:
	AmmoPool:
		Ammo: 5
		RearmSound: minelay1.aud
	DetectCloaked:
		Range: 5c0
		CloakTypes: Mine
	RenderDetectionCircle:
	Explodes:
		Weapon: ATMine
	RenderSprites:
		Image: MNLY
	Rearmable:
		RearmActors: fix
	Targetable:
		TargetTypes: Ground, Vehicle, Mine

TTNK:
	Inherits: ^TrackedVehicle
	Inherits@GAINSEXPERIENCE: ^GainsExperience
	Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
	Buildable:
		Queue: Vehicle
		BuildPaletteOrder: 330
		Prerequisites: ~weap, tsla, stek, ~vehicles.russia, ~techlevel.high
		Description: Tank with mounted Tesla coil.\n  Strong vs Infantry, Vehicles, Buildings\n  Weak vs Aircraft
	Valued:
		Cost: 1350
	Tooltip:
		Name: Tesla Tank
		GenericName: Tank
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Health:
		HP: 40000
	Armor:
		Type: Light
	Mobile:
		Speed: 99
	RevealsShroud:
		MinRange: 6c0
		Range: 7c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 6c0
	Armament:
		Weapon: TTankZap
		LocalOffset: 0,0,213
	AttackTurreted:
	Turreted:
	WithIdleOverlay@SPINNER:
		Sequence: spinner
	SelectionDecorations:
	ProducibleWithLevel:
		Prerequisites: vehicles.upgraded
	Selectable:
		DecorationBounds: 30,30