Scripted trigger · Roads to Power files
ep3_subsume_province_duchy_trigger
ep3_subsume_province_duchy_trigger = { OWNER = … TARGET = … }game/common/scripted_triggers/07_ep3_triggers.txt, line 1259 (25 lines). Parameters: $OWNER$, $TARGET$.
ep3_subsume_province_duchy_trigger is a scripted trigger in Crusader Kings III, in the Roads to Power files, written at line 1259 of its file. A call passes 2 parameters: OWNER and TARGET. The game's script calls it in 1 place, among them Subsume Governorship (scheme). Its body carries 2 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/07_ep3_triggers.txt.
What it checks
- Title tier exactly Duchy
holder ?= $TARGET$- The … is not a Noble Family Title
is_landless_type_title = no- If title tier exactly Duchy:
• 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 (25 lines of game script)
ep3_subsume_province_duchy_trigger = {
tier = tier_duchy
holder ?= $TARGET$
is_noble_family_title = no
is_landless_type_title = no
trigger_if = {
limit = { tier = tier_duchy }
custom_tooltip = {
text = subsume_province_must_neighbor_tt
any_de_jure_county = {
county_held_or_vassal_to_target_trigger = { TARGET = $TARGET$ }
any_neighboring_county = {
county_held_or_vassal_to_target_trigger = { TARGET = $OWNER$ }
}
}
}
custom_tooltip = {
text = subsume_province_more_than_half_tt
any_de_jure_county = {
percent < 0.5
county_held_or_vassal_to_target_trigger = { TARGET = $OWNER$ }
}
}
}
}As written in game/common/scripted_triggers/07_ep3_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls ep3_subsume_province_duchy_trigger.
Schemes (1)
- Subsume Governorship
Source: game/common/scripted_triggers/07_ep3_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.