Scripted EffectChanged this version
apply_same_inheritance_policy_effect
MonarchyGovernment Typeif
Senior PartnerSpecial Statuscustom tooltip 1, if
Heir ReligionLawhidden effectDefinitionin_game/common/scripted_effects/international_organization_effects.txt:759
760hidden_effect = {
761ordered_country_with_special_status_of_type = {
762type = senior_partner
763order_by = country_economical_base
764check_range_bounds = no
765max = 1
766save_scope_as = senior_partner_country
767if = {
768limit = {
769succession_law = {
770NOT = {
770is_locked_for = prev
}
771NOT = {
771has_tag = cannot_be_transferred
}
}
}
774succession_law ?= {
774save_scope_as = target_heir_selection
}
}
776if = {
777limit = {
779law_policy(law:heir_religion_law) = {
780NOT = {
780is_locked_for = prev
}
}
}
783law_policy(law:heir_religion_law) = {
784save_scope_as = target_heir_religion_policy
}
}
}
}
789if = {
790limit = {
790exists = scope:target_heir_selection
}
791custom_tooltip = {
792text = union_codified_inheritance_policy_at Every member of the Union adopts the Succession Law of the Senior Partner if possible
793every_international_organization_member = {
794limit = {
796succession_law = {
797NOT = {
797is_locked_for = prev
}
798NOT = {
798has_tag = cannot_be_transferred
}
}
800NOT = {
801has_special_status_in_international_organization = {
803international_organization = prev
}
}
}
808change_heir_selection = scope:target_heir_selection
}
}
}
812else = {
813custom_tooltip = union_codified_inheritance_policy_dt Senior Partner Country Heir Selection can NOT be applied to other members
}
815custom_tooltip = {
816text = union_codified_inheritance_policy_ct Every member of the Union adopts the Heir Religion of the Senior Partner if possible
817if = {
818limit = {
818exists = scope:target_heir_religion_policy
}
819every_international_organization_member = {
820limit = {
821scope:target_heir_religion_policy = {
822is_implementable_in = prev
823NOT = {
823is_locked_for = prev
}
}
825law_policy(law:heir_religion_law) != scope:target_heir_religion_policy
826NOT = {
827has_special_status_in_international_organization = {
829international_organization = prev
}
}
}
834add_policy = scope:target_heir_religion_policy
}
}
}
838custom_tooltip = union_codified_inheritance_policy_bt Locked Succession Laws can neither be applied nor overriden