diff --git a/common/character_interactions/00_grant_titles_interaction.txt b/common/character_interactions/00_grant_titles_interaction.txt index 46efcbdb2..dfdcb30a0 100644 --- a/common/character_interactions/00_grant_titles_interaction.txt +++ b/common/character_interactions/00_grant_titles_interaction.txt @@ -371,24 +371,24 @@ grant_titles_interaction = { has_relation_friend = scope:puppet_or_actor } } - if = { - # then verify the right struggle phase - limit = { - is_diff_faith_or_culture_trigger = { - CHAR = scope:puppet_or_actor - STATUS = involved - } - any_character_struggle = { - involvement = involved - has_struggle_phase_parameter = struggle_grant_titles_diff_faith_culture_to_leads_to_friendship - } - } - progress_towards_friend_effect = { - REASON = friend_granted_title - CHARACTER = scope:puppet_or_actor - OPINION = 0 - } - } +# if = { +# # then verify the right struggle phase +# limit = { +# is_diff_faith_or_culture_trigger = { +# CHAR = scope:puppet_or_actor +# STATUS = involved +# } +# any_character_struggle = { +# involvement = involved +# has_struggle_phase_parameter = struggle_grant_titles_diff_faith_culture_to_leads_to_friendship +# } +# } +# progress_towards_friend_effect = { +# REASON = friend_granted_title +# CHARACTER = scope:puppet_or_actor +# OPINION = 0 +# } +# } } } @@ -1200,24 +1200,24 @@ grant_titles_interaction = { right_icon = scope:recipient custom_tooltip = grant_titles_interaction_notification_effect_2 - if = { - limit = { - exists = dynasty - is_diff_faith_or_culture_trigger = { - CHAR = scope:recipient - STATUS = involved - } - any_character_struggle = { - involvement = involved - has_struggle_phase_parameter = struggle_grant_titles_diff_faith_culture_gives_prestige - - } - } - dynasty = { - add_dynasty_prestige = minor_dynasty_prestige_gain - } - - } +# if = { +# limit = { +# exists = dynasty +# is_diff_faith_or_culture_trigger = { +# CHAR = scope:recipient +# STATUS = involved +# } +# any_character_struggle = { +# involvement = involved +# has_struggle_phase_parameter = struggle_grant_titles_diff_faith_culture_gives_prestige +# +# } +# } +# dynasty = { +# add_dynasty_prestige = minor_dynasty_prestige_gain +# } +# +# } } } else_if = { @@ -1323,41 +1323,41 @@ grant_titles_interaction = { } } - hidden_effect = { - # Struggle Catalyst - if = { - limit = { - scope:puppet_or_actor = { - is_diff_faith_or_culture_trigger = { - CHAR = scope:recipient - STATUS = involved - } - any_character_struggle = { - involvement = involved - activate_struggle_catalyst_secondary_character_involvement_involved_trigger = { - CATALYST = catalyst_grant_privilege_to_diff_faith_culture_vassal - CHAR = scope:recipient - } - } - } - } - scope:puppet_or_actor = { - every_character_struggle = { - involvement = involved - limit = { - activate_struggle_catalyst_secondary_character_involvement_involved_trigger = { - CATALYST = catalyst_grant_privilege_to_diff_faith_culture_vassal - CHAR = scope:recipient - } - } - activate_struggle_catalyst = { - catalyst = catalyst_grant_privilege_to_diff_faith_culture_vassal - character = scope:puppet_or_actor - } - } - } - } - } +# hidden_effect = { +# # Struggle Catalyst +# if = { +# limit = { +# scope:puppet_or_actor = { +# is_diff_faith_or_culture_trigger = { +# CHAR = scope:recipient +# STATUS = involved +# } +# any_character_struggle = { +# involvement = involved +# activate_struggle_catalyst_secondary_character_involvement_involved_trigger = { +# CATALYST = catalyst_grant_privilege_to_diff_faith_culture_vassal +# CHAR = scope:recipient +# } +# } +# } +# } +# scope:puppet_or_actor = { +# every_character_struggle = { +# involvement = involved +# limit = { +# activate_struggle_catalyst_secondary_character_involvement_involved_trigger = { +# CATALYST = catalyst_grant_privilege_to_diff_faith_culture_vassal +# CHAR = scope:recipient +# } +# } +# activate_struggle_catalyst = { +# catalyst = catalyst_grant_privilege_to_diff_faith_culture_vassal +# character = scope:puppet_or_actor +# } +# } +# } +# } +# } # Achievements. scope:actor = { @@ -1447,7 +1447,6 @@ grant_titles_interaction = { claimant_rivalry_mercy_effect = yes } } - custom_tooltip = influence_award_notification } } @@ -2244,17 +2243,17 @@ grant_governorship_interaction = { # Actually removed in religious_decision.0312 custom_tooltip = runestone_grant_title_warning } - if = { - limit = { - has_pam_dlc_trigger = yes - scope:target = { - exists = var:pam_khachkar_ancestor - has_county_modifier = pam_khachkar_ancestral_county - } - NOT = { scope:recipient.dynasty = scope:target.var:pam_khachkar_ancestor.dynasty } - } - custom_tooltip = pam_khachkar_grant_title_warning - } +# if = { +# limit = { +# has_pam_dlc_trigger = yes +# scope:target = { +# exists = var:pam_khachkar_ancestor +# has_county_modifier = pam_khachkar_ancestral_county +# } +# NOT = { scope:recipient.dynasty = scope:target.var:pam_khachkar_ancestor.dynasty } +# } +# custom_tooltip = pam_khachkar_grant_title_warning +# } if = { limit = { @@ -2355,61 +2354,61 @@ grant_governorship_interaction = { custom_tooltip = grant_titles_interaction_notification_effect_5 } else = { custom_tooltip = grant_titles_interaction_notification_effect } - if = { - limit = { - exists = dynasty - is_diff_faith_or_culture_trigger = { - CHAR = scope:recipient - STATUS = involved - } - any_character_struggle = { - involvement = involved - has_struggle_phase_parameter = struggle_grant_titles_diff_faith_culture_gives_prestige - } - } - dynasty = { add_dynasty_prestige = minor_dynasty_prestige_gain } - } +# if = { +# limit = { +# exists = dynasty +# is_diff_faith_or_culture_trigger = { +# CHAR = scope:recipient +# STATUS = involved +# } +# any_character_struggle = { +# involvement = involved +# has_struggle_phase_parameter = struggle_grant_titles_diff_faith_culture_gives_prestige +# } +# } +# dynasty = { add_dynasty_prestige = minor_dynasty_prestige_gain } +# } remove_variable = lower_count } } } } - hidden_effect = { - # Struggle Catalyst - if = { - limit = { - scope:puppet_or_actor = { - is_diff_faith_or_culture_trigger = { - CHAR = scope:recipient - STATUS = involved - } - any_character_struggle = { - involvement = involved - activate_struggle_catalyst_secondary_character_involvement_involved_trigger = { - CATALYST = catalyst_grant_privilege_to_diff_faith_culture_vassal - CHAR = scope:recipient - } - } - } - } - scope:puppet_or_actor = { - every_character_struggle = { - involvement = involved - limit = { - activate_struggle_catalyst_secondary_character_involvement_involved_trigger = { - CATALYST = catalyst_grant_privilege_to_diff_faith_culture_vassal - CHAR = scope:recipient - } - } - activate_struggle_catalyst = { - catalyst = catalyst_grant_privilege_to_diff_faith_culture_vassal - character = scope:puppet_or_actor - } - } - } - } - } +# hidden_effect = { +# # Struggle Catalyst +# if = { +# limit = { +# scope:puppet_or_actor = { +# is_diff_faith_or_culture_trigger = { +# CHAR = scope:recipient +# STATUS = involved +# } +# any_character_struggle = { +# involvement = involved +# activate_struggle_catalyst_secondary_character_involvement_involved_trigger = { +# CATALYST = catalyst_grant_privilege_to_diff_faith_culture_vassal +# CHAR = scope:recipient +# } +# } +# } +# } +# scope:puppet_or_actor = { +# every_character_struggle = { +# involvement = involved +# limit = { +# activate_struggle_catalyst_secondary_character_involvement_involved_trigger = { +# CATALYST = catalyst_grant_privilege_to_diff_faith_culture_vassal +# CHAR = scope:recipient +# } +# } +# activate_struggle_catalyst = { +# catalyst = catalyst_grant_privilege_to_diff_faith_culture_vassal +# character = scope:puppet_or_actor +# } +# } +# } +# } +# } # Achievements. scope:actor = { @@ -2526,6 +2525,5 @@ grant_governorship_interaction = { claimant_rivalry_mercy_effect = yes } } - custom_tooltip = influence_award_notification } } diff --git a/common/governments/00_government_types.txt b/common/governments/00_government_types.txt index 20be813e3..9e11684dd 100644 --- a/common/governments/00_government_types.txt +++ b/common/governments/00_government_types.txt @@ -59,162 +59,6 @@ feudal_government = { } add = 10 } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = greedy - } - add = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = shy - } - subtract = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = arrogant - } - subtract = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = paranoid - } - subtract = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = trusting - } - add = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = just - } - subtract = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = gregarious - } - add = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = lazy - } - add = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = diligent - } - add = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = craven - } - add = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - OR = { - has_trait = lunatic_1 - has_trait = lunatic_genetic - } - } - add = 20 - } - if = { - limit = { - government_has_flag = government_is_administrative - OR = { - has_trait = possessed_1 - has_trait = possessed_genetic - } - } - add = 20 - } - if = { - limit = { - government_has_flag = government_is_administrative - OR = { - has_trait = depressed_1 - has_trait = depressed_genetic - } - } - add = 20 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = ambitious - } - subtract = 15 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = content - } - subtract = 15 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = zealous - } - add = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - gold > 1000 - } - subtract = 40 - } - if = { - limit = { - government_has_flag = government_is_administrative - influence_level > 2 - } - subtract = 15 - } - if = { - limit = { - government_has_flag = government_is_administrative - gold < 100 - } - add = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - influence_level < 2 - } - add = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - influence_level < 1 - } - add = 5 - } } color = hsv{ 0.67 1.00 0.78 } @@ -345,162 +189,6 @@ clan_government = { } add = 10 } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = greedy - } - add = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = shy - } - subtract = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = arrogant - } - subtract = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = paranoid - } - subtract = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = trusting - } - add = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = just - } - subtract = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = gregarious - } - add = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = lazy - } - add = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = diligent - } - add = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = craven - } - add = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - OR = { - has_trait = lunatic_1 - has_trait = lunatic_genetic - } - } - add = 20 - } - if = { - limit = { - government_has_flag = government_is_administrative - OR = { - has_trait = possessed_1 - has_trait = possessed_genetic - } - } - add = 20 - } - if = { - limit = { - government_has_flag = government_is_administrative - OR = { - has_trait = depressed_1 - has_trait = depressed_genetic - } - } - add = 20 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = ambitious - } - subtract = 15 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = content - } - subtract = 15 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = zealous - } - add = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - gold > 1000 - } - subtract = 40 - } - if = { - limit = { - government_has_flag = government_is_administrative - influence_level > 2 - } - subtract = 15 - } - if = { - limit = { - government_has_flag = government_is_administrative - gold < 100 - } - add = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - influence_level < 2 - } - add = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - influence_level < 1 - } - add = 5 - } } color = hsv{ 0.39 0.93 0.54 } @@ -889,7 +577,7 @@ administrative_government = { mechanic_type = administrative is_mechanic_type_default = yes - possible_grant_vassal_governments = { theocracy_government ecclesiastical_government feudal_government clan_government } + possible_grant_vassal_governments = { theocracy_government ecclesiastical_government } color = { 72 6 92 } realm_mask_offset = { 0.0 0.01 } diff --git a/common/governments/02_theocratic_government_types.txt b/common/governments/02_theocratic_government_types.txt index 7daf96216..78501de41 100644 --- a/common/governments/02_theocratic_government_types.txt +++ b/common/governments/02_theocratic_government_types.txt @@ -37,162 +37,6 @@ theocracy_government = { } always = no } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = greedy - } - add = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = shy - } - subtract = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = arrogant - } - subtract = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = paranoid - } - subtract = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = trusting - } - add = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = just - } - subtract = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = gregarious - } - add = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = lazy - } - add = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = diligent - } - add = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = craven - } - add = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - OR = { - has_trait = lunatic_1 - has_trait = lunatic_genetic - } - } - add = 20 - } - if = { - limit = { - government_has_flag = government_is_administrative - OR = { - has_trait = possessed_1 - has_trait = possessed_genetic - } - } - add = 20 - } - if = { - limit = { - government_has_flag = government_is_administrative - OR = { - has_trait = depressed_1 - has_trait = depressed_genetic - } - } - add = 20 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = ambitious - } - subtract = 15 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = content - } - subtract = 15 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = zealous - } - add = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - gold > 1000 - } - subtract = 40 - } - if = { - limit = { - government_has_flag = government_is_administrative - influence_level > 2 - } - subtract = 15 - } - if = { - limit = { - government_has_flag = government_is_administrative - gold < 100 - } - add = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - influence_level < 2 - } - add = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - influence_level < 1 - } - add = 5 - } } vassal_contract_group = theocracy_vassal @@ -324,162 +168,6 @@ ecclesiastical_government = { } add = 10 } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = greedy - } - add = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = shy - } - subtract = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = arrogant - } - subtract = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = paranoid - } - subtract = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = trusting - } - add = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = just - } - subtract = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = gregarious - } - add = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = lazy - } - add = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = diligent - } - add = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = craven - } - add = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - OR = { - has_trait = lunatic_1 - has_trait = lunatic_genetic - } - } - add = 20 - } - if = { - limit = { - government_has_flag = government_is_administrative - OR = { - has_trait = possessed_1 - has_trait = possessed_genetic - } - } - add = 20 - } - if = { - limit = { - government_has_flag = government_is_administrative - OR = { - has_trait = depressed_1 - has_trait = depressed_genetic - } - } - add = 20 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = ambitious - } - subtract = 15 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = content - } - subtract = 15 - } - if = { - limit = { - government_has_flag = government_is_administrative - has_trait = zealous - } - add = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - gold > 1000 - } - subtract = 40 - } - if = { - limit = { - government_has_flag = government_is_administrative - influence_level > 2 - } - subtract = 15 - } - if = { - limit = { - government_has_flag = government_is_administrative - gold < 100 - } - add = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - influence_level < 2 - } - add = 5 - } - if = { - limit = { - government_has_flag = government_is_administrative - influence_level < 1 - } - add = 5 - } } color = hsv{ 0.00 0.00 0.38 } diff --git a/common/on_action/title_on_actions.txt b/common/on_action/title_on_actions.txt index 01539b934..d71329e86 100644 --- a/common/on_action/title_on_actions.txt +++ b/common/on_action/title_on_actions.txt @@ -254,6 +254,7 @@ on_title_destroyed = { # scope:previous_holder = previous holder. Might be dead on_title_gain = { effect = { + ################ N3OW Dynamic Titles ################## if = { limit = { @@ -3396,7 +3397,6 @@ on_title_gain = { roman_restoration.0199 #Restoring the Pentarchy. title_event.0021 # Rename/recolor Britannia based on founder's culture; applied immediately on creation delay = { days = 1 } - NEOW_grant_title.001 realm_maintenance.2001 #Big notification about inheriting emperor tier title british_isles.1032 # Danelaw-England partition calc. title_event.0001 # Rename West Francia to France diff --git a/common/scripted_rules/01_grant_title_rules.txt b/common/scripted_rules/01_grant_title_rules.txt deleted file mode 100644 index 49a758993..000000000 --- a/common/scripted_rules/01_grant_title_rules.txt +++ /dev/null @@ -1,323 +0,0 @@ -# Determines if a character is allowed to be granted specific title by another character -# Root is the target character -# scope:liege is the granter -# scope:landed_title is the title in question -# scope:government_type the government type to be switched to (not set: default government type) -allowed_to_be_granted_titles_by = { - trigger_if = { - limit = { - scope:landed_title = { - tier <= tier_county - title_province = { has_holding_type = church_holding } - } - scope:liege.rite = { - NOT = { rite_has_parameter = lay_clergy } - } - } - custom_tooltip = { - text = grant_title_clerical_gender_tt - can_be_granted_theocratic_titles_by = { RULER = scope:liege } - } - } - trigger_else = { - can_be_granted_titles_by = { RULER = scope:liege } - } -} - -# Rules for the Grant Title government type selection feature. -# These rules control which government types can be selected when granting a county or higher title -# to an unlanded character. - -# Determines whether a specific government type appears in the picker in the Grant Titles interface. -# Called once per candidate government type. Recipient and county-tier checks are enforced in Code. -# Root is scope:actor (the granting ruler). -# scope:landed_title is the highest-tier title being granted. -# scope:government_type is the candidate government type being evaluated. -# scope:target_titles lists all titles being granted in this offer. -is_grant_government_shown = { - # Can only grant theocratic government type if that is your faith's theocratic government type - trigger_if = { - limit = { - scope:government_type = { - government_type_has_flag = government_is_theocracy - } - } - faith.faith_theocratic_goverment_type = scope:government_type - } - # lock all DLC government types in case they are allowed in modded government - trigger_else_if = { - limit = { - scope:government_type = { - OR = { - this = government_type:feudal_government - this = government_type:clan_government - this = government_type:tribal_government - } - } - } - OR = { - government_has_flag = government_is_nomadic - government_has_flag = government_is_herder - AND = { - scope:government_type = { this = government_type:feudal_government } - OR = { - government_has_flag = government_is_administrative - government_has_flag = government_is_theocracy - } - } - } - } - trigger_else_if = { - limit = { - OR = { - scope:government_type = government_type:nomad_government - scope:government_type = government_type:herder_government - } - } - has_mpo_dlc_trigger = yes - } - trigger_else_if = { - limit = { - OR = { - scope:government_type = government_type:wanua_government - scope:government_type = government_type:celestial_government - scope:government_type = government_type:mandala_government - scope:government_type = government_type:steppe_admin_government - scope:government_type = government_type:meritocratic_government - scope:government_type = government_type:japan_administrative_government - scope:government_type = government_type:japan_feudal_government - } - } - has_tgp_dlc_trigger = yes - } - trigger_else = { - always = yes - } -} - -# Determines whether a specific government type is a valid choice for the grant. -# Called once per candidate government type. -# Root is scope:actor (the granting ruler). -# scope:recipient is the character receiving the title. -# scope:government_type is the candidate government type being evaluated. -# scope:landed_title is the highest-tier title being granted. -# scope:target_titles lists all titles being granted in this offer. -is_grant_government_valid = { - # Theocratic grants: faith doctrines, tier gate (AI county-only / player up to duchy), - # realm theocratic-share cap, and shared cooldown. - trigger_if = { - limit = { - scope:government_type = { - government_type_has_flag = government_is_theocracy - } - } - rite = { - rite_has_doctrine = doctrine_theocracy_temporal - } - scope:recipient = { - faith = root.faith - rite = { - rite_has_doctrine = doctrine_theocracy_temporal - } - is_adult = yes - trigger_if = { - limit = { - is_clergy = no # If your child is somehow already clergy it's fine to grant them a Theocracy - root = { is_clergy = no } # If dad is clergy he can grant his kiddos theocracies, yay nepotism - } - NOR = { - is_child_of = root - is_grandchild_of = root - is_great_grandchild_of = root - } - } - } - # Tier gate: AI may only grant theocratic counties; players are capped at duchy. - trigger_if = { - limit = { is_ai = yes } - scope:landed_title = { tier = tier_county } - } - trigger_else = { - custom_description = { - text = grant_government_kingdom_blocked_tt - scope:landed_title = { tier <= tier_duchy } - } - } - custom_description = { - text = grant_government_too_many_theocratic_vassals_tt - trigger_if = { - limit = { is_ai = yes } - realm_theocratic_county_share_ai_below_cap_trigger = yes - } - trigger_else = { - realm_theocratic_county_share_player_below_cap_trigger = yes - } - } - custom_description = { - text = grant_government_cooldown_tt - NOT = { has_variable = grant_vassal_government_cooldown } - } - } - # holding type san check - trigger_else_if = { - limit = { - scope:government_type = { - government_type_has_flag = government_is_republic - } - } - scope:recipient = { - is_adult = yes - NOR = { - is_child_of = root - is_grandchild_of = root - is_great_grandchild_of = root - } - } - any_in_list = { - list = target_titles - tier = tier_county - title_province ?= { - OR = { - has_holding_type = castle_holding - has_holding_type = city_holding - } - } - } - custom_description = { - text = grant_government_cooldown_tt - NOT = { has_variable = grant_vassal_government_cooldown } - } - } - trigger_else_if = { - limit = { - scope:government_type = { - government_type_has_flag = government_is_feudal - } - } - any_in_list = { - list = target_titles - tier = tier_county - title_province ?= { - has_holding_type = castle_holding - } - } - # cooldown if you can't use the holding - trigger_if = { - limit = { - government_has_flag = government_is_settled - NOT = { government_has_flag = government_is_tribal } - } - custom_description = { - text = grant_government_cooldown_tt - NOT = { has_variable = grant_vassal_government_cooldown } - } - } - } - trigger_else_if = { - limit = { - scope:government_type = { - government_type_has_flag = government_is_clan - } - ep3_is_clan_inclined_trigger = no - } - scope:recipient = { ep3_is_clan_inclined_trigger = yes } - any_in_list = { - list = target_titles - tier = tier_county - title_province ?= { - has_holding_type = castle_holding - } - } - # cooldown if you can't use the holding - trigger_if = { - limit = { - government_has_flag = government_is_settled - NOT = { government_has_flag = government_is_tribal } - } - custom_description = { - text = grant_government_cooldown_tt - NOT = { has_variable = grant_vassal_government_cooldown } - } - } - } - trigger_else_if = { - limit = { - scope:government_type = { - government_type_has_flag = government_is_tribal - } - } - any_in_list = { - list = target_titles - tier = tier_county - title_province ?= { - has_holding_type = tribal_holding - } - } - # cooldown if you can't use the holding - trigger_if = { - limit = { government_has_flag = government_is_tribal } - custom_description = { - text = grant_government_cooldown_tt - NOT = { has_variable = grant_vassal_government_cooldown } - } - } - } - trigger_else_if = { - limit = { - scope:government_type = { - OR = { - government_type_has_flag = government_is_nomadic - government_type_has_flag = government_is_herder - } - } - } - NOR = { - government_has_flag = government_is_nomadic - government_has_flag = government_is_herder - } - any_in_list = { - list = target_titles - tier = tier_county - title_province ?= { - OR = { - has_holding_type = nomad_holding - has_holding_type = herder_holding - } - } - } - } - trigger_else_if = { - limit = { - scope:government_type = { - government_type_has_flag = government_is_settled - } - } - any_in_list = { - list = target_titles - tier = tier_county - title_province ?= { - OR = { - has_holding_type = castle_holding - has_holding_type = city_holding - has_holding_type = church_holding - } - } - } - trigger_if = { - limit = { - government_has_flag = government_is_settled - NOT = { government_has_flag = government_is_tribal } - } - custom_description = { - text = grant_government_cooldown_tt - NOT = { has_variable = grant_vassal_government_cooldown } - } - } - } - trigger_else = { - custom_description = { - text = grant_government_cooldown_tt - NOT = { has_variable = grant_vassal_government_cooldown } - } - } -} diff --git a/events/NEOW_grant_titles_events.txt b/events/NEOW_grant_titles_events.txt deleted file mode 100644 index 6735889c6..000000000 --- a/events/NEOW_grant_titles_events.txt +++ /dev/null @@ -1,67 +0,0 @@ -namespace = NEOW_grant_title - -NEOW_grant_title.001 = { # The Great Event - hidden = yes - trigger = { - scope:previous_holder ?= { - government_has_flag = government_is_administrative - } - } - immediate = { - if = { - limit = { - root = { OR = { government_has_flag = government_is_feudal government_has_flag = government_is_clan government_has_flag = government_is_theocracy } } - OR = { - scope:transfer_type = flag:granted - scope:transfer_type = flag:appointment - } - scope:previous_holder ?= { - government_has_flag = government_is_administrative - } - } - if = { - limit = { - scope:title.tier = tier_empire - } - scope:previous_holder = { change_influence = monumental_influence_gain } - scope:previous_holder = { - change_influence = monumental_influence_gain - add_gold = monumental_gold_max_value - } - } - else_if = { - limit = { - scope:title.tier = tier_kingdom - } - scope:previous_holder = { change_influence = massive_influence_gain } - scope:previous_holder = { - change_influence = massive_influence_gain - add_gold = massive_gold_max_value - } - } - else_if = { - limit = { - scope:title.tier = tier_duchy - } - scope:previous_holder = { change_influence = major_influence_gain } - scope:previous_holder = { - change_influence = major_influence_gain - add_gold = major_gold_max_value - } - } - else_if = { - limit = { - scope:title.tier = tier_county - } - scope:previous_holder = { - change_influence = medium_influence_gain - add_gold = medium_gold_max_value - } - } - else = { - } - } - else = { - } - } -} \ No newline at end of file diff --git a/localization/english/replace/zz_NEOW_council_stuff_l_english.yml b/localization/english/replace/zz_NEOW_council_stuff_l_english.yml index b7592868f..aa3a8714b 100644 --- a/localization/english/replace/zz_NEOW_council_stuff_l_english.yml +++ b/localization/english/replace/zz_NEOW_council_stuff_l_english.yml @@ -1,16 +1,4 @@ l_english: - grant_hereditary_title_admin:0 "Grant Hereditary Office" - grant_hereditary_title_admin_interaction:0 "Grant Hereditary Office" - grant_hereditary_title_admin_interaction_desc: "Grant one or more of [puppet_or_actor.GetShortUINamePossessive] personally held [titles|E] to [recipient.GetShortUINameNoTooltip] for influence." - grant_title_to_bastard_dynasty_warning:1 "As a [bastard|E], [recipient.GetShortUINameNoTooltip] will found a new [dynasty|E]" - grant_hereditary_title_admin_interaction_notification:0 "Granted Office" - grant_hereditary_title_admin_interaction_notification_effect: "[recipient.GetUINameNotMe] became [puppet_or_actor.GetShortUINamePossessive] [vassal|E]" - grant_hereditary_title_admin_interaction_notification_effect_2: "[puppet_or_actor.GetShortUINamePossessive|U] [vassal|E] [recipient.GetShortUINameNotMe] now holds the [loc_title.GetBaseName]" - grant_hereditary_title_admin_interaction_notification_effect_3: "[puppet_or_actor.GetShortUINamePossessive|U] [vassal|E] [recipient.GetShortUINameNotMe] now holds the [loc_title.GetBaseName] and other [titles|E]" - grant_hereditary_title_admin_interaction_notification_effect_4:0 "[recipient.GetUINameNotMe] is now an [independent|E] [ruler|E]" - grant_hereditary_title_admin_interaction_notification_effect_5:0 "[recipient.GetUINameNotMe] is now a fellow vassal" - grant_hereditary_title_admin_interaction_notification_effect_6:0 "[recipient.GetUINameNotMe] now holds the [loc_title.GetBaseName]" - grant_hereditary_title_admin_interaction_notification_effect_7: "[recipient.GetUINameNotMe] became [puppet_or_actor.GetShortUINamePossessive] [tributary|E]" councillor_court_chaplain_orthodox_clerical_region_archbishop: "Archbishop" councillor_court_chaplain_orthodox_clerical_region_archbishop_female: "Archbishop" @@ -20,8 +8,6 @@ councillor_court_chaplain_orthodox_clerical_region_exarch_female: "Exarch" councillor_court_chaplain_orthodox_clerical_region_exarch_possessive: "Exarch's" councillor_court_chaplain_orthodox_clerical_region_exarch_female_possessive: "Exarch's" - influence_award_notification: "As an Administrative ruler grants [influence_i][influence|E] proportionate to title rank if granted as feudal or theocratic:\n-[influence_i] 250 [influence|E] for Empire tier.\n-[influence_i] 150 [influence|E] for Kingdom tier.\n-[influence_i] 100 [influence|E] for Duchy tier.\n-[influence_i] 60 [influence|E] for County tier.\n\nAs an Administrative ruler grants [gold_i][gold|E] proportionate to title rank if granted as feudal or theocratic:\n-[gold_i] a monumental volume of [gold|E] for Empire tier.\n-[gold_i] a massive volume of [gold|E] for Kingdom tier.\n-[gold_i] a major volume of [gold|E] for Duchy tier.\n-[gold_i] a moderate volume of [gold|E] for County tier. " - COURT_CHAPLAIN_CONVERSION_HARDER_TO_CONVERT_FAITH_AWAY_IN_HILLS_FORESTS_MALUS_MODIFIER:0 "[councillor_liege.GetFaith.GetName] — [GetFaithDoctrine('against_all_odds').GetBaseName] in Hills and Forests"