Scripted trigger · Roads to Power files
needs_more_valid_compensation_options_trigger
needs_more_valid_compensation_options_trigger = yesgame/common/scripted_triggers/07_ep3_petition_triggers.txt, line 107 (11 lines). No parameters.
needs_more_valid_compensation_options_trigger is a scripted trigger in Crusader Kings III, in the Roads to Power files, written at line 107 of its file. It takes no parameters: needs_more_valid_compensation_options_trigger = yes (or no). The game's script calls it in 3 places, among them Office Endorsement (event petition_liege.0121), Petition: Gold (event petition_liege.0101) and court_ceremonial_select_bribes_effect (local effect). Patch 1.20.1.2, from game/common/scripted_triggers/07_ep3_petition_triggers.txt.
What it checks
- Less than 2 of the following must be true:
exists = scope:bribe_goldexists = scope:bribe_factionsexists = scope:bribe_favorexists = scope:bribe_contractexists = scope:bribe_vowsexists = scope:bribe_knight
• 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 (11 lines of game script)
needs_more_valid_compensation_options_trigger = {
calc_true_if = {
amount < 2
exists = scope:bribe_gold
exists = scope:bribe_factions
exists = scope:bribe_favor
exists = scope:bribe_contract
exists = scope:bribe_vows
exists = scope:bribe_knight
}
}As written in game/common/scripted_triggers/07_ep3_petition_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls needs_more_valid_compensation_options_trigger.
Events (2)
- Office Endorsement
petition_liege.0121 - Petition: Gold
petition_liege.0101
Scripted effects inside an event file (1)
- court_ceremonial_select_bribes_effect
Source: game/common/scripted_triggers/07_ep3_petition_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.