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

Scripted effect

add_to_entourage_but_not_court_effect

add_to_entourage_but_not_court_effect = { CHAR_TO_ADD = … NEW_COURT_OWNER = … }

game/common/scripted_effects/00_activity_effects.txt, line 4593 (22 lines). Parameters: $CHAR_TO_ADD$, $NEW_COURT_OWNER$.

add_to_entourage_but_not_court_effect is a scripted effect in Crusader Kings III, written at line 4593 of its file. A call passes 2 parameters: CHAR_TO_ADD and NEW_COURT_OWNER. No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_effects/00_activity_effects.txt.

What it does

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

The script as written (22 lines of game script)
add_to_entourage_but_not_court_effect = {
	#If the character is a pool character
	$NEW_COURT_OWNER$ = {
		if = {
			limit = {
				exists = capital_province
				$CHAR_TO_ADD$ = { is_pool_character = yes }
			}
			current_travel_plan ?= { add_companion = $CHAR_TO_ADD$ }
			$CHAR_TO_ADD$ = {
				hidden_effect = { move_to_pool_at = $NEW_COURT_OWNER$.capital_province }
			}
		}
		#If the character is NOT a pool character
		else = {
			if = {
				limit = { $CHAR_TO_ADD$ = { NOT = { exists = current_travel_plan } } }
				current_travel_plan ?= { add_companion = $CHAR_TO_ADD$ }
			}
		}
	}
}

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

Where it is used

No file of common/, events/ or history/ calls it.

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