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

Scripted trigger · The Fate of Iberia files

fp2_struggle_compromise_transfer_duchy_trigger

fp2_struggle_compromise_transfer_duchy_trigger = yes

game/common/scripted_triggers/03_fp2_scripted_triggers.txt, line 457 (21 lines). No parameters.

fp2_struggle_compromise_transfer_duchy_trigger is a scripted trigger in Crusader Kings III, in the The Fate of Iberia files, written at line 457 of its file. It takes no parameters: fp2_struggle_compromise_transfer_duchy_trigger = yes (or no). The game's script calls it in 1 place, among them fp2_struggle_compromise_transfer_duchies_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/03_fp2_scripted_triggers.txt.

What it checks

  • Title tier exactly Duchy
  • title_capital_county.holder.top_liege = { completely_controls = scope:transfer_duchy }
  • If

    a check the game hides

    Then

    • kingdom != scope:transfer_duchy.title_capital_county.holder.top_liege.capital_county.kingdom

    Otherwise

    • title_capital_county.holder.top_liege.primary_title.tier >= tier_kingdom
  • Any de jure county › Any title to title neighboring and across water county:
    • kingdom.holder = scope:transfer_duchy.title_capital_county.holder.top_liege

• 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 (21 lines of game script)
fp2_struggle_compromise_transfer_duchy_trigger = {
	tier = tier_duchy
	save_temporary_scope_as = transfer_duchy 
	# Duchy is completely controlled by its capital's holder's top_liege
	exists = title_capital_county.holder.top_liege
	title_capital_county.holder.top_liege = { completely_controls = scope:transfer_duchy }
	# De jure liege does not control duchy
	trigger_if = {
		limit = { exists = kingdom.holder }
		kingdom != scope:transfer_duchy.title_capital_county.holder.top_liege.capital_county.kingdom
	}
	# Is controlled by a kingdom tier
	trigger_else = { title_capital_county.holder.top_liege.primary_title.tier >= tier_kingdom }
	# Duchy is connected de_jure to holders kingdom
	any_de_jure_county = {
		any_title_to_title_neighboring_and_across_water_county = {
			exists = kingdom.holder
			kingdom.holder = scope:transfer_duchy.title_capital_county.holder.top_liege
		}
	}
}

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

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.

Spotted a mistake on this page?