I am trying to create an event where Blæja (daughter of Ælla) is married off to (or made a consort of) one of Ragnarr's sons if and after Ælla is killed by them. Historically, she was married (or a concubine) to Sigurd Snake-in-the-eye, but I want to leave it open who she marries when playing from the 867 start.
So the goal is to make the event fire after Ælla is dead, and the trigger needs to be that she is unmarried or that she is a courtier/prisoner of one of them. Any already married sibling among the Ragnarr sons should instead of as a wife take her as a concubine.
Will this work?
I've based this off of the files "misc_old_gods_events" and "cm_charlemagne_story_events". I am not sure if I've quite understood the use of limits. I am also wondering if this event simultaneously will fire for all four of the playable characters, possibly resulting in conflicting choices.
So the goal is to make the event fire after Ælla is dead, and the trigger needs to be that she is unmarried or that she is a courtier/prisoner of one of them. Any already married sibling among the Ragnarr sons should instead of as a wife take her as a concubine.
Will this work?
Code:
# Marriage to Blaeja
narrative_event = {
id = BLS.10
title = EVTTITLE_BLS_10
desc = EVTDESC_BLS_10
picture = GFX_evt_marriage
capable_only = yes
prisoner = no
has_dlc = "The Old Gods"
is_triggered_only = yes
trigger = {
any_sibling = {
is_married = no
}
character = 6861 # Blaeja
NOT = { is_married = yes }
father = {
is_alive = no
has_character_flag = aella_punished
}
OR = {
host = {
OR = {
character = 163108 # Björn Ironside
character = 163110 # Sigurd
character = 163111 # Ivar
character = 163112 # Halfdan
character = 163119 # Ubbe
}
}
}
}
option = {
name = EVTOPTA_BLS_10 # Marry her to Sigurd
c_163110 = {
limit = {
is_married = no
is_alive = yes
}
add_spouse = 6861
prestige = 50
if = {
limit = {
is_married = yes
}
add_consort = 6861
}
}
}
option = {
name = EVTOPTB_BLS_10 # Marry her to Ivar
c_163111 = {
limit = {
is_married = no
is_alive = yes
}
add_spouse = 6861
prestige = 50
if = {
limit = {
is_married = yes
}
add_consort = 6861
}
}
}
option = {
name = EVTOPTC_BLS_10 # Marry her to Halfdan
c_163112 = {
limit = {
is_married = no
is_alive = yes
}
add_spouse = 6861
prestige = 50
if = {
limit = {
is_married = yes
}
add_consort = 6861
}
}
}
option = {
name = EVTOPTD_BLS_10 # Marry her to Ubbe
c_163119 = {
limit = {
is_married = no
is_alive = yes
}
add_spouse = 6861
prestige = 50
if = {
limit = {
is_married = yes
}
add_consort = 6861
}
}
}
option = {
name = EVTOPTE_BLS_10 # Let her go
prestige = -50
piety = 50
}
}
I've based this off of the files "misc_old_gods_events" and "cm_charlemagne_story_events". I am not sure if I've quite understood the use of limits. I am also wondering if this event simultaneously will fire for all four of the playable characters, possibly resulting in conflicting choices.