fun flavour events

This commit is contained in:
Greekman 2026-11-21 23:41:36 +00:00
parent b7a53b6b8f
commit 9392902675
7 changed files with 894 additions and 0 deletions

View file

@ -0,0 +1,39 @@
# Catches already-owned targets on an existing save, and repeats after expansion.
NEOW_restoration_flavour_pulse = {
trigger = {
is_ai = no
is_ruler = yes
}
events = {
NEOW_restoration.9000
}
}
# A war transfers titles to the conqueror or to their vassals. Check the player
# who received the title, or the top liege of the new holder, after war cleanup.
NEOW_restoration_flavour_title_gain_pulse = {
effect = {
if = {
limit = {
is_ai = no
is_ruler = yes
NOT = { has_character_flag = flag_NEOW_restoration_check_queued }
}
add_character_flag = { flag = flag_NEOW_restoration_check_queued days = 10 }
trigger_event = { id = NEOW_restoration.9000 days = 3 }
}
else_if = {
limit = {
root.top_liege = {
is_ai = no
is_ruler = yes
NOT = { has_character_flag = flag_NEOW_restoration_check_queued }
}
}
root.top_liege = {
add_character_flag = { flag = flag_NEOW_restoration_check_queued days = 10 }
trigger_event = { id = NEOW_restoration.9000 days = 3 }
}
}
}
}

View file

@ -256,6 +256,7 @@ on_title_destroyed = {
on_title_gain = {
on_actions = {
gdp_league_focus_on_title_gain
NEOW_restoration_flavour_title_gain_pulse
}
effect = {

View file

@ -2855,6 +2855,7 @@ random_yearly_playable_pulse = {
on_actions = {
delay = { days = { 45 75 } }
on_yearly_common_events
NEOW_restoration_flavour_pulse
delay = { days = { 50 80 } }
on_yearly_invisible_events
delay = { days = { 85 165 } }