# 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 } } } } }