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

attempted_coup_ceremonial_liege_opinion_effect

attempted_coup_ceremonial_liege_opinion_effect = { PLOTTER = … VICTIM = … }

game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt, line 3808 (32 lines). Parameters: $PLOTTER$, $VICTIM$.

attempted_coup_ceremonial_liege_opinion_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 3808 of its file. A call passes 2 parameters: PLOTTER and VICTIM. The game's script calls it in 1 place, among them coup_ceremonial_liege_scheme_failure_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt.

What it does

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

The script as written (32 lines of game script)
attempted_coup_ceremonial_liege_opinion_effect = {
	$VICTIM$ = {
		if = {
			limit = { is_alive = yes }
			add_opinion = {
				target = $PLOTTER$
				modifier = attempted_to_seize_my_throne_crime
			}
		}
		every_spouse = {
			limit = { NOT = { this = $PLOTTER$ } }
			add_to_temporary_list = close_family_coup_ceremonial_liege_opinion_list
		}
		every_close_family_member = {
			limit = { NOT = { this = $PLOTTER$ } }
			add_to_temporary_list = close_family_coup_ceremonial_liege_opinion_list
		}
		if = {
			limit = {
				any_in_list = { list = close_family_coup_ceremonial_liege_opinion_list }
			}
			every_in_list = {
				list = close_family_coup_ceremonial_liege_opinion_list
				custom = all_close_family_and_spouses
				add_opinion = {
					target = $PLOTTER$
					modifier = attempted_to_seize_throne_close_family_crime
				}
			}
		}
	}
}

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 attempted_coup_ceremonial_liege_opinion_effect.

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?