<?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/NODShredderTurretHub.xml" />
	</Includes>
	<GameObject
		id="MarkedOfKaneShredderTurretHub"
		inheritFrom="NODShredderTurretHub"
		Side="MarkedOfKane"
		EditorSorting="STRUCTURE"
		EditorName="MarkedOfKaneShredderTurretHub"
		Description="Desc:MarkedOfKaneShredderTurret"
		TypeDescription="Type:MarkedOfKaneShredderTurret">
		<GameDependency
			xai:joinAction="Replace">
			<RequiredObject>MarkedOfKanePowerPlant</RequiredObject>
		</GameDependency>
		<DisplayUpgrade>Upgrade_MarkedOfKaneTechCenterSuperChargedParticleBeam</DisplayUpgrade>
		
		<Behaviors>
			<WeaponSetUpdate
				xai:joinAction="Replace"
				id="ModuleTag_WeaponSetUpdate">
				<WeaponSlotTurret
					ID="1"
					AllowInterleavedFiring="false"
					InterleavedStyle="INTERLEAVE_FIRST_AVAILABLE"
					WeaponChoiceCriteria="PREFER_MOST_DAMAGE">
					<Weapon
						Ordering="PRIMARY_WEAPON"
						Template="NODShredderTurretHubWeapon"
						ObjectStatus="WEAPON_UPGRADED_01" />
					<Weapon
						Ordering="PRIMARY_WEAPON"
						Template="MarkedOfKaneShredderTurretSpawnSuperChargedParticleBeamWeapon"
						ObjectStatus="WEAPON_UPGRADED_01 WEAPON_UPGRADED_02" />
					<TurretSettings
						TurretTurnRate="200"
						TurretPitchRate="100"
						AllowsPitch="true"
						MinimumPitch="-30d"
						PitchHeight="90%"
						MinIdleScanTime="1.0s"
						MaxIdleScanTime="5.0s"
						MinIdleScanAngle="0.0"
						MaxIdleScanAngle="180.0">
						<TurretAITargetChooserData />
					</TurretSettings>
				</WeaponSlotTurret>
			</WeaponSetUpdate>
			<CompositeStructureInfoModule
				xai:joinAction="Replace"
				id="ModuleTag_CompositeStructureInfoModule"
				ThingTemplate="MarkedOfKaneShredderTurret"
				Count="3"
				BuildableDistance="150">
				<ConnectionShadowInfo
					Type="ALPHA_DECAL_DYNAMIC"
					SizeX="256"
					SizeY="32"
					OpacityStart="0"
					OpacityFadeInTime="3s"
					OpacityPeak="1"
					OpacityFadeOutTime="3s"
					OpacityEnd="0"
					OverrideLODVisibility="true"
					Texture="wire" />
			</CompositeStructureInfoModule>	
			
			<StatusBitsUpgrade
				id="ModuleTag_UpgradeWeapon_02"
				StatusToSet="WEAPON_UPGRADED_02">
				<TriggeredBy>Upgrade_MarkedOfKaneTechCenterSuperChargedParticleBeam</TriggeredBy>
			</StatusBitsUpgrade>
			
			<GatherSlavesUpdate
				id="ModuleTag_GatherSlaves"
				xai:joinAction="Replace"
				SlaveTemplate="MarkedOfKaneShredderTurret"
				Radius="500.0"
				Amount="3" />
			<xi:include
				xai:joinAction="Remove"
				href="../../Includes/GenericNODBuildingSuicide.xml" />
			
			<xi:include
				href="../../Includes/GenericMarkedOfKaneBuildingSuicide.xml" />
		</Behaviors>
	</GameObject>
</AssetDeclaration>