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

Scripted trigger · Roads to Power files

available_charioteers_spots_trigger

available_charioteers_spots_trigger = { TEAM = … }

game/common/scripted_triggers/07_ep3_triggers.txt, line 151 (9 lines). Parameters: $TEAM$.

available_charioteers_spots_trigger is a scripted trigger in Crusader Kings III, in the Roads to Power files, written at line 151 of its file. A call passes 1 parameter: TEAM. The game's script calls it in 2 places, among them chariot_racers_setup_effect (scripted effect) and gather_charioteers_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/07_ep3_triggers.txt.

What it checks

  • scope:activity › Any guest subset:
    • name = charioteers
    • Has the Trait: charioteer …

• 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)
available_charioteers_spots_trigger = {
	scope:activity = {
		any_guest_subset = {
			name = charioteers
			has_trait = charioteer_$TEAM$
			count < scope:activity.var:num_$TEAM$s
		}
	}
}

As written in game/common/scripted_triggers/07_ep3_triggers.txt.

Where it is used

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

Source: game/common/scripted_triggers/07_ep3_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?