Scripted trigger · Silk and Silver files
gdp_is_republic_title_trigger
gdp_is_republic_title_trigger = yesgame/common/scripted_triggers/gdp_republic_triggers.txt, line 1101 (14 lines). No parameters.
gdp_is_republic_title_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 1101 of its file. It takes no parameters: gdp_is_republic_title_trigger = yes (or no). The game's script calls it in 5 places, among them Get Claim (interaction), Revoke Title (interaction) and on_title_lost (on action). 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.
The comment above it in the file
title is a republic title (potentially, if holder is republican)
What it checks
• 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 (14 lines of game script)
gdp_is_republic_title_trigger = {
custom_tooltip = {
text = gdp_is_republic_title_trigger_tt
tier > tier_county
is_landless_type_title = no
is_noble_family_title = no
NOT = {
any_in_de_jure_hierarchy = {
NOT = { this = prev }
}
}
save_temporary_scope_as = republic_title_temp
}
}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_is_republic_title_trigger.
Character interactions (2)
- Get Claim
- Revoke Title
On actions (the game's own hooks) (1)
- on_title_lost
Scripted effects (1)
Scripted triggers (1)
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.