Scripted trigger
desirable_for_capture_trigger
desirable_for_capture_trigger = yesgame/common/scripted_triggers/00_war_and_peace_triggers.txt, line 967 (15 lines). No parameters.
desirable_for_capture_trigger is a scripted trigger in Crusader Kings III, written at line 967 of its file. It takes no parameters: desirable_for_capture_trigger = yes (or no). The game's script calls it in 2 places, among them raiding.0013 (event) and siege.0001 (event). Patch 1.20.1.2, from game/common/scripted_triggers/00_war_and_peace_triggers.txt.
What it checks
One of these
is_playable_character = yesor
Any parent:always = yes
or
Any spouse:is_playable_character = yes
or
Any close family member:is_playable_character = yes
or
Diplomacy at least 18or
Martial at least 18or
Stewardship at least 18or
Intrigue at least 18or
Learning at least 18or
Has the Trait: Novice Physicianor
Has the Trait: Wise Man
• 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 (15 lines of game script)
desirable_for_capture_trigger = {
OR = {
is_playable_character = yes
any_parent = { always = yes }
any_spouse = { is_playable_character = yes }
any_close_family_member = { is_playable_character = yes }
diplomacy >= very_high_skill_rating
martial >= very_high_skill_rating
stewardship >= very_high_skill_rating
intrigue >= very_high_skill_rating
learning >= very_high_skill_rating
has_trait = lifestyle_physician
has_trait = lifestyle_mystic
}
}As written in game/common/scripted_triggers/00_war_and_peace_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls desirable_for_capture_trigger.
Events (2)
Source: game/common/scripted_triggers/00_war_and_peace_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.