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_blocked_from_being_fired_from_council_trigger

is_blocked_from_being_fired_from_council_trigger = { COURT_OWNER = … }

game/common/scripted_triggers/00_councillor_triggers.txt, line 415 (15 lines). Parameters: $COURT_OWNER$.

is_blocked_from_being_fired_from_council_trigger is a scripted trigger in Crusader Kings III, written at line 415 of its file. A call passes 1 parameter: COURT_OWNER. The game's script calls it in 9 places, among them Ask for Council Position (interaction), Council Invitation (interaction) and Demand Council Position (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/00_councillor_triggers.txt.

What it checks

  • They cannot be fired from … Council

• 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 (15 lines of game script)
is_blocked_from_being_fired_from_council_trigger = {
	custom_description = {
		text = "is_blocked_from_being_fired_from_council"
		subject = this
		object = $COURT_OWNER$

		OR = {
			# Check in code if the court owner is prevented from firing the councilor
			# can_fire_position must take a council task as input, but checks the councilor behind the task.
			council_task ?= { can_fire_position = no }
			# Check for variable preventing the firing of a councilor set by script
			var:block_fire_councillor ?= $COURT_OWNER$
		}
	}
}

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

Where it is used

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

Events (1)

Scripted triggers inside an event file (1)

  • bp1_yearly_8180_block_trigger

Scripted rules (1)

  • can_fire_councillor

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