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_versus_new_qualifier_effect

tournament_versus_new_qualifier_effect = { SUBSET = … }

game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt, line 3153 (33 lines). Parameters: $SUBSET$.

tournament_versus_new_qualifier_effect is a scripted effect in Crusader Kings III, in the Tours and Tournaments files, written at line 3153 of its file. A call passes 1 parameter: SUBSET. No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt.

The comment above it in the file

Used to add new qualifiers to correct versus subset

What it does

  • Depending on has current phase:
    • When has current phase is Duel:
      • add_to_guest_subset = { name = $SUBSET$ phase = tournament_phase_duel target = scope:new_qualifier }
    • When has current phase is Wrestling:
      • add_to_guest_subset = { name = $SUBSET$ phase = tournament_phase_wrestling target = scope:new_qualifier }
    • When has current phase is Board Game:
      • add_to_guest_subset = { name = $SUBSET$ phase = tournament_phase_board_game target = scope:new_qualifier }
    • When has current phase is Joust:
      • add_to_guest_subset = { name = $SUBSET$ phase = tournament_phase_joust target = scope:new_qualifier }

• 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 (33 lines of game script)
tournament_versus_new_qualifier_effect = {
	switch = {
		trigger = has_current_phase
		tournament_phase_duel = {
			add_to_guest_subset = {
				name = $SUBSET$
				phase = tournament_phase_duel
				target = scope:new_qualifier
			}
		}
		tournament_phase_wrestling = {
			add_to_guest_subset = {
				name = $SUBSET$
				phase = tournament_phase_wrestling
				target = scope:new_qualifier
			}
		}
		tournament_phase_board_game = {
			add_to_guest_subset = {
				name = $SUBSET$
				phase = tournament_phase_board_game
				target = scope:new_qualifier
			}
		}
		tournament_phase_joust = {
			add_to_guest_subset = {
				name = $SUBSET$
				phase = tournament_phase_joust
				target = scope:new_qualifier
			}
		}
	}
}

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

Where it is used

No file of common/, events/ or history/ calls it.

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?