Scripted EffectChanged this version
hafsid_succession_effect
If
- Has Variable: tunisian_successor
- var:tunisian_successor: New ruler
Then
- If
- Old ruler: Abu Bakr Abu Yaḥyā
- Umer Abu Hafs
- Is Alive
- Owner: Root
ThenThe Event '
Succession Usurped!' happens - Remove variable: tunisian_successor
Else if
- At 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
- Is subject type: Not
Fiefdom
Then
If
New ruler
Any ruling countries
- This: NotRoot
- is_hafsid_governor_trigger
- Is subject type: Not
Fiefdom
Then
- New rulerRandom ruling countrieswhereThe same conditions as above
- Trigger event silentlyOn action:
on_hafsid_governor_death
