Scripted trigger
court_astrologer_validity_trigger
court_astrologer_validity_trigger = { EMPLOYER = … }game/common/scripted_triggers/00_court_position_triggers.txt, line 1011 (22 lines). Parameters: $EMPLOYER$.
court_astrologer_validity_trigger is a scripted trigger in Crusader Kings III, written at line 1011 of its file. A call passes 1 parameter: EMPLOYER. The game's script calls it in 1 place, among them Stargazer (court position). Its body carries 3 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/00_court_position_triggers.txt.
What it checks
base_court_position_validity_trigger = { EMPLOYER = $EMPLOYER$ }- Is not landed
- They are not a Kurultai Member
• 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 (22 lines of game script)
court_astrologer_validity_trigger = {
base_court_position_validity_trigger = { EMPLOYER = $EMPLOYER$ }
is_landed = no
OR = {
has_religion = religion:tengrism_religion
custom_tooltip = {
text = court_position_mongolic
culture = { has_cultural_pillar = heritage_mongolic }
}
custom_tooltip = {
text = court_position_turkic
culture = { has_cultural_pillar = heritage_turkic }
}
has_trait = nomadic_philosophy
has_trait = lifestyle_mystic
$EMPLOYER$.domicile.domicile_culture ?= culture
}
custom_tooltip = {
text = court_position_not_kurultai
is_councillor = no
}
}As written in game/common/scripted_triggers/00_court_position_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls court_astrologer_validity_trigger.
Court positions (1)
Source: game/common/scripted_triggers/00_court_position_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.