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_race_pulse_effect

tournament_race_pulse_effect = { CONTEST = … }

game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt, line 1373 (34 lines). Parameters: $CONTEST$.

tournament_race_pulse_effect is a scripted effect in Crusader Kings III, in the Tours and Tournaments files, written at line 1373 of its file. A call passes 1 parameter: CONTEST. The game's script calls it in 1 place, among them Grand Tournament (activity). Patch 1.20.1.2, from game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt.

The comment above it in the file

Fire race events with correct spacing

What it does

  • scope:activity:
    • Every guest subset current phase:
      • name = qualified
      • trigger_event = { on_action = contest_ongoing_event_$CONTEST$_random_pulse }
      • trigger_event = { on_action = contest_ongoing_event_$CONTEST$_pivotal_pulse }
    • Every attending character:
      • Where:
        • One of these

          • is_in_guest_subset = { name = qualified }
          • or

            Is played by a person
      • tournament_pivotal_contestant_scope_effect = yes
      • trigger_event = { on_action = contest_ongoing_event_$CONTEST$_outcome_pulse }

• 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 (34 lines of game script)
tournament_race_pulse_effect = {
	scope:activity = {
		every_guest_subset_current_phase = {
			name = qualified
			limit = { exists = var:progress_to_victory }
			trigger_event = {
				on_action = contest_ongoing_event_$CONTEST$_random_pulse
				days = 7
			}
			trigger_event = {
				on_action = contest_ongoing_event_$CONTEST$_random_pulse
				days = 14
			}
			trigger_event = {
				on_action = contest_ongoing_event_$CONTEST$_pivotal_pulse
				days = 21
			}
		}
		every_attending_character = {
			limit = {
				OR = {
					is_in_guest_subset = { name = qualified }
					is_ai = no
				}
			}
			# If competing yourself, it is from your perspective, otherwise find someone relevant
		    tournament_pivotal_contestant_scope_effect = yes
			trigger_event = {
				on_action = contest_ongoing_event_$CONTEST$_outcome_pulse
				days = 25
			}
		}
	}
}

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_race_pulse_effect.

Activities (1)

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?