Scripted trigger · All Under Heaven files
tgp_japan_grant_titles_restriction_trigger
tgp_japan_grant_titles_restriction_trigger = { GRANTEE = … GRANTER = … }game/common/scripted_triggers/10_tgp_japan_triggers.txt, line 213 (12 lines). Parameters: $GRANTEE$, $GRANTER$.
tgp_japan_grant_titles_restriction_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 213 of its file. A call passes 2 parameters: GRANTEE and GRANTER. The game's script calls it in 2 places, among them Grant Appointment (interaction) and Grant Titles (interaction). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/10_tgp_japan_triggers.txt.
What it checks
If
$GRANTER$ ?= { tgp_realm_has_ceremonial_liege_trigger = yes }
Then
- Governorships may not be given to the Ceremonial Monarch
• 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 (12 lines of game script)
tgp_japan_grant_titles_restriction_trigger = {
trigger_if = {
limit = {
$GRANTER$ ?= { tgp_realm_has_ceremonial_liege_trigger = yes }
exists = $GRANTEE$.house
}
custom_tooltip = {
text = ceremonial_liege_cannot_be_governor_trigger
$GRANTEE$ = { tgp_is_ceremonial_liege_trigger = no }
}
}
}As written in game/common/scripted_triggers/10_tgp_japan_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls tgp_japan_grant_titles_restriction_trigger.
Character interactions (2)
Source: game/common/scripted_triggers/10_tgp_japan_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.