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

Scripted trigger

has_education_focus_trigger

has_education_focus_trigger = yes

game/common/scripted_triggers/00_education_triggers.txt, line 141 (9 lines). No parameters.

has_education_focus_trigger is a scripted trigger in Crusader Kings III, written at line 141 of its file. It takes no parameters: has_education_focus_trigger = yes (or no). The game's script calls it in 6 places, among them childhood_education.9001 (event), Scholars of Baghdad (event yearly.4091) and What's a Study Day Worth? (event bp2_yearly.3000). Patch 1.20.1.2, from game/common/scripted_triggers/00_education_triggers.txt.

What it checks

  • One of these

    • has_focus = education_diplomacy
    • or

      has_focus = education_martial
    • or

      has_focus = education_stewardship
    • or

      has_focus = education_intrigue
    • or

      has_focus = education_learning

• 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 (9 lines of game script)
has_education_focus_trigger = {
 	OR = {
 		has_focus = education_diplomacy
 		has_focus = education_martial
 		has_focus = education_stewardship
 		has_focus = education_intrigue
 		has_focus = education_learning
 	}
}

As written in game/common/scripted_triggers/00_education_triggers.txt.

Where it is used

Every place in common/, events/ and history/ that calls has_education_focus_trigger.

On actions (the game's own hooks) (2)

  • childhood_education_boost
  • childhood_education_patronage

Source: game/common/scripted_triggers/00_education_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?