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

Scripted trigger

secret_coup_plotter_is_valid_trigger

secret_coup_plotter_is_valid_trigger = { OWNER = … TARGET = … }

game/common/scripted_triggers/00_secret_type_triggers.txt, line 451 (7 lines). Parameters: $OWNER$, $TARGET$.

secret_coup_plotter_is_valid_trigger is a scripted trigger in Crusader Kings III, written at line 451 of its file. A call passes 2 parameters: OWNER and TARGET. The game's script calls it in 1 place, among them Plotting a Coup (secret types). Patch 1.20.1.2, from game/common/scripted_triggers/00_secret_type_triggers.txt.

The comment above it in the file

SECRET COUP_LEADER

What it checks

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

The script as written (7 lines of game script)
secret_coup_plotter_is_valid_trigger = {
	# Can't coup yourself
	NOT = { $OWNER$ = $TARGET$ }
	# Both of y'all must still be admin
	$OWNER$ = { government_has_mechanic = administrative }
	$TARGET$ = { government_has_mechanic = administrative }
}

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

Where it is used

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

Secret types (1)

  • Plotting a Coup

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