Scripted Effect
save_cardinal_scope
- set_papal_states_schism_cardinal
Papal States↗Ifvar:schism_cardinal does not existThenIfRome- Owner:
Papal States - Has a
Cardinal Seat
Then- Set variable
- Name: schism_cardinal
- Value: Rome
Western SchismSet variable- Name: schism_pope_cardinal
- Value: Rome
OtherwiseRandom cardinal in country
Papal StatesSet variable- Name: schism_cardinal
- Value: Previous
Western SchismSet variable- Name: schism_pope_cardinal
- Value: Previous
- Owner:
- set_schism_opponent_country
Catholicism↗- IfAt least one of
Western SchismDoes NOT have Variable: Opposing the Pope
Western Schism › Opposing the Pope does NOT exist
Then- Ordered country in religion (up to 1, highest
num_cardinalsfirst)where- This: Not
Papal States - Has > 0 Cardinal
Western SchismSet variable- Name: Opposing the Pope
- Value: Previous
- Add to global variable list
- Name:
western_schism_possible_votes - Target: This
- Name:
- This: Not
- IfOld country existsThen
- Remove list global variable
- Name:
western_schism_possible_votes - Target: Old country
- Name:
Western SchismOpposing the PopeSet variable- Name: western_schism_vote_weight
- Value: Old countryvar:western_schism_vote_weight
- Old country
- Remove variable: schism_cardinal
- Remove variable: western_schism_vote_weight
- Remove list global variable
- IfNone of
Catholic Churchactive_resolution(resolution:western_schism_resolution)exists
Then
Western SchismOpposing the PopePropose resolution: Resolution:
Western Schism · Actor: This · Recipient:
Catholic Church · Vote: This
Catholic Church
Western Schism › Opposing the Pope will vote
Western Schism › Opposing the Pope in the resolution '
Western Schism'- Active resolution (
Western Schism)Every voterwhere- Old country exists
- PreviousVote in active resolution (Previous): Old country
Catholic ChurchPrevious will vote
Western Schism › Opposing the Pope in the resolution '
Western Schism'
Western SchismOpposing the Popeset_schism_opponent_country_schism_cardinal↗Ifvar:schism_cardinal does not existThenRandom cardinal in country- PreviousSet variable
- Name: schism_cardinal
- Value: Previous
Western SchismSet variable- Name: schism_opponent_cardinal
- Value: Previous
- Previous
Exact script
References 1
Western SchismSituation:western schism
Used by 36
Events
Popular Support for Target Schism Pope CardinalAs soon as it happens
The Price of OboedientiaAs soon as it happens
Target Country Praises our Convictionwestern_schism.11As soon as it happens
The False Support of Target CountryAs soon as it happens
Target Country Praises our Convictionwestern_schism.12As soon as it happens
Target Country Raises SuspicionAs soon as it happens
Against All Oddswestern_schism.13As soon as it happens
Against All Oddswestern_schism.14As soon as it happens
A Traveling PreacherAs soon as it happens
Two Bishops, One SeeAs soon as it happens
Scripting 6
Requires 2
- schism_opponent_cardinalSituation:western schism
- schism_pope_cardinalSituation:western schism
Uses 2
- set_papal_states_schism_cardinalSet papal states schism cardinal
- set_schism_opponent_countrySet schism opponent country
References 2
- schism_opponent_cardinalSituation:western schism
- schism_pope_cardinalSituation:western schism
if = {
}
if = {
}
}