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

Scripted effect

randomize_available_ai_value_compliment_effect

randomize_available_ai_value_compliment_effect = { COMPLIMENT_RECEIVER = … }

game/common/scripted_effects/00_compliment_effects.txt, line 328 (13 lines). Parameters: $COMPLIMENT_RECEIVER$.

randomize_available_ai_value_compliment_effect is a scripted effect in Crusader Kings III, written at line 328 of its file. A call passes 1 parameter: COMPLIMENT_RECEIVER. No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_effects/00_compliment_effects.txt.

The comment above it in the file

Same as randomize_available_compliment_effect but it only uses the 8 ai value compliments. Required argument COMPLIMENT_RECEIVER (not tested)

What it does

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

The script as written (13 lines of game script)
randomize_available_ai_value_compliment_effect = {
	add_character_flag = available_compliment_beautiful
	add_character_flag = available_compliment_strong
	add_character_flag = available_compliment_extroverted
	add_character_flag = available_compliment_dominant

	randomize_available_compliment_effect = { COMPLIMENT_RECEIVER = $COMPLIMENT_RECEIVER$ }

	remove_character_flag = available_compliment_beautiful
	remove_character_flag = available_compliment_strong
	remove_character_flag = available_compliment_extroverted
	remove_character_flag = available_compliment_dominant
}

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

Where it is used

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

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