law_groups = { eunuch_law_group = { law_type = realm allowed_for_councillors = no } grand_chancellor_law_group = { law_type = realm allowed_for_councillors = no } ci_courtier_law_group = { law_type = realm allowed_for_councillors = no } ci_vassal_law_group = { law_type = realm allowed_for_councillors = no } } laws = { eunuch_law_0 = { group = eunuch_law_group default = yes potential = { has_dlc = "Conclave" has_dlc = "Jade Dragon" holder_scope = { tier = emperor OR = { government = chinese_imperial_government government = eastern_imperial_government } } } allow = { holder_scope = { NOT = { has_character_modifier = ongoing_ci_law_challenge } } has_law = law_voting_power_0 has_law = eunuch_law_1 holder_scope = { NOR = { has_character_modifier = mandate_of_heaven_2 has_character_modifier = mandate_of_heaven_1 } } } effect = { custom_tooltip = { text = no_council_eunuchs } hidden_tooltip = { revoke_law = eunuch_law_0 revoke_law = eunuch_law_1 revoke_law = eunuch_law_2 revoke_law = eunuch_law_3 revoke_law = eunuch_law_4 } } ai_will_do = { factor = 1 modifier = { factor = 0.05 } } } eunuch_law_1 = { group = eunuch_law_group vassal_opinion = -5 potential = { has_dlc = "Conclave" has_dlc = "Jade Dragon" holder_scope = { tier = emperor OR = { government = chinese_imperial_government government = eastern_imperial_government } } } allow = { holder_scope = { NOT = { has_character_modifier = ongoing_ci_law_challenge } } OR = { has_law = eunuch_law_0 AND = { has_law = war_voting_power_0 has_law = eunuch_law_2 holder_scope = { NOR = { has_character_modifier = mandate_of_heaven_2 has_character_modifier = mandate_of_heaven_1 } } } } } effect = { custom_tooltip = { text = one_council_eunuch } hidden_tooltip = { revoke_law = eunuch_law_0 revoke_law = eunuch_law_1 revoke_law = eunuch_law_2 revoke_law = eunuch_law_3 revoke_law = eunuch_law_4 } if = { limit = { has_law = law_voting_power_0 } hidden_tooltip = { revoke_law = law_voting_power_0 } add_law = law_voting_power_1 } } ai_will_do = { factor = 1 modifier = { factor = 0.05 } modifier = { factor = 0 has_law = eunuch_law_0 } } } eunuch_law_2 = { group = eunuch_law_group vassal_opinion = -10 potential = { has_dlc = "Conclave" has_dlc = "Jade Dragon" holder_scope = { tier = emperor OR = { government = chinese_imperial_government government = eastern_imperial_government } } } allow = { holder_scope = { NOT = { has_character_modifier = ongoing_ci_law_challenge } } OR = { has_law = eunuch_law_1 AND = { has_law = eunuch_law_3 has_law = revoke_title_voting_power_0 has_law = imprison_voting_power_0 has_law = grant_title_voting_power_0 has_law = banish_voting_power_0 has_law = execution_voting_power_0 holder_scope = { NOR = { has_character_modifier = mandate_of_heaven_2 has_character_modifier = mandate_of_heaven_1 } } } } } effect = { custom_tooltip = { text = four_council_eunuchs } custom_tooltip = { text = moh_increase_capped_at_good } hidden_tooltip = { revoke_law = eunuch_law_0 revoke_law = eunuch_law_1 revoke_law = eunuch_law_2 revoke_law = eunuch_law_3 revoke_law = eunuch_law_4 } if = { limit = { has_law = law_voting_power_0 } hidden_tooltip = { revoke_law = law_voting_power_0 } add_law = law_voting_power_1 } if = { limit = { has_law = war_voting_power_0 } hidden_tooltip = { revoke_law = war_voting_power_0 } add_law = war_voting_power_1 } } ai_will_do = { factor = 1 modifier = { factor = 0.05 } modifier = { factor = 0 has_law = eunuch_law_1 } } } eunuch_law_3 = { group = eunuch_law_group vassal_opinion = -15 potential = { has_dlc = "Conclave" has_dlc = "Jade Dragon" holder_scope = { tier = emperor OR = { government = chinese_imperial_government government = eastern_imperial_government } } } allow = { holder_scope = { NOT = { has_character_modifier = ongoing_ci_law_challenge } } OR = { AND = { has_law = eunuch_law_2 NOR = { AND = { has_law = grand_chancellor_law_2 holder_scope = { any_vassal = { has_minor_title = title_grand_chancellor } } } has_law = ci_courtier_law_4 has_law = ci_vassal_law_4 } } AND = { has_law = eunuch_law_4 OR = { AND = { has_law = grand_chancellor_law_2 holder_scope = { any_vassal = { has_minor_title = title_grand_chancellor } } } has_law = ci_courtier_law_4 has_law = ci_vassal_law_4 } holder_scope = { NOT = { has_character_modifier = mandate_of_heaven_1 } } } AND = { has_law = eunuch_law_4 holder_scope = { has_character_modifier = mandate_of_heaven_5 } } } } effect = { custom_tooltip = { text = eight_council_eunuchs } custom_tooltip = { text = moh_increase_capped_at_average } custom_tooltip = { text = cant_fire_eunuchs } hidden_tooltip = { revoke_law = eunuch_law_0 revoke_law = eunuch_law_1 revoke_law = eunuch_law_2 revoke_law = eunuch_law_3 revoke_law = eunuch_law_4 } if = { limit = { has_law = law_voting_power_0 } hidden_tooltip = { revoke_law = law_voting_power_0 } add_law = law_voting_power_1 } if = { limit = { has_law = war_voting_power_0 } hidden_tooltip = { revoke_law = war_voting_power_0 } add_law = war_voting_power_1 } } ai_will_do = { factor = 1 modifier = { factor = 0.05 } modifier = { factor = 0 has_law = eunuch_law_2 } } } eunuch_law_4 = { group = eunuch_law_group vassal_opinion = -25 potential = { has_dlc = "Conclave" has_dlc = "Jade Dragon" holder_scope = { tier = emperor OR = { government = chinese_imperial_government government = eastern_imperial_government } } } allow = { holder_scope = { NOT = { has_character_modifier = ongoing_ci_law_challenge } } has_law = eunuch_law_3 NOR = { AND = { OR = { has_law = grand_chancellor_law_1 has_law = grand_chancellor_law_2 } holder_scope = { any_vassal = { has_minor_title = title_grand_chancellor } } } has_law = ci_courtier_law_3 has_law = ci_vassal_law_3 has_law = ci_courtier_law_4 has_law = ci_vassal_law_4 } } effect = { custom_tooltip = { text = twelve_council_eunuchs } custom_tooltip = { text = council_eunuchs_extra_succession_influence } custom_tooltip = { text = moh_increase_capped_at_poor } custom_tooltip = { text = cant_fire_eunuchs } hidden_tooltip = { revoke_law = eunuch_law_0 revoke_law = eunuch_law_1 revoke_law = eunuch_law_2 revoke_law = eunuch_law_3 revoke_law = eunuch_law_4 } if = { limit = { has_law = law_voting_power_0 } hidden_tooltip = { revoke_law = law_voting_power_0 } add_law = law_voting_power_1 } if = { limit = { has_law = war_voting_power_0 } hidden_tooltip = { revoke_law = war_voting_power_0 } add_law = war_voting_power_1 } if = { limit = { has_law = banish_voting_power_0 } hidden_tooltip = { revoke_law = banish_voting_power_0 } add_law = banish_voting_power_1 } if = { limit = { has_law = revoke_title_voting_power_0 } hidden_tooltip = { revoke_law = revoke_title_voting_power_0 } add_law = revoke_title_voting_power_1 } if = { limit = { has_law = grant_title_voting_power_0 } hidden_tooltip = { revoke_law = grant_title_voting_power_0 } add_law = grant_title_voting_power_1 } if = { limit = { has_law = imprison_voting_power_0 } hidden_tooltip = { revoke_law = imprison_voting_power_0 } add_law = imprison_voting_power_1 } if = { limit = { has_law = execution_voting_power_0 } hidden_tooltip = { revoke_law = execution_voting_power_0 } add_law = execution_voting_power_1 } custom_tooltip = { text = chinese_succession_activated } holder_scope = { any_demesne_title = { limit = { higher_tier_than = duke NOT = { has_law = chinese_succession } } add_law = chinese_succession cooldown = no opinion_effect = no } } } ai_will_do = { factor = 0 } } grand_chancellor_law_0 = { group = grand_chancellor_law_group default = yes potential = { has_dlc = "Conclave" has_dlc = "Jade Dragon" holder_scope = { OR = { AND = { tier = emperor OR = { government = chinese_imperial_government government = eastern_imperial_government } } AND = { government = chinese_vassal_government independent = yes tier = king } } } } allow = { holder_scope = { NOT = { has_character_modifier = ongoing_ci_law_challenge } } OR = { AND = { has_law = war_voting_power_0 has_law = grand_chancellor_law_1 } NOT = { any_vassal = { has_minor_title = title_grand_chancellor } } } holder_scope = { OR = { NOT = { any_vassal = { has_minor_title = title_grand_chancellor } } has_character_modifier = mandate_of_heaven_5 } NOR = { has_character_modifier = mandate_of_heaven_2 has_character_modifier = mandate_of_heaven_1 } } } effect = { custom_tooltip = { text = grand_chancellor_weak } custom_tooltip = { text = gc_cheaper_boons } hidden_tooltip = { revoke_law = grand_chancellor_law_0 revoke_law = grand_chancellor_law_1 revoke_law = grand_chancellor_law_2 } } ai_will_do = { factor = 1 modifier = { factor = 0.05 } } } grand_chancellor_law_1 = { group = grand_chancellor_law_group dynasty_opinion = -5 potential = { has_dlc = "Conclave" has_dlc = "Jade Dragon" holder_scope = { OR = { AND = { tier = emperor OR = { government = chinese_imperial_government government = eastern_imperial_government } } AND = { government = chinese_vassal_government independent = yes tier = king } } } } allow = { holder_scope = { NOT = { has_character_modifier = ongoing_ci_law_challenge } } OR = { has_law = grand_chancellor_law_0 AND = { has_law = grand_chancellor_law_2 has_law = revoke_title_voting_power_0 has_law = imprison_voting_power_0 has_law = grant_title_voting_power_0 has_law = banish_voting_power_0 has_law = execution_voting_power_0 holder_scope = { NOR = { has_character_modifier = mandate_of_heaven_2 has_character_modifier = mandate_of_heaven_1 } } } NOT = { any_vassal = { has_minor_title = title_grand_chancellor } } } OR = { holder_scope = { OR = { NOT = { any_vassal = { has_minor_title = title_grand_chancellor } } has_character_modifier = mandate_of_heaven_5 } } AND = { has_law = grand_chancellor_law_0 holder_scope = { any_vassal = { has_minor_title = title_grand_chancellor } } } } NAND = { OR = { has_law = eunuch_law_4 has_law = ci_courtier_law_4 } has_law = grand_chancellor_law_0 } } effect = { custom_tooltip = { text = moh_increase_capped_at_good } custom_tooltip = { text = gc_create_duchies } custom_tooltip = { text = gc_cheaper_boons } custom_tooltip = { text = gc_advise_on_grace_matters } hidden_tooltip = { revoke_law = grand_chancellor_law_0 revoke_law = grand_chancellor_law_1 revoke_law = grand_chancellor_law_2 } if = { limit = { has_law = law_voting_power_0 } hidden_tooltip = { revoke_law = law_voting_power_0 } add_law = law_voting_power_1 } } ai_will_do = { factor = 1 modifier = { factor = 0.05 } modifier = { factor = 0 has_law = grand_chancellor_law_0 } } } grand_chancellor_law_2 = { group = grand_chancellor_law_group dynasty_opinion = -10 potential = { has_dlc = "Conclave" has_dlc = "Jade Dragon" holder_scope = { OR = { AND = { tier = emperor OR = { government = chinese_imperial_government government = eastern_imperial_government } } AND = { government = chinese_vassal_government independent = yes tier = king } } } } allow = { holder_scope = { NOT = { has_character_modifier = ongoing_ci_law_challenge } } has_law = grand_chancellor_law_1 NOR = { has_law = eunuch_law_3 has_law = eunuch_law_4 has_law = ci_courtier_law_3 has_law = ci_courtier_law_4 } holder_scope = { any_vassal = { has_minor_title = title_grand_chancellor } } } effect = { custom_tooltip = { text = grand_chancellor_powerful } custom_tooltip = { text = grand_chancellor_extra_succession_influence } custom_tooltip = { text = moh_increase_capped_at_average } custom_tooltip = { text = gc_create_duchies } custom_tooltip = { text = gc_create_kingdoms } custom_tooltip = { text = gc_cheaper_boons } custom_tooltip = { text = gc_advise_on_grace_matters } custom_tooltip = { text = gc_advise_on_grace_matters_discontent } custom_tooltip = { text = gc_join_claimant_takeover_cp_independence_factions } hidden_tooltip = { revoke_law = grand_chancellor_law_0 revoke_law = grand_chancellor_law_1 revoke_law = grand_chancellor_law_2 } if = { limit = { has_law = law_voting_power_0 } hidden_tooltip = { revoke_law = law_voting_power_0 } add_law = law_voting_power_1 } if = { limit = { has_law = war_voting_power_0 } hidden_tooltip = { revoke_law = war_voting_power_0 } add_law = war_voting_power_1 } if = { limit = { has_law = banish_voting_power_0 } hidden_tooltip = { revoke_law = banish_voting_power_0 } add_law = banish_voting_power_1 } if = { limit = { has_law = revoke_title_voting_power_0 } hidden_tooltip = { revoke_law = revoke_title_voting_power_0 } add_law = revoke_title_voting_power_1 } if = { limit = { has_law = grant_title_voting_power_0 } hidden_tooltip = { revoke_law = grant_title_voting_power_0 } add_law = grant_title_voting_power_1 } if = { limit = { has_law = imprison_voting_power_0 } hidden_tooltip = { revoke_law = imprison_voting_power_0 } add_law = imprison_voting_power_1 } if = { limit = { has_law = execution_voting_power_0 } hidden_tooltip = { revoke_law = execution_voting_power_0 } add_law = execution_voting_power_1 } custom_tooltip = { text = chinese_succession_activated } holder_scope = { any_demesne_title = { limit = { higher_tier_than = duke NOT = { has_law = chinese_succession } } add_law = chinese_succession cooldown = no opinion_effect = no } } } ai_will_do = { factor = 0 } } ci_courtier_law_0 = { group = ci_courtier_law_group default = yes potential = { has_dlc = "Conclave" has_dlc = "Jade Dragon" holder_scope = { tier = emperor OR = { government = chinese_imperial_government government = eastern_imperial_government } } } allow = { holder_scope = { NOT = { has_character_modifier = ongoing_ci_law_challenge } } has_law = law_voting_power_0 has_law = ci_courtier_law_1 holder_scope = { NOR = { has_character_modifier = mandate_of_heaven_2 has_character_modifier = mandate_of_heaven_1 } } } effect = { hidden_tooltip = { revoke_law = ci_courtier_law_0 revoke_law = ci_courtier_law_1 revoke_law = ci_courtier_law_2 revoke_law = ci_courtier_law_3 revoke_law = ci_courtier_law_4 } } ai_will_do = { factor = 1 modifier = { factor = 0.05 } } } ci_courtier_law_1 = { group = ci_courtier_law_group vassal_opinion = -5 potential = { has_dlc = "Conclave" has_dlc = "Jade Dragon" holder_scope = { tier = emperor OR = { government = chinese_imperial_government government = eastern_imperial_government } } } allow = { holder_scope = { NOT = { has_character_modifier = ongoing_ci_law_challenge } } OR = { has_law = ci_courtier_law_0 AND = { has_law = war_voting_power_0 has_law = ci_courtier_law_2 holder_scope = { NOR = { has_character_modifier = mandate_of_heaven_2 has_character_modifier = mandate_of_heaven_1 } } } } } effect = { hidden_tooltip = { revoke_law = ci_courtier_law_0 revoke_law = ci_courtier_law_1 revoke_law = ci_courtier_law_2 revoke_law = ci_courtier_law_3 revoke_law = ci_courtier_law_4 } if = { limit = { has_law = law_voting_power_0 } hidden_tooltip = { revoke_law = law_voting_power_0 } add_law = law_voting_power_1 } } ai_will_do = { factor = 1 modifier = { factor = 0.05 } modifier = { factor = 0 has_law = ci_courtier_law_0 } } } ci_courtier_law_2 = { group = ci_courtier_law_group vassal_opinion = -10 potential = { has_dlc = "Conclave" has_dlc = "Jade Dragon" holder_scope = { tier = emperor OR = { government = chinese_imperial_government government = eastern_imperial_government } } } allow = { holder_scope = { NOT = { has_character_modifier = ongoing_ci_law_challenge } } OR = { has_law = ci_courtier_law_1 AND = { has_law = ci_courtier_law_3 has_law = revoke_title_voting_power_0 has_law = imprison_voting_power_0 has_law = grant_title_voting_power_0 has_law = banish_voting_power_0 has_law = execution_voting_power_0 holder_scope = { NOR = { has_character_modifier = mandate_of_heaven_2 has_character_modifier = mandate_of_heaven_1 } } } } } effect = { custom_tooltip = { text = moh_increase_capped_at_good } hidden_tooltip = { revoke_law = ci_courtier_law_0 revoke_law = ci_courtier_law_1 revoke_law = ci_courtier_law_2 revoke_law = ci_courtier_law_3 revoke_law = ci_courtier_law_4 } if = { limit = { has_law = law_voting_power_0 } hidden_tooltip = { revoke_law = law_voting_power_0 } add_law = law_voting_power_1 } if = { limit = { has_law = war_voting_power_0 } hidden_tooltip = { revoke_law = war_voting_power_0 } add_law = war_voting_power_1 } } ai_will_do = { factor = 1 modifier = { factor = 0.05 } modifier = { factor = 0 has_law = ci_courtier_law_1 } } } ci_courtier_law_3 = { group = ci_courtier_law_group vassal_opinion = -15 potential = { has_dlc = "Conclave" has_dlc = "Jade Dragon" holder_scope = { tier = emperor OR = { government = chinese_imperial_government government = eastern_imperial_government } } } allow = { holder_scope = { NOT = { has_character_modifier = ongoing_ci_law_challenge } } OR = { has_law = ci_courtier_law_2 has_law = ci_courtier_law_4 } NOR = { AND = { OR = { AND = { has_law = grand_chancellor_law_2 holder_scope = { any_vassal = { has_minor_title = title_grand_chancellor } } } has_law = eunuch_law_4 has_law = ci_vassal_law_4 } has_law = ci_courtier_law_2 } AND = { has_law = ci_courtier_law_4 holder_scope = { has_character_modifier = mandate_of_heaven_1 } } } } effect = { custom_tooltip = { text = moh_increase_capped_at_average } custom_tooltip = { text = cant_fire_non_eunuch_courtiers } hidden_tooltip = { revoke_law = ci_courtier_law_0 revoke_law = ci_courtier_law_1 revoke_law = ci_courtier_law_2 revoke_law = ci_courtier_law_3 revoke_law = ci_courtier_law_4 } if = { limit = { has_law = law_voting_power_0 } hidden_tooltip = { revoke_law = law_voting_power_0 } add_law = law_voting_power_1 } if = { limit = { has_law = war_voting_power_0 } hidden_tooltip = { revoke_law = war_voting_power_0 } add_law = war_voting_power_1 } if = { limit = { has_law = banish_voting_power_0 } hidden_tooltip = { revoke_law = banish_voting_power_0 } add_law = banish_voting_power_1 } if = { limit = { has_law = revoke_title_voting_power_0 } hidden_tooltip = { revoke_law = revoke_title_voting_power_0 } add_law = revoke_title_voting_power_1 } if = { limit = { has_law = grant_title_voting_power_0 } hidden_tooltip = { revoke_law = grant_title_voting_power_0 } add_law = grant_title_voting_power_1 } if = { limit = { has_law = imprison_voting_power_0 } hidden_tooltip = { revoke_law = imprison_voting_power_0 } add_law = imprison_voting_power_1 } if = { limit = { has_law = execution_voting_power_0 } hidden_tooltip = { revoke_law = execution_voting_power_0 } add_law = execution_voting_power_1 } } ai_will_do = { factor = 1 modifier = { factor = 0.05 } modifier = { factor = 0 has_law = ci_courtier_law_2 } } } ci_courtier_law_4 = { group = ci_courtier_law_group vassal_opinion = -25 potential = { has_dlc = "Conclave" has_dlc = "Jade Dragon" holder_scope = { tier = emperor OR = { government = chinese_imperial_government government = eastern_imperial_government } } } allow = { holder_scope = { NOT = { has_character_modifier = ongoing_ci_law_challenge } } has_law = war_voting_power_1 has_law = ci_courtier_law_3 NOR = { AND = { OR = { has_law = grand_chancellor_law_1 has_law = grand_chancellor_law_2 } holder_scope = { any_vassal = { has_minor_title = title_grand_chancellor } } } has_law = eunuch_law_3 has_law = ci_vassal_law_3 has_law = eunuch_law_4 has_law = ci_vassal_law_4 } } effect = { custom_tooltip = { text = moh_increase_capped_at_poor } custom_tooltip = { text = cant_fire_non_eunuch_courtiers } custom_tooltip = { text = courtier_skills_no_longer_matter_for_council } custom_tooltip = { text = unlanded_spouse_titled_consorts_parents_grandparents_extra_succession_influence } hidden_tooltip = { revoke_law = ci_courtier_law_0 revoke_law = ci_courtier_law_1 revoke_law = ci_courtier_law_2 revoke_law = ci_courtier_law_3 revoke_law = ci_courtier_law_4 } if = { limit = { has_law = law_voting_power_0 } hidden_tooltip = { revoke_law = law_voting_power_0 } add_law = law_voting_power_1 } if = { limit = { has_law = war_voting_power_0 } hidden_tooltip = { revoke_law = war_voting_power_0 } add_law = war_voting_power_1 } if = { limit = { has_law = banish_voting_power_0 } hidden_tooltip = { revoke_law = banish_voting_power_0 } add_law = banish_voting_power_1 } if = { limit = { has_law = revoke_title_voting_power_0 } hidden_tooltip = { revoke_law = revoke_title_voting_power_0 } add_law = revoke_title_voting_power_1 } if = { limit = { has_law = grant_title_voting_power_0 } hidden_tooltip = { revoke_law = grant_title_voting_power_0 } add_law = grant_title_voting_power_1 } if = { limit = { has_law = imprison_voting_power_0 } hidden_tooltip = { revoke_law = imprison_voting_power_0 } add_law = imprison_voting_power_1 } if = { limit = { has_law = execution_voting_power_0 } hidden_tooltip = { revoke_law = execution_voting_power_0 } add_law = execution_voting_power_1 } custom_tooltip = { text = chinese_succession_activated } holder_scope = { any_demesne_title = { limit = { higher_tier_than = duke NOT = { has_law = chinese_succession } } add_law = chinese_succession cooldown = no opinion_effect = no } } } ai_will_do = { factor = 0 } } ci_vassal_law_0 = { group = ci_vassal_law_group default = yes potential = { has_dlc = "Conclave" has_dlc = "Jade Dragon" holder_scope = { tier = emperor OR = { government = chinese_imperial_government government = eastern_imperial_government } } } allow = { holder_scope = { NOT = { has_character_modifier = ongoing_ci_law_challenge } } has_law = law_voting_power_0 has_law = ci_vassal_law_0 holder_scope = { NOR = { has_character_modifier = mandate_of_heaven_2 has_character_modifier = mandate_of_heaven_1 } } } effect = { custom_tooltip = { text = no_external_vassal_wars } custom_tooltip = { text = no_internal_vassal_wars } if = { limit = { NOT = { has_law = vassal_wars_law_2 } } add_law = vassal_wars_law_2 } custom_tooltip = { text = no_external_inheritance } if = { limit = { has_law = out_of_realm_inheritance_law_0 } add_law = out_of_realm_inheritance_law_1 } custom_tooltip = { text = duchy_viceroyalties_allowed } if = { limit = { has_dlc = "Charlemagne" NOT = { has_law = vice_royalty_2 } } add_law = vice_royalty_2 } custom_tooltip = { text = no_vassal_duchy_creation } custom_tooltip = { text = kingdom_viceroyalties_allowed } custom_tooltip = { text = no_vassal_kingdom_creation } custom_tooltip = { text = revoke_title_allowed } if = { limit = { has_law = revoke_title_law_0 } add_law = revoke_title_law_1 } custom_tooltip = { text = centralization_capped_at_4 } custom_tooltip = { text = can_fire_powerful_vassals } custom_tooltip = { text = can_fire_non_powerful_vassals } hidden_tooltip = { revoke_law = ci_vassal_law_0 revoke_law = ci_vassal_law_1 revoke_law = ci_vassal_law_2 revoke_law = ci_vassal_law_3 revoke_law = ci_vassal_law_4 } } ai_will_do = { factor = 1 modifier = { factor = 0.05 } } } ci_vassal_law_1 = { group = ci_vassal_law_group dynasty_opinion = -5 potential = { has_dlc = "Conclave" has_dlc = "Jade Dragon" holder_scope = { tier = emperor OR = { government = chinese_imperial_government government = eastern_imperial_government } } } allow = { holder_scope = { NOT = { has_character_modifier = ongoing_ci_law_challenge } } OR = { has_law = ci_vassal_law_0 AND = { has_law = war_voting_power_0 has_law = ci_vassal_law_2 holder_scope = { NOR = { has_character_modifier = mandate_of_heaven_2 has_character_modifier = mandate_of_heaven_1 } } } } } effect = { custom_tooltip = { text = external_vassal_wars_possible } custom_tooltip = { text = no_internal_vassal_wars } if = { limit = { NOT = { has_law = vassal_wars_law_1 } } add_law = vassal_wars_law_1 } custom_tooltip = { text = no_external_inheritance } if = { limit = { has_law = out_of_realm_inheritance_law_0 } add_law = out_of_realm_inheritance_law_1 } custom_tooltip = { text = duchy_viceroyalties_allowed } if = { limit = { has_dlc = "Charlemagne" NOT = { has_law = vice_royalty_2 } } add_law = vice_royalty_2 } custom_tooltip = { text = vassal_duchy_creation_allowed } custom_tooltip = { text = kingdom_viceroyalties_allowed } custom_tooltip = { text = no_vassal_kingdom_creation } custom_tooltip = { text = revoke_title_allowed } if = { limit = { has_law = revoke_title_law_0 } add_law = revoke_title_law_1 } custom_tooltip = { text = centralization_capped_at_3 } if = { limit = { has_law = centralization_4 } add_law = centralization_3 } custom_tooltip = { text = can_fire_powerful_vassals } custom_tooltip = { text = can_fire_non_powerful_vassals } hidden_tooltip = { revoke_law = ci_vassal_law_0 revoke_law = ci_vassal_law_1 revoke_law = ci_vassal_law_2 revoke_law = ci_vassal_law_3 revoke_law = ci_vassal_law_4 } if = { limit = { has_law = law_voting_power_0 } hidden_tooltip = { revoke_law = law_voting_power_0 } add_law = law_voting_power_1 } } ai_will_do = { factor = 1 modifier = { factor = 0.05 } modifier = { factor = 0 has_law = ci_vassal_law_0 } } } ci_vassal_law_2 = { group = ci_vassal_law_group dynasty_opinion = -10 potential = { has_dlc = "Conclave" has_dlc = "Jade Dragon" holder_scope = { tier = emperor OR = { government = chinese_imperial_government government = eastern_imperial_government } } } allow = { holder_scope = { NOT = { has_character_modifier = ongoing_ci_law_challenge } } OR = { has_law = ci_vassal_law_1 AND = { has_law = ci_vassal_law_3 # Blocks various depowered council laws... holder_scope = { NOR = { has_character_modifier = mandate_of_heaven_2 has_character_modifier = mandate_of_heaven_1 } } } } } effect = { custom_tooltip = { text = moh_increase_capped_at_good } custom_tooltip = { text = external_vassal_wars_possible } custom_tooltip = { text = no_internal_vassal_wars } if = { limit = { NOT = { has_law = vassal_wars_law_1 } } add_law = vassal_wars_law_1 } custom_tooltip = { text = no_external_inheritance } if = { limit = { has_law = out_of_realm_inheritance_law_0 } add_law = out_of_realm_inheritance_law_1 } custom_tooltip = { text = no_duchy_viceroyalties } custom_tooltip = { text = vassal_duchy_creation_allowed } custom_tooltip = { text = kingdom_viceroyalties_allowed } if = { limit = { has_dlc = "Charlemagne" NOT = { has_law = vice_royalty_1 } } add_law = vice_royalty_1 } custom_tooltip = { text = no_vassal_kingdom_creation } custom_tooltip = { text = revoke_title_allowed } if = { limit = { has_law = revoke_title_law_0 } add_law = revoke_title_law_1 } custom_tooltip = { text = centralization_capped_at_2 } if = { limit = { OR = { has_law = centralization_4 has_law = centralization_3 } } add_law = centralization_2 } custom_tooltip = { text = can_fire_powerful_vassals } custom_tooltip = { text = can_fire_non_powerful_vassals } hidden_tooltip = { revoke_law = ci_vassal_law_0 revoke_law = ci_vassal_law_1 revoke_law = ci_vassal_law_2 revoke_law = ci_vassal_law_3 revoke_law = ci_vassal_law_4 } if = { limit = { has_law = law_voting_power_0 } hidden_tooltip = { revoke_law = law_voting_power_0 } add_law = law_voting_power_1 } if = { limit = { has_law = war_voting_power_0 } hidden_tooltip = { revoke_law = war_voting_power_0 } add_law = war_voting_power_1 } } ai_will_do = { factor = 1 modifier = { factor = 0.05 } modifier = { factor = 0 has_law = ci_vassal_law_1 } } } ci_vassal_law_3 = { group = ci_vassal_law_group dynasty_opinion = -15 potential = { has_dlc = "Conclave" has_dlc = "Jade Dragon" holder_scope = { tier = emperor OR = { government = chinese_imperial_government government = eastern_imperial_government } } } allow = { holder_scope = { NOT = { has_character_modifier = ongoing_ci_law_challenge } } OR = { has_law = ci_vassal_law_2 has_law = ci_vassal_law_4 } NOR = { AND = { OR = { AND = { has_law = grand_chancellor_law_2 holder_scope = { any_vassal = { has_minor_title = title_grand_chancellor } } } has_law = eunuch_law_4 has_law = ci_courtier_law_4 } has_law = ci_vassal_law_2 } AND = { has_law = ci_vassal_law_4 holder_scope = { has_character_modifier = mandate_of_heaven_1 } } } } effect = { custom_tooltip = { text = moh_increase_capped_at_average } custom_tooltip = { text = external_vassal_wars_possible } custom_tooltip = { text = internal_vassal_wars_possible } if = { limit = { NOT = { has_law = vassal_wars_law_0 } } add_law = vassal_wars_law_0 } custom_tooltip = { text = no_external_inheritance } if = { limit = { has_law = out_of_realm_inheritance_law_0 } add_law = out_of_realm_inheritance_law_1 } custom_tooltip = { text = no_duchy_viceroyalties } custom_tooltip = { text = vassal_duchy_creation_allowed } custom_tooltip = { text = no_kingdom_viceroyalties } if = { limit = { has_dlc = "Charlemagne" NOT = { has_law = vice_royalty_0 } } add_law = vice_royalty_0 } custom_tooltip = { text = no_vassal_kingdom_creation } custom_tooltip = { text = no_revoke_title } if = { limit = { has_law = revoke_title_law_1 } add_law = revoke_title_law_0 } custom_tooltip = { text = centralization_capped_at_1 } if = { limit = { OR = { has_law = centralization_4 has_law = centralization_3 has_law = centralization_2 } } add_law = centralization_1 } custom_tooltip = { text = cant_fire_powerful_vassals } custom_tooltip = { text = can_fire_non_powerful_vassals } custom_tooltip = { text = powerful_vassal_skills_no_longer_matter_for_council } hidden_tooltip = { revoke_law = ci_vassal_law_0 revoke_law = ci_vassal_law_1 revoke_law = ci_vassal_law_2 revoke_law = ci_vassal_law_3 revoke_law = ci_vassal_law_4 } if = { limit = { has_law = law_voting_power_0 } hidden_tooltip = { revoke_law = law_voting_power_0 } add_law = law_voting_power_1 } if = { limit = { has_law = war_voting_power_0 } hidden_tooltip = { revoke_law = war_voting_power_0 } add_law = war_voting_power_1 } if = { limit = { has_law = banish_voting_power_0 } hidden_tooltip = { revoke_law = banish_voting_power_0 } add_law = banish_voting_power_1 } if = { limit = { has_law = revoke_title_voting_power_0 } hidden_tooltip = { revoke_law = revoke_title_voting_power_0 } add_law = revoke_title_voting_power_1 } if = { limit = { has_law = grant_title_voting_power_0 } hidden_tooltip = { revoke_law = grant_title_voting_power_0 } add_law = grant_title_voting_power_1 } if = { limit = { has_law = imprison_voting_power_0 } hidden_tooltip = { revoke_law = imprison_voting_power_0 } add_law = imprison_voting_power_1 } if = { limit = { has_law = execution_voting_power_0 } hidden_tooltip = { revoke_law = execution_voting_power_0 } add_law = execution_voting_power_1 } } ai_will_do = { factor = 1 modifier = { factor = 0.05 } modifier = { factor = 0 has_law = ci_vassal_law_2 } } } ci_vassal_law_4 = { group = ci_vassal_law_group dynasty_opinion = -25 potential = { has_dlc = "Conclave" has_dlc = "Jade Dragon" holder_scope = { tier = emperor OR = { government = chinese_imperial_government government = eastern_imperial_government } } } allow = { holder_scope = { NOT = { has_character_modifier = ongoing_ci_law_challenge } } has_law = ci_vassal_law_3 NOR = { AND = { OR = { has_law = grand_chancellor_law_1 has_law = grand_chancellor_law_2 } holder_scope = { any_vassal = { has_minor_title = title_grand_chancellor } } } has_law = eunuch_law_3 has_law = ci_courtier_law_3 has_law = eunuch_law_4 has_law = ci_courtier_law_4 } } effect = { custom_tooltip = { text = moh_increase_capped_at_poor } custom_tooltip = { text = powerful_vassals_extra_succession_influence } custom_tooltip = { text = external_vassal_wars_possible } custom_tooltip = { text = internal_vassal_wars_possible } if = { limit = { NOT = { has_law = vassal_wars_law_0 } } add_law = vassal_wars_law_0 } custom_tooltip = { text = external_inheritance_possible } if = { limit = { has_law = out_of_realm_inheritance_law_1 } add_law = out_of_realm_inheritance_law_0 } custom_tooltip = { text = no_duchy_viceroyalties } custom_tooltip = { text = vassal_duchy_creation_allowed } custom_tooltip = { text = no_kingdom_viceroyalties } if = { limit = { has_dlc = "Charlemagne" NOT = { has_law = vice_royalty_0 } } add_law = vice_royalty_0 } custom_tooltip = { text = vassal_kingdom_creation_allowed } custom_tooltip = { text = no_revoke_title } if = { limit = { has_law = revoke_title_law_1 } add_law = revoke_title_law_0 } custom_tooltip = { text = centralization_capped_at_0 } if = { limit = { NOT = { has_law = centralization_0 } } add_law = centralization_0 } custom_tooltip = { text = cant_fire_powerful_vassals } custom_tooltip = { text = cant_fire_non_powerful_vassals } custom_tooltip = { text = vassal_skills_no_longer_matter_for_council } hidden_tooltip = { revoke_law = ci_vassal_law_0 revoke_law = ci_vassal_law_1 revoke_law = ci_vassal_law_2 revoke_law = ci_vassal_law_3 revoke_law = ci_vassal_law_4 } if = { limit = { has_law = law_voting_power_0 } hidden_tooltip = { revoke_law = law_voting_power_0 } add_law = law_voting_power_1 } if = { limit = { has_law = war_voting_power_0 } hidden_tooltip = { revoke_law = war_voting_power_0 } add_law = war_voting_power_1 } if = { limit = { has_law = banish_voting_power_0 } hidden_tooltip = { revoke_law = banish_voting_power_0 } add_law = banish_voting_power_1 } if = { limit = { has_law = revoke_title_voting_power_0 } hidden_tooltip = { revoke_law = revoke_title_voting_power_0 } add_law = revoke_title_voting_power_1 } if = { limit = { has_law = grant_title_voting_power_0 } hidden_tooltip = { revoke_law = grant_title_voting_power_0 } add_law = grant_title_voting_power_1 } if = { limit = { has_law = imprison_voting_power_0 } hidden_tooltip = { revoke_law = imprison_voting_power_0 } add_law = imprison_voting_power_1 } if = { limit = { has_law = execution_voting_power_0 } hidden_tooltip = { revoke_law = execution_voting_power_0 } add_law = execution_voting_power_1 } custom_tooltip = { text = chinese_succession_activated } holder_scope = { any_demesne_title = { limit = { higher_tier_than = duke NOT = { has_law = chinese_succession } } add_law = chinese_succession cooldown = no opinion_effect = no } } } ai_will_do = { factor = 0 } } }