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

Scripted effect

diarch_coup_preamble_effects_effect

diarch_coup_preamble_effects_effect = yes

game/common/scripted_effects/00_diarchy_scripted_effects.txt, line 187 (32 lines). No parameters.

diarch_coup_preamble_effects_effect is a scripted effect in Crusader Kings III, written at line 187 of its file. It takes no parameters: diarch_coup_preamble_effects_effect = yes. The game's script calls it in 2 places, among them Attempt to Overthrow Liege (decision) and diarchy.9032 (event). Patch 1.20.1.2, from game/common/scripted_effects/00_diarchy_scripted_effects.txt.

What it does

  • If

    • is_allied_to = scope:liege

    Then

  • Stress and fulfillment impact: +80, and by trait: Disloyal -30, Ambitious -15, Arrogant -15, Callous -5, Arbitrary -5, Just +20, Humble +40, Content +40, Loyal +80

• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists

“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.

The script as written (32 lines of game script)
diarch_coup_preamble_effects_effect = {
	# Note that we don't want a list when it comes to the coup event.
	save_scope_value_as = {
		name = disable_display_rightful_imprisonment_tooltip
		value = yes
	}
	# If there's an alliance, it's pretty decisively broken.
	if = {
		limit = { is_allied_to = scope:liege }
		break_alliance_due_to_attack_effect = { TARGET = scope:liege }
	}
	# And don't forget stress!
	stress_and_fulfillment_impact = {
		base = major_stress_impact_gain
		disloyal = medium_stress_impact_loss
		ambitious = minor_stress_impact_loss
		arrogant = minor_stress_impact_loss
		callous = miniscule_stress_impact_loss
		arbitrary = miniscule_stress_impact_loss
		just = minor_stress_impact_gain
		humble = medium_stress_impact_gain
		content = medium_stress_impact_gain
		loyal = major_stress_impact_gain
	}
	# Register that the AI shouldn't try to coup liege again for a *while*.
	scope:liege = {
		add_character_flag = {
			flag = immune_ai_coups
			years = 50
		}
	}
}

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

Where it is used

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

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