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

Scripted effect · The Royal Court files

hold_court_queue_next_event_effect

hold_court_queue_next_event_effect = yes

game/common/scripted_effects/00_ep1_hold_court_effects.txt, line 1559 (25 lines). No parameters.

hold_court_queue_next_event_effect is a scripted effect in Crusader Kings III, in the The Royal Court files, written at line 1559 of its file. It takes no parameters: hold_court_queue_next_event_effect = yes. The game's script calls it in 77 places, among them … Out of Control (event hold_court.5010), … Who Makes a Beast Out of …... (event hold_court.4600) and A … for … (event hold_court.8060). Patch 1.20.1.2, from game/common/scripted_effects/00_ep1_hold_court_effects.txt.

What it does

  • If num petitioners at least 1:
    • trigger_event = { on_action = hold_court_event_selection }

• 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 (25 lines of game script)
hold_court_queue_next_event_effect = {
	# Sort the widget for next time.
	change_variable = {
		name = petitioner_current_progress
		add = 1
	}
	# Update the widget.
	save_scope_value_as = {
		name = event_chain_progress
		value = var:petitioner_current_progress
	}
	# Trigger the next event along.
	if = {
		limit = { var:num_petitioners >= 1 }
		# Reduce the tracking variable by one.
		change_variable = {
			name = num_petitioners
			add = -1
		}
		# Then, trigger an event.
		trigger_event = { on_action = hold_court_event_selection }
	}
	# Or else remove the empty variable.
	else = { remove_variable = num_petitioners }
}

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

Where it is used

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

Events (77)

71 more

Source: game/common/scripted_effects/00_ep1_hold_court_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?