* Remove old IsValidMongoId and Regex
* Convert more configs to MongoId, as well as BaseClasses
* Remove HashUtil.Generate(), replaced with new MongoId()
This will break mods and their examples!
In addition:
- Removes being able to add custom locales, modders should do .AddTransformer on the LazyLoaded value in the database!
- Fixes up PostDBLoad methods trying to use .Value which won't work as this data will be unloaded after 30 seconds
- Move all other SPT code to use .AddTransformer
* Added missing import for reflection /bonk
* Implemented bundles.json loading directly into program.cs
`IsBundleMod` is now read from all loaded mods metadata, and if set to true the bundles.json is read from the mod directory.
* re-assign the sorted valid mods to the loadedMods list
since ValidateMods returns the sortedLoadedMods, this is the list of mods we should be passing to our other spots
---------
Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
Swapped out the old method with new logic that sets the properties using reflection, and can also handle fields.
(cherry picked from commit 026c8dec5fa5cffd09de438e43d74e18a480d907)