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

Scripted effect · Tours and Tournaments files

tournament_contest_knocked_out_effect

tournament_contest_knocked_out_effect = { CHARACTER = … }

game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt, line 7012 (16 lines). Parameters: $CHARACTER$.

tournament_contest_knocked_out_effect is a scripted effect in Crusader Kings III, in the Tours and Tournaments files, written at line 7012 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 4 places, among them A Mess of Legs (event jason_first_race_event.1), …: Bad Day (event contest_events.4501) and …: The Oafish Jockey (event contest_events.3010). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt.

The comment above it in the file

Knock qualified contestant out of a contest

What it does

  • scope:withdrawer › Their activity:
    • remove_from_guest_subset = { name = qualified target = scope:withdrawer }
  • They is knocked out of the … Contest

• 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 (16 lines of game script)
tournament_contest_knocked_out_effect = {
	$CHARACTER$ = { save_scope_as = withdrawer }
	scope:withdrawer = {
		remove_variable = contest_aptitude
		involved_activity = {
			remove_from_guest_subset = {
				name = qualified
				target = scope:withdrawer
			}
		}
	}
	custom_description = {
		text = tournament_contest_knocked_tt
		subject = scope:withdrawer
	}
}

As written in game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt.

Where it is used

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

Events (4)

Source: game/common/scripted_effects/04_dlc_ep2_tournament_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?