Scripted trigger · The Fate of Iberia files
fp2_struggle_ending_compromise_titular_trigger
fp2_struggle_ending_compromise_titular_trigger = yesgame/common/scripted_triggers/03_fp2_scripted_triggers.txt, line 341 (24 lines). No parameters.
fp2_struggle_ending_compromise_titular_trigger is a scripted trigger in Crusader Kings III, in the The Fate of Iberia files, written at line 341 of its file. It takes no parameters: fp2_struggle_ending_compromise_titular_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 titular duchy should be made into de jure kingdom
What it checks
- Their holder:
- Is an Independent Ruler
- Their primary title:
is_mercenary_company = no- Title tier exactly Duchy
- Hispania › Any in de jure hierarchy:
- Title tier exactly Duchy
- Direct de jure vassal title (at least 50%):
holder.top_liege = scope:special_duchy.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 (24 lines of game script)
fp2_struggle_ending_compromise_titular_trigger = {
# Has not been tampered with already
NOT = { is_in_list = duchy_kingdom }
# Is created
exists = holder
# Is ruled by an independent duke
holder = {
top_liege = this
primary_title = {
is_mercenary_company = no
tier = tier_duchy
}
}
# Titular duke holds at least half of any de jure duchy of Hispania
title:e_spain = {
any_in_de_jure_hierarchy = {
tier = tier_duchy
any_direct_de_jure_vassal_title = {
percent >= 0.5
holder.top_liege = scope:special_duchy.holder
}
}
}
}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_titular_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.