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

flag_matches_charioteer_team_trigger

flag_matches_charioteer_team_trigger = { VAR = … }

game/common/scripted_triggers/07_ep3_triggers.txt, line 549 (19 lines). Parameters: $VAR$.

flag_matches_charioteer_team_trigger is a scripted trigger in Crusader Kings III, in the Roads to Power files, written at line 549 of its file. A call passes 1 parameter: VAR. The game's script calls it in 1 place, among them stands_to_win_chariot_wager_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/07_ep3_triggers.txt.

What it checks

• 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 (19 lines of game script)
flag_matches_charioteer_team_trigger = {
	trigger_if = {
		limit = { $VAR$ = flag:blues }
		has_trait = charioteer_blue
	}
	trigger_else_if = {
		limit = { $VAR$ = flag:greens }
		has_trait = charioteer_green
	}
	trigger_else_if = {
		limit = { $VAR$ = flag:whites }
		has_trait = charioteer_white
	}
	trigger_else_if = {
		limit = { $VAR$ = flag:reds }
		has_trait = charioteer_red
	}
	trigger_else = { always = no }
}

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

Where it is used

Every place in common/, events/ and history/ that calls flag_matches_charioteer_team_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?