package Loot
using RTDB

HeywoodVistaDelRey : Loot.District
{
	minItemsToLoot = 1;
	maxItemsToLoot = 3;
}

HeywoodVistaDelReyAll : HeywoodVistaDelRey
{
	lootTableInclusions = 
	[
		"Loot.HeywoodVistaDelReyClothing", "Loot.HeywoodVistaDelReyWeapons", "Loot.HeywoodVistaDelReyConsumables", "Loot.HeywoodVistaDelReyEdibles", "Loot.HeywoodVistaDelReyGadgets", "Loot.HeywoodVistaDelReyJunk", "Loot.HeywoodVistaDelReyFragments"
	];
}

HeywoodVistaDelReyClothing : HeywoodVistaDelRey
{
	queries = 
	[
		{
			dropChance = 1f;
			query = "Query.CowboyClothing";
			fk< StatModifier >[] statModifiers = 
			[
				"Quality.MaximumUncommonQuality"
			];
		}
	];
}

HeywoodVistaDelReyWeapons : HeywoodVistaDelRey
{
	queries = 
	[
		{
			dropChance = 0.05;
			query = "Query.KatanaQuery";
			fk< StatModifier >[] statModifiers = 
			[
				"Quality.MaximumUncommonQuality"
			];
		}, 
		{
			dropChance = 0.05;
			query = "Query.KnifeQuery";
			fk< StatModifier >[] statModifiers = 
			[
				"Quality.MaximumUncommonQuality"
			];
		}, 
		{
			dropChance = 0.05;
			query = "Query.OneHandBladeQuery";
			fk< StatModifier >[] statModifiers = 
			[
				"Quality.MaximumUncommonQuality"
			];
		}, 
		{
			dropChance = 0.05;
			query = "Query.HandgunQuery";
			fk< StatModifier >[] statModifiers = 
			[
				"Quality.MaximumUncommonQuality"
			];
		}, 
		{
			dropChance = 0.05;
			query = "Query.SubmachinegunQuery";
			fk< StatModifier >[] statModifiers = 
			[
				"Quality.MaximumUncommonQuality"
			];
		}, 
		{
			dropChance = 0.05;
			query = "Query.LightmachinegunQuery";
			fk< StatModifier >[] statModifiers = 
			[
				"Quality.MaximumUncommonQuality"
			];
		}
	];
}

HeywoodVistaDelReyConsumables : HeywoodVistaDelRey
{
	minItemsToLoot = 1;
	maxItemsToLoot = 2;
	queries = 
	[
		{
			dropChance = 0.1;
			query = "Query.LowQualityFood";
		}, 
		{
			dropChance = 0.03;
			query = "Query.MediumQualityFood";
		}
	];
	lootTableInclusions = 
	[
		"LootTables.HealingItemsTable"
	];
}

HeywoodVistaDelReyEdibles : HeywoodVistaDelRey
{
	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";
		}
	];
}

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

HeywoodVistaDelReyJunk : HeywoodVistaDelRey
{
	lootItems = 
	[
		{
			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";
		}
	];
}

HeywoodVistaDelReyFragments : HeywoodVistaDelReyJunk
{
}

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

HeywoodVistaDelReyCraftingMaterials : HeywoodVistaDelRey
{
	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";
		}
	];
}

