package LootTables
using RTDB

SQ006_Loot : LootTable
{
	minItemsToLoot = 1;
	maxItemsToLoot = 3;
}

SQ006_residence_HRM_equipment : SQ006_Loot
{
	queries = 
	[
		{
			dropChance = 0.2;
			query = "Query.RichClothing";
		}, 
		{
			dropChance = 0.03;
			query = "Query.RecipePowerfulFabricEnhancerQuery";
		}
	];
}

SQ006_residence_HRM_toolbox : SQ006_Loot
{
	lootTableInclusions = 
	[
		"LootTables.CraftingMaterialsTable", "LootTables.AllScopes_LootTable"
	];
	queries = 
	[
		{
			dropChance = 0.03;
			query = "Query.RecipePowerfulFabricEnhancerQuery";
		}
	];
}

SQ006_residence_HRM_first_aid : SQ006_Loot
{
	lootTableInclusions = 
	[
		"LootTables.FirstAidKits"
	];
}

SQ006_ambush_LIM_chemicals : SQ006_Loot
{
	lootItems = [];
}

SQ006_ambush_LIM_freezer : SQ006_Loot
{
	lootItems = [];
}

SQ006_ambush_LIM_equipment : SQ006_Loot
{
	queries = 
	[
		{
			dropChance = 0.6;
			query = "Query.IndustrialClothingNoFaction";
		}, 
		{
			dropChance = 0.1;
			query = "Query.RecipeSimpleFabricEnhancerQuery";
		}
	];
}

SQ006_ambush_LIM_locker : SQ006_Loot
{
	queries = 
	[
		{
			dropChance = 0.1;
			query = "Query.IndustrialClothingNoFaction";
		}
	];
}

SQ006_ambush_LIM_safe : SQ006_Loot
{
	lootItems = 
	[
		{
			dropChance = 0.1;
			dropCountMin = 400;
			dropCountMax = 600;
			itemID = "Items.money";
		}
	];
}

SQ006_ambush_LIM_toolbox : SQ006_Loot
{
	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";
		}
	];
}

SQ006_ambush_LIS_ammo : SQ006_Loot
{
	lootTableInclusions = 
	[
		"Ammo.AmmoLootTable"
	];
}

SQ006_ambush_LIS_consumables : SQ006_Loot
{
	lootItems = [];
}

SQ006_ambush_LIS_crates : SQ006_Loot
{
	lootItems = 
	[
		{
			dropChance = 0.1;
			itemID = "Items.GenericPoorJunkItem1";
		}, 
		{
			dropChance = 0.1;
			itemID = "Items.GenericJunkItem23";
		}, 
		{
			dropChance = 0.1;
			itemID = "Items.GenericJunkItem24";
		}, 
		{
			dropChance = 0.1;
			itemID = "Items.GenericJunkItem18";
		}, 
		{
			dropChance = 0.1;
			itemID = "Items.GenericJunkItem19";
		}, 
		{
			dropChance = 0.1;
			itemID = "Items.LowQualityJewellery1";
		}, 
		{
			dropChance = 0.1;
			itemID = "Items.LowQualityJewellery2";
		}, 
		{
			dropChance = 0.1;
			itemID = "Items.LowQualityJewellery3";
		}, 
		{
			dropChance = 0.1;
			itemID = "Items.LowQualityJewellery4";
		}, 
		{
			dropChance = 0.1;
			itemID = "Items.LowQualityJewellery5";
		}
	];
}

SQ006_ambush_LIS_equipment : SQ006_Loot
{
	queries = 
	[
		{
			dropChance = 0.5;
			query = "Query.IndustrialFaceNoFaction";
		}, 
		{
			dropChance = 0.5;
			query = "Query.IndustrialFeetNoFaction";
		}, 
		{
			dropChance = 0.15;
			query = "Query.RecipePowerfulFabricEnhancerQuery";
		}
	];
}

SQ006_ambush_LIS_first_aid : SQ006_Loot
{
	lootTableInclusions = 
	[
		"LootTables.FirstAidKits"
	];
}

SQ006_ambush_LIS_gadgets : SQ006_Loot
{
	lootTableInclusions = 
	[
		"LootTables.TechJunkieItemsTable", "LootTables.GrenadePlusRarityItemsTable"
	];
}

SQ006_ambush_LIS_valuable : SQ006_Loot
{
	lootItems = 
	[
		{
			dropChance = 0.8;
			dropCountMin = 150;
			dropCountMax = 400;
			itemID = "Items.money";
		}
	];
}

SQ006_ambush_LIS_weapon : SQ006_Loot
{
	queries = 
	[
		{
			dropChance = 0.15;
			query = "Query.KnifeQuery";
		}, 
		{
			dropChance = 0.15;
			query = "Query.HandgunQuery";
		}
	];
	lootTableInclusions = 
	[
		"LootTables.AllScopes_LootTable", "LootTables.Silencers_LootTable"
	];
}

