Hello,
I'm learning a bit of modding and have some basic questions. As can be seen the mod is very simple and a bit self indulgent.
I have created my own bloodline and an event to attach it to any character. I fire it via console and the bloodline propagates correctly, which is cool. I have these two events below which i have the question about.
Both events work but only one character at a time over approx 12 months but does catch all them eventually. I was expecting the event to fire on all characters at the same time. As a test i put the event GEARY.2 in the 'on_startup' which worked and fired for all characters at once. Is the 'on_yearly_pulse' and 'on_decade_pulse' working as intended or am i missing something in the events?
Regards
Jaime
I'm learning a bit of modding and have some basic questions. As can be seen the mod is very simple and a bit self indulgent.
I have created my own bloodline and an event to attach it to any character. I fire it via console and the bloodline propagates correctly, which is cool. I have these two events below which i have the question about.
Both events work but only one character at a time over approx 12 months but does catch all them eventually. I was expecting the event to fire on all characters at the same time. As a test i put the event GEARY.2 in the 'on_startup' which worked and fired for all characters at once. Is the 'on_yearly_pulse' and 'on_decade_pulse' working as intended or am i missing something in the events?
Code:
#Add Immortal trait to Adult males with Geary Bloodline --> on_yearly_pulse
character_event = {
id = GEARY.2
hide_window = yes
is_triggered_only = yes
only_men = yes
min_age = 16
trigger = {
any_owned_bloodline = { has_bloodline_flag = geary_blood }
immortal = no
}
option = {
name = OPT_GEARY.2.1
add_trait = immortal
set_character_flag = immortal
}
}
Code:
# Stat increase every 'on_decade_pulse' for immortal char's. Life experience.
character_event = {
id = GEARY.4
hide_window = yes
is_triggered_only = yes
only_men = yes
min_age = 26
trigger = {
immortal = yes
}
option = {
name = OPT_GEARY.4.1
change_diplomacy = 1
change_martial = 1
change_stewardship = 1
change_intrigue = 1
change_learning = 1
set_character_flag = immortal_xp
}
}
Regards
Jaime