Scripted Trigger
hre_country_fulfills_imperial_religion_requirement
What it checks
The Religion of the country aligns with the Imperial Religion
If
hre_$type$_bound_to_religionThen↗
If
Holy Roman Empire exists
Holy Roman EmpireHas Variable: hre_imperial_religion
ThenReligion:
Holy Roman Empire › Hre imperial religion
Holy Roman Empire › Hre imperial religionElse if
hre_$type$_bound_to_religion_groupThen↗
If
Holy Roman Empire exists
Holy Roman EmpireHas Variable: hre_imperial_religion_group
ThenReligion group:
Holy Roman Empire › Hre imperial religion group
Holy Roman Empire › Hre imperial religion groupOtherwise
No restriction
Script that calls it fills these in, as each caller in Connections shows.
$type$
Used by 7
Events
Jan zelivsky's Congregationtype = votingOption 1
International Organizations
Holy Roman Empiretype = votingCan lead tooltip trigger, Can lead trigger
Special Statuses
Archbishop-Electortype = electorshipCan bestow trigger
Prince-Electortype = electorshipCan bestow trigger
Free Imperial Citytype = generalCan bestow trigger
Legatus Natustype = generalCan bestow trigger
Primas Germaniaetype = generalCan bestow trigger
Scripting 2
Uses 2
- hre_country_is_of_imperial_religionCustom tooltip
- hre_country_is_of_imperial_religion_groupCustom tooltip
custom_tooltip = {
text = hre_country_fulfills_imperial_religion_requirement_tt The Religion of the country aligns with the Imperial Religion
trigger_if = {
limit = {
hre_$type$_bound_to_religion = yes
}
}
trigger_else_if = {
limit = {
hre_$type$_bound_to_religion_group = yes
}
}
trigger_else = {
always = yes
}
}