MSLO:
	Inherits: ^Building
	Valued:
		Cost: 2500
	Tooltip:
		Name: Missile Silo
		Description: Provides an atomic bomb.\nRequires power to operate.\n  Special Ability: Atom Bomb\nMaximum 1 can be built.
	Buildable:
		Queue: Defense
		BuildPaletteOrder: 140
		Prerequisites: techcenter, ~techlevel.unrestricted
		BuildLimit: 1
	Building:
		Footprint: xx
		Dimensions: 2,1
	Health:
		HP: 1000
	Armor:
		Type: Wood
	RevealsShroud:
		Range: 5c0
	NukePower:
		Cursor: nuke
		Icon: abomb
		ChargeTime: 540
		Description: Atom Bomb
		LongDesc: Launches a devastating atomic bomb\nat a target location.
		BeginChargeSound: aprep1.aud
		EndChargeSound: aready1.aud
		SelectTargetSound: slcttgt1.aud
		InsufficientPowerSound: nopowr1.aud
		IncomingSound: alaunch1.aud
		LaunchSound:
		MissileWeapon: atomic
		SpawnOffset: 0,427,0
		DisplayTimer: True
		DisplayBeacon: True
		DisplayRadarPing: True
		BeaconPoster: atomicon
		CameraActor: camera
		FlashType: Nuke
	CanPowerDown:
	RequiresPower:
	DisabledOverlay:
	SupportPowerChargeBar:
	Power:
		Amount: -150
	MustBeDestroyed:
		RequiredForShortGame: false

GAP:
	Inherits: ^Building
	Valued:
		Cost: 800
	Tooltip:
		Name: Gap Generator
		Description: Obscures the enemy's view with shroud.\nRequires power to operate.
	Buildable:
		Queue: Defense
		BuildPaletteOrder: 110
		Prerequisites: atek, ~structures.allies, ~techlevel.unrestricted
	Building:
		Footprint: _ x
		Dimensions: 1,2
	Selectable:
		Bounds: 24,28,0,12
	SelectionDecorations:
		VisualBounds: 24,40,0,0
	RequiresPower:
	CanPowerDown:
	DisabledOverlay:
	RenderBuilding:
		PauseOnLowPower: yes
	Health:
		HP: 1000
	Armor:
		Type: Wood
	RevealsShroud:
		Range: 6c0
	Bib:
		HasMinibib: Yes
	CreatesShroud:
		Range: 6c0
	RenderShroudCircle:
	Power:
		Amount: -60
	MustBeDestroyed:
		RequiredForShortGame: false

SPEN:
	Inherits: ^Building
	InfiltrateForSupportPower:
		Proxy: powerproxy.sonarpulse
	Valued:
		Cost: 800
	Tooltip:
		Name: Sub Pen
		Description: Produces and repairs\nsubmarines and transports.
	Buildable:
		Queue: Building
		BuildPaletteOrder: 50
		Prerequisites: anypower, ~structures.soviet, ~techlevel.low
	TargetableBuilding:
		TargetTypes: Ground, Water, C4, DetonateAttack, SpyInfiltrate
	Building:
		Footprint: xxx xxx xxx
		Dimensions: 3,3
		Adjacent: 8
		TerrainTypes: Water
	-GivesBuildableArea:
	Health:
		HP: 1000
	Armor:
		Type: Light
	RevealsShroud:
		Range: 4c0
	Exit@1:
		SpawnOffset: 0,-213,0
		Facing: 96
		ExitCell: -1,2
	Exit@2:
		SpawnOffset: 0,-213,0
		Facing: 160
		ExitCell: 3,2
	Exit@3:
		SpawnOffset: 0,0,0
		Facing: 32
		ExitCell: 0,0
	Exit@4:
		SpawnOffset: 0,0,0
		Facing: 224
		ExitCell: 2,0
	Production:
		Produces: Ship, Submarine
	PrimaryBuilding:
	-EmitInfantryOnSell:
	RepairsUnits:
		FinishRepairingNotification: UnitRepaired
	RallyPoint:
	ProductionBar:
	Power:
		Amount: -30
	ProvidesPrerequisite@soviet:
		Factions: soviet, russia, ukraine
		Prerequisite: ships.soviet
	ProvidesPrerequisite@sovietvanilla:
		Factions: soviet
		Prerequisite: ships.sovietvanilla
	ProvidesPrerequisite@russia:
		Factions: russia
		Prerequisite: ships.russia
	ProvidesPrerequisite@ukraine:
		Factions: ukraine
		Prerequisite: ships.ukraine
	ProvidesPrerequisite@sovietstructure:
		RequiresPrerequisites: structures.soviet
		Prerequisite: ships.soviet
	ProvidesPrerequisite@sovietvanillastructure:
		RequiresPrerequisites: structures.sovietvanilla
		Prerequisite: ships.sovietvanilla
	ProvidesPrerequisite@russianstructure:
		RequiresPrerequisites: structures.russia
		Prerequisite: ships.russia
	ProvidesPrerequisite@ukrainianstructure:
		RequiresPrerequisites: structures.ukraine
		Prerequisite: ships.ukraine
	ProvidesPrerequisite@buildingname:
	EditorTilesetFilter:
		ExcludeTilesets: INTERIOR

SYRD:
	Inherits: ^Building
	InfiltrateForSupportPower:
		Proxy: powerproxy.sonarpulse
	Buildable:
		Queue: Building
		BuildPaletteOrder: 40
		Prerequisites: anypower, ~structures.allies, ~techlevel.low
	Valued:
		Cost: 1000
	Tooltip:
		Name: Shipyard
		Description: Produces and repairs ships\nand transports.
	TargetableBuilding:
		TargetTypes: Ground, Water, C4, DetonateAttack, SpyInfiltrate
	Building:
		Footprint: xxx xxx xxx
		Dimensions: 3,3
		Adjacent: 8
		TerrainTypes: Water
	-GivesBuildableArea:
	Health:
		HP: 1000
	Armor:
		Type: Light
	RevealsShroud:
		Range: 4c0
	Exit@1:
		SpawnOffset: -1024,1024,0
		Facing: 160
		ExitCell: 0,2
	Exit@2:
		SpawnOffset: 1024,1024,0
		Facing: 224
		ExitCell: 2,2
	Exit@3:
		SpawnOffset: -1024,-1024,0
		Facing: 96
		ExitCell: 0,0
	Exit@4:
		SpawnOffset: 1024,-1024,0
		Facing: 32
		ExitCell: 2,0
	Production:
		Produces: Ship, Boat
	PrimaryBuilding:
	-EmitInfantryOnSell:
	RepairsUnits:
		FinishRepairingNotification: UnitRepaired
	RallyPoint:
	ProductionBar:
	Power:
		Amount: -30
	ProvidesPrerequisite@allies:
		Factions: allies, england, france, germany
		Prerequisite: ships.allies
	ProvidesPrerequisite@alliesvanilla:
		Factions: allies
		Prerequisite: ships.alliesvanilla
	ProvidesPrerequisite@england:
		Factions: england
		Prerequisite: ships.england
	ProvidesPrerequisite@france:
		Factions: france
		Prerequisite: ships.france
	ProvidesPrerequisite@germany:
		Factions: germany
		Prerequisite: ships.germany
	ProvidesPrerequisite@alliedstructure:
		RequiresPrerequisites: structures.allies
		Prerequisite: ships.allies
	ProvidesPrerequisite@alliedvanillastructure:
		RequiresPrerequisites: structures.alliesvanilla
		Prerequisite: ships.alliesvanilla
	ProvidesPrerequisite@englishstructure:
		RequiresPrerequisites: structures.england
		Prerequisite: ships.england
	ProvidesPrerequisite@frenchstructure:
		RequiresPrerequisites: structures.france
		Prerequisite: ships.france
	ProvidesPrerequisite@germanstructure:
		RequiresPrerequisites: structures.germany
		Prerequisite: ships.germany
	ProvidesPrerequisite@buildingname:
	EditorTilesetFilter:
		ExcludeTilesets: INTERIOR

IRON:
	Inherits: ^Building
	Buildable:
		Queue: Defense
		BuildPaletteOrder: 130
		Prerequisites: stek, ~structures.soviet, ~techlevel.unrestricted
		BuildLimit: 1
	Valued:
		Cost: 1500
	Tooltip:
		Name: Iron Curtain
		Description: Makes a group of units invulnerable\nfor a short time.\nRequires power to operate.\n  Special Ability: Invulnerability\nMaximum 1 can be built.
	Building:
		Footprint: xx
		Dimensions: 2,1
	RequiresPower:
	CanPowerDown:
	DisabledOverlay:
	Selectable:
		Bounds: 48,28,0,2
	SelectionDecorations:
		VisualBounds: 50,50,0,-12
	Health:
		HP: 1000
	Armor:
		Type: Wood
	RevealsShroud:
		Range: 10c0
	Bib:
		HasMinibib: Yes
	GrantUpgradePower@IRONCURTAIN:
		Icon: invuln
		ChargeTime: 120
		Description: Invulnerability
		LongDesc: Makes a group of units invulnerable\nfor 20 seconds.
		Duration: 500
		SelectTargetSound: slcttgt1.aud
		InsufficientPowerSound: nopowr1.aud
		BeginChargeSound: ironchg1.aud
		EndChargeSound: ironrdy1.aud
		DisplayRadarPing: True
		Upgrades: invulnerability
	SupportPowerChargeBar:
	Power:
		Amount: -200
	MustBeDestroyed:
		RequiredForShortGame: false

PDOX:
	Inherits: ^Building
	Buildable:
		Queue: Defense
		BuildPaletteOrder: 120
		Prerequisites: atek, ~structures.allies, ~techlevel.unrestricted
		BuildLimit: 1
	Valued:
		Cost: 1500
	Tooltip:
		Name: Chronosphere
		Description: Teleports a group of units across the\nmap for a short time.\nRequires power to operate.\n  Special Ability: Chronoshift\nMaximum 1 can be built.
	Building:
		Footprint: xx xx
		Dimensions: 2,2
	RequiresPower:
	CanPowerDown:
	DisabledOverlay:
	Health:
		HP: 1000
	Armor:
		Type: Wood
	RevealsShroud:
		Range: 10c0
	Bib:
		HasMinibib: Yes
	ProvidesPrerequisite@germany:
		Factions: germany
		Prerequisite: pdox.germany
	ProvidesPrerequisite@germanstructure:
		RequiresPrerequisites: structures.germany
		Prerequisite: pdox.germany
	ChronoshiftPower@chronoshift:
		OrderName: Chronoshift
		Prerequisites: !pdox.germany
		Icon: chrono
		ChargeTime: 120
		Description: Chronoshift
		LongDesc: Teleports a group of units across\nthe map for 20 seconds.
		SelectTargetSound: slcttgt1.aud
		InsufficientPowerSound: nopowr1.aud
		BeginChargeSound: chrochr1.aud
		EndChargeSound: chrordy1.aud
		Duration: 20
		KillCargo: yes
		DisplayRadarPing: True
	ChronoshiftPower@advancedchronoshift:
		OrderName: AdvancedChronoshift
		Prerequisites: pdox.germany
		Icon: chrono
		ChargeTime: 120
		Description: Advanced Chronoshift
		LongDesc: Teleports a large group of units across\nthe map for 20 seconds.
		SelectTargetSound: slcttgt1.aud
		InsufficientPowerSound: nopowr1.aud
		BeginChargeSound: chrochr1.aud
		EndChargeSound: chrordy1.aud
		Duration: 20
		KillCargo: yes
		DisplayRadarPing: True
		Range: 2
	SupportPowerChargeBar:
	-AcceptsSupplies:
	Power:
		Amount: -200
	MustBeDestroyed:
		RequiredForShortGame: false
	ProvidesPrerequisite@buildingname:

TSLA:
	Inherits: ^Defense
	Buildable:
		Queue: Defense
		BuildPaletteOrder: 80
		Prerequisites: weap, ~structures.soviet, ~techlevel.medium
	Valued:
		Cost: 1200
	Tooltip:
		Name: Tesla Coil
		Description: Advanced base defense.\nRequires power to operate.\nCan detect cloaked units.\n  Strong vs Vehicles, Infantry\n  Weak vs Aircraft
	Building:
		Footprint: _ x
		Dimensions: 1,2
	RequiresPower:
	Selectable:
		Bounds: 24,24,0,16
	SelectionDecorations:
		VisualBounds: 24,36,0,4
	CanPowerDown:
	DisabledOverlay:
	-GivesBuildableArea:
	Health:
		HP: 400
	Armor:
		Type: Heavy
	RevealsShroud:
		Range: 8c0
	Bib:
		HasMinibib: Yes
	RenderBuildingCharge:
	Armament:
		Weapon: TeslaZap
		LocalOffset: 0,0,427
	AttackCharge:
		ChargeAudio: tslachg2.aud
		MaxCharges: 3
		ReloadTime: 120
	AutoTarget:
	-RenderBuilding:
	RenderRangeCircle:
	-AcceptsSupplies:
	DrawLineToTarget:
	Power:
		Amount: -100
	DetectCloaked:
		Range: 8
	ProvidesPrerequisite@buildingname:

AGUN:
	Inherits: ^Defense
	Buildable:
		Queue: Defense
		BuildPaletteOrder: 90
		Prerequisites: dome, ~structures.allies, ~techlevel.medium
	Valued:
		Cost: 800
	Tooltip:
		Name: AA Gun
		Description: Anti-Air base defense.\nRequires power to operate.\nCan detect cloaked units.\n  Strong vs Aircraft\n  Weak vs Ground units
	Building:
		Footprint: _ x
		Dimensions: 1,2
	Selectable:
		Bounds: 24,28,0,16
	SelectionDecorations:
		VisualBounds: 24,36,0,12
	RequiresPower:
	CanPowerDown:
	DisabledOverlay:
	-GivesBuildableArea:
	Health:
		HP: 400
	Armor:
		Type: Heavy
	RevealsShroud:
		Range: 6c0
	Bib:
		HasMinibib: Yes
	Turreted:
		ROT: 15
		InitialFacing: 224
	RenderBuildingTurreted:
	Armament:
		Weapon: ZSU-23
		LocalOffset: 432,150,-30, 432,-150,-30
		MuzzleSequence: muzzle
	AttackTurreted:
	WithMuzzleFlash:
	AutoTarget:
	-RenderBuilding:
	RenderRangeCircle:
		RangeCircleType: aa
	-AcceptsSupplies:
	DrawLineToTarget:
	Power:
		Amount: -50
	DetectCloaked:
		Range: 6

DOME:
	Inherits: ^Building
	Buildable:
		Queue: Building
		BuildPaletteOrder: 90
		Prerequisites: proc, ~techlevel.medium
	Valued:
		Cost: 1800
	Tooltip:
		Name: Radar Dome
		Description: Provides an overview\nof the battlefield.\nCan detect cloaked units.\n  Requires power to operate.
	Building:
		Footprint: xx xx
		Dimensions: 2,2
	TargetableBuilding:
		TargetTypes: Ground, C4, DetonateAttack, SpyInfiltrate
	RequiresPower:
	CanPowerDown:
	DisabledOverlay:
	Health:
		HP: 1000
	Armor:
		Type: Wood
	RevealsShroud:
		Range: 10c0
	Bib:
	ProvidesRadar:
	InfiltrateForExploration:
	DetectCloaked:
		Range: 10
	RenderDetectionCircle:
	Power:
		Amount: -40
	ProvidesPrerequisite@buildingname:

PBOX:
	Inherits: ^Defense
	Tooltip:
		Name: Pillbox
		Description: Static defense with a fireport for a\ngarrisoned soldier.\nCan detect cloaked units.\n  Strong vs Infantry, Light armor\n  Weak vs Tanks, Aircraft
	Building:
	Buildable:
		Queue: Defense
		BuildPaletteOrder: 40
		Prerequisites: tent, ~structures.allies, ~techlevel.low
	-GivesBuildableArea:
	Valued:
		Cost: 400
	Health:
		HP: 400
	Armor:
		Type: Heavy
	RevealsShroud:
		Range: 6c0
	Bib:
		HasMinibib: Yes
	-AcceptsSupplies:
	Turreted:
		ROT: 255
	BodyOrientation:
		QuantizedFacings: 8
	Cargo:
		Types: Infantry
		MaxWeight: 1
		PipCount: 1
		InitialUnits: e1
	-EmitInfantryOnSell:
	DrawLineToTarget:
	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: 86, 86, 86, 86, 86, 86
	RenderRangeCircle:
		FallbackRange: 6c0
	AutoTarget:
	Power:
		Amount: -15
	DetectCloaked:
		Range: 6

HBOX:
	Inherits: ^Defense
	Tooltip:
		Name: Camo Pillbox
		Description: Camouflaged static defense with a fireport\nfor a garrisoned soldier.\nCan detect cloaked units.\n  Strong vs Infantry, Light armor\n  Weak vs Tanks, Aircraft
	Building:
	Buildable:
		Queue: Defense
		BuildPaletteOrder: 50
		Prerequisites: tent, ~structures.allies, ~techlevel.medium
	-GivesBuildableArea:
	Valued:
		Cost: 600
	Health:
		HP: 600
	Armor:
		Type: Heavy
	RevealsShroud:
		Range: 6c0
	Cloak:
		InitialDelay: 125
		CloakDelay: 60
	-AcceptsSupplies:
	Turreted:
		ROT: 255
	BodyOrientation:
		QuantizedFacings: 8
	Cargo:
		Types: Infantry
		MaxWeight: 1
		PipCount: 1
		InitialUnits: e1
	-EmitInfantryOnSell:
	DrawLineToTarget:
	DetectCloaked:
		Range: 6
	RenderRangeCircle:
		FallbackRange: 6c0
	AutoTarget:
	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: 86, 86, 86, 86, 86, 86
	Power:
		Amount: -15
	-MustBeDestroyed:

GUN:
	Inherits: ^Defense
	Buildable:
		Queue: Defense
		BuildPaletteOrder: 70
		Prerequisites: tent, ~structures.allies, ~techlevel.medium
	Valued:
		Cost: 600
	Tooltip:
		Name: Turret
		Description: Anti-Armor base defense.\nCan detect cloaked units.\n  Strong vs Vehicles\n  Weak vs Infantry, Aircraft
	Building:
	-GivesBuildableArea:
	Health:
		HP: 400
	Armor:
		Type: Heavy
	RevealsShroud:
		Range: 7c0
	Bib:
		HasMinibib: Yes
	Turreted:
		ROT: 12
		InitialFacing: 50
	RenderBuildingTurreted:
	Armament:
		Weapon: TurretGun
		LocalOffset: 512,0,112
		MuzzleSequence: muzzle
	AttackTurreted:
	WithMuzzleFlash:
	AutoTarget:
	-RenderBuilding:
	RenderRangeCircle:
	-AcceptsSupplies:
	DrawLineToTarget:
	Power:
		Amount: -40
	DetectCloaked:
		Range: 7

FTUR:
	Inherits: ^Defense
	Buildable:
		Queue: Defense
		BuildPaletteOrder: 60
		Prerequisites: barr, ~structures.soviet, ~techlevel.low
	Valued:
		Cost: 600
	Tooltip:
		Name: Flame Tower
		Description: Anti-Infantry base defense.\nCan detect cloaked units.\n  Strong vs Infantry, Light armor\n  Weak vs Tanks, Aircraft
	Building:
	-GivesBuildableArea:
	Health:
		HP: 400
	Armor:
		Type: Heavy
	RevealsShroud:
		Range: 6c0
	Bib:
		HasMinibib: Yes
	Turreted:
		ROT: 255
		Offset: 0,0,112
	Armament:
		Weapon: FireballLauncher
		LocalOffset: 512,0,0
	AttackTurreted:
	BodyOrientation:
		QuantizedFacings: 8
	AutoTarget:
	RenderRangeCircle:
	-AcceptsSupplies:
	DrawLineToTarget:
	Power:
		Amount: -20
	DetectCloaked:
		Range: 6
	ProvidesPrerequisite@buildingname:

SAM:
	Inherits: ^Defense
	Buildable:
		Queue: Defense
		BuildPaletteOrder: 100
		Prerequisites: dome, ~structures.soviet, ~techlevel.medium
	Valued:
		Cost: 750
	Tooltip:
		Name: SAM Site
		Description: Anti-Air base defense.\nRequires power to operate.\nCan detect cloaked units.\n  Strong vs Aircraft\n  Weak vs Ground units
	Building:
		Footprint: xx
		Dimensions: 2,1
	RequiresPower:
	CanPowerDown:
	DisabledOverlay:
	-GivesBuildableArea:
	Health:
		HP: 400
	Armor:
		Type: Heavy
	RevealsShroud:
		Range: 5c0
	Bib:
		HasMinibib: Yes
	Turreted:
		ROT: 30
		InitialFacing: 0
	RenderBuildingTurreted:
	Armament:
		Weapon: Nike
		MuzzleSequence: muzzle
	AttackTurreted:
	WithMuzzleFlash:
	AutoTarget:
	-RenderBuilding:
	RenderRangeCircle:
		RangeCircleType: aa
	-AcceptsSupplies:
	DrawLineToTarget:
	Power:
		Amount: -40
	DetectCloaked:
		Range: 5

ATEK:
	Inherits: ^Building
	Buildable:
		Queue: Building
		BuildPaletteOrder: 140
		Prerequisites: weap, dome, ~structures.allies, ~techlevel.unrestricted
	Valued:
		Cost: 1500
	Tooltip:
		Name: Allied Tech Center
		Description: Provides Allied advanced technologies.\n  Special Ability: GPS Satellite
	ProvidesPrerequisite:
		Prerequisite: techcenter
	Building:
		Footprint: xx xx
		Dimensions: 2,2
	Health:
		HP: 400
	Armor:
		Type: Wood
	RevealsShroud:
		Range: 10c0
	Bib:
	GpsPower:
		Icon: gps
		OneShot: yes
		ChargeTime: 480
		Description: GPS Satellite
		LongDesc: Reveals map terrain and provides tactical\ninformation.
		RevealDelay: 15
		LaunchSound: satlnch1.aud
		DisplayTimer: True
	SupportPowerChargeBar:
	RequiresPower:
	DisabledOverlay:
	Power:
		Amount: -200
	ProvidesPrerequisite@buildingname:

WEAP:
	Inherits: ^Building
	Buildable:
		Queue: Building
		BuildPaletteOrder: 80
		Prerequisites: proc, ~techlevel.low
	Valued:
		Cost: 2000
	Tooltip:
		Name: War Factory
		Description: Produces vehicles.
	Building:
		Footprint: xxx xxx
		Dimensions: 3,2
	Health:
		HP: 1500
	Armor:
		Type: Wood
	RevealsShroud:
		Range: 4c0
	Bib:
	WithProductionDoorOverlay:
		Sequence: build-top
	RallyPoint:
	Exit@1:
		SpawnOffset: 213,-128,0
		ExitCell: 1,2
	Production:
		Produces: Vehicle
	ProvidesPrerequisite@allies:
		Factions: allies, england, france, germany
		Prerequisite: vehicles.allies
	ProvidesPrerequisite@alliesvanilla:
		Factions: allies
		Prerequisite: vehicles.alliesvanilla
	ProvidesPrerequisite@england:
		Factions: england
		Prerequisite: vehicles.england
	ProvidesPrerequisite@france:
		Factions: france
		Prerequisite: vehicles.france
	ProvidesPrerequisite@germany:
		Factions: germany
		Prerequisite: vehicles.germany
	ProvidesPrerequisite@soviet:
		Factions: soviet, russia, ukraine
		Prerequisite: vehicles.soviet
	ProvidesPrerequisite@sovietvanilla:
		Factions: soviet
		Prerequisite: vehicles.sovietvanilla
	ProvidesPrerequisite@russia:
		Factions: russia
		Prerequisite: vehicles.russia
	ProvidesPrerequisite@ukraine:
		Factions: ukraine
		Prerequisite: vehicles.ukraine
	ProvidesPrerequisite@alliedstructure:
		RequiresPrerequisites: structures.allies
		Prerequisite: vehicles.allies
	ProvidesPrerequisite@alliedvanillastructure:
		RequiresPrerequisites: structures.alliesvanilla
		Prerequisite: vehicles.alliesvanilla
	ProvidesPrerequisite@englishstructure:
		RequiresPrerequisites: structures.england
		Prerequisite: vehicles.england
	ProvidesPrerequisite@frenchstructure:
		RequiresPrerequisites: structures.france
		Prerequisite: vehicles.france
	ProvidesPrerequisite@germanstructure:
		RequiresPrerequisites: structures.germany
		Prerequisite: vehicles.germany
	ProvidesPrerequisite@sovietstructure:
		RequiresPrerequisites: structures.soviet
		Prerequisite: vehicles.soviet
	ProvidesPrerequisite@sovietvanillastructure:
		RequiresPrerequisites: structures.sovietvanilla
		Prerequisite: vehicles.sovietvanilla
	ProvidesPrerequisite@russianstructure:
		RequiresPrerequisites: structures.russia
		Prerequisite: vehicles.russia
	ProvidesPrerequisite@ukrainianstructure:
		RequiresPrerequisites: structures.ukraine
		Prerequisite: vehicles.ukraine
	PrimaryBuilding:
	ProductionBar:
	Power:
		Amount: -30
	ProvidesPrerequisite@buildingname:
	TargetableBuilding:
		TargetTypes: Ground, C4, DetonateAttack, Structure, SpyInfiltrate
	InfiltrateForSupportPower:
		Proxy: vehicles.upgraded

FACT:
	Inherits: ^Building
	Building:
		Footprint: xxx xxx xxx
		Dimensions: 3,3
	Buildable:
		Queue: Building
		BuildPaletteOrder: 1000
		Prerequisites: ~disabled
	ProvidesPrerequisite@allies:
		Factions: allies, england, france, germany
		Prerequisite: structures.allies
	ProvidesPrerequisite@alliesvanilla:
		Factions: allies
		Prerequisite: structures.alliesvanilla
	ProvidesPrerequisite@england:
		Factions: england
		Prerequisite: structures.england
	ProvidesPrerequisite@france:
		Factions: france
		Prerequisite: structures.france
	ProvidesPrerequisite@germany:
		Factions: germany
		Prerequisite: structures.germany
	ProvidesPrerequisite@soviet:
		Factions: soviet, russia, ukraine
		Prerequisite: structures.soviet
	ProvidesPrerequisite@sovietvanilla:
		Factions: soviet
		Prerequisite: structures.sovietvanilla
	ProvidesPrerequisite@russia:
		Factions: russia
		Prerequisite: structures.russia
	ProvidesPrerequisite@ukraine:
		Factions: ukraine
		Prerequisite: structures.ukraine
	Health:
		HP: 1500
	Armor:
		Type: Wood
	RevealsShroud:
		Range: 5c0
	Bib:
	Production:
		Produces: Building,Defense
	Valued:
		Cost: 2500
	Tooltip:
		Name: Construction Yard
		Description: Produces structures.
	CustomSellValue:
		Value: 2500
	BaseBuilding:
	Transforms:
		IntoActor: mcv
		Offset: 1,1
		Facing: 96
	ProductionBar@Building:
		ProductionType: Building
	ProductionBar@Defense:
		ProductionType: Defense
		Color: 138,138,138
	BaseProvider:
		Range: 16
	WithBuildingPlacedAnimation:
	Power:
		Amount: 0
	WithDeathAnimation:
		DeathSequence: dead
		UseDeathTypeSuffix: false
	WithBuildingExplosion:
		Delay: 1
	ProvidesPrerequisite@buildingname:

PROC:
	Inherits: ^Building
	Buildable:
		Queue: Building
		BuildPaletteOrder: 60
		Prerequisites: anypower, ~techlevel.infonly
	Valued:
		Cost: 1400
	Tooltip:
		Name: Ore Refinery
		Description: Refines Ore and Gems\ninto credits.
	Building:
		Footprint: _x_ xxx x==
		Dimensions: 3,3
	Selectable:
		Bounds: 72,50,0,12
	SelectionDecorations:
		VisualBounds: 72,70,0,-2
	TargetableBuilding:
		TargetTypes: Ground, C4, DetonateAttack, SpyInfiltrate
	Health:
		HP: 900
	Armor:
		Type: Wood
	RevealsShroud:
		Range: 6c0
	Bib:
	Refinery:
		DockAngle: 64
		DockOffset: 1,2
	StoresResources:
		PipCount: 17
		Capacity: 2000
	DrawLineToTarget:
	CustomSellValue:
		Value: 600
	FreeActor:
		Actor: HARV
		SpawnOffset: 1,2
		Facing: 64
	InfiltrateForCash:
		Percentage: 50
		Minimum: 500
		SoundToVictim: credit1.aud
	WithIdleOverlay@TOP:
		Sequence: idle-top
	Power:
		Amount: -30
	WithDeathAnimation:
		DeathSequence: dead
		UseDeathTypeSuffix: false
	WithBuildingExplosion:
		Delay: 1
	ProvidesPrerequisite@buildingname:

SILO:
	Inherits: ^Building
	Buildable:
		Queue: Defense
		BuildPaletteOrder: 35
		Prerequisites: proc, ~techlevel.infonly
	Valued:
		Cost: 150
	Tooltip:
		Name: Silo
		Description: Stores excess refined\nOre and Gems.
	Building:
	-GivesBuildableArea:
	Health:
		HP: 300
	Armor:
		Type: Wood
	RevealsShroud:
		Range: 4c0
	Bib:
		HasMinibib: Yes
	RenderBuildingSilo:
	StoresResources:
		PipCount: 5
		Capacity: 1500
	-RenderBuilding:
	-EmitInfantryOnSell:
	Power:
		Amount: -10

HPAD:
	Inherits: ^Building
	Buildable:
		Queue: Building
		BuildPaletteOrder: 120
		Prerequisites: dome, ~structures.allies, ~techlevel.medium
	Valued:
		Cost: 500
	Tooltip:
		Name: Helipad
		Description: Produces and reloads\nhelicopters.
	Building:
		Footprint: xx xx
		Dimensions: 2,2
	Health:
		HP: 800
	Armor:
		Type: Wood
	RevealsShroud:
		Range: 5c0
	Bib:
	Exit@1:
		SpawnOffset: 0,-256,0
		ExitCell: 0,0
		MoveIntoWorld: false
	RallyPoint:
	Production:
		Produces: Aircraft, Helicopter
	Reservable:
	ProductionBar:
	PrimaryBuilding:
	Power:
		Amount: -10
	ProvidesPrerequisite@allies:
		Factions: allies, england, france, germany
		Prerequisite: aircraft.allies
	ProvidesPrerequisite@alliesvanilla:
		Factions: allies
		Prerequisite: aircraft.alliesvanilla
	ProvidesPrerequisite@england:
		Factions: england
		Prerequisite: aircraft.england
	ProvidesPrerequisite@france:
		Factions: france
		Prerequisite: aircraft.france
	ProvidesPrerequisite@germany:
		Factions: germany
		Prerequisite: aircraft.germany
	ProvidesPrerequisite@alliedstructure:
		RequiresPrerequisites: structures.allies
		Prerequisite: aircraft.allies
	ProvidesPrerequisite@alliedvanillastructure:
		RequiresPrerequisites: structures.alliesvanilla
		Prerequisite: aircraft.alliesvanilla
	ProvidesPrerequisite@englishstructure:
		RequiresPrerequisites: structures.england
		Prerequisite: aircraft.england
	ProvidesPrerequisite@frenchstructure:
		RequiresPrerequisites: structures.france
		Prerequisite: aircraft.france
	ProvidesPrerequisite@germanstructure:
		RequiresPrerequisites: structures.germany
		Prerequisite: aircraft.germany
	ProvidesPrerequisite@buildingname:
	TargetableBuilding:
		TargetTypes: Ground, C4, DetonateAttack, Structure, SpyInfiltrate
	InfiltrateForSupportPower:
		Proxy: aircraft.upgraded

AFLD:
	Inherits: ^Building
	Buildable:
		Queue: Building
		BuildPaletteOrder: 130
		Prerequisites: dome, ~structures.soviet, ~techlevel.medium
	Valued:
		Cost: 500
	Tooltip:
		Name: Airfield
		Description: Produces and reloads aircraft.\n  Special Ability: Paratroopers\n  Special Ability: Spy Plane
	Building:
		Footprint: xxx xxx
		Dimensions: 3,2
	Health:
		HP: 1000
	Armor:
		Type: Wood
	RevealsShroud:
		Range: 7c0
	Exit@1:
		SpawnOffset: 0,170,0
		ExitCell: 1,1
		Facing: 192
		MoveIntoWorld: false
	RallyPoint:
	Production:
		Produces: Aircraft, Plane
	Reservable:
	ProvidesPrerequisite@soviet:
		Factions: soviet, russia, ukraine
		Prerequisite: aircraft.soviet
	ProvidesPrerequisite@sovietvanilla:
		Factions: soviet
		Prerequisite: aircraft.sovietvanilla
	ProvidesPrerequisite@russia:
		Factions: russia
		Prerequisite: aircraft.russia
	ProvidesPrerequisite@ukraine:
		Factions: ukraine
		Prerequisite: aircraft.ukraine
	ProvidesPrerequisite@sovietstructure:
		RequiresPrerequisites: structures.soviet
		Prerequisite: aircraft.soviet
	ProvidesPrerequisite@sovietvanillastructure:
		RequiresPrerequisites: structures.sovietvanilla
		Prerequisite: aircraft.sovietvanilla
	ProvidesPrerequisite@russianstructure:
		RequiresPrerequisites: structures.russia
		Prerequisite: aircraft.russia
	ProvidesPrerequisite@ukrainianstructure:
		RequiresPrerequisites: structures.ukraine
		Prerequisite: aircraft.ukraine
	AirstrikePower@spyplane:
		OrderName: SovietSpyPlane
		Prerequisites: aircraft.soviet
		Icon: spyplane
		ChargeTime: 180
		Description: Spy Plane
		LongDesc: Reveals an area of the map\nand cloaked enemy units.
		SelectTargetSound: slcttgt1.aud
		EndChargeSound: spypln1.aud
		CameraActor: camera
		CameraRemoveDelay: 150
		UnitType: u2
		QuantizedFacings: 8
		DisplayBeacon: true
		BeaconPoster: camicon
	ParatroopersPower@paratroopers:
		OrderName: SovietParatroopers
		Prerequisites: aircraft.soviet
		Icon: paratroopers
		ChargeTime: 360
		Description: Paratroopers
		LongDesc: A Badger drops a squad of infantry\nanywhere on the map.
		DropItems: E1,E1,E1,E3,E3
		SelectTargetSound: slcttgt1.aud
		AllowImpassableCells: false
		QuantizedFacings: 8
		CameraActor: camera.paradrop
		DisplayBeacon: true
		BeaconPoster: pinficon
	AirstrikePower@parabombs:
		OrderName: UkraineParabombs
		Prerequisites: aircraft.ukraine
		Icon: parabombs
		ChargeTime: 360
		Description: Parabombs
		LongDesc: A squad of Badgers drops parachuted\nbombs on your target.
		SelectTargetSound: slcttgt1.aud
		CameraActor: camera
		CameraRemoveDelay: 150
		UnitType: badr.bomber
		QuantizedFacings: 8
		DisplayBeacon: true
		BeaconPoster: pbmbicon
		SquadSize: 3
		SquadOffset: 1792,1792,0
	ProductionBar:
	SupportPowerChargeBar:
	PrimaryBuilding:
	Power:
		Amount: -20
	ProvidesPrerequisite@buildingname:
	TargetableBuilding:
		TargetTypes: Ground, C4, DetonateAttack, Structure, SpyInfiltrate
	InfiltrateForSupportPower:
		Proxy: aircraft.upgraded

POWR:
	Inherits: ^Building
	Buildable:
		Queue: Building
		BuildPaletteOrder: 10
		Prerequisites: ~techlevel.infonly
	Valued:
		Cost: 300
	Tooltip:
		Name: Power Plant
		Description: Provides power for other structures.
	ProvidesPrerequisite:
		Prerequisite: anypower
	Building:
		Footprint: xx xx
		Dimensions: 2,2
	Health:
		HP: 400
	Armor:
		Type: Wood
	RevealsShroud:
		Range: 4c0
	Bib:
	Power:
		Amount: 100
	InfiltrateForPowerOutage:
	AffectedByPowerOutage:
	TargetableBuilding:
		TargetTypes: Ground, C4, DetonateAttack, SpyInfiltrate
	ScalePowerWithHealth:
	DisabledOverlay:
	WithDeathAnimation:
		DeathSequence: dead
		UseDeathTypeSuffix: false
	WithBuildingExplosion:
		Delay: 1

APWR:
	Inherits: ^Building
	Buildable:
		Queue: Building
		BuildPaletteOrder: 110
		Prerequisites: dome, ~techlevel.medium
	Valued:
		Cost: 500
	Tooltip:
		Name: Advanced Power Plant
		Description: Provides double the power of a\nstandard Power Plant.
	ProvidesPrerequisite:
		Prerequisite: anypower
	Building:
		Footprint: ___ xxx xxx
		Dimensions: 3,3
	Selectable:
		Bounds: 72,48,0,12
	SelectionDecorations:
		VisualBounds: 72,64,0,-2
	Health:
		HP: 700
	Armor:
		Type: Wood
	RevealsShroud:
		Range: 4c0
	Bib:
	Power:
		Amount: 200
	InfiltrateForPowerOutage:
	AffectedByPowerOutage:
	TargetableBuilding:
		TargetTypes: Ground, C4, DetonateAttack, SpyInfiltrate
	ScalePowerWithHealth:
	DisabledOverlay:
	WithDeathAnimation:
		DeathSequence: dead
		UseDeathTypeSuffix: false
	WithBuildingExplosion:
		Delay: 1

STEK:
	Inherits: ^Building
	Buildable:
		Queue: Building
		BuildPaletteOrder: 150
		Prerequisites: weap, dome, ~structures.soviet, ~techlevel.unrestricted
	Valued:
		Cost: 1500
	Tooltip:
		Name: Soviet Tech Center
		Description: Provides Soviet advanced technologies.
	ProvidesPrerequisite:
		Prerequisite: techcenter
	Building:
		Footprint: xxx xxx
		Dimensions: 3,2
	Health:
		HP: 600
	Armor:
		Type: Wood
	RevealsShroud:
		Range: 4c0
	Bib:
	Power:
		Amount: -100
	ProvidesPrerequisite@buildingname:

BARR:
	Inherits: ^Building
	Buildable:
		Queue: Building
		BuildPaletteOrder: 30
		Prerequisites: anypower, ~structures.soviet, ~techlevel.infonly
	Valued:
		Cost: 400
	Tooltip:
		Name: Soviet Barracks
		Description: Trains infantry.
	Building:
		Footprint: xx xx
		Dimensions: 2,2
	Health:
		HP: 800
	Armor:
		Type: Wood
	RevealsShroud:
		Range: 5c0
	Bib:
	RallyPoint:
	Exit@1:
		SpawnOffset: -170,810,0
		ExitCell: 0,2
	Exit@2:
		SpawnOffset: -725,640,0
		ExitCell: 0,2
	Production:
		Produces: Infantry, Soldier
	PrimaryBuilding:
	ProductionBar:
	ProvidesPrerequisite:
		Prerequisite: barracks
	ProvidesPrerequisite@soviet:
		Factions: soviet, russia, ukraine
		Prerequisite: infantry.soviet
	ProvidesPrerequisite@sovietvanilla:
		Factions: soviet
		Prerequisite: infantry.sovietvanilla
	ProvidesPrerequisite@russia:
		Factions: russia
		Prerequisite: infantry.russia
	ProvidesPrerequisite@ukraine:
		Factions: ukraine
		Prerequisite: infantry.ukraine
	ProvidesPrerequisite@sovietstructure:
		RequiresPrerequisites: structures.soviet
		Prerequisite: infantry.soviet
	ProvidesPrerequisite@sovietvanillastructure:
		RequiresPrerequisites: structures.sovietvanilla
		Prerequisite: infantry.sovietvanilla
	ProvidesPrerequisite@russianstructure:
		RequiresPrerequisites: structures.russia
		Prerequisite: infantry.russia
	ProvidesPrerequisite@ukrainianstructure:
		RequiresPrerequisites: structures.ukraine
		Prerequisite: infantry.ukraine
	Power:
		Amount: -20
	ProvidesPrerequisite@buildingname:
	InfiltrateForSupportPower:
		Proxy: barracks.upgraded
	TargetableBuilding:
		TargetTypes: Ground, C4, DetonateAttack, Structure, SpyInfiltrate

KENN:
	Inherits: ^Building
	Buildable:
		Queue: Building
		BuildPaletteOrder: 25
		Prerequisites: anypower, ~structures.soviet, ~techlevel.infonly
	Valued:
		Cost: 100
	Tooltip:
		Name: Kennel
		Description: Trains Attack Dogs.
	Building:
	-GivesBuildableArea:
	Health:
		HP: 300
	Armor:
		Type: Wood
	RevealsShroud:
		Range: 4c0
	Bib:
		HasMinibib: True
	RallyPoint:
		RallyPoint: 0,2
	Exit:
		SpawnOffset: -280,400,0
		ExitCell: 0,1
	Production:
		Produces: Infantry, Dog
	PrimaryBuilding:
	ProductionBar:
	-EmitInfantryOnSell:
	Power:
		Amount: -10
	ProvidesPrerequisite@buildingname:

TENT:
	Inherits: ^Building
	Buildable:
		Queue: Building
		BuildPaletteOrder: 20
		Prerequisites: anypower, ~structures.allies, ~techlevel.infonly
	Valued:
		Cost: 400
	Tooltip:
		Name: Allied Barracks
		Description: Trains infantry.
	Building:
		Footprint: xx xx
		Dimensions: 2,2
	Health:
		HP: 800
	Armor:
		Type: Wood
	RevealsShroud:
		Range: 5c0
	Bib:
	RallyPoint:
	Exit@1:
		SpawnOffset: -42,810,0
		ExitCell: 0,2
	Exit@2:
		SpawnOffset: -725,640,0
		ExitCell: 0,2
	Production:
		Produces: Infantry, Soldier
	PrimaryBuilding:
	ProductionBar:
	ProvidesPrerequisite@barracks:
		Prerequisite: barracks
	ProvidesPrerequisite@allies:
		Factions: allies, england, france, germany
		Prerequisite: infantry.allies
	ProvidesPrerequisite@alliesvanilla:
		Factions: allies
		Prerequisite: infantry.alliesvanilla
	ProvidesPrerequisite@england:
		Factions: england
		Prerequisite: infantry.england
	ProvidesPrerequisite@france:
		Factions: france
		Prerequisite: infantry.france
	ProvidesPrerequisite@germany:
		Factions: germany
		Prerequisite: infantry.germany
	ProvidesPrerequisite@alliedstructure:
		RequiresPrerequisites: structures.allies
		Prerequisite: infantry.allies
	ProvidesPrerequisite@alliedvanillastructure:
		RequiresPrerequisites: structures.alliesvanilla
		Prerequisite: infantry.alliesvanilla
	ProvidesPrerequisite@englishstructure:
		RequiresPrerequisites: structures.england
		Prerequisite: infantry.england
	ProvidesPrerequisite@frenchstructure:
		RequiresPrerequisites: structures.france
		Prerequisite: infantry.france
	ProvidesPrerequisite@germanstructure:
		RequiresPrerequisites: structures.germany
		Prerequisite: infantry.germany
	Power:
		Amount: -20
	ProvidesPrerequisite@buildingname:
	InfiltrateForSupportPower:
		Proxy: barracks.upgraded
	TargetableBuilding:
		TargetTypes: Ground, C4, DetonateAttack, Structure, SpyInfiltrate

FIX:
	Inherits: ^Building
	Buildable:
		Queue: Building
		BuildPaletteOrder: 100
		Prerequisites: weap, ~techlevel.medium
	Valued:
		Cost: 1200
	Tooltip:
		Name: Service Depot
		Description: Repairs vehicles for credits.
	Building:
		Footprint: _x_ xxx _x_
		Dimensions: 3,3
	Selectable:
		Bounds: 68,34,0,3
	SelectionDecorations:
		VisualBounds: 72,48
	Health:
		HP: 800
	Armor:
		Type: Wood
	RevealsShroud:
		Range: 5c0
	Bib:
		HasMinibib: Yes
	Reservable:
	RallyPoint:
	RepairsUnits:
		Interval: 10
		FinishRepairingNotification: UnitRepaired
	WithRepairAnimation:
	Power:
		Amount: -30
	ProvidesPrerequisite@buildingname:

SBAG:
	Inherits: ^Wall
	Buildable:
		Queue: Defense
		BuildPaletteOrder: 10
		Prerequisites: fact, ~structures.allies, ~techlevel.low
	Valued:
		Cost: 25
	CustomSellValue:
		Value: 0
	Tooltip:
		Name: Sandbag Wall
		Description: Stops infantry and blocks enemy fire.\nCan be crushed by tanks.
	Health:
		HP: 300
	Armor:
		Type: Wood
	LineBuild:
		Range: 8
		NodeTypes: sandbag
	LineBuildNode:
		Types: sandbag
	RenderBuildingWall:
		Type: sandbag

FENC:
	Inherits: ^Wall
	Buildable:
		Queue: Defense
		BuildPaletteOrder: 20
		Prerequisites: fact, ~structures.soviet, ~techlevel.low
	Valued:
		Cost: 25
	CustomSellValue:
		Value: 0
	Tooltip:
		Name: Wire Fence
		Description: Stops infantry and blocks enemy fire.\nCan be crushed by tanks.
	Health:
		HP: 300
	Armor:
		Type: Wood
	LineBuild:
		Range: 8
		NodeTypes: fence
	LineBuildNode:
		Types: fence
	RenderBuildingWall:
		Type: fence

BRIK:
	Inherits: ^Wall
	Buildable:
		Queue: Defense
		BuildPaletteOrder: 30
		Prerequisites: fact, ~techlevel.medium
	Valued:
		Cost: 100
	CustomSellValue:
		Value: 0
	Tooltip:
		Name: Concrete Wall
		Description: Stop units and blocks enemy fire.
	SoundOnDamageTransition:
		DamagedSounds: crmble2.aud
		DestroyedSounds: kaboom30.aud
	Health:
		HP: 500
	Armor:
		Type: Concrete
	Crushable:
		CrushClasses: heavywall
	LineBuild:
		Range: 8
		NodeTypes: concrete
	LineBuildNode:
		Types: concrete
	RenderBuildingWall:
		Type: concrete

CYCL:
	Inherits: ^Wall
	Tooltip:
		Name: Chain-Link Barrier
	Health:
		HP: 100
	Armor:
		Type: Wood
	LineBuild:
		NodeTypes: chain
	LineBuildNode:
		Types: chain
	RenderBuildingWall:
		Type: chain

BARB:
	Inherits: ^Wall
	Tooltip:
		Name: Barbed-Wire Fence
	Health:
		HP: 100
	Armor:
		Type: Wood
	LineBuild:
		NodeTypes: barbwire
	LineBuildNode:
		Types: barbwire
	RenderBuildingWall:
		Type: barbwire

WOOD:
	Inherits: ^Wall
	Tooltip:
		Name: Wooden Fence
	Health:
		HP: 100
	Armor:
		Type: Wood
	LineBuild:
		NodeTypes: woodfence
	LineBuildNode:
		Types: woodfence
	RenderBuildingWall:
		Type: woodfence

BARRACKS:
	AlwaysVisible:
	Tooltip:
		Name: Infantry Production
		Description: Infantry Production

TECHCENTER:
	AlwaysVisible:
	Tooltip:
		Name: Tech Center
		Description: Tech Center

ANYPOWER:
	AlwaysVisible:
	Tooltip:
		Name: Power Plant
		Description: Power Plant

