Scripted Effect
on_ibadi_ruler_change
If
At least one of
$character$Does NOT have Variable: ibadi_elected_via_action$has_policy$
Then
- Remove variable: weak_imam_penalty
- If
$character$Has Variable: shari_imamSet by- Has policy:
Maintain the Status of 'Imām aš-Šārī
ThenAdd policy:
Šārī ImamateElse if$has_policy$ThenAdd policy: policyOtherwise
Exact script
Script that calls it fills these in, as each caller in Connections shows.
$character$$has_policy$$policy$
Requires 1
Grants 2
Used by 3
On Actions
- on_new_rulercharacter = scope:new_ruler · has_policy = no · policy = policy:ibadi_zuhur_imam_policyEffect
Actions
Elect a Weak 'Imāmcharacter = scope:target · has_policy = yes · policy = policy:ibadi_daif_imam_policyEffect
Return to Strong 'Imāmcharacter = scope:target · has_policy = yes · policy = policy:ibadi_zuhur_imam_policyEffect