Scripted effect · All Under Heaven files
requested_tribute_mission_penalty_effect
requested_tribute_mission_penalty_effect = yesgame/common/scripted_effects/tgp_tribute_mission_scripted_effects.txt, line 668 (11 lines). No parameters.
requested_tribute_mission_penalty_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 668 of its file. It takes no parameters: requested_tribute_mission_penalty_effect = yes. The game's script calls it in 2 places, among them on_travel_plan_abort (on action) and on_travel_plan_cancel (on action). Patch 1.20.1.2, from game/common/scripted_effects/tgp_tribute_mission_scripted_effects.txt.
What it does
If
- Has “invalidation should fail ongoing requested tribute mission” (a variable the game's script sets)
Then
- Event tribute_mission.9500
• 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 (11 lines of game script)
requested_tribute_mission_penalty_effect = {
if = {
limit = {
has_variable = invalidation_should_fail_ongoing_requested_tribute_mission
}
trigger_event = {
id = tribute_mission.9500
delayed = yes
}
}
}As written in game/common/scripted_effects/tgp_tribute_mission_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls requested_tribute_mission_penalty_effect.
On actions (the game's own hooks) (2)
- on_travel_plan_abort
- on_travel_plan_cancel
Source: game/common/scripted_effects/tgp_tribute_mission_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.