Scripted trigger · Silk and Silver files
gdp_has_valid_indicted_character_trigger
gdp_has_valid_indicted_character_trigger = yesgame/common/scripted_triggers/gdp_republic_triggers.txt, line 140 (13 lines). No parameters.
gdp_has_valid_indicted_character_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 140 of its file. It checks, in the game's words: You have not indicted anyone before the Assembly. It takes no parameters: gdp_has_valid_indicted_character_trigger = yes (or no). The game's script calls it in 2 places, among them Request Banishment Approval (decision) and Request Execution Approval (decision). Its body carries 1 text of the game's own for the player. Patch 1.21.0, from game/common/scripted_triggers/gdp_republic_triggers.txt.
What it checks
- You have not indicted anyone before the Assembly
• 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 (13 lines of game script)
gdp_has_valid_indicted_character_trigger = {
save_temporary_scope_as = indicting_character
custom_tooltip = {
text = gdp_has_no_valid_indicted_character_desc
var:gdp_indicted_character ?= {
is_alive = yes
OR = {
is_imprisoned_by = scope:indicting_character
top_liege = scope:indicting_character
}
}
}
}As written in game/common/scripted_triggers/gdp_republic_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls gdp_has_valid_indicted_character_trigger.
Source: game/common/scripted_triggers/gdp_republic_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.