package Character
using RTDB, BaseStats, Factions, Perks, Prereqs, ArchetypeData, ArchetypeType

kangtao_base : Gameplay_NPC_Base
{
	reactionPreset = "ReactionPresets.Ganger_Aggressive";
	baseAttitudeGroup = "kangtao";
	actionMap = "Corpo.Map";
	fk< AISquadParams > squadParamsID = "FactionSquads.KangTaoSquad";
	fk< Affiliation > affiliation = "Factions.KangTao";
	bountyDrawTable = "BountyDrawTable.Generic";
	visualTags = 
	[
		"KangTao"
	];
	isBumpable = true;
	abilities += 
	[
		"Ability.IsCautious", "Ability.CanUseEMPGrenades"
	];
	statModifierGroups += 
	[
	];
	lootBagEntity = "kangtaoDropBag";
}

kangtao_base_ma : kangtao_base
{
	[ EP1 ]
	entityTemplatePath = "ep1\characters\entities\corpo\corpo__ep1_kangtao_ma.ent";
}

kangtao_base_mah : kangtao_base
{
	[ EP1 ]
	entityTemplatePath = "ep1\characters\entities\corpo\corpo__ep1_kangtao_mah.ent";
}

kangtao_base_android : Android_NPC_Base
{
	[ EP1 ]
	entityTemplatePath = "ep1\characters\entities\corpo\corpo__ep1_android_ma.ent";
	displayName = "Kang-Tao Droid";
	actionMap = "CorpoAndroid.Map";
	fk< AISquadParams > squadParamsID = "FactionSquads.KangTaoSquad";
	fk< Affiliation > affiliation = "Factions.KangTao";
	visualTags = 
	[
		"KangTao"
	];
}

kangtao_base_drone_bombus : Drone_Bombus_Base
{
	squadParamsID = "FactionSquads.KangTaoSquad";
	affiliation = "Factions.KangTao";
	visualTags = 
	[
		"KangTao"
	];
}

kangtao_base_drone_wyvern : Drone_Wyvern_Base
{
	squadParamsID = "FactionSquads.KangTaoSquad";
	affiliation = "Factions.KangTao";
	visualTags = 
	[
		"KangTao"
	];
}

kangtao_base_drone_griffin : Drone_Griffin_Base
{
	squadParamsID = "FactionSquads.KangTaoSquad";
	affiliation = "Factions.KangTao";
	visualTags = 
	[
		"KangTao"
	];
}

kangtao_base_drone_octant : Drone_Octant_Base
{
	squadParamsID = "FactionSquads.KangTaoSquad";
	affiliation = "Factions.KangTao";
	visualTags = 
	[
		"KangTao"
	];
}

kangtao_ranger1_ranged2_dian_ma : kangtao_base_ma
{
	primaryEquipment = 
	{
		equipmentItems = 
		[
			{
			} : KangTaoRiflePool
		];
	};
	secondaryEquipment = 
	{
		equipmentItems = 
		[
			{
			} : KangTaoSecondaryHandgunPool
		];
	};
	visualTags += 
	[
		"Ranger"
	];
	archetypeData = 
	{
		type = 
		{
			localizedName = "LocKey#22602";
		} : ArchetypeType.GenericRangedT2;
	} : ArchetypeData.GenericRangedT2;
	lootDrop = "Loot.KangTaoGenericRangedRangerT2";
	rarity = "NPCRarity.Normal";
	abilities += 
	[
		"Ability.DealsElectricDamage"
	];
}

kangtao_soldier2_shotgun2_zhuo_mah_rare : kangtao_base_mah
{
	primaryEquipment = 
	{
		equipmentItems = 
		[
			{
				pool = 
				[
					{
						items = 
						[
							{
								item = "Items.Preset_Zhuo_Default";
								equipSlot = "AttachmentSlots.WeaponRight";
								onBodySlot = "AttachmentSlots.ItemSlotGenericRanged";
								equipCondition = 
								[
									"WeaponConditions.BaseRangedPrimaryWeaponEquipCondition"
								];
								unequipCondition = 
								[
									"WeaponConditions.BaseRangedPrimaryWeaponUnequipCondition"
								];
							} : NPCEquipmentItem
						];
					} : NPCEquipmentItemsPoolEntry
				];
			} : NPCEquipmentItemPool
		];
	};
	secondaryEquipment = 
	{
		equipmentItems = 
		[
			{
			} : KangTaoSecondaryHandgunPool
		];
	};
	visualTags += 
	[
		"Lvl2", "Soldier"
	];
	rarity = "NPCRarity.Rare";
	archetypeData = 
	{
		type = 
		{
			localizedName = "LocKey#42629";
		} : ArchetypeType.ShotgunnerT2;
	} : ArchetypeData.ShotgunnerT2;
	lootDrop = "Loot.KangTaoShotgunSoldierT2";
}

kangtao_soldier2_shotgun3_zhuo_mah_elite : kangtao_base_mah
{
	primaryEquipment = 
	{
		equipmentItems = 
		[
			{
				pool = 
				[
					{
						items = 
						[
							{
								item = "Items.Preset_Zhuo_Military";
								equipSlot = "AttachmentSlots.WeaponRight";
								onBodySlot = "AttachmentSlots.ItemSlotGenericRanged";
								equipCondition = 
								[
									"WeaponConditions.BaseRangedPrimaryWeaponEquipCondition"
								];
								unequipCondition = 
								[
									"WeaponConditions.BaseRangedPrimaryWeaponUnequipCondition"
								];
							} : NPCEquipmentItem
						];
					} : NPCEquipmentItemsPoolEntry
				];
			} : NPCEquipmentItemPool
		];
	};
	secondaryEquipment = 
	{
		equipmentItems = 
		[
			{
			} : KangTaoSecondaryHandgunPool
		];
	};
	archetypeData = 
	{
		type = 
		{
			localizedName = "LocKey#42629";
		} : ArchetypeType.ShotgunnerT2;
	} : ArchetypeData.ShotgunnerT2;
	lootDrop = "Loot.KangTaoShotgunSoldierT2";
	rarity = "NPCRarity.Rare";
	visualTags += 
	[
		"Tank"
	];
}

kangtao_officer_grenadier3_mah_elite : kangtao_base_mah
{
	primaryEquipment = 
	{
		equipmentItems = 
		[
			{
			} : KangTaoPrimaryHandgunPool
		];
	};
	secondaryEquipment = 
	{
		equipmentItems = 
		[
			{
			} : KangTaoSecondaryHandgunPool
		];
	};
	visualTags += 
	[
		"Officer"
	];
	rarity = "NPCRarity.Elite";
	archetypeData = 
	{
		type = 
		{
			localizedName = "LocKey#42631";
		} : ArchetypeType.TechieT2;
	} : ArchetypeData.GenericRangedT3;
}

kangtao_android_android2_dian_ma : kangtao_base_android
{
	primaryEquipment = 
	{
		equipmentItems = 
		[
			{
			} : KangTaoRiflePool
		];
	};
	secondaryEquipment = 
	{
		equipmentItems = 
		[
			{
			} : KangTaoSecondaryHandgunPool
		];
	};
	rarity = "NPCRarity.Normal";
	archetypeData = 
	{
		type = 
		{
			localizedName = "LocKey#22608";
		} : ArchetypeType.AndroidRangedT2;
	} : ArchetypeData.AndroidRangedT2;
	abilities += 
	[
		"Ability.DealsElectricDamage"
	];
}

kangtao_drone_bombus_medium : kangtao_base_drone_bombus
{
}

kangtao_drone_wyvern_medium : kangtao_base_drone_wyvern
{
}

kangtao_drone_wyvern_hard : kangtao_base_drone_wyvern
{
}

kangtao_drone_griffin_easy : kangtao_base_drone_griffin
{
}

kangtao_drone_griffin_medium : kangtao_base_drone_griffin
{
}

kangtao_drone_octant_medium : kangtao_base_drone_octant
{
}

KangTaoRiflePool : NPCEquipmentItemPool
{
	pool = 
	[
		{
			items = 
			[
				{
					item = "Items.Preset_Dian_Military";
					equipSlot = "AttachmentSlots.WeaponRight";
					equipCondition = 
					[
						"WeaponConditions.BaseRangedPrimaryWeaponEquipCondition"
					];
					unequipCondition = 
					[
						"WeaponConditions.BaseRangedPrimaryWeaponUnequipCondition"
					];
				} : NPCEquipmentItem
			];
		} : NPCEquipmentItemsPoolEntry
	];
}

KangTaoPrimaryHandgunPool : NPCEquipmentItemPool
{
	pool = 
	[
		{
			items = 
			[
				{
					item = "Items.Preset_Chao_Military";
					equipSlot = "AttachmentSlots.WeaponRight";
					equipCondition = 
					[
						"WeaponConditions.BaseRangedPrimaryWeaponEquipCondition"
					];
					unequipCondition = 
					[
						"WeaponConditions.BaseRangedPrimaryWeaponUnequipCondition"
					];
				} : NPCEquipmentItem
			];
		} : NPCEquipmentItemsPoolEntry
	];
}

KangTaoSecondaryHandgunPool : NPCEquipmentItemPool
{
	pool = 
	[
		{
			items = 
			[
				{
					item = "Items.Preset_Chao_Military";
					equipSlot = "AttachmentSlots.WeaponRight";
				} : NPCEquipmentItem
			];
		} : NPCEquipmentItemsPoolEntry
	];
}

