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_complete_win_contest_intent_effect

tournament_complete_win_contest_intent_effect = yes

game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt, line 7552 (24 lines). No parameters.

tournament_complete_win_contest_intent_effect is a scripted effect in Crusader Kings III, in the Tours and Tournaments files, written at line 7552 of its file. It takes no parameters: tournament_complete_win_contest_intent_effect = yes. The game's script calls it in 4 places, among them tournament_contest_race_winner_effect (scripted effect), tournament_contest_team_winner_effect (scripted effect) and tournament_contest_turn_winner_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/04_dlc_ep2_tournament_effects.txt.

What it does

  • If

    • has_activity_intent = win_contest_intent
    • NOT = { has_completed_activity_intent = win_contest_intent }

    Then

    • complete_activity_intent = yes
    • If

      • None of these

        • Their activity:
          • has_current_phase = tournament_phase_melee

      Then

      • Stress and fulfillment impact: -30

      Otherwise

      • Stress and fulfillment impact: -15

• 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 (24 lines of game script)
tournament_complete_win_contest_intent_effect = {
	if = {
		limit = {
			has_activity_intent = win_contest_intent
			NOT = { has_completed_activity_intent = win_contest_intent }
		}
		send_interface_toast = {
			title = activity_intent_complete_toast
			left_icon = this
			complete_activity_intent = yes
			if = {
				limit = {
					NOT = {
						involved_activity = { has_current_phase = tournament_phase_melee }
					}
				}
				stress_and_fulfillment_impact = { base = medium_stress_impact_loss }
			}
			else = {
				stress_and_fulfillment_impact = { base = minor_stress_impact_loss }
			}
		}
	}
}

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

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?