Scripted Effect
horde_create_pretender_rebellion
If
At least one of
- Does NOT have Variable: horde_civil_war_pretender_variable
- var:horde_civil_war_pretender_variable does not exist
Then
- Create rebel: Category: pretender · Name: Rivaling Warlord of CountryAdd rebel modifier
- Modifier: Rise of the Horde
- Mode:
add_and_extend
- Set variable
- Name: total_num_prov_variable
- Value: 0
- Every provincewhere
- At least one of
- Has an average Control of < 0.5
- Has < 0.5 of its Food Capacity
- Has a total average satisfaction of < 0.5
- Any location in provinceIs NOT the Capital
- Add to list:
revolt_provinces_list - OwnerChange variable
- Name: total_num_prov_variable
- Add: 1
- IfList size
- Name:
revolt_provinces_list - Value > 0
ThenOrdered in list (highest population first)- List:
revolt_provinces_list - Every location in province
- Name:
- Set variable
- Name: horde_civil_war_pretender_variable
- Value: Horde civil war pretender scope
Otherwise
Exact script
Grants 1
Used by 4
Events
The Steppe Horde Succession CrisisAs soon as it happens
A New Target Country Ruler Title Emerges!As soon as it happens, Option 2
Rise of a New WarlordAs soon as it happens
Victory of the Target Country Ruler Title!As soon as it happens
Scripting 6
Requires 1
Grants 2
References 3
Script Values
Variables
