
Decision · Religious Decisions
Invite Religious Exiles
Throughout distant lands, exiled faithful wander in search of a place to call home, driven from their birthplaces by persecution. I could welcome these displaced communities into my realm and let their knowledge enrich the lands — though their arrival will bring their beliefs with them...
Requirements
The lines the game itself shows for this decision's conditions:
- You do not have a County of your Faith
- There are no exiles in range to invite
Shown to a character when (is_shown) (8 lines of game script)
OR = {
is_open_to_inviting_other_faiths_trigger = yes
government_has_flag = government_is_mandala
}
NOT = {
government_has_flag = government_is_herder
}
has_tgp_dlc_trigger = yesAs written in game/common/decisions/10_religious_decisions.txt.
Can be taken when (is_valid) (27 lines of game script)
OR = {
is_open_to_inviting_other_faiths_trigger = yes
government_has_flag = government_is_mandala
}
is_landed = yes
custom_tooltip = {
text = invite_exiles_same_faith_county_req
any_sub_realm_county = {
rite = root.rite
}
}
custom_tooltip = {
text = invite_exiles_anyone_req
any_religion_global = {
any_faith = {
any_faith_rite = {
exists = var:converted_development
var:converted_development >= 1
NOT = {
rite_has_parameter = unreformed
}
save_temporary_scope_as = rite_scope
root.capital_province.squared_distance(scope:rite_scope.var:associated_county.title_province) <= squared_distance_mega
}
}
}
}As written in game/common/decisions/10_religious_decisions.txt.
Effects
- You will be approached by a group of exiles, who will ask to settle in your Counties, increasing Development but changing the Faith.
Effect (349 lines of game script)
custom_tooltip = invite_religious_exiles_decision_effect
save_scope_as = root_scope
save_scope_as = from_decision
hidden_effect = {
if = {
limit = {
scope:invite_same_rite_exiles = yes
}
scope:root_scope = {
rite = {
save_scope_as = target_rite
}
save_scope_as = ruler_target
save_scope_as = seeking_same_rite_counties
trigger_event = global_religion.1000
}
}
else_if = {
limit = {
scope:invite_all_exiles = yes
}
random_religion_global = {
limit = {
any_faith = {
any_faith_rite = {
exists = var:converted_development
var:converted_development >= 1
NOT = {
rite_has_parameter = unreformed
}
exists = var:associated_culture
exists = var:associated_county
save_temporary_scope_as = rite_scope
var:associated_county.title_province = {
save_temporary_scope_as = rite_scope_province
}
scope:root_scope.capital_province.squared_distance(scope:rite_scope_province) <= squared_distance_mega
scope:root_scope = {
trigger_if = {
limit = {
has_variable_list = rites_converted_in_counties
}
NOT = {
is_target_in_variable_list = {
name = rites_converted_in_counties
target = scope:rite_scope
}
}
}
any_held_title = {
tier = tier_county
faith = scope:root_scope.faith
trigger_if = {
limit = {
has_variable_list = rites_converted_in_the_county
}
NOT = {
is_target_in_variable_list = {
name = rites_converted_in_the_county
target = scope:rite_scope
}
}
}
}
}
}
}
}
random_faith = {
limit = {
any_faith_rite = {
exists = var:converted_development
var:converted_development >= 1
NOT = {
rite_has_parameter = unreformed
}
exists = var:associated_culture
exists = var:associated_county
var:associated_county.title_province = {
save_temporary_scope_as = rite_scope_province
}
scope:root_scope.capital_province.squared_distance(scope:rite_scope_province) <= squared_distance_mega
scope:root_scope = {
trigger_if = {
limit = {
has_variable_list = rites_converted_in_counties
}
NOT = {
is_target_in_variable_list = {
name = rites_converted_in_counties
target = this
}
}
}
any_held_title = {
tier = tier_county
faith = scope:root_scope.faith
trigger_if = {
limit = {
has_variable_list = rites_converted_in_the_county
}
NOT = {
is_target_in_variable_list = {
name = rites_converted_in_the_county
target = this
}
}
}
}
}
}
}
ordered_faith_rite = {
limit = {
exists = var:converted_development
var:converted_development >= 1
NOT = {
rite_has_parameter = unreformed
}
exists = var:associated_culture
exists = var:associated_county
var:associated_county.title_province = {
save_temporary_scope_as = rite_scope_province
}
scope:root_scope.capital_province.squared_distance(scope:rite_scope_province) <= squared_distance_mega
scope:root_scope = {
trigger_if = {
limit = {
has_variable_list = rites_converted_in_counties
}
NOT = {
is_target_in_variable_list = {
name = rites_converted_in_counties
target = this
}
}
}
any_held_title = {
tier = tier_county
faith = scope:root_scope.faith
trigger_if = {
limit = {
has_variable_list = rites_converted_in_the_county
}
NOT = {
is_target_in_variable_list = {
name = rites_converted_in_the_county
target = this
}
}
}
}
}
}
order_by = var:converted_development
save_scope_as = target_rite
}
scope:root_scope = {
if = {
limit = {
faith != scope:target_rite.faith
}
save_scope_as = ruler_target
save_scope_as = seeking_any_counties
trigger_event = global_religion.1000
}
else = {
save_scope_as = ruler_target
save_scope_as = seeking_same_faith_counties
trigger_event = global_religion.1000
}
}
}
}
}
else_if = {
limit = {
scope:invite_same_religion_exiles = yes
}
faith.religion = {
random_faith = {
limit = {
any_faith_rite = {
exists = var:converted_development
var:converted_development >= 1
NOT = {
rite_has_parameter = unreformed
}
exists = var:associated_culture
exists = var:associated_county
var:associated_county.title_province = {
save_temporary_scope_as = rite_scope_province
}
scope:root_scope.capital_province.squared_distance(scope:rite_scope_province) <= squared_distance_mega
scope:root_scope = {
trigger_if = {
limit = {
has_variable_list = rites_converted_in_counties
}
NOT = {
is_target_in_variable_list = {
name = rites_converted_in_counties
target = this
}
}
}
any_held_title = {
tier = tier_county
faith = scope:root_scope.faith
trigger_if = {
limit = {
has_variable_list = rites_converted_in_the_county
}
NOT = {
is_target_in_variable_list = {
name = rites_converted_in_the_county
target = this
}
}
}
}
}
}
}
ordered_faith_rite = {
limit = {
exists = var:converted_development
var:converted_development >= 1
NOT = {
rite_has_parameter = unreformed
}
exists = var:associated_culture
exists = var:associated_county
var:associated_county.title_province = {
save_temporary_scope_as = rite_scope_province
}
scope:root_scope.capital_province.squared_distance(scope:rite_scope_province) <= squared_distance_mega
scope:root_scope = {
trigger_if = {
limit = {
has_variable_list = rites_converted_in_counties
}
NOT = {
is_target_in_variable_list = {
name = rites_converted_in_counties
target = this
}
}
}
any_held_title = {
tier = tier_county
faith = scope:root_scope.faith
trigger_if = {
limit = {
has_variable_list = rites_converted_in_the_county
}
NOT = {
is_target_in_variable_list = {
name = rites_converted_in_the_county
target = this
}
}
}
}
}
}
order_by = var:converted_development
save_scope_as = target_rite
}
scope:root_scope = {
if = {
limit = {
faith != scope:target_rite.faith
}
save_scope_as = ruler_target
save_scope_as = seeking_any_counties
trigger_event = global_religion.1000
}
else = {
save_scope_as = ruler_target
save_scope_as = seeking_same_faith_counties
trigger_event = global_religion.1000
}
}
}
}
}
else_if = {
limit = {
scope:invite_same_faith_exiles = yes
}
scope:root_scope.faith = {
ordered_faith_rite = {
limit = {
exists = var:converted_development
var:converted_development >= 1
NOT = {
rite_has_parameter = unreformed
}
exists = var:associated_culture
exists = var:associated_county
var:associated_county.title_province = {
save_temporary_scope_as = rite_scope_province
}
scope:root_scope.capital_province.squared_distance(scope:rite_scope_province) <= squared_distance_mega
scope:root_scope = {
trigger_if = {
limit = {
has_variable_list = rites_converted_in_counties
}
NOT = {
is_target_in_variable_list = {
name = rites_converted_in_counties
target = this
}
}
}
any_held_title = {
tier = tier_county
faith = scope:root_scope.faith
trigger_if = {
limit = {
has_variable_list = rites_converted_in_the_county
}
NOT = {
is_target_in_variable_list = {
name = rites_converted_in_the_county
target = this
}
}
}
}
}
}
order_by = var:converted_development
save_scope_as = target_rite
}
}
scope:root_scope = {
save_scope_as = ruler_target
save_scope_as = seeking_same_faith_counties
trigger_event = global_religion.1000
}
}
}
close_view = {
view = decisions
player = root
}As written in game/common/decisions/10_religious_decisions.txt.
Source: game/common/decisions/10_religious_decisions.txt and the English localisation, Crusader Kings III 1.20.0.3.