aegons landing events

Upload: dmwaura2

Post on 04-Apr-2018

214 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/30/2019 Aegons Landing Events

    1/28

    # Aegon's Landing Events

    namespace = aegons_landing

    #Aegon decides his first actionnarrative_event = {

    id = aegons_landing.1desc = "EVTDESCaegons_landing.1"title = "EVTTITLEaegons_landing.1"picture = "GFX_targaryen_balerion"

    hide_from = yes

    is_triggered_only = yes

    immediate = {any_vassal = { set_character_flag = supporting_king }

    }

    option = {name = "EVTOPTAaegons_landing.1" #Strike North!ai_chance = { factor = 70 }e_iron_isles = {

    holder_scope = {

    custom_tooltip = TOOLTIPEVTOPTAaegons_landing.1hidden_tooltip = {any_vassal = {

    limit = {capital_scope = {

    kingdom = { title = k_crownlands }

    }}character_event = { id = aegons_

    landing.2 }}

    }

    }reverse_war = {target = ROOTcasus_belli = dragon_conquest

    }}

    }

    option = {name = "EVTOPTBaegons_landing.1" #Strike South!ai_chance = { factor = 20 }e_stormlands = {

    holder_scope = {

    custom_tooltip = TOOLTIPEVTOPTAaegons_landing.1hidden_tooltip = {

    any_vassal = {limit = {

    capital_scope = {kingdom = { titl

    e = k_crownlands }}

    }character_event = { id = aegons_

  • 7/30/2019 Aegons Landing Events

    2/28

    landing.2 }}

    }}reverse_war = {

    target = ROOTcasus_belli = dragon_conquest

    }}

    }option = {

    name = "EVTOPTGaegons_landing.1" #The lands of the reachai_chance = { factor = 5 }e_reach = {

    holder_scope = {custom_tooltip = TOOLTIPEVTOPTAaegons_landing.1hidden_tooltip = {

    any_vassal = {limit = {

    capital_scope = {kingdom = { titl

    e = k_crownlands }}

    }

    character_event = { id = aegons_landing.2 }}

    }}reverse_war = {

    target = ROOTcasus_belli = dragon_conquest

    }}

    }}#Crownlander subdued

    character_event = {id = aegons_landing.2desc = "EVTDESCaegons_landing.2"picture = "GFX_targaryen_balerion"

    is_triggered_only = yes

    immediate = {set_defacto_liege = ROOT

    }

    option = {name = "EVTOPTA3370080" #Give up

    ai_chance = { factor = 150 }set_defacto_liege = FROMhidden_tooltip = {

    opinion = {modifier = opinion_subjugatedwho = FROMyears = 10

    }}

    }

  • 7/30/2019 Aegons Landing Events

    3/28

    option = {name = "EVTOPTB3370080" #Fight!ai_chance = {

    factor = 20modifier = {

    factor = 2tier = DUKE

    }modifier = {

    factor = 2trait = brave

    }modifier = {

    factor = 0.5trait = craven

    }modifier = {

    factor = 2trait = wroth

    }modifier = {

    factor = 0.5trait = patient

    }modifier = {factor = 2trait = proud

    }modifier = {

    factor = 0.5trait = humble

    }modifier = {

    factor = 2trait = stubborn

    }

    modifier = {factor = 1.5FROM = {

    NOT = { check_variable = { which = "kingdoms_conquered" value = 0 } }

    }}modifier = {

    factor = 1.5FROM = {

    NOT = { check_variable = { which = "kingdoms_conquered" value = 1 } }

    }

    }modifier = {

    factor = 0.5FROM = {

    check_variable = { which = "kingdoms_conquered" value = 2 }

    }}modifier = {

    factor = 0.5

  • 7/30/2019 Aegons Landing Events

    4/28

    FROM = {check_variable = { which = "kingdoms_con

    quered" value = 3 }}

    }modifier = {

    factor = 0.5FROM = {

    check_variable = { which = "kingdoms_conquered" value = 4 }

    }}

    }FROM = {

    character_event = { id = aegons_landing.3 days = 1 tooltip = TOOLTIPaegons_landing.3 }

    }}

    }#Crownlander fightscharacter_event = {

    id = aegons_landing.3desc = "EVTDESCaegons_landing.3"picture = "GFX_evt_battle"

    is_triggered_only = yes

    immediate = {FROM = { set_character_flag = crownlander_resists }

    }

    option = {name = "EVTOPTAaegons_landing.2" #OKFROM = {

    primary_title = {reverse_war = {

    target = ROOT

    casus_belli = dragon_conquest}}

    }}

    }#Aegon decides his next actioncharacter_event = {

    id = aegons_landing.4desc = "EVTDESCaegons_landing.4"picture = "GFX_targaryen_balerion"

    hide_from = yes

    is_triggered_only = yes

    trigger = {has_landed_title = e_iron_thronehas_global_flag = aegons_conquesttrait = dragonNOT = {

    any_war = {AND = {

  • 7/30/2019 Aegons Landing Events

    5/28

    using_cb = dragon_conquestdefender = { tier = EMPEROR }

    }}

    }any_playable_ruler = {

    tier = EMPERORNOT = { truce_with = ROOT }NOT = { has_landed_title = e_iron_throne }NOT = { has_landed_title = e_beyond_wall }

    }}

    immediate = {any_vassal = { set_character_flag = supporting_king }if = {

    limit = {e_iron_isles = { has_holder = no }e_riverlands = { has_holder = no }NOT = {

    k_riverlands = {dejure_liege_title = { title = e

    _iron_throne }}

    }}e_iron_throne = {

    k_riverlands = { de_jure_liege = PREV }}k_iron_isles = {

    holder_scope = {k_riverlands = { add_pressed_claim = PRE

    V }c_orkmont = { gain_title = PREV }if = {

    limit = {ROOT = {

    OR = { ai = noNOT = {

    any_courtier = { has_character_flag = aerion_qoherys } }}

    }}c_harrenhal = { gain_title = ROO

    T }d_harrenhal = { gain_title = ROO

    T }}if = {

    limit = {ROOT = {

    ai = yesany_courtier = {

    has_character_flag = aerion_qoherys }}

    }random_list = {

    25 = {c_harrenhal = {

  • 7/30/2019 Aegons Landing Events

    6/28

    gain_title = ROOT }d_harrenhal = {

    gain_title = ROOT }}75 = {

    ROOT = {random_c

    ourtier = {

    limit = { has_character_flag = aerion_qoherys }

    c_harrenhal = { gain_title = PREV }

    d_harrenhal = { gain_title = PREV }}

    }}

    }}c_harrenhal = { add_pressed_claim = PREV

    }d_harrenhal = { add_pressed_claim = PRE

    V }}

    }}if = {

    limit = {e_stormlands = { has_holder = no }k_stormlands = { has_holder = no }has_landed_title = c_storms_endany_courtier = { has_character_flag = argella_du

    rrandon }any_courtier = {

    has_character_flag = orys_baratheonNOT = { has_character_flag = no_to_storm

    lands }

    NOT = { trait = kingsguard }}}character_event = { id = aegons_landing.13 days =

    5 }}

    }

    option = {name = "EVTOPTAaegons_landing.1" #Strike North!trigger = {

    e_iron_isles = {holder_scope = {

    independent = yesOR = {

    NOT = { has_character_flag = defended_conquest }

    had_character_flag = { flag = defended_conquest days = 3650 }

    }}

    }}

  • 7/30/2019 Aegons Landing Events

    7/28

    ai_chance = { factor = 100 }e_iron_isles = {

    holder_scope = {custom_tooltip = TOOLTIPEVTOPTAaegons_landing.1hidden_tooltip = {

    any_vassal = {limit = {

    capital_scope = {kingdom = { titl

    e = k_crownlands }}

    }character_event = { id = aegons_

    landing.2 }}

    }}reverse_war = {

    target = ROOTcasus_belli = dragon_conquest

    }}

    }

    option = {name = "EVTOPTBaegons_landing.1" #Strike South!trigger = {

    e_stormlands = {holder_scope = {

    independent = yesOR = {

    NOT = { has_character_flag = defended_conquest }

    had_character_flag = { flag = defended_conquest days = 3650 }

    }}

    }}ai_chance = { factor = 75 }e_stormlands = {

    holder_scope = {custom_tooltip = TOOLTIPEVTOPTAaegons_landing.1hidden_tooltip = {

    any_vassal = {limit = {

    capital_scope = {kingdom = { titl

    e = k_crownlands }}

    }character_event = { id = aegons_

    landing.2 }}

    }}reverse_war = {

    target = ROOTcasus_belli = dragon_conquest

    }

  • 7/30/2019 Aegons Landing Events

    8/28

    }}option = {

    name = "EVTOPTCaegons_landing.1" #Strike West!trigger = {

    e_westerlands = {holder_scope = {

    independent = yesOR = {

    NOT = { has_character_flag = defended_conquest }

    had_character_flag = { flag = defended_conquest days = 3650 }

    }}

    }OR = {

    NOT = {e_iron_isles = {

    holder_scope = {independent = yes

    }}

    }

    NOT = { e_reach = {holder_scope = {

    independent = yes}

    }}

    }}ai_chance = { factor = 50 }e_westerlands = {

    holder_scope = {custom_tooltip = TOOLTIPEVTOPTAaegons_landing.1

    hidden_tooltip = {any_vassal = {limit = {

    capital_scope = {kingdom = { titl

    e = k_crownlands }}

    }character_event = { id = aegons_

    landing.2 }}

    }}

    reverse_war = {target = ROOTcasus_belli = dragon_conquest

    }}

    }option = {

    name = "EVTOPTGaegons_landing.1" #The lands of the reachtrigger = {

    e_reach = {

  • 7/30/2019 Aegons Landing Events

    9/28

    holder_scope = {independent = yesOR = {

    NOT = { has_character_flag = defended_conquest }

    had_character_flag = { flag = defended_conquest days = 3650 }

    }}

    }}ai_chance = { factor = 50 }e_reach = {

    holder_scope = {custom_tooltip = TOOLTIPEVTOPTAaegons_landing.1hidden_tooltip = {

    any_vassal = {limit = {

    capital_scope = {kingdom = { titl

    e = k_crownlands }}

    }character_event = { id = aegons_

    landing.2 } }}

    }reverse_war = {

    target = ROOTcasus_belli = dragon_conquest

    }}

    }option = {

    name = "EVTOPTDaegons_landing.1" #The Valetrigger = {

    e_vale = {holder_scope = {independent = yesOR = {

    NOT = { has_character_flag = defended_conquest }

    had_character_flag = { flag = defended_conquest days = 3650 }

    }}

    }NOT = {

    e_iron_isles = {

    holder_scope = {independent = yes

    }}

    }}ai_chance = { factor = 25 }e_vale = {

    reverse_war = {target = ROOT

  • 7/30/2019 Aegons Landing Events

    10/28

    casus_belli = dragon_conquest}

    }}option = {

    name = "EVTOPTEaegons_landing.1" #The Northtrigger = {

    e_north = {holder_scope = {

    independent = yesOR = {

    NOT = { has_character_flag = defended_conquest }

    had_character_flag = { flag = defended_conquest days = 3650 }

    }}

    }NOT = {

    e_iron_isles = {holder_scope = {

    independent = yes}

    }

    }}ai_chance = { factor = 25 }e_north = {

    reverse_war = {target = ROOTcasus_belli = dragon_conquest

    }}

    }option = {

    name = "EVTOPTFaegons_landing.1" #Dornetrigger = {

    e_dorne = {holder_scope = {independent = yesOR = {

    NOT = { has_character_flag = defended_conquest }

    had_character_flag = { flag = defended_conquest days = 3650 }

    }}

    }NOT = {

    e_stormlands = {

    holder_scope = {independent = yes

    }}

    }}ai_chance = { factor = 10 }e_dorne = {

    reverse_war = {target = ROOT

  • 7/30/2019 Aegons Landing Events

    11/28

    casus_belli = dragon_conquest}

    }}

    option = {name = "EVTOPTHaegons_landing.1" #My Conquest must stopai_chance = {

    factor = 1modifier = {

    factor = 0.01ai = yes

    }}set_character_flag = conquest_force_endingcharacter_event = { id = aegons_landing.9 days = 4 tooltip = TO

    OLTIPEVTOPTHaegons_landing.1 }}

    }#subdues Cracklaw pointcharacter_event = {

    id = aegons_landing.5desc = "EVTDESCaegons_landing.5"picture = "GFX_targaryen_balerion"

    hide_from = yes

    is_triggered_only = yes

    trigger = {has_landed_title = e_iron_thronetrait = dragonNOT = { has_character_flag = cracklaw_point_subdued }NOT = {

    e_iron_isles = {holder_scope = {

    independent = yes

    }}}any_independent_ruler = {

    capital_scope = {duchy = { title = d_crackclaw_point }

    }NOT = {

    any_war = { using_cb = dragon_conquest }}

    }}

    option = {name = "EVTOPTAaegons_landing.5"set_character_flag = cracklaw_point_subduedany_independent_ruler = {

    limit = {capital_scope = {

    duchy = { title = d_crackclaw_point }}NOT = {

    any_war = { using_cb = dragon_conquest }

  • 7/30/2019 Aegons Landing Events

    12/28

    }}character_event = { id = aegons_landing.2 tooltip = "TOO

    LTIPaegons_landing.5" }}

    }}#Convert to the Faith?narrative_event = {

    id = aegons_landing.6desc = "EVTDESCaegons_landing.6"title = "EVTTITLEaegons_landing.6"picture = "GFX_targaryen_balerion"

    hide_from = yes

    is_triggered_only = yes

    trigger = {has_global_flag = aegons_conquesthas_landed_title = e_iron_thronereligion = valyrianNOT = { has_character_flag = faith_decision }OR = {

    any_vassal = { has_landed_title = k_reach }has_landed_title = k_reach}

    }

    immediate = { set_character_flag = faith_decision }

    option = {name = "EVTOPTAaegons_landing.6" #Convertai_chance = { factor = 90 }religion = the_sevenadd_trait = knightset_character_flag = crowned_by_high_septon

    k_the_most_devout = {holder_scope = {set_defacto_liege = ROOTopinion = {

    who = ROOTmodifier = zealous_pos

    }}

    }hidden_tooltip = {

    any_realm_character = {limit = { religion = valyrian }religion = the_seven

    if = {limit = {

    is_female = noage = 16

    }add_trait = knight

    }}any_realm_lord = {

    limit = { NOT = { character = ROOT } }

  • 7/30/2019 Aegons Landing Events

    13/28

    character_event = { id = 5552801 }}

    }}option = {

    name = "EVTOPTBaegons_landing.6" #Noai_chance = { factor = 10 }k_the_most_devout = {

    holder_scope = {set_defacto_liege = ROOTopinion = {

    who = ROOTmodifier = zealous_neg

    }}

    }}

    }#Build a Great Sept for the Faithcharacter_event = {

    id = aegons_landing.7desc = "EVTDESCaegons_landing.7"picture = "GFX_evt_greatsept"

    only_rulers = yes

    trigger = {has_landed_title = e_iron_thronereligion = the_sevencapital_scope = {

    province_id = 226OR = {

    NOT = { num_of_settlements = 7 }b_great_sept_of_baelor = {

    holder_scope = {NOT = { has_landed_title = k_the

    _most_devout }

    }}}

    }NOT = { has_character_flag = great_sept_decision }NOT = { has_global_flag = great_sept_built }OR = {

    trait = septonAND = {

    trait = zealousOR = {

    piety = 250trait = celibate

    trait = lunatic}

    }}treasury = 350

    }

    immediate = { set_character_flag = great_sept_decision }

    mean_time_to_happen = {

  • 7/30/2019 Aegons Landing Events

    14/28

    years = 5}

    option = {name = "EVTOPTAaegons_landing.7" #Yes!ai_chance = { factor = 85 }treasury = -500piety = 500prestige = 400set_global_flag = great_sept_builthidden_tooltip = {

    capital_scope = {build_holding = {

    title = b_great_sept_of_baelortype = templeholder = ROOT

    }

    }}k_the_most_devout = {

    holder_scope = {character_event = { id = aegons_landing.8 toolti

    p = TOOLTIPaegons_landing.8 }

    hidden_tooltip = {b_great_sept_of_baelor = { grant_title =PREV }

    }opinion = {

    who = ROOTmodifier = opinion_very_gratefulyears = 20

    }}

    }}option = {

    name = "EVTOPTBaegons_landing.7" #Noai_chance = { factor = 15 }piety = -50

    }}character_event = {

    id = aegons_landing.8desc = "EVTDESCaegons_landing.8"picture = "GFX_evt_greatsept"

    is_triggered_only = yes

    option = {

    name = "EVTOPTAaegons_landing.8"b_great_sept_of_baelor = {

    set_name = "the King"ROOT = { capital = PREV }

    }c_oldtown = {

    holder_scope = {b_starry_sept = {

    grant_title = PREV}

  • 7/30/2019 Aegons Landing Events

    15/28

    }}

    }}#Establish Capitalnarrative_event = {

    id = aegons_landing.9desc = "EVTDESCaegons_landing.9"title = "EVTTITLEaegons_landing.9"picture = GFX_evt_ironthrone

    hide_from = yes

    only_rulers = yes

    trigger = {has_global_flag = aegons_conquesthas_landed_title = e_iron_throneNOT = {

    any_war = {AND = {

    using_cb = dragon_conquestdefender = { tier = EMPEROR }

    }

    }}OR = {

    has_character_flag = conquest_force_endingNOT = {

    any_playable_ruler = {tier = EMPERORNOT = { truce_with = ROOT }NOT = { has_landed_title = e_iron_throne

    }NOT = { has_landed_title = e_beyond_wall

    }}

    }}}

    immediate = {clr_global_flag = aegons_conquestclr_character_flag = conquest_force_endinghidden_tooltip = {

    any_vassal = {limit = { tier = KING }primary_title = { de_jure_liege = e_iron_throne

    }}

    }}

    option = {name = "EVTOPTAaegons_landing.9" #King's landingai_chance = { factor = 100 }e_iron_throne = { set_name = "The Iron Throne" }prestige = 300treasury = -300set_global_flag = red_keep_established

  • 7/30/2019 Aegons Landing Events

    16/28

    set_global_flag = KL_establishedset_global_flag = KL_navy_establishedhidden_tooltip = { d_kings_landing = { set_name = "King's Landin

    g" } }c_kings_landing = {

    set_name = "King's Landing"location = {

    set_name = "King's Landing"build_holding = {

    title = b_kings_landingtype = cityholder = ROOT

    }hidden_tooltip = {

    b_kings_landing = {add_building = ct_asoiaf_crown_b

    asevalue_1add_building = ct_asoiaf_crown_b

    asevalue_2}

    }build_holding = {

    title = b_white_sword_towertype = castle

    holder = ROOT}if = {

    limit = { is_title_active = d_kingsguard}

    d_kingsguard = {holder_scope = {

    b_white_sword_tower = {grant_title = PREV }

    }}

    }build_holding = {

    title = b_warriors_sonstype = cityholder = ROOT

    }build_holding = {

    title = b_dragon_gatetype = castleholder = ROOT

    }build_holding = {

    title = b_kings_gatetype = castleholder = ROOT

    }}

    }b_red_keep = {

    set_name = "Red Keep"ROOT = { capital = PREV }

    }}

    option = {

  • 7/30/2019 Aegons Landing Events

    17/28

    name = "EVTOPTBaegons_landing.9" #Dragonstone is more comfortable

    ai_chance = { factor = 5 }e_iron_throne = { set_name = "The Iron Throne" }set_global_flag = KL_not_capitaltreasury = -150if = {

    limit = { ai = yes }random_courtier = {

    limit = {age = 16is_female = noNOT = { dynasty = ROOT }NOT = { trait = archmaester }NOT = { trait = maester }NOT = { trait = kingsguard }

    }c_kings_landing = { grant_title = PREV }d_kings_landing = { grant_title = PREV }hidden_tooltip = { set_defacto_liege = ROOT }c_rollingford = { holder_scope = { set_defacto_l

    iege = PREVPREV } }c_edgerton = { holder_scope = { set_defacto_lieg

    e = PREVPREV } }

    c_bramsfort = { holder_scope = { set_defacto_liege = PREVPREV } }c_farring_cross = { holder_scope = { set_defacto

    _liege = PREVPREV } }c_dalston_keep = { holder_scope = { set_defacto_

    liege = PREVPREV } }}

    }b_stone_drum = {

    add_building = ca_asoiaf_crown_basevalue_5ROOT = { capital = PREV }

    }}

    option = {name = "EVTOPTCaegons_landing.9" #Oldtowntrigger = {

    c_oldtown = {holder_scope = {

    OR = {any_liege = { character = ROOT }has_character_flag = supporting_

    kinghas_character_flag = neutral

    }}

    }}ai_chance = { factor = 5 }e_iron_throne = { set_name = "The Iron Throne" }prestige = 150treasury = -200set_global_flag = KL_not_capitalif = {

    limit = { ai = yes }random_courtier = {

  • 7/30/2019 Aegons Landing Events

    18/28

    limit = {age = 16is_female = noNOT = { dynasty = ROOT }NOT = { trait = archmaester }NOT = { trait = maester }NOT = { trait = kingsguard }

    }c_kings_landing = { grant_title = PREV }d_kings_landing = { grant_title = PREV }c_rollingford = { holder_scope = { set_defacto_l

    iege = PREVPREV } }c_edgerton = { holder_scope = { set_defacto_lieg

    e = PREVPREV } }hidden_tooltip = { set_defacto_liege = ROOT }

    }}hidden_tooltip = {

    c_oldtown = {holder_scope = {

    b_oakmere = {usurp_title = PREVprovince_capital = yes

    }

    add_trait = assign_mission_target}}

    }b_oakmere = {

    set_name = "Red Keep"gain_title = ROOTROOT = { capital = PREV }hidden_tooltip = { add_building = ca_asoiaf_reach_baseva

    lue_3 }add_building = ca_asoiaf_reach_basevalue_4

    }d_oldtown = { usurp_title = ROOT }

    c_oldtown = { gain_title = ROOT }custom_tooltip = TOOLTIPOLDTOWNCROWNLANDShidden_tooltip = {

    d_oldtown = { de_jure_liege = k_crownlands }d_brightwater = {

    de_jure_liege = k_crownlandsholder_scope = { set_defacto_liege = ROOT }

    }d_west_marches = {

    de_jure_liege = k_crownlandsholder_scope = { set_defacto_liege = ROOT }

    }d_the_arbor = {

    de_jure_liege = k_crownlandsholder_scope = { set_defacto_liege = ROOT }

    }d_blackwater_rush = { de_jure_liege = k_riverlands }d_rosby = { de_jure_liege = k_riverlands }d_duskendale = { de_jure_liege = k_riverlands }d_kings_landing = { de_jure_liege = k_stormlands }d_kingswood = { de_jure_liege = k_stormlands }k_westerlands = {

    holder_scope = {

  • 7/30/2019 Aegons Landing Events

    19/28

    c_byford = {holder_scope = { set_defacto_lie

    ge = PREVPREV }}

    }}k_reach = {

    holder_scope = {c_bramsfort = {

    holder_scope = { set_defacto_liege = PREVPREV }

    }c_farring_cross = {

    holder_scope = { set_defacto_liege = PREVPREV }

    }}

    }k_stormlands = {

    holder_scope = {c_dalston_keep = {

    holder_scope = { set_defacto_liege = PREVPREV }

    }

    c_greensward = {holder_scope = { set_defacto_liege = PREVPREV }

    }c_attadale = {

    holder_scope = { set_defacto_liege = PREVPREV }

    }c_woodmere = {

    holder_scope = { set_defacto_liege = PREVPREV }

    }c_bywater = {

    holder_scope = { set_defacto_liege = PREVPREV }}c_wendwater = {

    holder_scope = { set_defacto_liege = PREVPREV }

    }d_masseys_hook = {

    holder_scope = { set_defacto_liege = PREVPREV }

    de_jure_liege = k_stormlands}

    }

    }b_the_hightower = {

    assign_mission_target = {limit = {

    is_alive = yeshas_claim = PREV

    }gain_title = PREVset_defacto_liege = ROOTremove_trait = assign_mission_target

  • 7/30/2019 Aegons Landing Events

    20/28

    c_oldtown = { add_claim = PREV }}

    }c_the_citadel = {

    holder_scope = {set_defacto_liege = ROOT

    }}

    }}

    }#King's landing red Keep expansioncharacter_event = {

    id = aegons_landing.10desc = "EVTDESCaegons_landing.10"picture = GFX_KINGS_LANDING

    only_rulers = yes

    trigger = {has_landed_title = e_iron_thronehas_landed_title = c_kings_landingOR = {

    has_global_flag = KL_red_keep_1

    has_global_flag = KL_red_keep_2has_global_flag = KL_red_keep_3has_global_flag = KL_red_keep_4

    }}

    mean_time_to_happen = {years = 15modifier = {

    factor = 0.8trait = dragon

    }modifier = {

    factor = 1.1NOT = { stewardship = 4 }}modifier = {

    factor = 1.1NOT = { stewardship = 7 }

    }modifier = {

    factor = 0.9stewardship = 12

    }modifier = {

    factor = 0.9

    stewardship = 15}modifier = {

    factor = 0.9stewardship = 18

    }modifier = {

    factor = 0.9stewardship = 21

    }

  • 7/30/2019 Aegons Landing Events

    21/28

    modifier = {factor = 1.1job_treasurer = { NOT = { stewardship = 9 } }

    }modifier = {

    factor = 1.1job_treasurer = { NOT = { stewardship = 12 } }

    }modifier = {

    factor = 0.9job_treasurer = { stewardship = 16 }

    }modifier = {

    factor = 0.9job_treasurer = { stewardship = 18 }

    }modifier = {

    factor = 0.9job_treasurer = { stewardship = 20 }

    }modifier = {

    factor = 0.9job_treasurer = { stewardship = 22 }

    }

    }

    option = {name = "EVTOPTAaegons_landing.10" #Buildif = {

    limit = {has_global_flag = KL_red_keep_1

    }b_red_keep = { add_building = ca_asoiaf_crown_basevalue_

    3 }b_white_sword_tower = { add_building = ca_asoiaf_crown_b

    asevalue_1 }clr_global_flag = KL_red_keep_1

    set_global_flag = KL_red_keep_1_done}if = {

    limit = {has_global_flag = KL_red_keep_2

    }b_red_keep = { add_building = ca_asoiaf_crown_basevalue_

    4 }b_white_sword_tower = { add_building = ca_asoiaf_crown_b

    asevalue_2 }clr_global_flag = KL_red_keep_2set_global_flag = KL_red_keep_2_done

    }

    if = {limit = {

    has_global_flag = KL_red_keep_3}b_red_keep = { add_building = ca_asoiaf_crown_basevalue_

    5 }b_white_sword_tower = { add_building = ca_asoiaf_crown_b

    asevalue_3 }clr_global_flag = KL_red_keep_3set_global_flag = KL_red_keep_3_done

  • 7/30/2019 Aegons Landing Events

    22/28

    }if = {

    limit = {has_global_flag = KL_red_keep_4

    }b_red_keep = { add_building = ca_asoiaf_crown_basevalue_

    6 }clr_global_flag = KL_red_keep_4

    }}

    }#King's landing fortification expansioncharacter_event = {

    id = aegons_landing.11desc = "EVTDESCaegons_landing.11"picture = GFX_KINGS_LANDING

    only_rulers = yes

    trigger = {has_landed_title = e_iron_thronehas_landed_title = c_kings_landingOR = {

    has_global_flag = KL_fortifications_1

    has_global_flag = KL_fortifications_2has_global_flag = KL_fortifications_3has_global_flag = KL_fortifications_4

    }}

    mean_time_to_happen = {years = 15modifier = {

    factor = 0.8trait = dragon

    }modifier = {

    factor = 1.1NOT = { stewardship = 4 }}modifier = {

    factor = 1.1NOT = { stewardship = 7 }

    }modifier = {

    factor = 0.9stewardship = 12

    }modifier = {

    factor = 0.9

    stewardship = 15}modifier = {

    factor = 0.9stewardship = 18

    }modifier = {

    factor = 0.9stewardship = 21

    }

  • 7/30/2019 Aegons Landing Events

    23/28

    modifier = {factor = 1.1job_treasurer = { NOT = { stewardship = 9 } }

    }modifier = {

    factor = 1.1job_treasurer = { NOT = { stewardship = 12 } }

    }modifier = {

    factor = 0.9job_treasurer = { stewardship = 16 }

    }modifier = {

    factor = 0.9job_treasurer = { stewardship = 18 }

    }modifier = {

    factor = 0.9job_treasurer = { stewardship = 20 }

    }modifier = {

    factor = 0.9job_treasurer = { stewardship = 22 }

    }

    }

    option = {name = "EVTOPTAaegons_landing.10" #Buildif = {

    limit = {has_global_flag = KL_fortifications_1

    }b_dragon_gate = { add_building = ca_asoiaf_crown_baseval

    ue_1 }b_kings_gate = { add_building = ca_asoiaf_crown_basevalu

    e_1 }b_kings_landing = { add_building = ct_asoiaf_crown_basev

    alue_3 } clr_global_flag = KL_fortifications_1set_global_flag = KL_fortifications_1_done

    }if = {

    limit = {has_global_flag = KL_fortifications_2

    }b_kings_gate = { add_building = ca_asoiaf_crown_basevalu

    e_2 }b_kings_landing = { add_building = ct_asoiaf_crown_basev

    alue_4 }clr_global_flag = KL_fortifications_2

    set_global_flag = KL_fortifications_2_done}if = {

    limit = {has_global_flag = KL_fortifications_3

    }b_dragon_gate = { add_building = ca_asoiaf_crown_baseval

    ue_2 }b_kings_landing = { add_building = ct_asoiaf_crown_basev

    alue_5 }

  • 7/30/2019 Aegons Landing Events

    24/28

    clr_global_flag = KL_fortifications_3set_global_flag = KL_fortifications_3_done

    }if = {

    limit = {has_global_flag = KL_fortifications_4

    }b_dragon_gate = { add_building = ca_asoiaf_crown_baseval

    ue_3 }b_kings_landing = { add_building = ct_asoiaf_crown_basev

    alue_6 }clr_global_flag = KL_fortifications_4

    }}

    }#King's landing navy expansioncharacter_event = {

    id = aegons_landing.12desc = "EVTDESCaegons_landing.12"picture = GFX_KINGS_LANDING

    only_rulers = yes

    trigger = {

    has_landed_title = e_iron_thronehas_landed_title = c_kings_landingOR = {

    has_global_flag = KL_expand_navy_1has_global_flag = KL_expand_navy_2has_global_flag = KL_expand_navy_3

    }}

    mean_time_to_happen = {years = 15modifier = {

    factor = 0.8

    trait = dragon}modifier = {

    factor = 1.1NOT = { stewardship = 4 }

    }modifier = {

    factor = 1.1NOT = { stewardship = 7 }

    }modifier = {

    factor = 0.9stewardship = 12

    }modifier = {

    factor = 0.9stewardship = 15

    }modifier = {

    factor = 0.9stewardship = 18

    }modifier = {

  • 7/30/2019 Aegons Landing Events

    25/28

    factor = 0.9stewardship = 21

    }modifier = {

    factor = 1.1job_treasurer = { NOT = { stewardship = 9 } }

    }modifier = {

    factor = 1.1job_treasurer = { NOT = { stewardship = 12 } }

    }modifier = {

    factor = 0.9job_treasurer = { stewardship = 16 }

    }modifier = {

    factor = 0.9job_treasurer = { stewardship = 18 }

    }modifier = {

    factor = 0.9job_treasurer = { stewardship = 20 }

    }modifier = {

    factor = 0.9job_treasurer = { stewardship = 22 }}modifier = {

    factor = 1.1any_courtier = {

    has_minor_title = title_master_of_shipsNOT = { martial = 6 }

    }}modifier = {

    factor = 1.1any_courtier = {

    has_minor_title = title_master_of_shipsNOT = { martial = 9 }}

    }modifier = {

    factor = 0.9any_courtier = {

    has_minor_title = title_master_of_shipsmartial = 12

    }}modifier = {

    factor = 0.9

    any_courtier = {has_minor_title = title_master_of_shipsmartial = 14

    }}modifier = {

    factor = 0.9any_courtier = {

    has_minor_title = title_master_of_shipsmartial = 16

  • 7/30/2019 Aegons Landing Events

    26/28

    }}modifier = {

    factor = 0.9any_courtier = {

    has_minor_title = title_master_of_shipsmartial = 18

    }}

    }

    option = {name = "EVTOPTAaegons_landing.12" #Buildif = {

    limit = {has_global_flag = KL_expand_navy_1

    }b_red_keep = { add_building = ca_asoiaf_targshipyard }clr_global_flag = KL_expand_navy_1set_global_flag = KL_expand_navy_1_done

    }if = {

    limit = {has_global_flag = KL_expand_navy_2

    }b_kings_landing = { add_building = ct_asoiaf_targshipyard }

    clr_global_flag = KL_expand_navy_2set_global_flag = KL_expand_navy_2_done

    }if = {

    limit = {has_global_flag = KL_expand_navy_3

    }b_dragon_gate = { add_building = ca_asoiaf_targshipyard

    }clr_global_flag = KL_expand_navy_3

    }}}#Orys-Durrandon Marriagecharacter_event = {

    id = aegons_landing.13desc = "EVTDESCaegons_landing.13"picture = "GFX_evt_marriage"

    is_triggered_only = yes

    option = {name = "EVTOPTAaegons_landing.13" #Yes

    ai_chance = {factor = 95

    }random_courtier = {

    limit = { has_character_flag = orys_baratheon }ROOT = {

    random_courtier = {limit = { has_character_flag = argella_d

    urrandon }remove_spouse = spouse

  • 7/30/2019 Aegons Landing Events

    27/28

    add_spouse = PREVPREVhidden_tooltip = {

    k_stormlands = { add_weak_claim= PREV }

    }}

    }dynasty = 317set_character_flag = house_baratheonc_storms_end = { grant_title = PREV }k_stormlands = {

    grant_title = PREVhidden_tooltip = { copy_title_laws = e_stormland

    s }}letter_event = { id = 63078 tooltip = "EVTTOOLTIP63078"

    days = 1 }hidden_tooltip = {

    set_defacto_liege = ROOTany_realm_lord = {

    limit = { NOT = { character = PREV } }character_event = { id = 63181 }

    }}

    }}option = {

    name = "EVTOPTBaegons_landing.13" #Noai_chance = {

    factor = 5}random_courtier = {

    limit = { has_character_flag = house_baratheon }set_character_flag = no_to_stormlands

    }}

    }

    #AI Aegon takes to the field againcharacter_event = {id = aegons_landing.14desc = "AI_EVENT_AEGON14"

    only_rulers = yes

    trigger = {has_global_flag = aegons_conquesthas_landed_title = e_iron_throneai = yestrait = dragonNOT = { trait = incapable }

    age = 16is_female = noin_command = no

    }

    option = {name = "ai event" #King's landingspawn_unit = {

    province = 226 # King's Landingowner = ROOT

  • 7/30/2019 Aegons Landing Events

    28/28

    leader = ROOTscaled_by_biggest_garrison = 0.6troops = {

    archers = { 10 10 }heavy_infantry = { 36 36 }light_infantry = { 44 44 }light_cavalry = { 8 8 }knights = { 1 1 }

    }}

    }}