Information
I have verifed my game files (Steam only)
YesI have disabled all mods
YesI am running the latest game update
YesRequired
Summary
Always triggers first event in fileDescription
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.2Platform
WindowsAdditional Information
Affected Feature
- Events
- Modding
Save Game
Other Attachments
Upvote
0