Scripted trigger
struggle_conquest_cb_target_is_ocm_trigger
struggle_conquest_cb_target_is_ocm_trigger = yesgame/common/scripted_triggers/00_generic_struggle_scripted_triggers.txt, line 466 (16 lines). No parameters.
struggle_conquest_cb_target_is_ocm_trigger is a scripted trigger in Crusader Kings III, written at line 466 of its file. It takes no parameters: struggle_conquest_cb_target_is_ocm_trigger = yes (or no). The game's script calls it in 1 place, among them Struggle Clash (casus belli). Patch 1.20.1.2, from game/common/scripted_triggers/00_generic_struggle_scripted_triggers.txt.
The comment above it in the file
Work out whether we need to vassalise someone vs. taking some of their stuff.
What it checks
- Every in list › Their holder:
• 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 (16 lines of game script)
struggle_conquest_cb_target_is_ocm_trigger = {
any_in_list = {
list = target_titles
# Should only ever be one title, but just in case...
count = all
holder = {
any_held_title = {
count = 1
title_tier = county
}
NOT = {
any_vassal = { highest_held_title_tier >= tier_county }
}
}
}
}As written in game/common/scripted_triggers/00_generic_struggle_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls struggle_conquest_cb_target_is_ocm_trigger.
Casus belli (1)
Source: game/common/scripted_triggers/00_generic_struggle_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.