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

Scripted effect · Roads to Power files

successful_seize_realm_opinion_effect

successful_seize_realm_opinion_effect = { PLOTTER = … VICTIM = … }

game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt, line 2210 (43 lines). Parameters: $PLOTTER$, $VICTIM$.

successful_seize_realm_opinion_effect is a scripted effect in Crusader Kings III, in the Roads to Power files, written at line 2210 of its file. A call passes 2 parameters: PLOTTER and VICTIM. The game's script calls it in 1 place, among them seize_realm_scheme_success_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.

What it does

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

The script as written (43 lines of game script)
successful_seize_realm_opinion_effect = {
	$VICTIM$ = {
		if = {
			limit = { is_alive = yes }
			add_opinion = {
				target = $PLOTTER$
				modifier = seized_my_realm_crime
			}
			set_relation_rival = {
				target = scope:owner
				reason = rival_seized_realm_reason
			}
		}
		every_spouse = {
			limit = {
				NOR = {
					this = $PLOTTER$
					is_spouse_of = $PLOTTER$
					is_close_family_of = $PLOTTER$
				}
			}
			add_to_temporary_list = close_family_seize_realm_opinion_list
		}
		every_close_family_member = {
			limit = {
				NOR = {
					this = $PLOTTER$
					is_spouse_of = $PLOTTER$
					is_close_family_of = $PLOTTER$
				}
			}
			add_to_temporary_list = close_family_seize_realm_opinion_list
		}
		every_in_list = {
			list = close_family_seize_realm_opinion_list
			custom = all_close_family_and_spouses
			add_opinion = {
				target = $PLOTTER$
				modifier = seized_close_family_realm_crime
			}
		}
	}
}

As written in game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.

Where it is used

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

Source: game/common/scripted_effects/07_dlc_ep3_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?