• 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.

CrashGamesUHD2.0

Private
1 Badges
Jun 17, 2023
12
1
  • Crusader Kings III

Information​

I have verifed my game files (Steam only)​

Yes

I have disabled all mods​

Yes

I am running the latest game update​

Yes

Required​

Summary​

Always triggers first event in file

Description​

This is a scripting bug.
In certain constellations of character interactions and events, every trigger_event effect running an event runs the first event in the same file.
Furthermore, the debug console does not recognize the existence of the other events inside the file.

Steps to reproduce​

Create character interaction at common/character_interaction/amet_gain_traits.txt with contents:

amet_intellect_event = {
#category = interaction_category_toolbox
#desc = amet_gain_intellect_desc
interface_priority = 60

#hidden = yes
auto_accept = yes

#is_shown = yes

on_accept = {
# effect
scope:actor = {
trigger_event = {
id = amet_intellect_event
}
}
}
}

Create file events/amet.txt with contents:

amet_beauty_event = {
option = {
name = -3
scope:recipient = {
add_trait = beauty_bad_3
}
}
}

amet_intellect_event = {
option = {
name = 3
scope:recipient = {
add_trait = intellect_good_3
}
}
}

amet_body_traits_event = {

option = {
name = intellect

trigger_event = amet_intellect_event
}

option = {
name = beauty

trigger_event = amet_beauty_event
}
}


Every event triggered by this mod will now be executed as the first event in the amet.txt file. From my own testing, triggering CK3 events does not work at all.

Game Version​

1.9.2

Platform​

Windows

Additional Information​

Affected Feature​

  • Events
  • Modding

Save Game​



Other Attachments​



 
Upvote 0
I sent this zip file to my other machine, where I manages to replicate the problem. The mod didn't event register in the mod list shown in Multiplayer. In fact, since 1.9.2 was released, I have never seen any mods listed there, regardless of mods applies to the game. Sadly, I cannot open another issue for this for some reason.
1687034018253.png