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

Scripted trigger

is_struggle_parameter_active_variable_cb_target_secondary_county_trigger

is_struggle_parameter_active_variable_cb_target_secondary_county_trigger = { PARAMETER = … }

game/common/scripted_triggers/00_generic_struggle_scripted_triggers.txt, line 340 (10 lines). Parameters: $PARAMETER$.

is_struggle_parameter_active_variable_cb_target_secondary_county_trigger is a scripted trigger in Crusader Kings III, written at line 340 of its file. A call passes 1 parameter: PARAMETER. The game's script calls it in 3 places, among them common_cb_cost_multiplier (script value), common_cb_piety_cost_multiplier (script value) and common_cb_prestige_cost_multiplier (script value). Patch 1.20.1.2, from game/common/scripted_triggers/00_generic_struggle_scripted_triggers.txt.

What it checks

  • has_struggle_phase_parameter = $PARAMETER$
  • In list (at least 1):
    • Title tier exactly County
    • Any county struggle:

• 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 (10 lines of game script)
is_struggle_parameter_active_variable_cb_target_secondary_county_trigger = {
	has_struggle_phase_parameter = $PARAMETER$
	save_temporary_scope_as = struggle_temp
	any_in_list = {
		list = target_titles
		count >= 1
		tier = tier_county
		any_county_struggle = { this = scope:struggle_temp }
	}
}

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

Where it is used

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

Script values (3)

  • common_cb_cost_multiplier
  • common_cb_piety_cost_multiplier
  • common_cb_prestige_cost_multiplier

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