Scripted Effect
flavor_tun_4_appoint_heir_effect
- Root
- Set variable
- Name: tunisian_successor
- Value: Previous
- Not shown in the game's tooltipset_as_designated_heir_effect: Target: Previous
- Previous will become Heir
- If
- Union exists
- Root country exists
- Union
- Has enacted
Establish Seniority - Country has special status
- Type:
Senior Partner - Country: Root country
- Type:
- Has enacted
- Every subjectwherePrevious will become Heir
- Set variable
- Character will be appointed as the Heir to Country
- If
- Is ruler
- OwnerAt least one of↗
- Is or was
Tunisor
Bijaya - Is subject type:
Familial Governor - All of
- Has Variable: was_familial_governor
- Ruler or heir if regentDynasty: Hafsid
- Is or was
ThenAs Character is the Ruler of a Familial Governor in Court Country, when he/she acceeds to the throne, the two states will unite - IfThis: NotPreferred heirThenAs Preferred Heir is the preferred heir, he/she will promptly cause a War with the backing of the Tribes, which will cause our Locations contained in Influence of Gafsa to defect
- IfThis: NotFuture usurperThenFuture Usurper might try to usurp the throne from Character
Exact script
Used by 1
- Succession of Abu BakrOption 1, Option 2…
Scripting 3
Grants 1
Uses 2
Scripted Effects
- set_as_designated_heir_effecttarget = PREVROOT
Scripted Triggers
save_scope_as = appointed_heir
ROOT = {
}
custom_tooltip = TUN_THIS_will_be_appointed_heir_tt Character will be appointed as the Heir to Country