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_team_pulse_effect

tournament_team_pulse_effect = { CONTEST = … }

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

tournament_team_pulse_effect is a scripted effect in Crusader Kings III, in the Tours and Tournaments files, written at line 584 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 contest events with correct spacing

What it does

  • scope:activity:
    • Every guest subset current phase:
      • Where: Is played by a person
      • name = qualified
      • trigger_event = { on_action = contest_ongoing_event_$CONTEST$_setup_pulse }
      • If played by a person:
        • trigger_event = { on_action = contest_ongoing_event_$CONTEST$_random_pulse }
        • trigger_event = { on_action = contest_ongoing_event_$CONTEST$_pivotal_pulse }
      • Otherwise:
        • trigger_event = { on_action = contest_ongoing_event_$CONTEST$_ai_pulse }
    • Every attending character:
      • Where:
        • One of these

          • is_in_guest_subset = { name = qualified }
          • or

            Is played by a person
      • 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 (48 lines of game script)
tournament_team_pulse_effect = {
	scope:activity = {
		every_guest_subset_current_phase = {
			name = qualified
			limit = {
				exists = var:progress_to_victory
				is_ai = no
			}
			trigger_event = {
				on_action = contest_ongoing_event_$CONTEST$_setup_pulse
				days = 1
			}
			if = {
				limit = { is_ai = no }
				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
				}
			}
			else = {
				trigger_event = {
					on_action = contest_ongoing_event_$CONTEST$_ai_pulse
					days = { 7 21 }
				}
			}
		}
		every_attending_character = {
			limit = {
				OR = {
					is_in_guest_subset = { name = qualified }
					is_ai = no
				}
			}
			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_team_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?