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

Scripted trigger

diarch_coup_attempt_grabbable_capital_and_duchies_trigger

diarch_coup_attempt_grabbable_capital_and_duchies_trigger = { TARGET = … }

game/common/scripted_triggers/00_diarchy_scripted_triggers.txt, line 823 (11 lines). Parameters: $TARGET$.

diarch_coup_attempt_grabbable_capital_and_duchies_trigger is a scripted trigger in Crusader Kings III, written at line 823 of its file. A call passes 1 parameter: TARGET. The game's script calls it in 2 places, among them Attempt to Overthrow Liege (decision) and diarch_coup_attempt_take_titles_effect (local effect). Patch 1.20.1.2, from game/common/scripted_triggers/00_diarchy_scripted_triggers.txt.

What it checks

  • Is not the Head of Faith
  • is_landless_type_title = no
  • One of these

    • All of these

      • Title tier exactly County
      • this.duchy = $TARGET$.primary_title.title_capital_county.duchy
    • or

      this = $TARGET$.primary_title.title_capital_county.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 (11 lines of game script)
diarch_coup_attempt_grabbable_capital_and_duchies_trigger = {
	is_head_of_faith = no
	is_landless_type_title = no
	OR = {
		AND = {
			tier = tier_county
			this.duchy = $TARGET$.primary_title.title_capital_county.duchy
		}
		this = $TARGET$.primary_title.title_capital_county.duchy
	}
}

As written in game/common/scripted_triggers/00_diarchy_scripted_triggers.txt.

Where it is used

Every place in common/, events/ and history/ that calls diarch_coup_attempt_grabbable_capital_and_duchies_trigger.

Scripted effects inside an event file (1)

  • diarch_coup_attempt_take_titles_effect

Source: game/common/scripted_triggers/00_diarchy_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?