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

Scripted trigger

has_useful_potential_spouse_claim_trigger

has_useful_potential_spouse_claim_trigger = { RULER = … }

game/common/scripted_triggers/00_courtier_guest_management_triggers.txt, line 653 (14 lines). Parameters: $RULER$.

has_useful_potential_spouse_claim_trigger is a scripted trigger in Crusader Kings III, written at line 653 of its file. A call passes 1 parameter: RULER. The game's script calls it in 1 place, among them courtier_guest_management_1001_exceptional_marriage_candidate_trigger (local trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_courtier_guest_management_triggers.txt.

What it checks

  • Any claim:
    • pressed = yes
    • None of these

      • Their holder:
        • One of these

          • this = $RULER$
          • or

            target_is_liege_or_above = $RULER$

• 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 (14 lines of game script)
has_useful_potential_spouse_claim_trigger = {
	any_claim = {
		pressed = yes
		exists = holder
		NOT = {
			holder = {
				OR = {
					this = $RULER$
					target_is_liege_or_above = $RULER$
				}
			}
		}
	}
}

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

Where it is used

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

Scripted triggers inside an event file (1)

  • courtier_guest_management_1001_exceptional_marriage_candidate_trigger

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