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

Scripted effect

inform_player_of_relevant_countermeasure_activated_effect

inform_player_of_relevant_countermeasure_activated_effect = { COUNTERMEASURE = … }

game/common/scripted_effects/00_scheme_scripted_effects.txt, line 16490 (16 lines). Parameters: $COUNTERMEASURE$.

inform_player_of_relevant_countermeasure_activated_effect is a scripted effect in Crusader Kings III, written at line 16490 of its file. A call passes 1 parameter: COUNTERMEASURE. The game's script calls it in 23 places, among them arbitrary_arrests_t1 (scheme), arbitrary_arrests_t2 (scheme) and arbitrary_arrests_t3 (scheme). Patch 1.20.1.2, from game/common/scripted_effects/00_scheme_scripted_effects.txt.

What it does

Every line of it is script with no tooltip text: the script is below.

The script as written (16 lines of game script)
inform_player_of_relevant_countermeasure_activated_effect = {
	every_player = {
		limit = {
			any_scheme = {
				scheme_target_character ?= root
				has_variable = apply_countermeasures
			}
		}
		send_interface_message = {
			type = msg_countermeasure_change
			title = countermeasures.t.target_changes
			desc = countermeasures.desc.$COUNTERMEASURE$
			right_icon = root
		}
	}
}

As written in game/common/scripted_effects/00_scheme_scripted_effects.txt.

Where it is used

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

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_effects/00_scheme_scripted_effects.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?