Here's an updated version of your current CheatTraits mod. No idea when they're going to change the rest of the stuffis but this one was easy enough to fix and I have tested that it works. Cheers!Just a heads up for anyone using my trait mods:
Tristim/Starbuck seem to have made some changes to how traits are designated in the source code (they're more organized and in .py files) in the recent beta releases. Additionally, they changed the script.rpy file to use a cleaner approach to storing traits. DO NOT INSTALL MY TRAITS MOD - as it includes a modified script.rpy file to pre-load the cheated traits into the research list - since it will result in an error log every single time.
I won't be updating my trait mod due to the refactoring being done to clean up the code for LR2, but others may update theirs for update releases. Also, I'm just not as active on this thread as I use to be lol.
If anyone with some Python knowhow wants to package the code from my trait mod into their own for future updates please feel free to do so. You don't need to credit me either (it's a pirate forum anyways).
EDIT: To confirm I have tested on the current version released as of today 12/28/2023, no idea after today.