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

disburse_chariot_race_activity_charioteer_rewards

disburse_chariot_race_activity_charioteer_rewards = yes

game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt, line 5714 (47 lines). No parameters.

disburse_chariot_race_activity_charioteer_rewards is a scripted effect in Crusader Kings III, in the Roads to Power files, written at line 5714 of its file. It takes no parameters: disburse_chariot_race_activity_charioteer_rewards = yes. The game's script calls it in 1 place, among them Chariot Race (activity). Patch 1.20.1.2, from game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.

What it does

• 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 (47 lines of game script)
disburse_chariot_race_activity_charioteer_rewards = {
	# Give them some xp based on place finished
	if = {
		limit = { this = scope:activity.var:first_place }
		scope:activity = {
			add_activity_log_entry = {
				key = charioteer_gained_trait_xp_key
				score = 110
				character = scope:activity.var:first_place
				scope:activity.var:first_place = {
					distribute_charioteer_trait_xp_effect = { VALUE = 15 } }
			}
		}
	}
	else_if = {
		limit = { this = scope:activity.var:second_place }
		scope:activity = {
			add_activity_log_entry = {
				key = charioteer_gained_trait_xp_key
				score = 110
				character = scope:activity.var:second_place
				scope:activity.var:second_place = { distribute_charioteer_trait_xp_effect = { VALUE = 12 } }
			}
		}
	}
	else_if = {
		limit = { this = scope:activity.var:third_place }
		scope:activity = {
			add_activity_log_entry = {
				key = charioteer_gained_trait_xp_key
				score = 110
				character = scope:activity.var:third_place
				scope:activity.var:third_place = { distribute_charioteer_trait_xp_effect = { VALUE = 8 } }
			}
		}
	}
	else = {
		scope:activity = {
			add_activity_log_entry = {
				key = charioteer_gained_trait_xp_key
				score = 110
				character = prev
				prev = { distribute_charioteer_trait_xp_effect = { VALUE = 3 } }
			}
		}
	}
}

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

Activities (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?