Scripted trigger · Silk and Silver files
gdp_republic_banishment_allowed_trigger
gdp_republic_banishment_allowed_trigger = { TARGET = … }game/common/scripted_triggers/gdp_republic_triggers.txt, line 81 (16 lines). Parameters: $TARGET$.
gdp_republic_banishment_allowed_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 81 of its file. A call passes 1 parameter: TARGET. The game's script calls it in 2 places, among them Negotiate Release (interaction) and Remove Co-Ruler (interaction). Its body carries 2 texts of the game's own for the player. Patch 1.21.0, from game/common/scripted_triggers/gdp_republic_triggers.txt.
What it checks
- The Banishment Forbidden Law prohibits Banishment
If
gdp_is_assembly_head_trigger = yeshas_realm_law_flag = republic_banishment_approval_required
Then
- You do not have the Assembly's approval to Banish them
• 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 (16 lines of game script)
gdp_republic_banishment_allowed_trigger = {
custom_tooltip = {
text = republic_banishment_prohibited_desc
NOT = { has_realm_law_flag = republic_banishment_prohibited }
}
trigger_if = {
limit = {
gdp_is_assembly_head_trigger = yes
has_realm_law_flag = republic_banishment_approval_required
}
custom_tooltip = {
text = must_have_assembly_approval_banishment_desc
var:has_assembly_approval_banishment ?= $TARGET$
}
}
}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_republic_banishment_allowed_trigger.
Character interactions (2)
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.