Scripted effect · Legends of the Dead files
get_appropriate_ancient_people
get_appropriate_ancient_people = yesgame/common/scripted_effects/06_dlc_ce1_legend_effects.txt, line 1405 (172 lines). No parameters.
get_appropriate_ancient_people is a scripted effect in Crusader Kings III, in the Legends of the Dead files, written at line 1405 of its file. It takes no parameters: get_appropriate_ancient_people = 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 9 things will happen:
- 12%: Nothing else happens
- 12%: Nothing else happens
- 12%: Nothing else happens
- 12%: Nothing else happens
- 12%: Nothing else happens
- 12%: Nothing else happens
- 12%: Nothing else happens
- 12%: 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_ancient_people = {
random_list = {
999 = {
trigger = {
religion = { is_in_family = rf_abrahamic }
NOT = { culture = culture:hebrew }
}
set_variable = {
name = original_region
value = geographical_region:israel_region
years = 1
}
culture:hebrew = { save_scope_as = ancient_culture }
}
999 = {
trigger = {
OR = {
root.culture = {
OR = {
culture_overlaps_geographical_region = world_europe
culture_overlaps_geographical_region = world_africa
culture_overlaps_geographical_region = world_asia_minor
}
}
culture = culture:egyptian
culture = culture:scottish
}
NOT = { culture = culture:ancient_egyptian }
}
set_variable = {
name = original_region
value = geographical_region:ghw_region_egypt_et_al
years = 1
}
culture:ancient_egyptian = { save_scope_as = ancient_culture }
}
999 = {
trigger = {
OR = {
root.culture = {
OR = {
culture_overlaps_geographical_region = world_steppe
culture_overlaps_geographical_region = custom_carpathia
}
}
culture = { has_cultural_pillar = heritage_turkic }
culture = { has_cultural_pillar = heritage_mongolic }
culture = { has_cultural_pillar = heritage_magyar }
}
NOT = { culture = culture:hunnic }
}
set_variable = {
name = original_region
value = geographical_region:world_steppe_west
years = 1
}
culture:hunnic = { save_scope_as = ancient_culture }
}
999 = {
trigger = {
OR = {
root.culture = {
culture_overlaps_geographical_region = world_europe
}
culture = { has_cultural_pillar = heritage_iberian }
culture = { has_cultural_pillar = heritage_north_germanic }
}
NOT = { culture = culture:gothic }
}
set_variable = {
name = original_region
value = geographical_region:world_steppe_west
years = 1
}
culture:gothic = { save_scope_as = ancient_culture }
}
999 = {
trigger = {
OR = {
root.culture = {
OR = {
culture_overlaps_geographical_region = world_asia_minor
culture_overlaps_geographical_region = world_middle_east
}
}
}
NOT = { culture = culture:persian }
}
set_variable = {
name = original_region
value = geographical_region:world_middle_east_persia
years = 1
}
culture:persian = { save_scope_as = ancient_culture }
}
999 = {
trigger = {
OR = {
root.culture = {
OR = {
culture_overlaps_geographical_region = world_europe
culture_overlaps_geographical_region = world_asia_minor
culture_overlaps_geographical_region = world_middle_east
culture_overlaps_geographical_region = world_africa_north
}
}
}
NOT = { culture = culture:trojan }
}
set_variable = {
name = original_region
value = geographical_region:troy_region
years = 1
}
culture:trojan = { save_scope_as = ancient_culture }
}
999 = {
trigger = {
OR = {
root.culture = {As written in game/common/scripted_effects/06_dlc_ce1_legend_effects.txt.
The first 120 of its 172 lines; the rest is in game/common/scripted_effects/06_dlc_ce1_legend_effects.txt from line 1405.
Where it is used
Every place in common/, events/ and history/ that calls get_appropriate_ancient_people.
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.