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

Scripted trigger

court_position_petition_ai_weight_trigger

court_position_petition_ai_weight_trigger = { ROLE = … }

game/common/scripted_triggers/00_court_position_triggers.txt, line 1343 (4 lines). Parameters: $ROLE$.

court_position_petition_ai_weight_trigger is a scripted trigger in Crusader Kings III, written at line 1343 of its file. A call passes 1 parameter: ROLE. The game's script calls it in 49 places, among them Akolouthos (court position), Antiquarian (court position) and Bodyguard (court position). Patch 1.20.1.2, from game/common/scripted_triggers/00_court_position_triggers.txt.

What it checks

Every line of it is script with no tooltip text: the script is below.

The script as written (4 lines of game script)
court_position_petition_ai_weight_trigger = {
	scope:employee.var:petition_court_position_liege ?= scope:liege
	scope:employee.var:petition_court_position_role ?= flag:$ROLE$
}

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

Where it is used

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

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