package Loot
using RTDB

District : LootTable
{
	lootGenerationType = "dropChance";
}

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

PacificaAll : Pacifica
{
	lootTableInclusions = 
	[
		"Loot.PacificaClothing", "Loot.PacificaWeapons", "Loot.PacificaConsumables", "Loot.PacificaEdibles", "Loot.PacificaGadgets", "Loot.PacificaJunk", "Loot.PacificaFragments", "Loot.PacificaPrograms"
	];
}

PacificaClothing : Pacifica
{
}

PacificaWeapons : Pacifica
{
	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"
			];
		}
	];
}

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

PacificaEdibles : Pacifica
{
	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";
		}
	];
}

PacificaGadgets : Pacifica
{
	minItemsToLoot = 1;
	maxItemsToLoot = 3;
	lootTableInclusions = 
	[
		"LootTables.CraftingMaterialsTable", "LootTables.GrenadeItemsRecipesTable", "LootTables.TechJunkieItemsTable", "LootTables.GrenadePlusRarityItemsTable"
	];
}

PacificaJunk : Pacifica
{
	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";
		}
	];
}

PacificaFragments : Pacifica
{
}

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

