diff --git a/common/on_action/religion_on_actions.txt b/common/on_action/religion_on_actions.txt index 3d77eee72..f2bf4c7e8 100644 --- a/common/on_action/religion_on_actions.txt +++ b/common/on_action/religion_on_actions.txt @@ -400,6 +400,26 @@ on_faith_created = { # scope:old_rite is the rite they used to have on_rite_created = { effect = { + + ################ N3OW Dynamic Titles ################## + if = { + limit = { + OR = { + has_title = title:k_kuban + has_title = title:d_volgorad + has_title = title:c_volgograd + has_title = title:b_volgograd + has_title = title:e_france + has_title = title:e_nistrenia + has_title = title:e_europa + has_title = title:e_britannia + has_title = title:e_germany + } + } + trigger_event = NEOW_dynamic_titles.1000 + } + ###################################################### + pam_on_conversion_effect = yes remove_character_modifier = religious_reformer_modifier # The rite is brand new, so everyone already holding it (creator, realm priest, AI vassals who accepted the code-sent offer) is part of the founding wave and brings their court and domain along @@ -726,9 +746,8 @@ on_faith_conversion = { } } trigger_event = NEOW_dynamic_titles.1000 - - ###################################################### } + ###################################################### set_variable = { name = old_rite @@ -869,6 +888,26 @@ on_faith_conversion = { # scope:old_rite is the rite they used to have (can be equal to current rite) on_rite_change = { effect = { + + ################ N3OW Dynamic Titles ################## + if = { + limit = { + OR = { + has_title = title:k_kuban + has_title = title:d_volgorad + has_title = title:c_volgograd + has_title = title:b_volgograd + has_title = title:e_france + has_title = title:e_nistrenia + has_title = title:e_europa + has_title = title:e_britannia + has_title = title:e_germany + } + } + trigger_event = NEOW_dynamic_titles.1000 + } + ###################################################### + pam_on_conversion_effect = yes christian_clergy_learn_liturgical_language_effect = yes pam_remove_forbidden_personal_tenet_secret_if_invalid_effect = yes diff --git a/common/on_action/title_on_actions.txt b/common/on_action/title_on_actions.txt index 7393f0a0f..12aab38bd 100644 --- a/common/on_action/title_on_actions.txt +++ b/common/on_action/title_on_actions.txt @@ -254,6 +254,26 @@ on_title_destroyed = { # scope:previous_holder = previous holder. Might be dead on_title_gain = { effect = { + + ################ N3OW Dynamic Titles ################## + if = { + limit = { + OR = { + has_title = title:k_kuban + has_title = title:d_volgorad + has_title = title:c_volgograd + has_title = title:b_volgograd + has_title = title:e_france + has_title = title:e_nistrenia + has_title = title:e_europa + has_title = title:e_britannia + has_title = title:e_germany + } + } + trigger_event = NEOW_dynamic_titles.1000 + } + ###################################################### + # refresh the state rite if conquered in a GHW, otherwise crusader kings will follow muslim faith in egypt. if = { limit = { diff --git a/events/NEOW_dynamic_titles_events.txt b/events/NEOW_dynamic_titles_events.txt index df5ba51f7..db486b1af 100644 --- a/events/NEOW_dynamic_titles_events.txt +++ b/events/NEOW_dynamic_titles_events.txt @@ -95,7 +95,7 @@ NEOW_dynamic_titles.1000 = { # The Great Event } if = { limit = { - holder.rite = rite:romanticist_rite + rite = rite:romanticist_rite } title:e_france = { set_title_name = e_gallia_cosmetic @@ -105,7 +105,7 @@ NEOW_dynamic_titles.1000 = { # The Great Event } else_if = { limit = { - faith = faith:johannic_rite + faith = faith:johannic_faith } title:e_france = { reset_title_name = yes @@ -115,7 +115,7 @@ NEOW_dynamic_titles.1000 = { # The Great Event } else_if = { limit = { - holder.rite = rite:carolingian_rite + rite = rite:carolingian_rite } title:e_france = { set_title_name = e_carolingia_cosmetic