Scripted effect · Legends of the Dead files
get_appropriate_exotic_location
get_appropriate_exotic_location = yesgame/common/scripted_effects/06_dlc_ce1_legend_effects.txt, line 1578 (198 lines). No parameters.
get_appropriate_exotic_location is a scripted effect in Crusader Kings III, in the Legends of the Dead files, written at line 1578 of its file. It takes no parameters: get_appropriate_exotic_location = yes. The game's script calls it in 1 place, among them Chronicler: A Legend Found (event legend_events.0001). Patch 1.20.1.2, from game/common/scripted_effects/06_dlc_ce1_legend_effects.txt.
What it does
- 1 of 14 things will happen:
- 8%: Nothing else happens
- 8%: Nothing else happens
- 8%: Nothing else happens
- 8%: Nothing else happens
- 8%: Nothing else happens
- 8%: Nothing else happens
- 8%: Nothing else happens
- 8%: Nothing else happens
- 8%: Nothing else happens
- 8%: Nothing else happens
- 8%: Nothing else happens
- 8%: Nothing else happens
- 8%: Nothing else happens
- 0%: Nothing else happens
• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists
“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.
The script as written (120 lines of game script)
get_appropriate_exotic_location = {
random_list = {
999 = { # Atlantis, must care about Greek stuff
trigger = {
OR = {
religion = { is_in_family = rf_abrahamic }
religion = religion:hellenism_religion
culture = { has_cultural_pillar = heritage_byzantine }
culture = { has_cultural_pillar = heritage_ancient_greek }
culture = { has_cultural_pillar = heritage_latin }
}
}
save_scope_value_as = {
name = exotic_location
value = flag:atlantis
}
}
999 = { # Olympus, must care about Greek stuff
trigger = {
OR = {
religion = { is_in_family = rf_abrahamic }
religion = religion:hellenism_religion
culture = { has_cultural_pillar = heritage_byzantine }
culture = { has_cultural_pillar = heritage_ancient_greek }
culture = { has_cultural_pillar = heritage_latin }
}
}
save_scope_value_as = {
name = exotic_location
value = flag:olympus
}
}
999 = { # India, must be faraway
trigger = {
NOT = {
any_character_to_title_neighboring_and_across_water_county = {
title_province = { geographical_region = world_india }
}
}
}
save_scope_value_as = {
name = exotic_location
value = flag:hindustan
}
}
999 = { # Vinland, must be into vikings and adventures and all that
trigger = {
OR = {
religion = religion:germanic_religion
culture = { has_cultural_pillar = heritage_north_germanic }
culture = { has_innovation = innovation_varangian_adventurers }
}
}
save_scope_value_as = {
name = exotic_location
value = flag:vinland
}
}
999 = { # Sunset invasion memes
trigger = {
OR = {
religion = religion:germanic_religion
culture = { has_cultural_pillar = heritage_north_germanic }
culture = { has_innovation = innovation_varangian_adventurers }
}
}
save_scope_value_as = {
name = exotic_location
value = flag:sunset_empire
}
}
999 = { # Kingdom of Prester John, must be a Christian who doesn't know about Copts
trigger = {
religion = religion:christianity_religion
NOT = {
any_character_to_title_neighboring_and_across_water_county = {
holder = { faith = faith:miaphysitism }
}
}
NOT = { # Prester John isn't exciting if Egypt is Christian
title:k_egypt = {
holder ?= { religion = religion:christianity_religion }
}
}
}
save_scope_value_as = {
name = exotic_location
value = flag:prester_john_kingdom
}
}
999 = { # Albion, Christians in Jerusalem were way way into Arthurian myth
trigger = {
religion = religion:christianity_religion
capital_county = {
title_province = { geographical_region = world_middle_east }
}
}
save_scope_value_as = {
name = exotic_location
value = flag:albion
}
}
999 = { # Himavanta, legendary forest in the himalayas
trigger = {
OR = {
capital_county = {
title_province = {
OR = {
geographical_region = world_india
geographical_region = world_tibet
geographical_region = world_asia_southeast_mainland
geographical_region = world_asia_china
}
}
}
culture = { culture_overlaps_geographical_region = world_india }
culture = { culture_overlaps_geographical_region = world_tibet }
culture = { culture_overlaps_geographical_region = world_asia_southeast_mainland }
culture = { culture_overlaps_geographical_region = world_asia_china }
}As written in game/common/scripted_effects/06_dlc_ce1_legend_effects.txt.
The first 120 of its 198 lines; the rest is in game/common/scripted_effects/06_dlc_ce1_legend_effects.txt from line 1578.
Where it is used
Every place in common/, events/ and history/ that calls get_appropriate_exotic_location.
Events (1)
- Chronicler: A Legend Found
legend_events.0001
Source: game/common/scripted_effects/06_dlc_ce1_legend_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.