Scripted trigger · Wards and Wardens files
hostage_oath_of_friendship_trigger
hostage_oath_of_friendship_trigger = yesgame/common/scripted_triggers/03_bp2_scripted_triggers.txt, line 60 (22 lines). No parameters.
hostage_oath_of_friendship_trigger is a scripted trigger in Crusader Kings III, in the Wards and Wardens files, written at line 60 of its file. It takes no parameters: hostage_oath_of_friendship_trigger = yes (or no). The game's script calls it in 1 place, among them Negotiate Alliance (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/03_bp2_scripted_triggers.txt.
What it checks
One of these
has_relation_friend = scope:recipientor
has_relation_best_friend = scope:recipient
One of these
- scope:puppet_or_actor › Any memory:
memory_type = hostage_oath_of_friendshiphas_memory_participant = scope:recipient
or
scope:recipient › Any memory:memory_type = hostage_oath_of_friendshiphas_memory_participant = scope:puppet_or_actor
- scope:puppet_or_actor › Any memory:
• 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 (22 lines of game script)
hostage_oath_of_friendship_trigger = {
AND = {
OR = {
has_relation_friend = scope:recipient
has_relation_best_friend = scope:recipient
}
OR = {
scope:puppet_or_actor = {
any_memory = {
memory_type = hostage_oath_of_friendship
has_memory_participant = scope:recipient
}
}
scope:recipient = {
any_memory = {
memory_type = hostage_oath_of_friendship
has_memory_participant = scope:puppet_or_actor
}
}
}
}
}As written in game/common/scripted_triggers/03_bp2_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls hostage_oath_of_friendship_trigger.
Character interactions (1)
Source: game/common/scripted_triggers/03_bp2_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.