Scripted trigger · All Under Heaven files
has_good_score_trigger
has_good_score_trigger = { SCORE_VAR = … }game/common/scripted_triggers/tgp_imperial_examination_triggers.txt, line 163 (5 lines). Parameters: $SCORE_VAR$.
has_good_score_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 163 of its file. A call passes 1 parameter: SCORE_VAR. The game's script calls it in 10 places, among them Capital Examination (activity), Local Examination (activity) and Releasing the Roll (event imperial_examination.7000). Patch 1.20.1.2, from game/common/scripted_triggers/tgp_imperial_examination_triggers.txt.
What it checks
- Has “$SCORE VAR$” (a variable the game's script sets)
var:$SCORE_VAR$ < imperial_examination_perfect_score_valuevar:$SCORE_VAR$ >= imperial_examination_great_score_value
• 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 (5 lines of game script)
has_good_score_trigger = {
has_variable = $SCORE_VAR$
var:$SCORE_VAR$ < imperial_examination_perfect_score_value
var:$SCORE_VAR$ >= imperial_examination_great_score_value
}As written in game/common/scripted_triggers/tgp_imperial_examination_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls has_good_score_trigger.
Activities (2)
Events (2)
- Releasing the Roll
imperial_examination.7000 - Releasing the Roll
imperial_examination.7001
Scripted effects (1)
Script values (4)
- imperial_examination_entrant_influence_reward_value
- imperial_examination_merit_base_reward_value
- local_examination_entrant_influence_reward_value
- local_examination_merit_base_reward_value
Customizable localization (1)
- GetExamScoreAdjective
Source: game/common/scripted_triggers/tgp_imperial_examination_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.