One line summary of your issue
Renowned scholar/mystic from Philosopher Bloodline has multiple education traits.
Game Version
3.1.0 (KKAD)
What expansions do you have installed?
Jade Dragon,
Monks & Mystics,
The Reapers Due,
Conclave,
Horse Lords,
Way of Life,
Charlemagne,
Rajas of India,
Sons of Abraham,
The Old Gods,
The Republic,
Legacy of Rome,
Sword of Islam,
Holy Fury, All of the above
Do you have mods enabled?
Yes
Please explain your issue is in as much detail as possible.
EDIT: Added exact filename and filepath references and the exact lines in which the suspected error is present and to include an updated file.
The event_technology_bloodline_01 bloodline has the flag bloodline_wandering_artists which allows HF.24236 (in \Crusader Kings II\events\HF_bloodline_events.txt) to fire. However the scholars and mystics generated by this event can have multiple Learning education traits.
I've attached a save of my current game and a screenshot of the bug.
I've tested this using the console (see StR below) and I found it be present in around 8/10 cases. Which means the game is rolling for an education trait when the character is generated and then applying Mastermind Theologian on top of what they already have. Since in 2/10 cases they're have that trait already, they won't get a second education trait.
Looking at the script for spawn_fantastic_scholar_effect (from \Crusader Kings II\common\scripted_effects\00_scripted_effects.txt) (which both the scholar and mystic effects call), it has the following script in new_character = { } which is incorrect (lines 16640 to 16645);
It should instead be:
I've attached an updated 00_scriped_effects.txt file that should fix the issue, but haven't had time to test it yet.
Steps to reproduce the issue.
1) Start a game as any character in any bookmark.
2) Use the console to trigger event HF.24238 (for Scholars) and HF.24239 (for Mystics) multiple times.
3) Observe that some, but not all of the characters generated have multiple education traits. In my testing I found it be around 8/10 cases.
Upload Attachment
Renowned scholar/mystic from Philosopher Bloodline has multiple education traits.
Game Version
3.1.0 (KKAD)
What expansions do you have installed?
Jade Dragon,
Monks & Mystics,
The Reapers Due,
Conclave,
Horse Lords,
Way of Life,
Charlemagne,
Rajas of India,
Sons of Abraham,
The Old Gods,
The Republic,
Legacy of Rome,
Sword of Islam,
Holy Fury, All of the above
Do you have mods enabled?
Yes
Please explain your issue is in as much detail as possible.
EDIT: Added exact filename and filepath references and the exact lines in which the suspected error is present and to include an updated file.
The event_technology_bloodline_01 bloodline has the flag bloodline_wandering_artists which allows HF.24236 (in \Crusader Kings II\events\HF_bloodline_events.txt) to fire. However the scholars and mystics generated by this event can have multiple Learning education traits.
I've attached a save of my current game and a screenshot of the bug.
I've tested this using the console (see StR below) and I found it be present in around 8/10 cases. Which means the game is rolling for an education trait when the character is generated and then applying Mastermind Theologian on top of what they already have. Since in 2/10 cases they're have that trait already, they won't get a second education trait.
Looking at the script for spawn_fantastic_scholar_effect (from \Crusader Kings II\common\scripted_effects\00_scripted_effects.txt) (which both the scholar and mystic effects call), it has the following script in new_character = { } which is incorrect (lines 16640 to 16645);
Code:
remove_trait = naive_appeaser
remove_trait = underhanded_rogue
remove_trait = charismatic_negotiator
remove_trait = grey_eminence
add_trait = mastermind_theologian
It should instead be:
Code:
remove_trait = detached_priest
remove_trait = martial_cleric
remove_trait = scholarly_theologian
add_trait = mastermind_theologian
I've attached an updated 00_scriped_effects.txt file that should fix the issue, but haven't had time to test it yet.
Steps to reproduce the issue.
1) Start a game as any character in any bookmark.
2) Use the console to trigger event HF.24238 (for Scholars) and HF.24239 (for Mystics) multiple times.
3) Observe that some, but not all of the characters generated have multiple education traits. In my testing I found it be around 8/10 cases.
Upload Attachment
Attachments
Last edited: