Scripted trigger
action_shift_privileges_suitable_char_trigger
action_shift_privileges_suitable_char_trigger = yesgame/common/scripted_triggers/00_diarchy_scripted_triggers.txt, line 690 (18 lines). No parameters.
action_shift_privileges_suitable_char_trigger is a scripted trigger in Crusader Kings III, written at line 690 of its file. It takes no parameters: action_shift_privileges_suitable_char_trigger = yes (or no). The game's script calls it in 1 place, among them Steal Gold from Fellow Vassals as … (important action). Patch 1.20.1.2, from game/common/scripted_triggers/00_diarchy_scripted_triggers.txt.
What it checks
diplomacy <= root.diplomacy- You:
is_character_interaction_valid = { interaction = diarch_shift_privileges_interaction recipient = scope:char_temp }
• 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 (18 lines of game script)
action_shift_privileges_suitable_char_trigger = {
save_temporary_scope_as = char_temp
# Make sure we've got equal or higher diplo and so might get away with a cheeky forgery.
diplomacy <= root.diplomacy
# And we don't want to spam with little guys, especially as they're more expensive to use prestige on.
OR = {
highest_held_title_tier >= tier_duchy
# But don't block this out entirely within duchies.
liege.highest_held_title_tier = tier_duchy
}
# Could you take the interaction?
root = {
is_character_interaction_valid = {
interaction = diarch_shift_privileges_interaction
recipient = scope:char_temp
}
}
}As written in game/common/scripted_triggers/00_diarchy_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls action_shift_privileges_suitable_char_trigger.
Important actions (1)
- Steal Gold from Fellow Vassals as …
Source: game/common/scripted_triggers/00_diarchy_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.