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

Scripted trigger

can_set_own_countermeasures_trigger

can_set_own_countermeasures_trigger = yes

game/common/scripted_triggers/00_scheme_triggers.txt, line 815 (12 lines). No parameters.

can_set_own_countermeasures_trigger is a scripted trigger in Crusader Kings III, written at line 815 of its file. It takes no parameters: can_set_own_countermeasures_trigger = yes (or no). The game's script calls it in 23 places, among them arbitrary_arrests_t1 (scheme), arbitrary_arrests_t2 (scheme) and arbitrary_arrests_t3 (scheme). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/00_scheme_triggers.txt.

The comment above it in the file

Can a character adopt defensive measures against hostile schemes?

What it checks

• 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 (12 lines of game script)
can_set_own_countermeasures_trigger = {
	custom_tooltip = {
		OR = {
			# You can only set them for your home court.
			host = prev
			# And then we use this in here so we can valid
			## ... valid what, Ewan? _What can we valid_? You never finished your sentence and now we will never know.
			is_ruler = no
		}
		text = can_set_own_countermeasures_trigger.tt
	}
}

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

Where it is used

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

Schemes (23)

  • arbitrary_arrests_t1
  • arbitrary_arrests_t2
  • arbitrary_arrests_t3
  • arbitrary_arrests_t4
  • bounties_for_whispers_t1
  • bounties_for_whispers_t2
17 more
  • bounties_for_whispers_t3
  • bounties_for_whispers_t4
  • bribe_officials_t1
  • bribe_officials_t2
  • bribe_officials_t3
  • redouble_guards_t1
  • redouble_guards_t2
  • redouble_guards_t3
  • redouble_guards_t4
  • strengthen_sentries_t1
  • strengthen_sentries_t2
  • strengthen_sentries_t3
  • strengthen_sentries_t4
  • withdraw_from_view_t1
  • withdraw_from_view_t2
  • withdraw_from_view_t3
  • withdraw_from_view_t4

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