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

Scripted trigger · Wards and Wardens files

is_available_adult_education_teacher

is_available_adult_education_teacher = yes

game/common/scripted_triggers/05_bp2_triggers.txt, line 20 (18 lines). No parameters.

is_available_adult_education_teacher is a scripted trigger in Crusader Kings III, in the Wards and Wardens files, written at line 20 of its file. It takes no parameters: is_available_adult_education_teacher = yes (or no). The game's script calls it in 2 places, among them Eparch: University Needs Teachers (event ep3_eparch_event.0015) and bp2_university_teacher_setup (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/05_bp2_triggers.txt.

What it checks

  • is_available_healthy_ai_adult = yes
  • Age more than 35
  • Any character trait:
    • One of these

      • has_trait_flag = level_4_education
      • or

        has_trait_flag = level_5_education
  • One of these

    • Diplomacy at least 12
    • or

      Martial at least 12
    • or

      Stewardship at least 12
    • or

      Intrigue at least 12
    • or

      Learning at least 12
  • scope:location.county.rite:
    • rite_has_dominant_ruling_gender = prev

• 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 (18 lines of game script)
is_available_adult_education_teacher = {
	is_available_healthy_ai_adult = yes
	age > 35
	any_character_trait = {
		OR = {
			has_trait_flag = level_4_education
			has_trait_flag = level_5_education
		}
	}
	OR = {
		diplomacy >= 12
		martial >= 12
		stewardship >= 12
		intrigue >= 12
		learning >= 12
	}
	scope:location.county.rite = { rite_has_dominant_ruling_gender = prev }
}

As written in game/common/scripted_triggers/05_bp2_triggers.txt.

Where it is used

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

Events (1)

Scripted effects (1)

Source: game/common/scripted_triggers/05_bp2_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?