• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Mcgan

Lt. General
18 Badges
Mar 19, 2020
1.398
2.049
  • Crusader Kings III: Royal Edition
  • Stellaris: Galaxy Edition
  • Stellaris - Path to Destruction bundle
  • Stellaris: Distant Stars
  • Stellaris: Synthetic Dawn
  • Stellaris: Leviathans Story Pack
  • Stellaris: Apocalypse
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Stellaris: Federations
  • Stellaris: Nemesis
  • Stellaris: Humanoids Species Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Lithoids
  • Stellaris: Necroids
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:eek:ffensive_courtier" with "target = root"
line 496: "can_set_relation_potential_rival_trigger = { CHARACTER = scope:eek:ffensive_courtier }" with "can_set_relation_potential_rival_trigger = { CHARACTER = root }"
line 498: "set_relation_potential_rival = scope:eek: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
 

Attachments

  • Nithing_hates_herself_instead_of_ruler.jpg
    Nithing_hates_herself_instead_of_ruler.jpg
    787,5 KB · Views: 0
Well, these unwelcome smileys are ridiculous :oops: