MSLO:
	-AcceptsDeliveredCash:
	NukePower:
		ChargeInterval: 11250
		SupportPowerPaletteOrder: 10
		LaunchSound: nukemisl.aud
	Power:
		Amount: -200
	InfiltrateForSupportPowerReset:
		PlayerExperience: 0
	Cloak:
		InitialDelay: 125
		CloakDelay: 200
		UncloakOn: Damage, Infiltrate, Demolish, SupportPower
		PauseOnCondition: cloak-force-disabled || build-incomplete || disabled
	GrantConditionOnDamageState@UNCLOAK:
		Condition: cloak-force-disabled
		ValidDamageStates: Critical
	ProductionCostMultiplier@russia:
		Multiplier: 80
		Prerequisites: player.russia
	GivesExperienceMultiplier@russia:
		Modifier: 120
		RequiresCondition: owner.russia
	GrantConditionOnPrerequisite@russia:
		Condition: owner.russia
		Prerequisites: player.russia

GAP:
	AcceptsDeliveredCash:
	-AcceptsDeliveredCash:
	-RenderShroudCircle:
	Buildable:
		Description: actor-gap.description-new
	Valued:
		Cost: 1000
	CreatesShroud@normal:
		Range: 7c0
		RequiresCondition: !disabled && !charged
	CreatesShroud@charged:
		Range: 10c0
		RequiresCondition: !disabled && charged
	ProximityExternalCondition@normal:
		Condition: gapdebuff
		Range: 7c0
		ValidRelationships: Neutral, Enemy
		RequiresCondition: !charged
	ProximityExternalCondition@charged:
		Condition: gapdebuff
		Range: 10c0
		ValidRelationships: Neutral, Enemy
		RequiresCondition: charged
	WithRangeCircle@normal:
		Color: 008B8B
		Width: 1
		BorderColor: 000000
		BorderWidth: 3
		Range: 7c0
		RequiresCondition: !charged
	WithRangeCircle@charged:
		Color: 008B8B
		Width: 1
		BorderColor: 000000
		BorderWidth: 3
		Range: 10c0
		RequiresCondition: charged
	Power:
		Amount: -60
	PowerMultiplier:
		Modifier: 168
		RequiresCondition: charged
	GrantChargedConditionOnToggle:
		InitialCharge: 0
		ActivatedCondition: charged
		CanCancelCondition: false
		ChargeDuration: 1500
		ChargeThreshhold: -1
		ConditionDuration: 1500
		PauseOnCondition: disabled

SPEN:
	-InfiltrateForSupportPower:
	-AcceptsDeliveredCash:
	Buildable:
		BuildPaletteOrder: 50
		Prerequisites: anypower, proc, ~structures.soviet, ~techlevel.low
		Description: actor-spen.description-new
	Targetable:
		TargetTypes: WaterActor, Structure, C4, DetonateAttack, WaterStructure
	RepairsUnits:
		PlayerExperience: 0
	SpawnActorPower@SonarPulse:
		PauseOnCondition: lowpower
		OrderName: SonarPulse
		Icon: sonar
		Name: actor-powerproxy-sonarpulse.name
		Description: actor-powerproxy-sonarpulse.description-new
		ChargeInterval: 2250
		EndChargeSpeechNotification: SonarPulseReady
		SelectTargetSpeechNotification: SelectTarget
		EndChargeTextNotification: notification-sonar-pulse-ready
		SelectTargetTextNotification: notification-select-target
		Actor: sonar2
		Terrain: Water
		AllowUnderShroud: false
		LifeTime: 250
		DeploySound: sonpulse.aud
		EffectImage: moveflsh
		EffectPalette: moveflash
		SupportPowerPaletteOrder: 100
		EffectSequence: idle
		BlockedCursor: move-blocked
	GrantConditionOnPowerState@LOWPOWER:
		Condition: lowpower
		ValidPowerStates: Low, Critical
	WithDeathAnimation:
		DeathSequence: dead
		UseDeathTypeSuffix: false

SYRD:
	-InfiltrateForSupportPower:
	-AcceptsDeliveredCash:
	Buildable:
		BuildPaletteOrder: 40
		Prerequisites: anypower, proc, ~structures.allies, ~techlevel.low
		Description: actor-syrd.description-new
	Targetable:
		TargetTypes: WaterActor, Structure, C4, DetonateAttack, WaterStructure
	RepairsUnits:
		PlayerExperience: 0
	SpawnActorPower@SonarPulse:
		PauseOnCondition: lowpower
		OrderName: SonarPulse
		Icon: sonar
		Name: actor-powerproxy-sonarpulse.name
		Description: actor-powerproxy-sonarpulse.description-new
		ChargeInterval: 2250
		EndChargeSpeechNotification: SonarPulseReady
		SelectTargetSpeechNotification: SelectTarget
		EndChargeTextNotification: notification-sonar-pulse-ready
		SelectTargetTextNotification: notification-select-target
		Actor: sonar2
		Terrain: Water
		AllowUnderShroud: false
		LifeTime: 250
		DeploySound: sonpulse.aud
		EffectImage: moveflsh
		EffectPalette: moveflash
		SupportPowerPaletteOrder: 100
		EffectSequence: idle
		BlockedCursor: move-blocked
	GrantConditionOnPowerState@LOWPOWER:
		Condition: lowpower
		ValidPowerStates: Low, Critical
	WithDeathAnimation:
		DeathSequence: dead
		UseDeathTypeSuffix: false

IRON:
	-AcceptsDeliveredCash:
	Valued:
		Cost: 1500
	GrantExternalConditionPower@IRONCURTAIN:
		OrderName: Invulnerability
		ChargeInterval: 4500
		Duration: 500
		SupportPowerPaletteOrder: 40
	Power:
		Amount: -150
	InfiltrateForSupportPowerReset:
		PlayerExperience: 0

PDOX:
	-AcceptsDeliveredCash:
	Valued:
		Cost: 1500
	ChronoshiftPower@chronoshift:
		ChargeInterval: 4500
		Duration: 750
		Description: actor-pdox.chronoshiftpower-chronoshift-description-new
		SupportPowerPaletteOrder: 20
	ChronoshiftPower@advancedchronoshift:
		ChargeInterval: 4500
		Duration: 750
		Description: actor-pdox.chronoshiftpower-advancedchronoshift-description-new
		SupportPowerPaletteOrder: 20
	PowerMultiplier:
		Modifier: 75
		RequiresCondition: !pdox-germany
	GrantConditionOnPrerequisite@germanstructure:
		Prerequisites: pdox.germany
		Condition: pdox-germany
	InfiltrateForSupportPowerReset:
		PlayerExperience: 0

TSLA:
	Inherits@MRJDISABLE: ^WeaponJammable
	Buildable:
		Prerequisites: dome, ~structures.soviet, ~techlevel.medium
	Armament:
		Weapon: TeslaZap
		LocalOffset: 0,0,896
		RequiresCondition: (!lowpower && !charged && !supercharged) || (lowpower && charged == 1 && !supercharged)
	Armament@1:
		Weapon: TeslaZapBoost1
		LocalOffset: 0,0,896
		RequiresCondition: (!lowpower && charged == 1 && !supercharged) || (lowpower && charged == 2 && !supercharged)
	Armament@2:
		Weapon: TeslaZapBoost2
		LocalOffset: 0,0,896
		RequiresCondition: (!lowpower && charged == 2 && !supercharged) || (lowpower && charged >= 3 && !supercharged)
	Armament@3:
		Weapon: TeslaZapBoost3
		LocalOffset: 0,0,896
		RequiresCondition: (!lowpower && charged >= 3) || (!lowpower && supercharged)
	AttackTesla:
		PauseOnCondition: disabled || build-incomplete || jamdebuff
	DetectCloaked:
		RequiresCondition: !disabled && !jamdebuff
	ExternalCondition@CHARGED:
		Condition: charged
		SourceCap: 1
		TotalCap: 3
	Targetable@CHARGED:
		TargetTypes: TeslaCharge
		RequiresCondition: !powerdown && !(charged == 3) && !supercharged
	GrantConditionOnPowerState@LOWPOWER:
		RequiresCondition: !charged && !supercharged
	TimedConditionBar@CHARGED:
		Condition: charged
		Color: f4f442
	WithDecoration@CHARGED:
		Image: poweroff
		Sequence: offline
		Palette: chrome
		Position: Center
		Offsets:
			repairing: 10, 0
		ValidRelationships: Ally
		RequiresCondition: charged || supercharged
		BlinkInterval: 64
		RequiresSelection: true
	ToggleConditionOnOrder:
		DisabledSound: EnablePower
		EnabledSound: DisablePower
		Condition: powerdown
		OrderName: PowerDown
		PauseOnCondition: charged2 || supercharged
	GrantCondition@CHARGED:
		Condition: charged2
		RequiresCondition: charged
	Targetable@SUPERCHARGED:
		TargetTypes: SuperCharge
		RequiresCondition: !powerdown
	ExternalCondition@supercharged:
		Condition: supercharged
	TimedConditionBar@supercharged:
		Condition: supercharged
		Color: f4f442
	GrantConditionOnDamageState@CRITICAL:
		Condition: damaged-critical
		ValidDamageStates: Critical
	ChangesHealth@supercharged:
		Delay: 24
		StartIfBelow: 101
		DamageCooldown: 0
		RequiresCondition: supercharged && !damaged-critical && !invulnerability
		PercentageStep: -3
		Step: -1

AGUN:
	Inherits@MRJDISABLE: ^WeaponJammable
	Buildable:
		Description: actor-agun.description-new
	AttackTurreted:
		PauseOnCondition: disabled || build-incomplete || jamdebuff
	WithTurretAttackAnimation:
		Sequence: recoil
	ProductionCostMultiplier@germany:
		Multiplier: 75
		Prerequisites: player.germany
	GivesExperienceMultiplier@germany:
		Modifier: 125
		RequiresCondition: owner.germany
	GrantConditionOnPrerequisite@germany:
		Condition: owner.germany
		Prerequisites: player.germany

DOME:
	-AcceptsDeliveredCash:
	Buildable:
		BuildPaletteOrder: 80
		Prerequisites: anypower, proc, ~techlevel.medium, ~!structures.england
	Valued:
		Cost: 1200
	Building:
		Footprint: xx xx
		Dimensions: 2,2
		LocalCenterOffset: 0,0,0
	WithDeathAnimation:
		DeathSequence: dead
		UseDeathTypeSuffix: false
	WithBuildingBib:
		HasMinibib: true
	ProvidesPrerequisite@buildingname:
		Prerequisite: dome
	InfiltrateForExploration:
		PlayerExperience: 0
	ProvidesPrerequisite@RadarDomeUplink:
		Prerequisite: dome-uplink
		RequiresCondition: !jammed && !disabled
	AirstrikePower@airstrike:
		PauseOnCondition: disabled
		OrderName: EnglandAirstrike
		Prerequisites: structures.england
		Icon: airstrike
		ChargeInterval: 6750
		Name: actor-dome.airstrikepower-name
		Description: actor-dome.airstrikepower-description
		SelectTargetSpeechNotification: SelectTarget
		SelectTargetTextNotification: notification-select-target
		CameraActor: camera
		CameraRemoveDelay: 150
		UnitType: spit
		QuantizedFacings: 8
		DisplayBeacon: True
		BeaconPoster: airsicon
		SquadSize: 3
		ArrowSequence: arrow
		ClockSequence: clock
		CircleSequence: circles
		UseDirectionalTarget: True
		DirectionArrowAnimation: paradirection
		SupportPowerPaletteOrder: 60
	SupportPowerChargeBar:

DOME.England:
	Inherits: DOME
	Buildable:
		Prerequisites: anypower, proc, ~structures.england, ~techlevel.medium
		Description: actor-dome-england-description
	RenderSprites:
		Image: dome
	-MapEditorData:

PBOX:
	Inherits@MRJDISABLE: ^WeaponJammable
	Buildable:
		Description: actor-pbox.description-new
		Prerequisites: tent, ~structures.allies, ~techlevel.low, ~!structures.england
	Valued:
		Cost: 600
	CustomSellValue:
		Value: 500
	Cargo:
		LoadedCondition: loaded
		PassengerConditions:
			-e3:
			e7: tanyainside
			e8: volkovinside
	AttackGarrisoned:
		PauseOnCondition: build-incomplete || jamdebuff
	DetectCloaked:
		RequiresCondition: loaded && !jamdebuff
	GivesExperience:
		Experience: 500
	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
	-WithRangeCircle@ROCKETSOLDIER:

HBOX:
	Inherits@MRJDISABLE: ^WeaponJammable
	Buildable:
		Description: actor-hbox.description-new
		Prerequisites: tent, ~structures.england, ~techlevel.low
	Valued:
		Cost: 600
	CustomSellValue:
		Value: 500
	Cargo:
		LoadedCondition: loaded
		PassengerConditions:
			e7: tanyainside
			e8: volkovinside
	Cloak:
		UncloakOn: Attack, Load, Unload, Infiltrate, Demolish, Dock
	AttackGarrisoned:
		PauseOnCondition: build-incomplete || jamdebuff
	DetectCloaked:
		RequiresCondition: loaded && !jamdebuff
	GivesExperience:
		Experience: 650
	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

GUN:
	Inherits@AUTOTARGET: ^AutoTargetGroundPrioritizeVehicles
	Inherits@MRJDISABLE: ^WeaponJammable
	Tooltip:
		Name: actor-gun.name-new
	Armament:
		PauseOnCondition: reload-as
		ReloadingCondition: reload-ag
	Armament@SECONDARY:
		Name: secondary
		Weapon: TurretDepthCharge
		LocalOffset: 512,0,112
		MuzzleSequence: muzzle
		PauseOnCondition: reload-ag
		ReloadingCondition: reload-as
	AttackTurreted:
		PauseOnCondition: build-incomplete || jamdebuff
	DetectCloaked:
		RequiresCondition: !lowpower && !jamdebuff
	GrantConditionOnPowerState@LOWPOWER:
		Condition: lowpower
		ValidPowerStates: Low, Critical
	ProductionCostMultiplier@germany:
		Multiplier: 75
		Prerequisites: player.germany
	GivesExperienceMultiplier@germany:
		Modifier: 125
		RequiresCondition: owner.germany
	GrantConditionOnPrerequisite@germany:
		Condition: owner.germany
		Prerequisites: player.germany

FTUR:
	Inherits@AUTOTARGET: ^AutoTargetGroundPrioritizeInfantry
	Inherits@MRJDISABLE: ^WeaponJammable
	Buildable:
		Prerequisites: weap, ~structures.soviet, ~techlevel.low
	AttackTurreted:
		PauseOnCondition: build-incomplete || jamdebuff
	DetectCloaked:
		Range: 6c0
		RequiresCondition: !lowpower && !jamdebuff
	GrantConditionOnPowerState@LOWPOWER:
		Condition: lowpower
		ValidPowerStates: Low, Critical

SAM:
	Inherits@MRJDISABLE: ^WeaponJammable
	Buildable:
		Description: actor-sam.description-new
	AttackTurreted:
		PauseOnCondition: disabled || build-incomplete || jamdebuff

ATEK:
	-AcceptsDeliveredCash:
	Buildable:
		BuildPaletteOrder: 130
		Description: actor-atek.description-new
	Tooltip:
		Name: actor-atek.name-new
	Building:
		Footprint: xx xx
		Dimensions: 2,2
		LocalCenterOffset: 0,0,0
	-GpsPower:
	RevealsMap@GPSSattelite:
		RequiresCondition: gps-on
		RevealGeneratedShroud: false
	GrantConditionOnPrerequisite@GPSSattelite:
		Prerequisites: gpss
		Condition: gps-on
	Exit@1:
		SpawnOffset: -704,768,0
		ExitCell: -1,2
	Production@SupportPower:
		Produces: SupportPower
	ProduceActorPower@gpssat:
		PauseOnCondition: disabled
		OrderName: GPSSatteliteRedux
		Name: actor-atek.gpspower-name
		Description: actor-atek.gpspower-description
		Icon: gps
		Actors: gpssactivator
		Type: SupportPower
		ChargeInterval: 6000
		SupportPowerPaletteOrder: 50
		LaunchSpeechNotification:
		IncomingSpeechNotification:
		DisplayTimerRelationships: None
		EndChargeSpeechNotification: SatelliteReady
		EndChargeTextNotification: GPS Sattelite ready.
		RequiresCondition: !gps-on
        #   Prerequisites: uplink
	GpsPower@gpsnew:
		PauseOnCondition: disabled
		Icon: gps
		OneShot: true
		ChargeInterval: 7
		Name: actor-atek.gpspower-name
		Description: actor-atek.gpspower-description
		RevealDelay: 55
		LaunchSpeechNotification: SatelliteLaunched
		LaunchTextNotification: notification-satellite-launched
		DisplayTimerRelationships: None
		SupportPowerPaletteOrder: 50
		StartFullyCharged: True
		RequiresActiveRadar: True
		RequiresCondition: !build-incomplete
	SupportPowerChargeBar:
	ProvidesPrerequisite@uplink:
		Prerequisite: uplink
		RequiresCondition: !disabled
	InfiltrateForSupportPowerReset:
		Types: SpyInfiltrate
		PlayerExperience: 0

WEAP:
	-AcceptsDeliveredCash:
	Buildable:
		BuildPaletteOrder: 70
		Prerequisites: anypower, proc, ~techlevel.low
	Exit@2:
		RequiresCondition: !being-captured
		SpawnOffset: 213,-128,0
		ExitCell: 0,2
	InfiltrateForSupportPower:
		Proxy: vehveterancyactivator
		Types: SpyInfiltrate
		PlayerExperience: 0
	WithDeathAnimation:
		DeathSequence: dead
		UseDeathTypeSuffix: false

FACT:
	Valued:
		Cost: 2500
	Building:
		Footprint: xxX xxx XxX
		Dimensions: 3,3
	AcceptsDeliveredCash:
	Power:
		Amount: 30
	RenderSprites:
		Image: fact
		FactionImages:
			allies: afact
			england: afact
			france: afact
			germany: afact
			soviet: sfact
			russia: sfact
			ukraine: sfact
	ProductionCostMultiplier@france:
		Multiplier: 80
		Prerequisites: player.france
	GivesExperienceMultiplier@france:
		Modifier: 120
		RequiresCondition: owner.france
	GrantConditionOnPrerequisite@france:
		Condition: owner.france
		Prerequisites: player.france

PROC:
	-AcceptsDeliveredCash:
	Buildable:
		BuildPaletteOrder: 60
		Prerequisites: ~techlevel.infonly, ~!global-ercc-refinery
	Refinery:
		DiscardExcessResources: true
	Valued:
		Cost: 1500
	CustomSellValue:
		Value: 500
	Sellable:
		RefundPercent: 100
	InfiltrateForCash:
		PlayerExperience: 0

SILO:
	Buildable:
		BuildPaletteOrder: 90
		Queue: Building
	-InfiltrateForCash:

HPAD:
	-AcceptsDeliveredCash:
	-WithBuildingBib:
	Buildable:
		Prerequisites: dome, ~techlevel.medium
		BuildPaletteOrder: 110
	Building:
		Footprint: xx xx
		Dimensions: 2,2
		LocalCenterOffset: 0,0,0
	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
	InfiltrateForSupportPower:
		Proxy: airveterancyactivator
		Types: SpyInfiltrate
		PlayerExperience: 0
	WithDeathAnimation:
		DeathSequence: dead
		UseDeathTypeSuffix: false

AFLD:
	-AcceptsDeliveredCash:
	Buildable:
		BuildPaletteOrder: 150
	Valued:
		Cost: 625
	AirstrikePower@spyplane:
		PauseOnCondition: lowpower
		ChargeInterval: 2250
		Description: actor-afld.airstrikepower-spyplane-description-new
		SupportPowerPaletteOrder: 90
	ParatroopersPower@paratroopers:
		PauseOnCondition: lowpower
		DropItems: E1R1,E3R1,E1R1,E3R1,E1R1
		ChargeInterval: 4500
		SupportPowerPaletteOrder: 80
	AirstrikePower@parabombs:
		PauseOnCondition: lowpower
		ChargeInterval: 6750
		SupportPowerPaletteOrder: 60
	InfiltrateForSupportPower:
		Proxy: airveterancyactivator
		Types: SpyInfiltrate
		PlayerExperience: 0
	GrantConditionOnPowerState@LOWPOWER:
		Condition: lowpower
		ValidPowerStates: Low, Critical
	WithDeathAnimation:
		DeathSequence: dead
		UseDeathTypeSuffix: false

POWR:
	-AcceptsDeliveredCash:
	Buildable:
		BuildPaletteOrder: 10
	Building:
		Footprint: xx xx
		Dimensions: 2,2
		LocalCenterOffset: 0,0,0
	GrantConditionOnDamageState@CRITICAL:
		Condition: damaged-critical
		ValidDamageStates: Critical
	Targetable@SUPERCHARGED:
		TargetTypes: SuperCharge
		RequiresCondition: !power-outage && !damaged-critical
	ExternalCondition@supercharged:
		Condition: supercharged
	TimedConditionBar@supercharged:
		Condition: supercharged
		Color: f4f442
	PowerMultiplier@supercharged:
		Modifier: 200
		RequiresCondition: supercharged && !damaged-critical
	ChangesHealth@supercharged:
		Delay: 24
		StartIfBelow: 101
		DamageCooldown: 0
		RequiresCondition: supercharged && !damaged-critical && !invulnerability
		PercentageStep: -3
		Step: -1
	WithDecoration@SUPERCHARGED:
		Image: poweroff
		Sequence: offline
		Palette: chrome
		Position: Center
		Offsets:
			repairing: 10, 0
		ValidRelationships: Ally
		RequiresCondition: supercharged
		BlinkInterval: 64
		RequiresSelection: true
	RepairableBuilding:
		RepairCondition: repairing

APWR:
	-AcceptsDeliveredCash:
	Buildable:
		BuildPaletteOrder: 120
	Building:
		Footprint: xxx Xxx
		Dimensions: 3,2
		LocalCenterOffset: 0,0,0
	GrantConditionOnDamageState@CRITICAL:
		Condition: damaged-critical
		ValidDamageStates: Critical
	Targetable@SUPERCHARGED:
		TargetTypes: SuperCharge
		RequiresCondition: !power-outage && !damaged-critical
	ExternalCondition@supercharged:
		Condition: supercharged
	TimedConditionBar@supercharged:
		Condition: supercharged
		Color: f4f442
	PowerMultiplier@supercharged:
		Modifier: 200
		RequiresCondition: supercharged && !damaged-critical
	ChangesHealth@supercharged:
		Delay: 24
		StartIfBelow: 101
		DamageCooldown: 0
		RequiresCondition: supercharged && !damaged-critical && !invulnerability
		PercentageStep: -3
		Step: -1
	WithDecoration@SUPERCHARGED:
		Image: poweroff
		Sequence: offline
		Palette: chrome
		Position: Center
		Offsets:
			repairing: 10, 0
		ValidRelationships: Ally
		RequiresCondition: supercharged
		BlinkInterval: 64
		RequiresSelection: true
	RepairableBuilding:
		RepairCondition: repairing

STEK:
	Inherits@IDISABLE: ^DisableOnLowPower
	-AcceptsDeliveredCash:
	Buildable:
		BuildPaletteOrder: 140
		Prerequisites: weap, dome, ~structures.soviet, ~techlevel.high, ~!structures.russia
	Building:
		Footprint: XxX XxX
		Dimensions: 3,2
		LocalCenterOffset: 0,0,0
	Valued:
		Cost: 2000
	WithDeathAnimation:
		DeathSequence: dead
		UseDeathTypeSuffix: false
	ProvidesPrerequisite@buildingname:
		Prerequisite: stek
	GrantExternalConditionPower@SUPERCHARGE:
		PauseOnCondition: disabled
		OrderName: supercharge
		Prerequisites: structures.russia
		Icon: scharge
		ChargeInterval: 6000
		Name: actor-stek.grantexternalconditionpower-supercharge-name
		Description: actor-stek.grantexternalconditionpower-supercharge-description
		Duration: 500
		SelectTargetSpeechNotification: SelectTarget
		InsufficientPowerSpeechNotification: InsufficientPower
		SelectTargetTextNotification: notification-select-target
		InsufficientPowerTextNotification: notification-insufficient-power
		Condition: supercharged
		OnFireSound: overload.aud
		SupportPowerPaletteOrder: 40
		Dimensions: 5, 5
		Footprint: __x__ _xxx_ xxxxx _xxx_ __x__
		BlockedCursor: move-blocked
	SupportPowerChargeBar:
	GrantCondition@IDISABLE:
		RequiresCondition: lowpower && owner.russia
		Condition: disabled
	GrantConditionOnPrerequisite@russia:
		Condition: owner.russia
		Prerequisites: player.russia
	InfiltrateForSupportPowerReset:
		Types: SpyInfiltrate
		PlayerExperience: 0
	WithSupportPowerActivationOverlay:
		RequiresCondition: !build-incomplete
		Sequence: active2

STEK.Russia:
	Inherits: STEK
	Buildable:
		Prerequisites: weap, dome, ~techlevel.high, ~structures.russia
		Description: actor-stek-russia-description
	RenderSprites:
		Image: stek
	-MapEditorData:

BARR:
	-AcceptsDeliveredCash:
	Buildable:
		BuildPaletteOrder: 30
		Prerequisites: ~structures.soviet, ~techlevel.infonly
	InfiltrateForSupportPower:
		Proxy: infveterancyactivator
		Types: SpyInfiltrate
		PlayerExperience: 0
	WithDeathAnimation:
		DeathSequence: dead
		UseDeathTypeSuffix: false

KENN:
	-AcceptsDeliveredCash:
	Buildable:
		Prerequisites: barr, ~structures.soviet, ~techlevel.infonly
	MustBeDestroyed:
		RequiredForShortGame: false

TENT:
	-AcceptsDeliveredCash:
	Buildable:
		BuildPaletteOrder: 20
		Prerequisites: ~structures.allies, ~techlevel.infonly
		Description: actor-tent.description-new
	Tooltip:
		Name: actor-tent.name-new
	InfiltrateForSupportPower:
		Proxy: infveterancyactivator
		Types: SpyInfiltrate
		PlayerExperience: 0
	ProximityExternalCondition@barracksheal:
		Condition: barracks
		ValidRelationships: Ally
		Range: 2c512
	WithRangeCircle:
		Range: 2c512
		Color: FC0000
		Width: 1
		BorderColor: ECECEC
		BorderWidth: 3
		RequiresCondition: !build-incomplete
	WithDeathAnimation:
		DeathSequence: dead
		UseDeathTypeSuffix: false

FIX:
	-AcceptsDeliveredCash:
	Buildable:
		BuildPaletteOrder: 100
		Description: actor-fix.description-new
	Valued:
		Cost: 1000
	Building:
		Footprint: =+= +++ =+=
		Dimensions: 3,3
	RepairsUnits:
		PlayerExperience: 0
	WithDeathAnimation:
		DeathSequence: dead
		UseDeathTypeSuffix: false
	ProximityExternalCondition@AIRCRAFTREPAIR:
		Condition: airrepair
		Range: 6c512
	WithRangeCircle@AIRCRAFTREPAIR:
		Type: Repair
		Color: FFD000AA
		Range: 6c512

SBAG:
	Valued:
		Cost: 50
	LineBuild:
		Range: 8

FENC:
	Valued:
		Cost: 50
	LineBuild:
		Range: 8

BRIK:
	Buildable:
		Prerequisites: weap, ~techlevel.medium

ERCC:
	Inherits: ^Building
	-AcceptsDeliveredCash:
	Buildable:
		Queue: Building
		BuildPaletteOrder: 60
		Prerequisites: ~techlevel.infonly, ~global-ercc-refinery
		Description: actor-proc.description
	Valued:
		Cost: 1500
	Tooltip:
		Name: actor-proc.name
	Building:
		Footprint: =xx x++ ===
		Dimensions: 3,3
		LocalCenterOffset: 0,-512,0
	Selectable:
		Bounds: 3072, 1920, 0, -170
		DecorationBounds: 3072, 3200, 42, -170
	Targetable:
		TargetTypes: GroundActor, Structure, C4, DetonateAttack, ThiefInfiltrate, SpyInfiltrate
	Health:
		HP: 90000
	Armor:
		Type: Wood
	RevealsShroud:
		MinRange: 4c0
		Range: 5c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 4c0
	Refinery:
		DiscardExcessResources: true
	DockHost:
		Type: Unload
		DockAngle: 256
		DockOffset: 0,512,0
	StoresPlayerResources:
		Capacity: 2000
	CustomSellValue:
		Value: 500
	Sellable:
		RefundPercent: 100
	FreeActor:
		Actor: HARV
		SpawnOffset: 1,1
		Facing: 256
	InfiltrateForCash:
		Percentage: 50
		PlayerExperience: 0
		Types: SpyInfiltrate, ThiefInfiltrate
		InfiltratedNotification: CreditsStolen
		InfiltratedTextNotification: notification-credits-stolen
	WithBuildingBib:
	WithIdleOverlay@TOP:
		RequiresCondition: !build-incomplete
		Sequence: idle-top
	Power:
		Amount: -30
	WithDeathAnimation:
		DeathSequence: dead
		UseDeathTypeSuffix: false
	ProvidesPrerequisite@buildingname:
	ProvidesPrerequisite@refinerycopy:
		Prerequisite: proc
	HitShape:
		Type: Rectangle
			TopLeft: -1536, -512
			BottomRight: 1536, 598
	HitShape@TOP:
		TargetableOffsets: 1680,0,0
		Type: Rectangle
			TopLeft: -512, -1536
			BottomRight: 512, -512
	HitShape@BOTTOMLEFT:
		TargetableOffsets: -1260,-1024,0
		Type: Rectangle
			TopLeft: -1536, 598
			BottomRight: -512, 1280
	-ActorPreviewPlaceBuildingPreview:
	SequencePlaceBuildingPreview:
		Sequence: idle
		SequenceAlpha: 0.65
	WithResourceStoragePipsDecoration:
		Position: BottomLeft
		Margin: 4, 3
		RequiresSelection: true
		PipCount: 17
		FullSequence: pip-yellow
