package Perks
using RTDB, Prereqs, BaseStats

DemolitionProficiencyPrereq : StatPrereq
{
	float valueToCheck = 0;
	CName statType = "Strength";
	CName comparisonType = "GreaterOrEqual";
}

DemolitionMasteryPrereq : StatPrereq
{
	float valueToCheck = 0;
	CName statType = "Demolition";
	CName comparisonType = "GreaterOrEqual";
}

Demolition_Area_01 : PerkArea
{
	enumName = "Demolition_Area_01";
	requirement = 
	{
		valueToCheck = 0;
	} : DemolitionProficiencyPrereq;
	masteryLevel = 
	{
		valueToCheck = 0;
	} : DemolitionMasteryPrereq;
	perks = 
	[
		"Perks.Demolition_Area_01_Perk_1"
	];
	maxLevel = 3;
}

Demolition_Area_02 : PerkArea
{
	enumName = "Demolition_Area_02";
	requirement = 
	{
		valueToCheck = 5;
	} : DemolitionProficiencyPrereq;
	masteryLevel = 
	{
		valueToCheck = 0;
	} : DemolitionMasteryPrereq;
	perks = 
	[
		"Perks.Demolition_Area_02_Perk_1", "Perks.Demolition_Area_02_Perk_2"
	];
	maxLevel = 2;
}

Demolition_Area_03 : PerkArea
{
	enumName = "Demolition_Area_03";
	requirement = 
	{
		valueToCheck = 7;
	} : DemolitionProficiencyPrereq;
	masteryLevel = 
	{
		valueToCheck = 0;
	} : DemolitionMasteryPrereq;
	perks = 
	[
		"Perks.Demolition_Area_03_Perk_1", "Perks.Demolition_Area_03_Perk_2"
	];
	maxLevel = 2;
}

Demolition_Area_04 : PerkArea
{
	enumName = "Demolition_Area_04";
	requirement = 
	{
		valueToCheck = 9;
	} : DemolitionProficiencyPrereq;
	masteryLevel = 
	{
		valueToCheck = 0;
	} : DemolitionMasteryPrereq;
	perks = 
	[
		"Perks.Demolition_Area_04_Perk_1", "Perks.Demolition_Area_04_Perk_2"
	];
	maxLevel = 1;
}

Demolition_Area_05 : PerkArea
{
	enumName = "Demolition_Area_05";
	requirement = 
	{
		valueToCheck = 11;
	} : DemolitionProficiencyPrereq;
	masteryLevel = 
	{
		valueToCheck = 0;
	} : DemolitionMasteryPrereq;
	perks = 
	[
		"Perks.Demolition_Area_05_Perk_1", "Perks.Demolition_Area_05_Perk_2"
	];
	maxLevel = 3;
}

Demolition_Area_06 : PerkArea
{
	enumName = "Demolition_Area_06";
	requirement = 
	{
		valueToCheck = 12;
	} : DemolitionProficiencyPrereq;
	masteryLevel = 
	{
		valueToCheck = 0;
	} : DemolitionMasteryPrereq;
	perks = 
	[
		"Perks.Demolition_Area_06_Perk_1", "Perks.Demolition_Area_06_Perk_2"
	];
	maxLevel = 1;
}

Demolition_Area_07 : PerkArea
{
	enumName = "Demolition_Area_07";
	requirement = 
	{
		valueToCheck = 14;
	} : DemolitionProficiencyPrereq;
	masteryLevel = 
	{
		valueToCheck = 0;
	} : DemolitionMasteryPrereq;
	perks = 
	[
		"Perks.Demolition_Area_07_Perk_1", "Perks.Demolition_Area_07_Perk_2"
	];
	maxLevel = 1;
}

Demolition_Area_08 : PerkArea
{
	enumName = "Demolition_Area_08";
	requirement = 
	{
		valueToCheck = 16;
	} : DemolitionProficiencyPrereq;
	masteryLevel = 
	{
		valueToCheck = 0;
	} : DemolitionMasteryPrereq;
	perks = 
	[
		"Perks.Demolition_Area_08_Perk_1", "Perks.Demolition_Area_08_Perk_2"
	];
	maxLevel = 1;
}

Demolition_Area_09 : PerkArea
{
	enumName = "Demolition_Area_09";
	requirement = 
	{
		valueToCheck = 18;
	} : DemolitionProficiencyPrereq;
	masteryLevel = 
	{
		valueToCheck = 0;
	} : DemolitionMasteryPrereq;
	perks = 
	[
		"Perks.Demolition_Area_09_Perk_1", "Perks.Demolition_Area_09_Perk_2"
	];
	maxLevel = 2;
}

Demolition_Area_10 : PerkArea
{
	enumName = "Demolition_Area_10";
	requirement = 
	{
		valueToCheck = 20;
	} : DemolitionProficiencyPrereq;
	masteryLevel = 
	{
		valueToCheck = 0;
	} : DemolitionMasteryPrereq;
	perks = 
	[
		"Perks.Demolition_Area_10_Perk_1"
	];
	maxLevel = 1;
}

Demolition_Area_01_Perk_1 : DemolitionPerk
{
	loc_name_key = "LocKey#6522";
	loc_desc_key = "LocKey#5823";
	perkIcon = "UIIcon.Demolition_Area_01_Perk_1";
	enumName = "Demolition_Area_01_Perk_1";
	levels = [];
}

Demolition_Area_02_Perk_1 : DemolitionPerk
{
	loc_name_key = "LocKey#6524";
	loc_desc_key = "LocKey#5825";
	perkIcon = "UIIcon.Demolition_Area_02_Perk_1";
	enumName = "Demolition_Area_02_Perk_1";
	levels = [];
}

Demolition_Area_02_Perk_2 : DemolitionPerk
{
	loc_name_key = "LocKey#6525";
	loc_desc_key = "LocKey#5826";
	perkIcon = "UIIcon.Demolition_Area_02_Perk_2";
	enumName = "Demolition_Area_02_Perk_2";
	levels = [];
}

Demolition_Area_03_Perk_1 : DemolitionPerk
{
	loc_name_key = "LocKey#6526";
	loc_desc_key = "LocKey#5827";
	perkIcon = "UIIcon.Demolition_Area_03_Perk_1";
	enumName = "Demolition_Area_03_Perk_1";
	levels = [];
}

Demolition_Area_03_Perk_2 : DemolitionPerk
{
	loc_name_key = "LocKey#6527";
	loc_desc_key = "LocKey#5828";
	perkIcon = "UIIcon.Demolition_Area_03_Perk_2";
	enumName = "Demolition_Area_03_Perk_2";
	levels = [];
}

Demolition_Area_04_Perk_1 : DemolitionPerk
{
	loc_name_key = "LocKey#6528";
	loc_desc_key = "LocKey#5829";
	perkIcon = "UIIcon.Demolition_Area_04_Perk_1";
	enumName = "Demolition_Area_04_Perk_1";
	levels = [];
}

Demolition_Area_04_Perk_2 : DemolitionPerk
{
	loc_name_key = "LocKey#6529";
	loc_desc_key = "LocKey#79829";
	perkIcon = "UIIcon.Demolition_Area_04_Perk_2";
	enumName = "Demolition_Area_04_Perk_2";
	levels = [];
}

Demolition_Area_05_Perk_1 : DemolitionPerk
{
	loc_name_key = "LocKey#6530";
	loc_desc_key = "LocKey#5831";
	perkIcon = "UIIcon.Demolition_Area_05_Perk_1";
	utility = "Perks.TriggeredUtility";
	enumName = "Demolition_Area_05_Perk_1";
	levels = [];
}

Demolition_Area_05_Perk_2 : DemolitionPerk
{
	loc_name_key = "LocKey#6531";
	loc_desc_key = "LocKey#5832";
	perkIcon = "UIIcon.Demolition_Area_05_Perk_2";
	enumName = "Demolition_Area_05_Perk_2";
	levels = [];
}

Demolition_Area_06_Perk_1 : DemolitionPerk
{
	loc_name_key = "LocKey#6532";
	loc_desc_key = "LocKey#5833";
	perkIcon = "UIIcon.Demolition_Area_06_Perk_1";
	enumName = "Demolition_Area_06_Perk_1";
	levels = [];
}

Demolition_Area_06_Perk_2 : DemolitionPerk
{
	loc_name_key = "LocKey#6533";
	loc_desc_key = "LocKey#5834";
	perkIcon = "UIIcon.Demolition_Area_06_Perk_2";
	enumName = "Demolition_Area_06_Perk_2";
	levels = [];
}

Demolition_Area_07_Perk_1 : DemolitionPerk
{
	loc_name_key = "LocKey#6534";
	loc_desc_key = "LocKey#5835";
	perkIcon = "UIIcon.Demolition_Area_07_Perk_1";
	utility = "Perks.TriggeredUtility";
	enumName = "Demolition_Area_07_Perk_1";
	levels = [];
}

Demolition_Area_07_Perk_2 : DemolitionPerk
{
	loc_name_key = "LocKey#6535";
	loc_desc_key = "LocKey#5836";
	perkIcon = "UIIcon.Demolition_Area_07_Perk_2";
	utility = "Perks.TriggeredUtility";
	enumName = "Demolition_Area_07_Perk_2";
	levels = [];
}

Demolition_Area_08_Perk_1 : DemolitionPerk
{
	loc_name_key = "LocKey#6536";
	loc_desc_key = "LocKey#5837";
	perkIcon = "UIIcon.Demolition_Area_08_Perk_1";
	enumName = "Demolition_Area_08_Perk_1";
	levels = [];
}

Demolition_Area_08_Perk_2 : DemolitionPerk
{
	loc_name_key = "LocKey#6537";
	loc_desc_key = "LocKey#5838";
	perkIcon = "UIIcon.Demolition_Area_08_Perk_2";
	utility = "Perks.PassiveUtility";
	enumName = "Demolition_Area_08_Perk_2";
	levels = [];
}

Demolition_Area_09_Perk_1 : DemolitionPerk
{
	loc_name_key = "LocKey#6538";
	loc_desc_key = "LocKey#5839";
	perkIcon = "UIIcon.Demolition_Area_09_Perk_1";
	enumName = "Demolition_Area_09_Perk_1";
	levels = [];
}

Demolition_Area_09_Perk_2 : DemolitionPerk
{
	loc_name_key = "LocKey#6539";
	loc_desc_key = "LocKey#5840";
	perkIcon = "UIIcon.Demolition_Area_09_Perk_2";
	enumName = "Demolition_Area_09_Perk_2";
	levels = [];
}

Demolition_Area_10_Perk_1 : DemolitionPerk
{
	loc_name_key = "LocKey#6540";
	loc_desc_key = "LocKey#5841";
	perkIcon = "UIIcon.Demolition_Area_10_Perk_1";
	enumName = "Demolition_Area_10_Perk_1";
	levels = [];
}

Demolition_Area_10_Perk_2 : DemolitionPerk
{
	enumName = "Demolition_Area_10_Perk_2";
	perkIcon = "UIIcon.Demolition_Area_10_Perk_2";
}

DemolitionPerkPrereq : MultiPrereq
{
	CName prereqClassName = "gameMultiPrereq";
	CName aggregationType = "OR";
	fk< IPrereq >[] nestedPrereqs = 
	[
		{
			itemType = "ItemType.Wea_Shotgun";
		} : Prereqs.WeaponHeldByTypePrereq, 
		{
			itemType = "ItemType.Wea_ShotgunDual";
		} : Prereqs.WeaponHeldByTypePrereq, 
		{
			itemType = "ItemType.Wea_LightMachineGun";
		} : Prereqs.WeaponHeldByTypePrereq, 
		{
			itemType = "ItemType.Wea_HeavyMachineGun";
		} : Prereqs.WeaponHeldByTypePrereq
	];
}

