CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted trigger

desirable_for_capture_trigger

desirable_for_capture_trigger = yes

game/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

• 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.

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.

Spotted a mistake on this page?