Scripted trigger · All Under Heaven files
tribute_mission_decision_generic_trigger
tribute_mission_decision_generic_trigger = yesgame/common/scripted_triggers/tgp_tribute_mission_triggers.txt, line 1 (16 lines). No parameters.
tribute_mission_decision_generic_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 1 of its file. It takes no parameters: tribute_mission_decision_generic_trigger = yes (or no). The game's script calls it in 7 places, among them Kowtow to China (decision), Pay Tribute to … (decision) and Pay Tribute to Dar al-Islam (decision). Its body carries 2 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/tgp_tribute_mission_triggers.txt.
What it checks
- You are already engaged in a Tribute Mission
- You do not have any valid Tribute
• 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)
tribute_mission_decision_generic_trigger = {
#We're not already either doing a Tribute Mission or are on cooldown
custom_tooltip = {
text = tribute_mission_decision.already_on_mission
is_already_tribute_missioning_trigger = no
}
custom_tooltip = {
text = qualifies_for_tribute_mission_trigger
OR = { # Must be able to offer something
has_gold_tribute_trigger = yes
has_herd_tribute_trigger = yes
has_artifact_tribute_trigger = yes
}
}
}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 tribute_mission_decision_generic_trigger.
Decisions (6)
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.