Scripted trigger · Silk and Silver files
republic_can_grant_duchy_or_higher_to_landless_trigger
republic_can_grant_duchy_or_higher_to_landless_trigger = yesgame/common/scripted_triggers/11_gdp_triggers.txt, line 398 (23 lines). No parameters.
republic_can_grant_duchy_or_higher_to_landless_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 398 of its file. It checks, in the game's words: Title is not De Jure Liege or above of a held or selected County. It takes no parameters: republic_can_grant_duchy_or_higher_to_landless_trigger = yes (or no). The game's script calls it in 1 place, among them Grant Titles (interaction). Its body carries 1 text of the game's own for the player. Patch 1.21.0, from game/common/scripted_triggers/11_gdp_triggers.txt.
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 (23 lines of game script)
republic_can_grant_duchy_or_higher_to_landless_trigger = {
custom_tooltip = {
text = republic_title_must_be_de_jure_liege_desc
trigger_if = {
limit = {
any_in_list = {
list = target_titles
count > 0
}
}
scope:target = {
OR = {
any_in_de_jure_hierarchy = {
tier = tier_county
is_in_list = target_titles
}
is_in_list = target_titles
}
}
}
trigger_else = { always = no }
}
}As written in game/common/scripted_triggers/11_gdp_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls republic_can_grant_duchy_or_higher_to_landless_trigger.
Character interactions (1)
Source: game/common/scripted_triggers/11_gdp_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.