CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted trigger · All Under Heaven files

has_decent_score_trigger

has_decent_score_trigger = { SCORE_VAR = … }

game/common/scripted_triggers/tgp_imperial_examination_triggers.txt, line 169 (5 lines). Parameters: $SCORE_VAR$.

has_decent_score_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 169 of its file. A call passes 1 parameter: SCORE_VAR. The game's script calls it in 8 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_great_score_value
  • var:$SCORE_VAR$ >= imperial_examination_decent_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_decent_score_trigger = {
	has_variable = $SCORE_VAR$
	var:$SCORE_VAR$ < imperial_examination_great_score_value
	var:$SCORE_VAR$ >= imperial_examination_decent_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_decent_score_trigger.

Events (2)

Script values (3)

  • 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.

Spotted a mistake on this page?