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

Scripted effect

petition_liege_0101_councillor_scope_second_effect

petition_liege_0101_councillor_scope_second_effect = { JOB_TAKER = … LIEGE = … ROLE = … }

game/common/scripted_effects/00_petition_liege_effects.txt, line 21 (12 lines). Parameters: $JOB_TAKER$, $LIEGE$, $ROLE$.

petition_liege_0101_councillor_scope_second_effect is a scripted effect in Crusader Kings III, written at line 21 of its file. A call passes 3 parameters: JOB_TAKER, LIEGE and ROLE. The game's script calls it in 1 place, among them petition_liege_save_council_seat_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_petition_liege_effects.txt.

The comment above it in the file

Save 2nd most fitting council seat incumbent

What it does

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

The script as written (12 lines of game script)
petition_liege_0101_councillor_scope_second_effect = {
	if = {
		limit = { exists = $LIEGE$.cp:councillor_$ROLE$ }
		$LIEGE$.cp:councillor_$ROLE$ = { save_scope_as = second_councillor }
	}
	$JOB_TAKER$ = {
		set_variable = {
			name = petition_liege_council_second
			value = flag:$ROLE$
		}
	}
}

As written in game/common/scripted_effects/00_petition_liege_effects.txt.

Where it is used

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

Source: game/common/scripted_effects/00_petition_liege_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?