diff --git a/common/on_action/game_start.txt b/common/on_action/game_start.txt index a37eb232..8a3fb2d1 100644 --- a/common/on_action/game_start.txt +++ b/common/on_action/game_start.txt @@ -10,6 +10,32 @@ on_game_start = { } effect = { + ##NEOW + #Dynamic Titles + character:benelux0002 ?= { + if = { + limit = { + is_alive = yes + } + trigger_event = NEOW_dynamic_titles.0003 + } + } + character:benelux0003 ?= { + if = { + limit = { + is_alive = yes + } + trigger_event = NEOW_dynamic_titles.0005 + } + } + character:benelux0004 ?= { + if = { + limit = { + is_alive = yes + } + trigger_event = NEOW_dynamic_titles.0007 + } + } #Epidemics 3 months grace set_global_variable = { name = start_epidemic_grace @@ -3660,8 +3686,8 @@ on_game_start_after_lobby = { create_story = story_conqueror } } - #NEOW - #Benelux claims + ### NEOW + # Benelux Claims character:benelux0002 ?= { if = { limit = { diff --git a/common/on_action/title_on_actions.txt b/common/on_action/title_on_actions.txt index 2b0cd6ff..1fa4708d 100644 --- a/common/on_action/title_on_actions.txt +++ b/common/on_action/title_on_actions.txt @@ -1078,6 +1078,115 @@ on_title_gain = { landless_inspector_cleanup_modifier = yes ### NEOW ### + ## Carolingian Name Changes + # Benelux -> Lotharingia + if = { + limit = { + scope:title = { tier = tier_empire } + has_title = title:e_benelux + root = { + faith = faith:carolingian + } + } + trigger_event = { + id = NEOW_dynamic_titles.0009 + } + } + if = { + limit = { + scope:title = { tier = tier_empire } + has_title = title:e_benelux + NOT = { + root = { + faith = faith:carolingian + } + } + } + trigger_event = { + id = NEOW_dynamic_titles.0010 + } + } + # Netherlands -> Teisterbant + if = { + limit = { + scope:title = { tier = tier_kingdom } + has_title = title:k_frisia + root = { + faith = faith:carolingian + } + } + trigger_event = { + id = NEOW_dynamic_titles.0007 + } + } + if = { + limit = { + scope:title = { tier = tier_kingdom } + has_title = title:k_frisia + NOT = { + root = { + faith = faith:carolingian + } + } + } + trigger_event = { + id = NEOW_dynamic_titles.0008 + } + } + # Luxembourg -> Moselle + if = { + limit = { + scope:title = { tier = tier_kingdom } + has_title = title:k_lotharingia + root = { + faith = faith:carolingian + } + } + trigger_event = { + id = NEOW_dynamic_titles.0005 + } + } + if = { + limit = { + scope:title = { tier = tier_kingdom } + has_title = title:k_lotharingia + NOT = { + root = { + faith = faith:carolingian + } + } + } + trigger_event = { + id = NEOW_dynamic_titles.0006 + } + } + # Belgium -> Austrasia + if = { + limit = { + scope:title = { tier = tier_kingdom } + has_title = title:k_belgium + root = { + faith = faith:carolingian + } + } + trigger_event = { + id = NEOW_dynamic_titles.0003 + } + } + if = { + limit = { + scope:title = { tier = tier_kingdom } + has_title = title:k_belgium + NOT = { + root = { + faith = faith:carolingian + } + } + } + trigger_event = { + id = NEOW_dynamic_titles.0004 + } + } ## Numenorian Name Changes # France -> Gondor if = { @@ -1089,7 +1198,7 @@ on_title_gain = { } } trigger_event = { - id = NEOW_numenorian_title_events.0001 + id = NEOW_dynamic_titles.0001 } } if = { @@ -1103,9 +1212,10 @@ on_title_gain = { } } trigger_event = { - id = NEOW_numenorian_title_events.0002 + id = NEOW_dynamic_titles.0002 } } + ### NEOW End ### MEMORIES - SHOULD STAY AT BOTTOM ### # Ascended to the throne diff --git a/events/NEOW_dynamic_titles_events.txt b/events/NEOW_dynamic_titles_events.txt new file mode 100644 index 00000000..5bc09bf2 --- /dev/null +++ b/events/NEOW_dynamic_titles_events.txt @@ -0,0 +1,101 @@ +namespace = NEOW_dynamic_titles +##Numenorian +#France -> Gondor +NEOW_dynamic_titles.0001 = { + hidden = yes + + immediate = { + title:k_france = { + set_title_name = k_gondor + set_color_from_title = title:k_gondor_cosmetic + } + } +} +NEOW_dynamic_titles.0002 = { + hidden = yes + + immediate = { + title:k_france = { + set_title_name = k_france # Change to reset_title_name = yes if that ever gets fixed + set_color_from_title = title:d_ile_de_france + } + } +} + +##Carolingian +#Belgium -> Austrasia +NEOW_dynamic_titles.0003 = { + hidden = yes + + immediate = { + title:k_belgium = { + set_title_name = k_austrasia + } + } +} +NEOW_dynamic_titles.0004 = { + hidden = yes + + immediate = { + title:k_belgium = { + set_title_name = k_belgium # Change to reset_title_name = yes if that ever gets fixed + } + } +} +#Luxembourg -> Moselle +NEOW_dynamic_titles.0005 = { + hidden = yes + + immediate = { + title:k_lotharingia = { + set_title_name = k_moselle + } + } +} +NEOW_dynamic_titles.0006 = { + hidden = yes + + immediate = { + title:k_lotharingia = { + set_title_name = k_lotharingia # Change to reset_title_name = yes if that ever gets fixed + } + } +} +#Netherlands -> Teisterbant +NEOW_dynamic_titles.0007 = { + hidden = yes + + immediate = { + title:k_frisia = { + set_title_name = k_teisterbant + } + } +} +NEOW_dynamic_titles.0008 = { + hidden = yes + + immediate = { + title:k_frisia = { + set_title_name = k_frisia # Change to reset_title_name = yes if that ever gets fixed + } + } +} +#Benelux -> Lotharingia +NEOW_dynamic_titles.0009 = { + hidden = yes + + immediate = { + title:e_benelux = { + set_title_name = e_lotharingia + } + } +} +NEOW_dynamic_titles.0010 = { + hidden = yes + + immediate = { + title:e_benelux = { + set_title_name = e_benelux # Change to reset_title_name = yes if that ever gets fixed + } + } +} \ No newline at end of file diff --git a/events/NEOW_numenorian_title_events.txt b/events/NEOW_numenorian_title_events.txt deleted file mode 100644 index 46dd8842..00000000 --- a/events/NEOW_numenorian_title_events.txt +++ /dev/null @@ -1,25 +0,0 @@ -namespace = numenorian_titles - -#France -> Gondor -NEOW_numenorian_title_events.0001 = { - hidden = yes - - immediate = { - title:k_france = { - set_title_name = k_gondor - set_color_from_title = title:k_gondor_cosmetic - } - } -} - -#Gondor -> France -NEOW_numenorian_title_events.0002 = { - hidden = yes - - immediate = { - title:k_france = { - set_title_name = k_france # Change to reset_title_name = yes if that ever gets fixed - set_color_from_title = title:d_ile_de_france - } - } -} \ No newline at end of file diff --git a/history/titles/NEOW_other_titles.txt b/history/titles/NEOW_other_titles.txt index 41d349fd..66286c61 100644 --- a/history/titles/NEOW_other_titles.txt +++ b/history/titles/NEOW_other_titles.txt @@ -40,7 +40,10 @@ e_britannia = { } e_benelux = { - 2539.1.1 = { + 2499.1.1 = { holder = benelux0001 #Leopold BONW | this title isn't showing up for him, need to fix later } + 2554.1.1 = { + holder = 0 + } } \ No newline at end of file diff --git a/localization/english/titles_l_english.yml b/localization/english/titles_l_english.yml index 9908a82e..ac9ed749 100644 --- a/localization/english/titles_l_english.yml +++ b/localization/english/titles_l_english.yml @@ -24653,6 +24653,16 @@ k_sevillian_papacy_article: "the " k_sevillian_papacy_adj: "Sevillian" - #NEOW Numenorian Titles + #NEOW Dyanmic Titles + #Numenorian Titles k_gondor: "Gondor" - k_gondor_adj: "Gondorian" \ No newline at end of file + k_gondor_adj: "Gondorian" + #Carolingian TItles + k_austrasia: "Austrasia" + k_austrasia_adj: "Austrasian" + k_moselle: "Moselle" + k_moselle_adj: "Mosellian" + k_teisterbant: "Teisterbant" + k_teisterbant_adj: "Tesiterbantish" + e_lotharingia: "Lotharingia" + e_lotharingia_adj: "Lotharingian" \ No newline at end of file