<?xml version="1.0" encoding="utf-8"?>
<AssetDeclaration xmlns="uri:ea.com:eala:asset" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xai="uri:ea.com:eala:asset:instance">
	<Tags></Tags>
	<Includes>
		<!-- Base Object -->
		<Include
			type="instance"
			source="DATA:NOD/Structures/NODTempleOfNOD.xml" />
	</Includes>
	<GameObject
		id="BlackHandDecoyTempleOfNOD"
		inheritFrom="NODTempleOfNOD"
		Side="BlackHand"
		EditorSorting="STRUCTURE"
		BuildCost="1000"
		BuildTime="10"
		EnergyProduction="-5"
		KindOf="STRUCTURE SELECTABLE POWERED IMMOBILE CAN_CAST_REFLECTIONS REVEAL_TO_ALL UNIQUE_UNIT NOT_AUTOACQUIRABLE AUTO_ACQUIRABLE_BY_AI COVER SUPER_WEAPON"
		CommandSet="EmptyCommandSet"
		EditorName="BlackHandDecoyTempleOfNOD"
		Description="Desc:BlackHandDecoyTempleOfNOD"
		TypeDescription="Type:BlackHandDecoyTempleOfNOD">
		<DisplayName
			xai:joinAction="Replace">Name:BlackHandDecoyTempleofNod</DisplayName>
		<GameDependency
			xai:joinAction="Replace">
			<RequiredObject>BlackHandTechAssemblyPlant</RequiredObject>
		</GameDependency>
		
		<Behaviors>

			<SpecialPower
				xai:joinAction="Remove"
				id="ModuleTag_ComputerCounterMeasures"
				SpecialPowerTemplate="SpecialPowerComputerCounterMeasures"
			/>
			<WeaponFireSpecialAbilityUpdate
				xai:joinAction="Remove"
				id="ModuleTag_WeaponFireSpecialAbilityUpdateComputerCountermeasures"
				SpecialPowerTemplate="SpecialPowerComputerCounterMeasures"
				SpecialWeapon="ComputerCounterMeasures"
				WhichSpecialWeapon="1"
			/>
			<AISpecialPowerUpdate
				xai:joinAction="Remove"
				id="ModuleTag_TempleOfNodComputerCounterMeasures"
				SpecialPowerAIType="SPECIAL_POWER_EMP_COUNTER"
			/>

			<StatusBitsUpgrade
				id="ModuleTag_Clone"
				StatusToSet="CLONED">
				<TriggeredBy>Upgrade_BlackHandFaction</TriggeredBy>
			</StatusBitsUpgrade>

			<StatusBitsUpgrade
				id="ModuleTag_Clone"
				StatusToSet="CLONED">
				<TriggeredBy>Upgrade_MarkedOfKaneFaction</TriggeredBy>
			</StatusBitsUpgrade>

			<StatusBitsUpgrade
				id="ModuleTag_Clone"
				StatusToSet="CLONED">
				<TriggeredBy>Upgrade_NODFaction</TriggeredBy>
			</StatusBitsUpgrade>

			<StatusBitsUpgrade
				id="ModuleTag_Clone"
				StatusToSet="CLONED">
				<TriggeredBy>Upgrade_GDIFaction</TriggeredBy>
			</StatusBitsUpgrade>

			<StatusBitsUpgrade
				id="ModuleTag_Clone"
				StatusToSet="CLONED">
				<TriggeredBy>Upgrade_SteelTalonsFaction</TriggeredBy>
			</StatusBitsUpgrade>

			<StatusBitsUpgrade
				id="ModuleTag_Clone"
				StatusToSet="CLONED">
				<TriggeredBy>Upgrade_ZOCOMFaction</TriggeredBy>
			</StatusBitsUpgrade>

			<StatusBitsUpgrade
				id="ModuleTag_Clone"
				StatusToSet="CLONED">
				<TriggeredBy>Upgrade_AlienFaction</TriggeredBy>
			</StatusBitsUpgrade>

			<StatusBitsUpgrade
				id="ModuleTag_Clone"
				StatusToSet="CLONED">
				<TriggeredBy>Upgrade_Reaper17Faction</TriggeredBy>
			</StatusBitsUpgrade>

			<StatusBitsUpgrade
				id="ModuleTag_Clone"
				StatusToSet="CLONED">
				<TriggeredBy>Upgrade_Traveler59Faction</TriggeredBy>
			</StatusBitsUpgrade>
			
			<OCLSpecialPower
				xai:joinAction="Remove"
				id="ModuleTag_NuclearMissile"
				SpecialPowerTemplate="SpecialPowerNuclearMissile"
				AvailableAtStart="false"
				OCL="OCL_SuperweaponDestroyCiviliansHumanelyObject"
				CreateLocation="CREATE_AT_LOCATION"
			/>
			<WeaponFireSpecialAbilityUpdate
				xai:joinAction="Remove"
				id="ModuleTag_NuclearMissileUpdate"
				SpecialPowerTemplate="SpecialPowerNuclearMissile"
				SpecialWeapon="NuclearMissile"
				UnpackTime="5.0s"
				WhichSpecialWeapon="1" 
			/>
			<AISpecialPowerUpdate
				xai:joinAction="Remove"
				id="ModuleTag_TempleOfNodSpecialPower"
				CommandButtonName="Command_TempleOfNodNuclearMissile"
				SpecialPowerRadius="999999.0"
				SpecialPowerAIType="SPECIAL_POWER_SUPERWEAPON"
				UnitKindOf="STRUCTURE" 
			/>
				
			<SpecialPower
				id="ModuleTag_DecoyNuclearMissileTimer"
				SpecialPowerTemplate="SpecialPowerDecoyNuclearMissileTimer"
				AvailableAtStart="false">
			</SpecialPower>			
			
			<MonitorSpecialPowerTimerUpdate
				xai:joinAction="Replace"
				id="ModuleTag_NuclearMissileReadyToFireUpdate"
				SpecialPowerTemplate="SpecialPowerDecoyNuclearMissileTimer"
				ReadyCondition="SPECIALPOWER1_READY" 
			/>
			
			
			<MetaGameStratButtonInfo
				xai:joinAction="Remove"
			        id="ModuleTag_MetaGameStratButtonInfo"
			        MetaGameDescription="Desc:MetaNODTempleofNod"
			        MetaGameTypeDescription="Type:MetaNODTempleofNod"
			        >
			        <!-- you can list as many powers as you want here -->
			        <Powers
			          Image="Button_PlayerPowerNuclearMissile"
			          Title="NAME:PlayerPowerMetaNuclearMissile"
			          TypeDescription="TYPE:PlayerPowerMetaNuclearMissile"
			          Description="DESC:PlayerPowerMetaNuclearMissile"/>
			          
			        <Powers
			          Image="Button_PlayerPowerTraitor"
			          Title="NAME:PlayerPowerTraitor"
			          TypeDescription="TYPE:PlayerPowerTraitor"
			          Description="DESC:PlayerPowerTraitor"/>
      			</MetaGameStratButtonInfo>
      			

      			
      			
		</Behaviors>
		<Body>
			<ActiveBody
				xai:joinAction="Replace"
				id="ModuleTag_Body"
				MaxHealth="2000.0" />
		</Body>
		
		<!--Remove build radius from Decoy Temple -->
		<ProjectedBuildabilityInfo
			Radius="0.0"
			BuildPlacementTypes="MAIN_STRUCTURE OTHER_STRUCTURE" />		
		
	</GameObject>
</AssetDeclaration>
