adapted code for Tiny Tina's Wonderlands from this repo: https://github.com/BLCM/bl3mods/tree/master/Apocalyptech/dataprocessing originaly written for Borderlands 3.