@title First Gun Chest: Full Loadout
@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 gun chest in Covenant Pass to include a full set of
### gear, including two pistols, shield, grenade, COM, and artifact.  (Obviously
### you'll need something like my Early Bloomer mod if you want to be able to
### use the COM/artifact.)
###
### 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/ItemPool_Pistols_All.ItemPool_Pistols_All"',AttachmentPointName=TopLeft,Probability=(BaseValueConstant=1)),(ItemPool=ItemPoolData'"/Game/GameData/Loot/ItemPools/Shields/ItemPool_Shields_All.ItemPool_Shields_All"',AttachmentPointName=TopMiddle,Probability=(BaseValueConstant=1)),(ItemPool=ItemPoolData'"/Game/GameData/Loot/ItemPools/GrenadeMods/ItemPool_GrenadeMods_All.ItemPool_GrenadeMods_All"',AttachmentPointName=TopRight,Probability=(BaseValueConstant=1)),(ItemPool=ItemPoolData'"/Game/Gear/ClassMods/_Design/ItemPools/ItemPool_ClassMods.ItemPool_ClassMods"',AttachmentPointName=BottomLeft,Probability=(BaseValueConstant=1)),(ItemPool=ItemPoolData'"/Game/Gear/Artifacts/_Design/ItemPools/ItemPool_Artifacts.ItemPool_Artifacts"',AttachmentPointName=BottomMiddle,Probability=(BaseValueConstant=1)),(ItemPool=ItemPoolData'"/Game/GameData/Loot/ItemPools/Guns/ItemPool_Pistols_All.ItemPool_Pistols_All"',AttachmentPointName=BottomRight,Probability=(BaseValueConstant=1)))

# 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"'