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

Scripted trigger · Tours and Tournaments files

can_unlock_accolade_attribute_trigger

can_unlock_accolade_attribute_trigger = { ATTRIBUTE = … }

game/common/scripted_triggers/04_ep2_accolade_triggers.txt, line 1300 (17 lines). Parameters: $ATTRIBUTE$.

can_unlock_accolade_attribute_trigger is a scripted trigger in Crusader Kings III, in the Tours and Tournaments files, written at line 1300 of its file. A call passes 1 parameter: ATTRIBUTE. The game's script calls it in 18 places, among them Negotiate Release (interaction), Coronation (activity) and Feast (activity). Patch 1.20.1.2, from game/common/scripted_triggers/04_ep2_accolade_triggers.txt.

What it checks

  • One of these

    • can_be_acclaimed = yes
    • or

      accolade ?= { accolade_can_have_more_attributes = yes }
  • If

    • $ATTRIBUTE$_attribute_trigger = yes

    Then

    • Never

    Otherwise

    • Does not have “$ATTRIBUTE$ attribute unlock” (a variable the game's script sets)

• 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 (17 lines of game script)
can_unlock_accolade_attribute_trigger = {
	OR = {
		can_be_acclaimed = yes
		accolade ?= {
			accolade_can_have_more_attributes = yes
		}
	}
	trigger_if = {
		limit = {
			$ATTRIBUTE$_attribute_trigger = yes
		}
		always = no
	}
	trigger_else = {
		NOT = { has_variable = $ATTRIBUTE$_attribute_unlock }
	}
}

As written in game/common/scripted_triggers/04_ep2_accolade_triggers.txt.

Where it is used

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

Character interactions (1)

On actions (the game's own hooks) (8)

  • abduct_succeeded
  • claim_throne_succeeded
  • murder_success_pre_filter_on_action
  • on_combat_end_loser
  • seduce_success
  • steal_back_artifact_success
2 more
  • steal_herd_success
  • travel_danger_events_on_action

Source: game/common/scripted_triggers/04_ep2_accolade_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?