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

Scripted trigger · Tours and Tournaments files

accolade_can_train_squire_trigger

accolade_can_train_squire_trigger = yes

game/common/scripted_triggers/04_ep2_accolade_triggers.txt, line 1507 (39 lines). No parameters.

accolade_can_train_squire_trigger is a scripted trigger in Crusader Kings III, in the Tours and Tournaments files, written at line 1507 of its file. It takes no parameters: accolade_can_train_squire_trigger = yes (or no). The game's script calls it in 1 place, among them yearly_playable_pulse (on action). Patch 1.20.1.2, from game/common/scripted_triggers/04_ep2_accolade_triggers.txt.

What it checks

  • acclaimed_knight = { is_incapable = no is_imprisoned = no }
  • Accolade squires quality at least 40
  • acclaimed_knight = { … }

• 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 (39 lines of game script)
accolade_can_train_squire_trigger = {
	exists = acclaimed_knight
	acclaimed_knight = {
		is_incapable = no
		is_imprisoned = no
	}
	accolade_squires_quality_value >= accolade_squires_inexperienced_minimum_value
	#Has a valid squire right now
	acclaimed_knight = {
		save_temporary_scope_as = knight_temp
		OR = {
			any_relation = {
				type = ward
				valid_squire_for_accolade_trigger = { KNIGHT = scope:knight_temp }
			}
			any_child = {
				valid_squire_for_accolade_trigger = { KNIGHT = scope:knight_temp }
			}
			any_sibling = {
				valid_squire_for_accolade_trigger = { KNIGHT = scope:knight_temp }
			}
			liege = {
				any_courtier_or_guest = {
					#No pool guests
					OR = {
						is_courtier = yes
						is_foreign_court_guest = yes
					}
					OR = {
						is_knight = yes
						has_trait = education_martial
						has_focus = education_martial
					}
					valid_squire_for_accolade_trigger = { KNIGHT = scope:knight_temp }
				}
			}
		}
	}
}

As written in game/common/scripted_triggers/04_ep2_accolade_triggers.txt.

Where it is used

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

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

  • yearly_playable_pulse

Source: game/common/scripted_triggers/04_ep2_accolade_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?