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

advance_place_in_ranking_effect

advance_place_in_ranking_effect = { NEW_LEADING_CHAR = … NEW_TRAILING_CHAR = … }

game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt, line 6598 (16 lines). Parameters: $NEW_LEADING_CHAR$, $NEW_TRAILING_CHAR$.

advance_place_in_ranking_effect is a scripted effect in Crusader Kings III, in the Roads to Power files, written at line 6598 of its file. A call passes 2 parameters: NEW_LEADING_CHAR and NEW_TRAILING_CHAR. The game's script calls it in 3 places, among them apa_celebrating_unexpected_overtake (activity pulse), apa_thunderous_applause (activity pulse) and chariot_race_on_action (on action). 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 (16 lines of game script)
advance_place_in_ranking_effect = {
	$NEW_LEADING_CHAR$ = { save_scope_as = char_advanced }
	$NEW_TRAILING_CHAR$ = { save_scope_as = char_passed }
	scope:char_advanced = {
		change_variable = {
			name = chariot_race_victory_score
			add = {
				value = scope:char_passed.var:chariot_race_victory_score
				subtract = scope:char_advanced.var:chariot_race_victory_score
				add = 1
			}
		}

	}
	scope:activity = { update_chariot_race_standings_effect = yes }
}

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

Activity pulse actions (2)

  • apa_celebrating_unexpected_overtake
  • apa_thunderous_applause

On actions (the game's own hooks) (1)

  • chariot_race_on_action

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?