CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted effect · Roads to Power files

chariot_racers_setup_effect

chariot_racers_setup_effect = { TEAM = … }

game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt, line 4302 (27 lines). Parameters: $TEAM$.

chariot_racers_setup_effect is a scripted effect in Crusader Kings III, in the Roads to Power files, written at line 4302 of its file. A call passes 1 parameter: TEAM. The game's script calls it in 1 place, among them gather_charioteers_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.

What it does

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

The script as written (27 lines of game script)
chariot_racers_setup_effect = { # If you need to create additional racers
	while = {
		count = 5
		limit = {
			available_charioteers_spots_trigger = { TEAM = $TEAM$ }
		}
		create_character = {
			template = charioteer_template
			employer = scope:activity.activity_host
			save_scope_as = temp_charioteer
		}
		scope:temp_charioteer = {
			add_trait = charioteer_$TEAM$
			add_trait_xp = {
				trait = charioteer_$TEAM$
				value = { 5 50 }
			}
			add_to_activity = scope:activity
		}
		scope:activity = {
			add_to_guest_subset = {
				name = charioteers
				target = scope:temp_charioteer
			}
		}
	}
}

As written in game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.

Where it is used

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

Scripted effects (1)

Source: game/common/scripted_effects/07_dlc_ep3_scripted_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?