package Loot
using RTDB

CityCenter : Loot.District
{
	minItemsToLoot = 1;
	maxItemsToLoot = 2;
}

CityCenterAll : CityCenter
{
	lootTableInclusions = 
	[
		"Loot.CityCenterClothing", "Loot.CityCenterWeapons", "Loot.CityCenterConsumables", "Loot.CityCenterEdibles", "Loot.CityCenterGadgets", "Loot.CityCenterJunk", "Loot.CityCenterFragments", "Loot.CityCenterPrograms"
	];
}

CityCenterClothing : CityCenter
{
}

CityCenterWeapons : CityCenter
{
	queries = 
	[
		{
			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"
			];
		}
	];
}

CityCenterConsumables : CityCenter
{
	maxItemsToLoot = 1;
	lootTableInclusions = 
	[
		"LootTables.HealingItemsTable", "Loot.CityCenterEdibles"
	];
}

CityCenterEdibles : CityCenter
{
	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";
		}
	];
}

CityCenterGadgets : CityCenter
{
	minItemsToLoot = 1;
	maxItemsToLoot = 3;
	lootTableInclusions = 
	[
		"LootTables.QuickhackMaterialsTable", "LootTables.CraftingMaterialsTable", "LootTables.GrenadeItemsRecipesTable", "LootTables.GrenadePlusRarityItemsTable"
	];
}

CityCenterJunk : CityCenter
{
	lootItems = 
	[
		{
			dropChance = 0.1;
			itemID = "Items.VoodooBoysJunkItem1";
		}, 
		{
			dropChance = 0.1;
			itemID = "Items.VoodooBoysJunkItem2";
		}, 
		{
			dropChance = 0.1;
			itemID = "Items.VoodooBoysJunkItem3";
		}, 
		{
			dropChance = 0.05;
			itemID = "Items.GenericJunkItem1";
		}, 
		{
			dropChance = 0.05;
			itemID = "Items.GenericJunkItem3";
		}, 
		{
			dropChance = 0.05;
			itemID = "Items.GenericJunkItem5";
		}
	];
}

CityCenterFragments : CityCenter
{
}

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

