package Loot
using RTDB

WestbrookCharterHill : Westbrook
{
	minItemsToLoot = 1;
	maxItemsToLoot = 2;
}

WestbrookCharterHillAll : WestbrookCharterHill
{
	lootTableInclusions = 
	[
		"Loot.WestbrookCharterHillClothing", "Loot.WestbrookCharterHillWeapons", "Loot.WestbrookCharterHillConsumables", "Loot.WestbrookCharterHillEdibles", "Loot.WestbrookCharterHillGadgets", "Loot.WestbrookCharterHillJunk", "Loot.WestbrookCharterHillFragments", "Loot.WestbrookCharterHillPrograms"
	];
}

WestbrookCharterHillClothing : WestbrookCharterHill
{
	queries = 
	[
		{
			dropChance = 0.15;
			query = "Query.FormalClothing";
			fk< StatModifier >[] statModifiers = 
			[
				"Quality.MaximumUncommonQuality"
			];
		}, 
		{
			dropChance = 0.15;
			query = "Query.StreetwearClothing";
			fk< StatModifier >[] statModifiers = 
			[
				"Quality.MaximumUncommonQuality"
			];
		}, 
		{
			dropChance = 0.35;
			query = "Query.SimpleClothing";
			fk< StatModifier >[] statModifiers = 
			[
				"Quality.MaximumUncommonQuality"
			];
		}
	];
}

WestbrookCharterHillWeapons : WestbrookCharterHill
{
	queries = 
	[
		{
			dropChance = 0.15;
			query = "Query.KatanaQuery";
			fk< StatModifier >[] statModifiers = 
			[
				"Quality.MaximumUncommonQuality"
			];
		}, 
		{
			dropChance = 0.15;
			query = "Query.KnifeQuery";
			fk< StatModifier >[] statModifiers = 
			[
				"Quality.MaximumUncommonQuality"
			];
		}, 
		{
			dropChance = 0.15;
			query = "Query.OneHandBladeQuery";
			fk< StatModifier >[] statModifiers = 
			[
				"Quality.MaximumUncommonQuality"
			];
		}, 
		{
			dropChance = 0.15;
			query = "Query.HandgunQuery";
			fk< StatModifier >[] statModifiers = 
			[
				"Quality.MaximumUncommonQuality"
			];
		}
	];
}

WestbrookCharterHillConsumables : WestbrookCharterHill
{
	minItemsToLoot = 1;
	maxItemsToLoot = 2;
	queries = 
	[
		{
			dropChance = 0.03;
			query = "Query.MediumQualityFood";
		}, 
		{
			dropChance = 0.03;
			query = "Query.MediumQualityDrink";
		}, 
		{
			dropChance = 0.03;
			query = "Query.MediumQualityAlcohol";
		}
	];
	lootTableInclusions = 
	[
		"LootTables.HealingItemsTable", "LootTables.HealingItemsRecipes"
	];
}

WestbrookCharterHillEdibles : WestbrookCharterHill
{
	queries = 
	[
		{
			dropChance = 0.1;
			query = "Query.LowQualityFood";
		}, 
		{
			dropChance = 0.03;
			query = "Query.MediumQualityFood";
		}, 
		{
			dropChance = 0.1;
			query = "Query.LowQualityDrink";
		}, 
		{
			dropChance = 0.03;
			query = "Query.MediumQualityDrink";
		}, 
		{
			dropChance = 0.1;
			query = "Query.LowQualityAlcohol";
		}, 
		{
			dropChance = 0.03;
			query = "Query.MediumQualityAlcohol";
		}
	];
}

WestbrookCharterHillGadgets : WestbrookCharterHill
{
	minItemsToLoot = 1;
	maxItemsToLoot = 2;
	lootTableInclusions = 
	[
		"LootTables.CraftingMaterialsTable", "LootTables.TechJunkieItemsTable", "LootTables.GrenadeItemsRecipesTable", "LootTables.GrenadePlusRarityItemsTable"
	];
}

WestbrookCharterHillJunk : WestbrookCharterHill
{
	lootItems = 
	[
		{
			dropChance = 0.05;
			itemID = "Items.GenericRichJunkItem1";
		}, 
		{
			dropChance = 0.05;
			itemID = "Items.GenericRichJunkItem2";
		}, 
		{
			dropChance = 0.05;
			itemID = "Items.GenericRichJunkItem3";
		}, 
		{
			dropChance = 0.05;
			itemID = "Items.GenericRichJunkItem4";
		}, 
		{
			dropChance = 0.05;
			itemID = "Items.GenericRichJunkItem5";
		}
	];
}

WestbrookCharterHillFragments : WestbrookCharterHillJunk
{
}

WestbrookCharterHillPrograms : WestbrookCharterHill
{
	queries = 
	[
		{
			dropChance = 0.15f;
			query = "Query.LowQualityShard";
		}
	];
}

WestbrookCharterHillJewellery : WestbrookCharterHill
{
	queries = 
	[
		{
			dropChance = 0.1;
			query = "Query.HighQualityJewellery";
		}, 
		{
			dropChance = 0.1;
			query = "Query.TygerClawsJewellery";
		}
	];
}

WestbrookCharterHillCraftingMaterials : WestbrookCharterHill
{
	lootTableInclusions = 
	[
		"LootTables.CraftingMaterialsTable"
	];
	queries = 
	[
		{
			playerPrereqID = "LootPrereqs.PlayerLevelCommonWeaponModsPrereq";
			dropChance = 0.1;
			query = "Query.CommonRangedWeaponModsQuery";
		}, 
		{
			playerPrereqID = "LootPrereqs.PlayerLevelUncommonWeaponModsPrereq";
			dropChance = 0.1;
			query = "Query.UncommonRangedWeaponModsQuery";
		}, 
		{
			playerPrereqID = "LootPrereqs.PlayerLevelRareWeaponModsPrereq";
			dropChance = 0.1;
			query = "Query.RareRangedWeaponModsQuery";
		}
	];
}

