package Loot
using RTDB, Prereqs

WatsonKabuki : Watson
{
	minItemsToLoot = 1;
	maxItemsToLoot = 3;
}

WatsonKabukiAll : WatsonKabuki
{
	lootTableInclusions = 
	[
		"Loot.WatsonKabukiClothing", "Loot.WatsonKabukiWeapons", "Loot.WatsonKabukiConsumables", "Loot.WatsonKabukiEdibles", "Loot.WatsonKabukiGadgets", "Loot.WatsonKabukiJunk", "Loot.WatsonKabukiWeaponMods", "Loot.WatsonKabukiFragments"
	];
}

WatsonKabukiClothing : WatsonKabuki
{
	queries = 
	[
		{
			dropChance = 0.1f;
			query = "Query.StreetwearClothing";
			fk< StatModifier >[] statModifiers = 
			[
				"Quality.MaximumUncommonQuality"
			];
		}, 
		{
			dropChance = 0.1f;
			query = "Query.SportsClothing";
			fk< StatModifier >[] statModifiers = 
			[
				"Quality.MaximumUncommonQuality"
			];
		}, 
		{
			dropChance = 0.1f;
			query = "Query.PoorClothing";
			fk< StatModifier >[] statModifiers = 
			[
				"Quality.MaximumUncommonQuality"
			];
		}
	];
}

WatsonKabukiWeapons : WatsonKabuki
{
	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"
			];
		}, 
		{
			dropChance = 0.15;
			query = "Query.SubmachinegunQuery";
			fk< StatModifier >[] statModifiers = 
			[
				"Quality.MaximumUncommonQuality"
			];
		}, 
		{
			dropChance = 0.15;
			query = "Query.LightmachinegunQuery";
			fk< StatModifier >[] statModifiers = 
			[
				"Quality.MaximumUncommonQuality"
			];
		}
	];
}

WatsonKabukiAmmo : WatsonKabuki
{
	lootTableInclusions = 
	[
		"Ammo.AmmoLootTable"
	];
}

WatsonKabukiConsumables : WatsonKabuki
{
	minItemsToLoot = 1;
	maxItemsToLoot = 2;
	lootTableInclusions = 
	[
		"LootTables.BoostersTable", "LootTables.HealingItemsTable", "LootTables.MedicalJunkItemsTable"
	];
}

WatsonKabukiEdibles : WatsonKabuki
{
	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";
		}
	];
}

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

WatsonKabukiJunk : WatsonKabuki
{
	lootItems = 
	[
		{
			dropChance = 0.1;
			itemID = "Items.GenericJunkItem28";
		}, 
		{
			dropChance = 0.1;
			itemID = "Items.GenericJunkItem29";
		}, 
		{
			dropChance = 0.1;
			itemID = "Items.GenericJunkItem30";
		}, 
		{
			dropChance = 0.1;
			itemID = "Items.GenericJunkItem1";
		}, 
		{
			dropChance = 0.1;
			itemID = "Items.GenericJunkItem2";
		}, 
		{
			dropChance = 0.1;
			itemID = "Items.GenericJunkItem3";
		}, 
		{
			dropChance = 0.1;
			itemID = "Items.GenericJunkItem4";
		}, 
		{
			dropChance = 0.1;
			itemID = "Items.GenericJunkItem5";
		}, 
		{
			dropChance = 0.1;
			itemID = "Items.GenericRichJunkItem1";
		}, 
		{
			dropChance = 0.1;
			itemID = "Items.GenericRichJunkItem2";
		}, 
		{
			dropChance = 0.1;
			itemID = "Items.GenericRichJunkItem3";
		}, 
		{
			dropChance = 0.1;
			itemID = "Items.GenericRichJunkItem4";
		}, 
		{
			dropChance = 0.1;
			itemID = "Items.GenericRichJunkItem5";
		}
	];
}

WatsonKabukiWeaponMods : WatsonKabuki
{
	queries = 
	[
		{
			playerPrereqID = "LootPrereqs.PlayerLevelCommonWeaponModsPrereq";
			dropChance = 0.03;
			query = "Query.CommonWeaponModsQuery";
		}, 
		{
			playerPrereqID = "LootPrereqs.PlayerLevelUncommonWeaponModsPrereq";
			dropChance = 0.03;
			query = "Query.UncommonWeaponModsQuery";
		}, 
		{
			playerPrereqID = "LootPrereqs.PlayerLevelRareWeaponModsPrereq";
			dropChance = 0.03;
			query = "Query.RareWeaponModsQuery";
		}
	];
	lootTableInclusions = 
	[
		"LootTables.Silencers_LootTable", "LootTables.AllScopes_LootTable"
	];
}

WatsonKabukiFragments : WatsonKabukiJunk
{
}

WatsonKabukiJewellery : WatsonKabuki
{
	queries = 
	[
		{
			dropChance = 0.1;
			query = "Query.MediumQualityJewellery";
		}, 
		{
			dropChance = 0.1;
			query = "Query.HighQualityJewellery";
		}
	];
}

WatsonKabukiMisc : WatsonKabuki
{
	queries = 
	[
		{
			dropChance = 0.03;
			query = "Query.LowQualityJewellery";
		}, 
		{
			dropChance = 0.03;
			query = "Query.MediumQualityJewellery";
		}, 
		{
			dropChance = 0.03;
			query = "Query.JunkQuery";
		}, 
		{
			dropChance = 0.03;
			query = "Query.MediumQualityFood";
		}, 
		{
			dropChance = 0.03;
			query = "Query.LowQualityFood";
		}
	];
}

WatsonKabukiCraftingMaterials : WatsonKabuki
{
	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";
		}
	];
}

