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

Scripted effect

notify_players_about_unity_change_effect

notify_players_about_unity_change_effect = { CHARACTER = … DESC = … TARGET = … }

game/common/scripted_effects/00_unity_effects.txt, line 205 (24 lines). Parameters: $CHARACTER$, $DESC$, $TARGET$.

notify_players_about_unity_change_effect is a scripted effect in Crusader Kings III, written at line 205 of its file. A call passes 3 parameters: CHARACTER, DESC and TARGET. The game's script calls it in 1 place, among them apply_clan_unity_interaction_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_unity_effects.txt.

What it does

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

The script as written (24 lines of game script)
notify_players_about_unity_change_effect = {
	# Notify human players if they are not involved!
 	$CHARACTER$.house = {
 		every_house_member = {
			limit = {
				is_ai = no
				NOT = { this = $CHARACTER$ }
				NOT = { this = $TARGET$ }
			}
			$CHARACTER$ = { save_scope_as = actor }

			send_interface_message = {
				type = event_generic_neutral_text
				title = unity_changed_title
				desc = {
					desc = unity_changed_desc
					desc = $DESC$
				}
				left_icon = $CHARACTER$
				right_icon = $TARGET$
			}
		}
	}
}

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

Where it is used

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

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