package LootTables
using RTDB

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

SQ004_camp_LGM_chemicals : SQ004_Loot
{
	lootItems = [];
}

SQ004_camp_LGM_decorative : SQ004_Loot
{
	queries = 
	[
		{
			dropChance = 0.1;
			query = "Query.LowQualityFood";
		}, 
		{
			dropChance = 0.1;
			query = "Query.LowQualityDrink";
		}, 
		{
			dropChance = 0.1;
			query = "Query.LowQualityAlcohol";
		}
	];
}

SQ004_camp_LGM_equipment : SQ004_Loot
{
	queries = 
	[
		{
			dropChance = 0.6;
			query = "Query.TankTopNoFaction";
		}, 
		{
			dropChance = 0.6;
			query = "Query.PantsNoFaction";
		}, 
		{
			dropChance = 0.6;
			query = "Query.WraithsBoots";
		}
	];
}

SQ004_camp_LGM_locker : SQ004_Loot
{
	queries = 
	[
		{
			dropChance = 0.6;
			query = "Query.WraithsClothing";
		}
	];
}

SQ004_camp_LGM_safe : SQ004_Loot
{
	lootItems = 
	[
		{
			dropChance = 0.8f;
			dropCountMin = 500;
			dropCountMax = 700;
			itemID = "Items.money";
		}
	];
}

SQ004_camp_LGM_toolbox : SQ004_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";
		}
	];
}

SQ004_camp_LGS_ammo : SQ004_Loot
{
	lootTableInclusions = 
	[
		"Ammo.AmmoLootTable"
	];
}

SQ004_camp_LGS_suitcase : SQ004_Loot
{
	lootTableInclusions = 
	[
		"LootTables.SQ004_camp_LGS_ammo", "LootTables.SQ004_camp_LGS_first_aid", "LootTables.SQ004_camp_LGM_decorative"
	];
}

SQ004_camp_LGS_consumables : SQ004_Loot
{
	lootItems = [];
}

SQ004_camp_LGS_crate : SQ004_Loot
{
	lootItems = 
	[
		{
			dropChance = 0.4;
			itemID = "Items.WraithsJunkItem1";
		}, 
		{
			dropChance = 0.4;
			itemID = "Items.WraithsJunkItem2";
		}, 
		{
			dropChance = 0.4;
			itemID = "Items.WraithsJunkItem3";
		}, 
		{
			dropChance = 0.25;
			itemID = "Items.GenericGangJunkItem1";
		}, 
		{
			dropChance = 0.25;
			itemID = "Items.GenericGangJunkItem2";
		}, 
		{
			dropChance = 0.25;
			itemID = "Items.GenericGangJunkItem3";
		}, 
		{
			dropChance = 0.25;
			itemID = "Items.GenericGangJunkItem4";
		}, 
		{
			dropChance = 0.25;
			itemID = "Items.GenericGangJunkItem5";
		}, 
		{
			dropChance = 0.3;
			dropCountMin = 50;
			dropCountMax = 100;
			itemID = "Items.money";
		}
	];
}

SQ004_camp_LGS_equipment : SQ004_Loot
{
	queries = 
	[
		{
			dropChance = 0.6;
			query = "Query.WraithsGlasses";
		}, 
		{
			dropChance = 0.6;
			query = "Query.WraithsMask";
		}
	];
}

SQ004_camp_LGS_first_aid : SQ004_Loot
{
	lootTableInclusions = 
	[
		"Loot.GenericHealingCosumabless"
	];
}

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

SQ004_camp_LGS_toolbox : SQ004_Loot
{
	maxItemsToLoot = 1;
	queries = 
	[
		{
			dropChance = 0.1;
			query = "Query.RecipeSimpleFabricEnhancerQuery";
		}, 
		{
			playerPrereqID = "LootPrereqs.PlayerLevelCommonWeaponModsPrereq";
			dropChance = 0.2;
			query = "Query.CommonWeaponModsQuery";
		}, 
		{
			playerPrereqID = "LootPrereqs.PlayerLevelUncommonWeaponModsPrereq";
			dropChance = 0.2;
			query = "Query.UncommonWeaponModsQuery";
		}, 
		{
			playerPrereqID = "LootPrereqs.PlayerLevelRareWeaponModsPrereq";
			dropChance = 0.2;
			query = "Query.RareWeaponModsQuery";
		}
	];
}

SQ004_camp_LGS_valuable : SQ004_Loot
{
	lootItems = 
	[
		{
			dropChance = 0.8f;
			dropCountMin = 1000;
			dropCountMax = 1500;
			itemID = "Items.money";
		}
	];
}

SQ004_camp_LGS_weapon : SQ004_Loot
{
	lootItems = 
	[
		{
			dropChance = 0.1;
			itemID = "Items.Preset_Nova_Default";
			fk< StatModifier >[] statModifiers = 
			[
				"Quality.MinimumRareQuality"
			];
		}, 
		{
			dropChance = 0.1;
			itemID = "Items.Preset_Pulsar_Default";
			fk< StatModifier >[] statModifiers = 
			[
				"Quality.MinimumRareQuality"
			];
		}
	];
}

SQ004_farmhouse_LRM_toolbox : SQ004_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";
		}
	];
}

SQ004_farmhouse_LRS_consumables : SQ004_Loot
{
	lootItems = [];
}

SQ004_farmhouse_LRS_equipment : SQ004_Loot
{
	queries = 
	[
		{
			dropChance = 0.1;
			query = "Query.PoorClothing";
		}, 
		{
			dropChance = 0.1;
			query = "Query.SimpleClothing";
		}, 
		{
			dropChance = 0.1;
			query = "Query.CasualClothing";
		}
	];
}

SQ004_farmhouse_LRS_first_aid : SQ004_Loot
{
	lootTableInclusions = 
	[
		"Loot.GenericHealingCosumabless"
	];
}

