@title First Gun Chest: Testing Gear
@version 1.0.0
@author Apocalyptech
@contact https://apocalyptech.com/contact.php
@categories chests, cheat

@license Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
@license-url https://creativecommons.org/licenses/by-sa/4.0/

###
### Updates the opening chest in Covenant Pass to contain my mod-testing gear,
### namely a Crader's EM-P5 and a Transformer.  Depending on circumstance, you
### might be more interested in my modtest_char_setup mod, which also does this
### (among other things).
###
### Note that if the first thing you take out of the opening chest isn't a gun,
### you'll automatically receive a bonus gun from the FirstGun pool, in your
### inventory.
###
### Also updates the car-trunk chest which provides your second and third guns
### to pull from the main pistol pool rather than locked to white Jakobs+Dahl
### pistols.
###
### Generated by gen_first_gun_chest.py
###

# Update the chest LootDef
SparkEarlyLevelPatchEntry,(1,1,0,Recruitment_P),/Game/Missions/Plot/EP01_ChildrenOfTheVault/LootDef_Global_WhiteChest_ChildrenOfTheVault.LootDef_Global_WhiteChest_ChildrenOfTheVault,DefaultLoot.DefaultLoot[0].ItemAttachments,0,,((ItemPool=ItemPoolData'"/Game/GameData/Loot/ItemPools/Guns/Pistols/ItemPool_Pistols_FirstGun.ItemPool_Pistols_FirstGun"',AttachmentPointName=TopLeft,Probability=(BaseValueConstant=1)),(ItemPool=ItemPoolData'"/Game/Gear/Shields/_Design/_Uniques/Transformer/Balance/ItemPool_Shield_Recharger.ItemPool_Shield_Recharger"',AttachmentPointName=BottomRight,Probability=(BaseValueConstant=1)))

# Update first-gun pool
SparkLevelPatchEntry,(1,1,0,Recruitment_P),/Game/GameData/Loot/ItemPools/Guns/Pistols/ItemPool_Pistols_FirstGun.ItemPool_Pistols_FirstGun,BalancedItems.BalancedItems[0].InventoryBalanceData,0,,/Game/PatchDLC/Raid1/Re-Engagement/Weapons/CraderMP5/Balance/Balance_SM_DAHL_CraderMP5.Balance_SM_DAHL_CraderMP5
SparkLevelPatchEntry,(1,1,0,Recruitment_P),/Game/GameData/Loot/ItemPools/Guns/Pistols/ItemPool_Pistols_FirstGun.ItemPool_Pistols_FirstGun,BalancedItems.BalancedItems[0].ResolvedInventoryBalanceData,0,,InventoryBalanceData'"/Game/PatchDLC/Raid1/Re-Engagement/Weapons/CraderMP5/Balance/Balance_SM_DAHL_CraderMP5.Balance_SM_DAHL_CraderMP5"'

# Update second-gun LootDef
SparkEarlyLevelPatchEntry,(1,1,0,Recruitment_P),/Game/Missions/Plot/EP01_ChildrenOfTheVault/LootDef_Industrial_CarTrunk_Prologue.LootDef_Industrial_CarTrunk_Prologue,DefaultLoot.DefaultLoot[0].ItemAttachments.ItemAttachments[4].ItemPool,0,,ItemPoolData'"/Game/GameData/Loot/ItemPools/Guns/ItemPool_Pistols_All.ItemPool_Pistols_All"'
SparkEarlyLevelPatchEntry,(1,1,0,Recruitment_P),/Game/Missions/Plot/EP01_ChildrenOfTheVault/LootDef_Industrial_CarTrunk_Prologue.LootDef_Industrial_CarTrunk_Prologue,DefaultLoot.DefaultLoot[0].ItemAttachments.ItemAttachments[5].ItemPool,0,,ItemPoolData'"/Game/GameData/Loot/ItemPools/Guns/ItemPool_Pistols_All.ItemPool_Pistols_All"'