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

Scripted effect · All Under Heaven files

set_movement_leader_and_power_effect

set_movement_leader_and_power_effect = yes

game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt, line 412 (21 lines). No parameters.

set_movement_leader_and_power_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 412 of its file. It takes no parameters: set_movement_leader_and_power_effect = yes. The game's script calls it in 1 place, among them The Dynastic Cycle (situation). Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt.

The comment above it in the file

root = scope:character
requires a scope:situation_participant_group to be saved beforehand
ran on game start through the dynastic cycle script and on character joining a movement

What it does

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

The script as written (21 lines of game script)
set_movement_leader_and_power_effect = {
	save_scope_as = char
	bring_disciples_to_movement_effect = yes
	scope:situation_participant_group = {
		# set root as leader if leader doesn't exist yet
		if = {
			limit = {
				NOT = { exists = var:movement_leader }
			}
			set_variable = {
				name = movement_leader
				value = scope:char
			}
		}
		# update movement power
		set_variable = {
			name = movement_power
			value = movement_power_value
		}
	}
}

As written in game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt.

Where it is used

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

Situations (1)

Source: game/common/scripted_effects/10_dlc_tgp_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?