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

play_arrival_music_effect

play_arrival_music_effect = { WELCOME_LEVEL = … }

game/common/scripted_effects/04_dlc_ep2_tour_effects.txt, line 775 (35 lines). Parameters: $WELCOME_LEVEL$.

play_arrival_music_effect is a scripted effect in Crusader Kings III, in the Tours and Tournaments files, written at line 775 of its file. A call passes 1 parameter: WELCOME_LEVEL. The game's script calls it in 4 places, among them Cultural Festival in … (event cultural_festival.2000), Settling in for Dinner (event host_dinner_events.3000) and Touring the Grounds of … (event tour_grounds_events.3001). Patch 1.20.1.2, from game/common/scripted_effects/04_dlc_ep2_tour_effects.txt.

What it does

Every line of it is script with no tooltip text: the script is below.

The script as written (35 lines of game script)
play_arrival_music_effect = {
	if = {
		limit = {
			involved_activity.activity_location.culture = { has_graphical_india_culture_group_trigger = yes }
		}
		play_sound_effect = "event:/DLC/EP2/SFX/Events/Grand_Activities/Tours/ep2_event_grand_tour_set_india"
	}
	else_if = {
		limit = {
			involved_activity.activity_location.culture = { has_graphical_mena_culture_group_trigger = yes }
		}
		play_sound_effect = "event:/DLC/EP2/SFX/Events/Grand_Activities/Tours/ep2_event_grand_tour_set_mena"
	}
	else = {
		play_sound_effect = "event:/DLC/EP2/SFX/Events/Grand_Activities/Tours/ep2_event_grand_tour_set_west"
	}
	if = {
		limit = {
			$WELCOME_LEVEL$ = welcome
		}
		play_sound_effect = "event:/DLC/EP2/SFX/Events/Grand_Activities/Tours/ep2_event_grand_tour_arrival_welcome"
	}
	else_if = {
		limit = {
			$WELCOME_LEVEL$ = neutral
		}
		play_sound_effect = "event:/DLC/EP2/SFX/Events/Grand_Activities/Tours/ep2_event_grand_tour_arrival_neutral"
	}
	else_if = {
		limit = {
			$WELCOME_LEVEL$ = suspicious
		}
		play_sound_effect = "event:/DLC/EP2/SFX/Events/Grand_Activities/Tours/ep2_event_grand_tour_arrival_suspicious"
	}
}

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

Where it is used

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

Events (4)

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