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

Scripted trigger

petition_liege_skillcheck_limit

petition_liege_skillcheck_limit = yes

game/common/scripted_triggers/00_activity_triggers.txt, line 488 (10 lines). No parameters.

petition_liege_skillcheck_limit is a scripted trigger in Crusader Kings III, written at line 488 of its file. It takes no parameters: petition_liege_skillcheck_limit = yes (or no). The game's script calls it in 2 places, among them Petition: Second Opinion (event petition_liege.0401) and Petition: Second Opinion (event petition_liege.0421). Patch 1.20.1.2, from game/common/scripted_triggers/00_activity_triggers.txt.

The comment above it in the file

No more than 2 skill check options already exist

What it checks

  • Less than 2 of the following must be true:
    • exists = scope:diplomacy_check
    • exists = scope:martial_check
    • exists = scope:stewardship_check
    • exists = scope:intrigue_check
    • exists = scope:learning_check

• 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 (10 lines of game script)
petition_liege_skillcheck_limit = {
	calc_true_if = {
		amount < 2
		exists = scope:diplomacy_check
		exists = scope:martial_check
		exists = scope:stewardship_check
		exists = scope:intrigue_check
		exists = scope:learning_check
	}
}

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

Where it is used

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

Events (2)

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