Scripted trigger
petition_liege_skillcheck_limit
petition_liege_skillcheck_limit = yesgame/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_checkexists = scope:martial_checkexists = scope:stewardship_checkexists = scope:intrigue_checkexists = 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)
- Petition: Second Opinion
petition_liege.0401 - Petition: Second Opinion
petition_liege.0421
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.