Scripted Effect
rise_of_the_ottomans_recalculate_top_3
- IfThenEvery in global listwhereThe same conditions as above
- Variable:
eligible_beylik_list - Remove list global variable
- Name:
eligible_beylik_list - Target: Target country
- Name:
- Variable:
- Ordered in global listwhere
- Variable:
eligible_beylik_list
Rise of the Turks- Set variable
- Name: strongest_beylik_variable
- Value: Previous
- Set variable
- Name: strongest_strongest_beylik_total_score_variable
- Value
- Add: var:strongest_beylik_variable.military_strength › Military strength
- Add: var:strongest_beylik_variable.country_tax_base › Country tax base
- Set variable
- Variable:
- IfGlobal variable list size
- Name:
eligible_beylik_list - Value > 1
ThenOrdered in global listwhere- This: Not
Rise of the Turks › Strongest beylik variable - Is NOT a Subject of another Country
- Variable:
eligible_beylik_list
Rise of the Turks- Set variable
- Name: second_strongest_strongest_beylik_variable
- Value: Previous
- Set variable
- Name: second_strongest_strongest_beylik_total_score_variable
- Value
- Add: var:second_strongest_strongest_beylik_variable.military_strength › Military strength
- Add: var:second_strongest_strongest_beylik_variable.country_tax_base › Country tax base
- Set variable
Otherwise
Rise of the Turks- Remove variable: second_strongest_strongest_beylik_variable
- Remove variable: second_strongest_strongest_beylik_total_score_variable
- Name:
- IfGlobal variable list size
- Name:
eligible_beylik_list - Value > 2
ThenOrdered in global listwhere- This: Not
Rise of the Turks › Strongest beylik variableor
Rise of the Turks › Second strongest strongest beylik variable - Is NOT a Subject of another Country
- Variable:
eligible_beylik_list
Rise of the Turks- Set variable
- Name: third_strongest_strongest_beylik_variable
- Value: Previous
- Set variable
- Name: third_strongest_strongest_beylik_total_score_variable
- Value
- Add: var:third_strongest_strongest_beylik_variable.military_strength › Military strength
- Add: var:third_strongest_strongest_beylik_variable.country_tax_base › Country tax base
- Set variable
Otherwise
Rise of the Turks- Remove variable: third_strongest_strongest_beylik_variable
- Remove variable: third_strongest_strongest_beylik_total_score_variable
- Name:
Exact script
Requires 3
Situations
Rise of the TurksIf 2, If 3
References 1
Rise of the TurksElse 1, Else 2…
Used by 2
Situations
Rise of the TurksEach month
On Actions
- on_annexedEffect
Scripting 15
Requires 2
Grants 6
Variables
- second_strongest_strongest_beylik_total_score_variableIf 2
- second_strongest_strongest_beylik_variableIf 2
- strongest_beylik_variableOrdered in global list
- strongest_strongest_beylik_total_score_variableOrdered in global list
- third_strongest_strongest_beylik_total_score_variableIf 3
- third_strongest_strongest_beylik_variableIf 3
Removes 4
References 3
- second_strongest_strongest_beylik_variableIf 2
- strongest_beylik_variableOrdered in global list
- third_strongest_strongest_beylik_variableIf 3