Short summary of your issue
Event - Declaring courtier to be "Nithing" makes them hate themself instead of their ruler
Game Version
1.3.1 Beta
What OS are you playing on?
Windows
What platform are you using?
Steam
Do you have mods enabled?
Yes
Have you tried verifying your game files (Steam only)?
Yes
How much "pain" is this causing you?
5
Please explain the issue you experienced in the most condensed way possible
One of the new DLC events (fp1_yearly.0011) gives the choice to declare a courtier "Nithing", and should make that courtier hate and become a potential rival of their ruler, but the target actually used is that same courtier.
Please explain how to reproduce the issue
Force the event to trigger, select the first option.
Happens without mods. Most mods don't even affect the new DLC events. Yet.
Is there anything else you think could help us identify/replicate the issue?
It all happens in "fp1_yearly_events.txt":
line 461, "scripted_effect agree_to_courtier_becoming_nithing_effect" is used twice in the file, and always on the "offensive_courtier" (lines 665-667 and 722).
But it seems the last part of that scripted effect (negative opinion and potential rival) was made with the intention to be used on the ruler instead of the courtier.
Specifically, replacing these:
line 487: "reverse_add_opinion" with "add_opinion"
line 488: "target = scope
ffensive_courtier" with "target = root"
line 496: "can_set_relation_potential_rival_trigger = { CHARACTER = scope
ffensive_courtier }" with "can_set_relation_potential_rival_trigger = { CHARACTER = root }"
line 498: "set_relation_potential_rival = scope
ffensive_courtier" with "set_relation_potential_rival = root"
Seems to do the trick. Not sure about the rest though.
I would upload a save but I use custom mods in that game, and the error is easier to spot when you know where to look anyway.
I have attached a save game
No
Upload Attachment
File(s) attached
Event - Declaring courtier to be "Nithing" makes them hate themself instead of their ruler
Game Version
1.3.1 Beta
What OS are you playing on?
Windows
What platform are you using?
Steam
Do you have mods enabled?
Yes
Have you tried verifying your game files (Steam only)?
Yes
How much "pain" is this causing you?
5
Please explain the issue you experienced in the most condensed way possible
One of the new DLC events (fp1_yearly.0011) gives the choice to declare a courtier "Nithing", and should make that courtier hate and become a potential rival of their ruler, but the target actually used is that same courtier.
Please explain how to reproduce the issue
Force the event to trigger, select the first option.
Happens without mods. Most mods don't even affect the new DLC events. Yet.
Is there anything else you think could help us identify/replicate the issue?
It all happens in "fp1_yearly_events.txt":
line 461, "scripted_effect agree_to_courtier_becoming_nithing_effect" is used twice in the file, and always on the "offensive_courtier" (lines 665-667 and 722).
But it seems the last part of that scripted effect (negative opinion and potential rival) was made with the intention to be used on the ruler instead of the courtier.
Specifically, replacing these:
line 487: "reverse_add_opinion" with "add_opinion"
line 488: "target = scope
line 496: "can_set_relation_potential_rival_trigger = { CHARACTER = scope
line 498: "set_relation_potential_rival = scope
Seems to do the trick. Not sure about the rest though.
I would upload a save but I use custom mods in that game, and the error is easier to spot when you know where to look anyway.
I have attached a save game
No
Upload Attachment
File(s) attached