One line summary of your issue
[3.0] Ravager/SeaKing trait thru bloodline lost on game load
Game Version
PXTU
What expansions do you have installed?
All of the above
Do you have mods enabled?
No
Please explain your issue is in as much detail as possible.
It appears that if a character earns at least the Ravager trait (and probably sea king as well, but I haven't gotten that far) without being part of a religion that normally enables it, thanks to being descended from Ragnarr Loþbrok, then the trait will be lost if the game is saved and loaded again. The pirate trait is properly retained, however.
I'm attaching a save from when I have the trait, though it's not terribly informative, since the trait will of course be gone when it's loaded.
From looking at the code, it would appear that the difference is that the pirate trait has a line in its potential field enabling it if "has_character_flag = acquired_pirate_trait_by_bloodline," while the traits that are lost do not have anything similiar; they are instead being theoretically enabled by a bloodline check, which doesn't seem to work. Or at least, it briefly doesn't work at the start of the game, causing the ravager trait to be discarded.
Steps to reproduce the issue.
Play as a non-germanic descendant of Ragnarr. Raid enough to get the ravager trait (or just add it in the console, if you want to save time.) Save and reload - the ravager trait will be gone.
Or, very quickly: 867 start, pick Bjorn Ironside, console religion catholic, console add_trait ravager, save, resign, reload.
Upload Attachment
[3.0] Ravager/SeaKing trait thru bloodline lost on game load
Game Version
PXTU
What expansions do you have installed?
All of the above
Do you have mods enabled?
No
Please explain your issue is in as much detail as possible.
It appears that if a character earns at least the Ravager trait (and probably sea king as well, but I haven't gotten that far) without being part of a religion that normally enables it, thanks to being descended from Ragnarr Loþbrok, then the trait will be lost if the game is saved and loaded again. The pirate trait is properly retained, however.
I'm attaching a save from when I have the trait, though it's not terribly informative, since the trait will of course be gone when it's loaded.
From looking at the code, it would appear that the difference is that the pirate trait has a line in its potential field enabling it if "has_character_flag = acquired_pirate_trait_by_bloodline," while the traits that are lost do not have anything similiar; they are instead being theoretically enabled by a bloodline check, which doesn't seem to work. Or at least, it briefly doesn't work at the start of the game, causing the ravager trait to be discarded.
Steps to reproduce the issue.
Play as a non-germanic descendant of Ragnarr. Raid enough to get the ravager trait (or just add it in the console, if you want to save time.) Save and reload - the ravager trait will be gone.
Or, very quickly: 867 start, pick Bjorn Ironside, console religion catholic, console add_trait ravager, save, resign, reload.
Upload Attachment
Attachments
Upvote
0