Scripted trigger · All Under Heaven files
is_tributary_or_independent_neighbor_of_hegemon_trigger
is_tributary_or_independent_neighbor_of_hegemon_trigger = { HEGEMON = … }game/common/scripted_triggers/tgp_tribute_mission_triggers.txt, line 85 (21 lines). Parameters: $HEGEMON$.
is_tributary_or_independent_neighbor_of_hegemon_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 85 of its file. A call passes 1 parameter: HEGEMON. The game's script calls it in 6 places, among them Kowtow to China (decision), Pay Tribute to Dar al-Islam (decision) and Pay Tribute to Eastern Roman Empire (decision). Patch 1.20.1.2, from game/common/scripted_triggers/tgp_tribute_mission_triggers.txt.
What it checks
One of these
is_tributary_of = title:$HEGEMON$.holderor
All of these
- Is not a Tributary
- Is an Independent Ruler
- Any neighboring and across water top liege realm owner:
• 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 (21 lines of game script)
is_tributary_or_independent_neighbor_of_hegemon_trigger = {
exists = title:$HEGEMON$.holder
OR = {
is_tributary_of = title:$HEGEMON$.holder
AND = {
is_tributary = no
is_independent_ruler = yes
any_neighboring_and_across_water_top_liege_realm_owner = {
highest_held_title_tier = tier_hegemony
primary_title = title:$HEGEMON$
}
}
custom_tooltip = { # print nothing, only relevant for AI
text = null
AND = {
title:$HEGEMON$ = title:h_china
has_variable = wants_to_become_tributary_of_china
}
}
}
}As written in game/common/scripted_triggers/tgp_tribute_mission_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls is_tributary_or_independent_neighbor_of_hegemon_trigger.
Decisions (5)
Character interactions (1)
Source: game/common/scripted_triggers/tgp_tribute_mission_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.