Scripted trigger · The Fate of Iberia files
fp2_struggle_ending_compromise_split_duchy_trigger
fp2_struggle_ending_compromise_split_duchy_trigger = yesgame/common/scripted_triggers/03_fp2_scripted_triggers.txt, line 320 (19 lines). No parameters.
fp2_struggle_ending_compromise_split_duchy_trigger is a scripted trigger in Crusader Kings III, in the The Fate of Iberia files, written at line 320 of its file. It takes no parameters: fp2_struggle_ending_compromise_split_duchy_trigger = yes (or no). The game's script calls it in 1 place, among them fp2_struggle_compromise_duchies_to_kingdoms_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/03_fp2_scripted_triggers.txt.
The comment above it in the file
Checks duchy should be split from de jure kingdom
What it checks
- Title tier exactly Duchy
title_capital_county != de_jure_liege.title_capital_countyIf
a check the game hides
Then
- Direct de jure vassal title (at least 50%):
holder.top_liege = scope:duchy.de_jure_liege.holder.top_liege
Otherwise
- Never
- Direct de jure vassal title (at least 50%):
• 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 (19 lines of game script)
fp2_struggle_ending_compromise_split_duchy_trigger = {
tier = tier_duchy
# Has not been tampered with already
NOT = { is_in_list = duchy_kingdom }
# Is not created
NOT = { exists = holder }
# Is not heartland of an existing kingdom
title_capital_county != de_jure_liege.title_capital_county
save_temporary_scope_as = duchy
# Less than half is owned by de jure kingdom, if created
trigger_if = {
limit = { exists = scope:duchy.de_jure_liege.holder }
any_direct_de_jure_vassal_title = {
percent < 0.5
holder.top_liege = scope:duchy.de_jure_liege.holder.top_liege
}
}
trigger_else = { always = no }
}As written in game/common/scripted_triggers/03_fp2_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls fp2_struggle_ending_compromise_split_duchy_trigger.
Scripted effects (1)
Source: game/common/scripted_triggers/03_fp2_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.