On Action
on_religion_changed
- Add cooldown: Type:
convert_religion· Years: 20 - IfIs Excommunication↗
- Has a Ruler
- Ruler›Has Excommunicated
- IfReligion›Uses Autocephalous PatriarchateThenFire generic action: Type:
join_autocephalous_patriarchate· Actor: Root · Recipient: Root›Religion - IfReligion›Does NOT use Autocephalous PatriarchateThenEvery international organizations member ofwhereInternational Organization Type:
Autocephalous PatriarchateRoot leaves - If
- Has Global Variable: hagia_sophia_now_mosque
- Owns Constantinople
- Religion group:
Christianity
ThenRemove global variable: hagia_sophia_now_mosque - IfHas DLC:
Fate of the PhoenixThen- IfThenremove_all_pentarchy_modifiers
- Loses the effect of Patriarch of Constantinople
- Loses the effect of Patriarch of Constantinople
- Loses the effect of Patriarch of Rome
- Loses the effect of Patriarch of Rome
- Loses the effect of Patriarch of Jerusalem
- Loses the effect of Patriarch of Jerusalem
- Loses the effect of Patriarch of Antioch
- Loses the effect of Patriarch of Antioch
- Loses the effect of Patriarch of Alexandria
- Loses the effect of Patriarch of Alexandria
- IfReligion:
OrthodoxyThen- add_all_possible_pentarchies
- IfOwns ConstantinopleThen
- select_suitable_patriarch: Pentarchy: yes↗IfAny character
- Is an Adult
- Is male
- Belongs to
Clergy Estate - Religion: Previous›Religion
- Is NOT an Artist
- IfYesThen
- IfPrevious↗Any international organizations member of
- International Organization Type:
international_organization_type:autocephalous_patriarchate - Leader country: Previous
- International Organization Type:
- Does NOT have Variable: is_pentarch
OtherwiseDoes NOT have Variable: is_patriarch
ThenRandom characterwhere- Is an Adult
- Is male
- Belongs to
Clergy Estate - Religion: Previous›Religion
- Is NOT an Artist
- IfYesThen
- IfPrevious↗Any international organizations member of
- International Organization Type:
international_organization_type:autocephalous_patriarchate - Leader country: Previous
ThenHas Variable: is_patriarch - International Organization Type:
- Does NOT have Variable: is_pentarch
OtherwiseDoes NOT have Variable: is_patriarch
OtherwiseCreate character: Religion: This›Religion · Estate:
ClergyAge4050
- Target patriarchset_pentarch_variable: Location: Constantinople
- add_pentarchy_modifier: Location: Constantinople↗ThenGains Patriarch of Constantinople permanentlyElse ifThenGains Patriarch of Rome permanentlyElse ifThenGains Patriarch of Jerusalem permanentlyElse ifThenGains Patriarch of Antioch permanentlyElse ifThenGains Patriarch of Alexandria permanently
- Add to variable map
- Name: pentarchy
- Key: Constantinople
- Value: Target patriarch
- select_suitable_patriarch: Pentarchy: yes
- IfOwns RomeThen
- select_suitable_patriarch: Pentarchy: yes↗IfAny character
- Is an Adult
- Is male
- Belongs to
Clergy Estate - Religion: Previous›Religion
- Is NOT an Artist
- IfYesThen
- IfPrevious↗Any international organizations member of
- International Organization Type:
international_organization_type:autocephalous_patriarchate - Leader country: Previous
ThenHas Variable: is_patriarch - International Organization Type:
- Does NOT have Variable: is_pentarch
OtherwiseDoes NOT have Variable: is_patriarch
ThenRandom characterwhere- Is an Adult
- Is male
- Belongs to
Clergy Estate - Religion: Previous›Religion
- Is NOT an Artist
- IfYesThen
- IfPrevious↗Any international organizations member of
- International Organization Type:
international_organization_type:autocephalous_patriarchate - Leader country: Previous
ThenHas Variable: is_patriarch - International Organization Type:
- Does NOT have Variable: is_pentarch
OtherwiseDoes NOT have Variable: is_patriarch
OtherwiseCreate character: Religion: This›Religion · Estate:
ClergyAge4050
- Target patriarchset_pentarch_variable: Location: Rome
- add_pentarchy_modifier: Location: Rome↗ThenGains Patriarch of Constantinople permanentlyThenGains Patriarch of Rome permanentlyThenGains Patriarch of Jerusalem permanentlyThenGains Patriarch of Antioch permanentlyElse ifThenGains Patriarch of Alexandria permanently
- Add to variable map
- Name: pentarchy
- Key: Rome
- Value: Target patriarch
- select_suitable_patriarch: Pentarchy: yes
- IfOwns JerusalemThen
- select_suitable_patriarch: Pentarchy: yes↗IfAny character
- Is an Adult
- Is male
- Belongs to
Clergy Estate - Religion: Previous›Religion
- Is NOT an Artist
- IfYesThen
- IfPrevious↗Any international organizations member of
- International Organization Type:
international_organization_type:autocephalous_patriarchate - Leader country: Previous
ThenHas Variable: is_patriarch - International Organization Type:
- Does NOT have Variable: is_pentarch
OtherwiseDoes NOT have Variable: is_patriarch
ThenRandom characterwhere- Is an Adult
- Is male
- Belongs to
Clergy Estate - Religion: Previous›Religion
- Is NOT an Artist
- IfYesThen
- IfPrevious↗Any international organizations member of
- International Organization Type:
international_organization_type:autocephalous_patriarchate - Leader country: Previous
ThenHas Variable: is_patriarch - International Organization Type:
- Does NOT have Variable: is_pentarch
OtherwiseDoes NOT have Variable: is_patriarch
OtherwiseCreate character: Religion: This›Religion · Estate:
ClergyAge4050
- Target patriarchset_pentarch_variable: Location: Jerusalem
- add_pentarchy_modifier: Location: Jerusalem↗ThenGains Patriarch of Constantinople permanentlyThenGains Patriarch of Rome permanentlyThenGains Patriarch of Jerusalem permanentlyThenGains Patriarch of Antioch permanentlyElse ifThenGains Patriarch of Alexandria permanently
- Add to variable map
- Name: pentarchy
- Key: Jerusalem
- Value: Target patriarch
- select_suitable_patriarch: Pentarchy: yes
- IfOwns AntiochThen
- select_suitable_patriarch: Pentarchy: yes↗IfAny character
- Is an Adult
- Is male
- Belongs to
Clergy Estate - Religion: Previous›Religion
- Is NOT an Artist
- IfYesThen
- IfPrevious↗Any international organizations member of
- International Organization Type:
international_organization_type:autocephalous_patriarchate - Leader country: Previous
ThenHas Variable: is_patriarch - International Organization Type:
- Does NOT have Variable: is_pentarch
OtherwiseDoes NOT have Variable: is_patriarch
ThenRandom characterwhere- Is an Adult
- Is male
- Belongs to
Clergy Estate - Religion: Previous›Religion
- Is NOT an Artist
- IfYesThen
- IfPrevious↗Any international organizations member of
- International Organization Type:
international_organization_type:autocephalous_patriarchate - Leader country: Previous
ThenHas Variable: is_patriarch - International Organization Type:
- Does NOT have Variable: is_pentarch
OtherwiseDoes NOT have Variable: is_patriarch
OtherwiseCreate character: Religion: This›Religion · Estate:
ClergyAge4050
- Target patriarchset_pentarch_variable: Location: Antioch
- add_pentarchy_modifier: Location: Antioch↗ThenGains Patriarch of Constantinople permanentlyThenGains Patriarch of Rome permanentlyThenGains Patriarch of Jerusalem permanentlyThenGains Patriarch of Antioch permanentlyElse ifThenGains Patriarch of Alexandria permanently
- Add to variable map
- Name: pentarchy
- Key: Antioch
- Value: Target patriarch
- select_suitable_patriarch: Pentarchy: yes
- IfOwns AlexandriaThen
- select_suitable_patriarch: Pentarchy: yes↗IfAny character
- Is an Adult
- Is male
- Belongs to
Clergy Estate - Religion: Previous›Religion
- Is NOT an Artist
- IfYesThen
- IfPrevious↗Any international organizations member of
- International Organization Type:
international_organization_type:autocephalous_patriarchate - Leader country: Previous
ThenHas Variable: is_patriarch - International Organization Type:
- Does NOT have Variable: is_pentarch
OtherwiseDoes NOT have Variable: is_patriarch
ThenRandom characterwhere- Is an Adult
- Is male
- Belongs to
Clergy Estate - Religion: Previous›Religion
- Is NOT an Artist
- IfYesThen
- IfPrevious↗Any international organizations member of
- International Organization Type:
international_organization_type:autocephalous_patriarchate - Leader country: Previous
ThenHas Variable: is_patriarch - International Organization Type:
- Does NOT have Variable: is_pentarch
OtherwiseDoes NOT have Variable: is_patriarch
OtherwiseCreate character: Religion: This›Religion · Estate:
ClergyAge4050
- Target patriarchset_pentarch_variable: Location: Alexandria
- add_pentarchy_modifier: Location: Alexandria↗ThenGains Patriarch of Constantinople permanentlyElse ifThenGains Patriarch of Rome permanentlyElse ifThenGains Patriarch of Jerusalem permanentlyElse ifThenGains Patriarch of Antioch permanentlyElse ifThenGains Patriarch of Alexandria permanently
- Add to variable map
- Name: pentarchy
- Key: Alexandria
- Value: Target patriarch
- select_suitable_patriarch: Pentarchy: yes
- If
- Owns Constantinople
- Owns Rome
- Owns Jerusalem
- Owns Antioch
- Owns Alexandria
ThenThe Event '
Pentarchy Restored' happens
- add_all_possible_pentarchies
- IfReligion:
CatholicismOtherwiseEvery international organizations member ofwhereInternational Organization Type:
Catholic ChurchRoot leaves - IfReligion:
SānjiàoThen- IfAny international organizations member of
- International Organization Type:
Sect - Has NOT enacted
Confucianismor
Daoism
ThenEvery international organizations member ofwhere- International Organization Type:
Sect - Has NOT enacted
Confucianismor
Daoism
Root leaves - International Organization Type:
- IfNone of
- Any international organizations member of›Has enacted
Confucianism
ThenIfNone of- Any international organization
- International Organization Type:
Sect - Has enacted
Confucianism
- International Organization Type:
ThenCreate international organization:
Sect · Add policy to international organization:
Confucianism · Add country to international organization: RootSet variable- Name: Favor
- Value: 0.1
Set variable- Name: Religion
- Value:
Sānjiào
OtherwiseRandom international organizationwhere- International Organization Type:
Sect - Has enacted
Confucianism
Root joins - Any international organizations member of›Has enacted
- If
- Is a member of
Holy Roman Empire - None of↗
- All of
Holy Roman Empire exists- Is leader of
Holy Roman Empire
- Is NOT a Rebel Movement state
ThenIf
Holy Roman Empire- Leader country›Religion: NotRoot›Religion
- Has NOT enacted
Only Imperial Religion Group
Else if- Does NOT have Variable: hre_got_religion_enforced
- None of
Holy Roman Empire›Has enacted
Only Imperial Religion Group
- Is a member of
- If
- is_emperor
- ↗If
Holy Roman Empire›Has enacted
Only Imperial ReligionThen↗If
Holy Roman Empire exists
Holy Roman Empire›Has Variable: hre_imperial_religion
ThenReligion: Not
Holy Roman Empire › Hre imperial religionOtherwise↗If
Holy Roman Empire exists
Holy Roman Empire›Has Variable: hre_imperial_religion_group
ThenReligion group: Not
Holy Roman Empire › Hre imperial religion group
Then
Holy Roman EmpireRemoves '
Emperor' status from Root- International organization chooses new leader:
Holy Roman Empire
- If
- Religion group:
Islam - Has Variable: sultan_titles_for_non_muslims
ThenTrigger event silently:
Joining the Community of the Faithful - Religion group:
- IfThe
Treaty of Treaty Location is currently happeningThenIfOld religion:
CatholicismThen- IfThenLoses the effect of Violate the Treaty
- Then
- ThenEnd situation: Situation:
Treaty of Treaty Location · Outcome:
The Signatories FallElse ifThenreplaceCountryInTordesillas: Replaced: This · Replacer:
Treaty of Treaty Location › West country- transfer_claims: Country losing claims: This · Country gaining claims:
Treaty of Treaty Location › West countryThisEvery colonial claim province definition↗- Claim in This will be removed
Treaty of Treaty Location › West countryAdd colonial claim: Province Definition: Previous · Reason:claim_reason_treaty_of_tordesillas· Category:same_religion
- IfThen
Treaty of Treaty LocationSet variable- Name: var_east_country
- Value:
Treaty of Treaty Location › West country
Otherwise
Treaty of Treaty LocationSet variable- Name: var_west_country
- Value:
Treaty of Treaty Location › West country
Else ifThenreplaceCountryInTordesillas: Replaced: This · Replacer:
Treaty of Treaty Location › East country- transfer_claims: Country losing claims: This · Country gaining claims:
Treaty of Treaty Location › East countryThisEvery colonial claim province definition↗- Claim in This will be removed
Treaty of Treaty Location › East countryAdd colonial claim: Province Definition: Previous · Reason:claim_reason_treaty_of_tordesillas· Category:same_religion
- IfThen
Treaty of Treaty LocationSet variable- Name: var_east_country
- Value:
Treaty of Treaty Location › East country
Otherwise
Treaty of Treaty LocationSet variable- Name: var_west_country
- Value:
Treaty of Treaty Location › East country
- transfer_claims: Country losing claims: This · Country gaining claims:
Treaty of Treaty LocationIfvar:var_treaty_phase: 1.0Then- Set variable
- Name: var_treaty_progress
- ValueValue: 100
- Set variable
- Name: var_treaty_phase
- ValueValue: 2
CatholicismEvery country in religionTrigger event silently- distribute_world
Treaty of Treaty Locationvar:var_line_location.province_definition › Province definition↗- Every east of province definitionwhere
- Any location in province definition›Is a land location
- None of
- Any location in province definition
- Has an owner
- OwnerNotReligion is a Folk Religion↗ReligionReligion is a Folk Religion↗Group:
African Folk Religionsor
Argentinian Folk Religionsor
Aridoamerican Folk Religionsor
Asian Folk Religionsor
Australian Folk Religionsor
Brazilian Folk Religionsor
Caribbean Folk Religionsor
Central American Folk Religionsor
Tonal Religionsor
European Folk Religionsor
Melanesian Folk Religionsor
Micronesian Folk Religionsor
North American Folk Religionsor
Papuan Folk Religionsor
Permic Folk Religionsor
Andean Folk Religionsor
Polynesian Folk Religionsor
South East Asian Folk Religionsor
South American Folk Religions
Treaty of Treaty Location › West country›Has a claim in Previous
Treaty of Treaty Location › East country›Has a claim in Previous
- Continent: NotEurope
- Subcontinent: NotSouth AsiaorEast AsiaorNorth AsiaorCentral AsiaorMiddle East
- Region: NotIndochina
Treaty of Treaty Location › East countryAdd colonial claim: Province Definition: Previous · Reason:claim_reason_treaty_of_tordesillas· Category:same_religion - Every west of province definitionwhere
- Any location in province definition›Is a land location
- None of
- Any location in province definition
- Has an owner
- OwnerNotReligion is a Folk Religion↗ReligionReligion is a Folk Religion↗Group:
African Folk Religionsor
Argentinian Folk Religionsor
Aridoamerican Folk Religionsor
Asian Folk Religionsor
Australian Folk Religionsor
Brazilian Folk Religionsor
Caribbean Folk Religionsor
Central American Folk Religionsor
Tonal Religionsor
European Folk Religionsor
Melanesian Folk Religionsor
Micronesian Folk Religionsor
North American Folk Religionsor
Papuan Folk Religionsor
Permic Folk Religionsor
Andean Folk Religionsor
Polynesian Folk Religionsor
South East Asian Folk Religionsor
South American Folk Religions
Treaty of Treaty Location › West country›Has a claim in Previous
Treaty of Treaty Location › East country›Has a claim in Previous
- Continent: NotEurope
- Subcontinent: NotSouth AsiaorEast AsiaorNorth AsiaorCentral AsiaorMiddle East
- Region: NotIndochina
Treaty of Treaty Location › West countryAdd colonial claim: Province Definition: Previous · Reason:claim_reason_treaty_of_tordesillas· Category:same_religion
- Every east of province definitionwhere
- Set variable
- Every cabinetwhere
- Is performing a Cabinet Action
- Cabinet Action:
Convert Province interaction_target:target_religion: Old religion
Stop cabinet action
Exact script
Requires 18
Situations
Policies
ConfucianismEffect
DaoismEffect
Only Imperial Religion GroupEffect
Cabinet Actions
Convert ProvinceEffect
Religions
CatholicismEffect
OrthodoxyEffect
SānjiàoEffect
ShintōEffect
Religion Groups
ChristianityEffect
Triggers 7
Events
Situation Outcomes
The Signatories FallEffect
Grants 3
Policies
ConfucianismEffect
DaoismEffect
International Organizations
SectEffect
Removes 3
Special Statuses
EmperorEffect
Static Modifiers
- EExcommunicatedEffect
- VViolate the TreatyEffect
References 6
Situations
Religions
CatholicismEffect
SānjiàoEffect
International Organizations
Catholic ChurchEffect
Holy Roman EmpireEffect
ShintōEffect
Scripting 23
Requires 6
Variables
- Hhagia_sophia_now_mosqueEffect
- Hhre_got_religion_enforcedEffect
- Ssultan_titles_for_non_muslimsEffect
- Vvar_east_countryEffect
- Vvar_treaty_phaseEffect
- Vvar_west_countryEffect
Grants 5
Variables
- FFavorEffect
- Vvar_east_countryEffect
- Vvar_treaty_phaseEffect
- Vvar_treaty_progressEffect
- Vvar_west_countryEffect
Removes 1
- Hhagia_sophia_now_mosqueEffect
Uses 9
Scripted Effects
- Aadd_all_possible_pentarchiesEffect
- Ddistribute_worldEffect
- Rremove_all_pentarchy_modifiersEffect
- RreplaceCountryInTordesillasreplaced = this · replacer = situation:treaty_of_tordesillas.var:var_east_country (+1)Effect
Scripted Triggers
- Hhas_all_pentarchyEffect
- Hhas_any_pentarchy_modifierEffect
- Hhre_country_breaks_imperial_religionEffect
- Iis_emperorEffect
- Iis_excommunicatedEffect
References 2
- Vvar_east_countryEffect
- Vvar_west_countryEffect






