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_revoke_title_interaction_intermediary_fail_opinions_effect

diarch_revoke_title_interaction_intermediary_fail_opinions_effect = yes

game/common/scripted_effects/00_diarchy_scripted_effects.txt, line 308 (30 lines). No parameters.

diarch_revoke_title_interaction_intermediary_fail_opinions_effect is a scripted effect in Crusader Kings III, written at line 308 of its file. It takes no parameters: diarch_revoke_title_interaction_intermediary_fail_opinions_effect = yes. The game's script calls it in 3 places, among them … Revoke Title (interaction), Request Re-Appointment (interaction) and char_interaction.0291 (event). Patch 1.20.1.2, from game/common/scripted_effects/00_diarchy_scripted_effects.txt.

What it does

  • scope:actor › If played by the AI: Opinion: Disappointed (-20)
  • scope:recipient › If played by the AI:
    • Opinion: Protected Me (+20)
    • Opinion: Revoked My Title

• 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 (30 lines of game script)
diarch_revoke_title_interaction_intermediary_fail_opinions_effect = {
	# Scope:actor dislikes scope:intermediary.
	scope:actor = {
		if = {
			limit = { is_ai = yes }
			add_opinion = {
				target = scope:intermediary
				modifier = disappointed_opinion
				opinion = -20
			}
		}
	}
	# Scope:recipient has mixed feelings.
	scope:recipient = {
		# Specifically, they're now happy with scope:intermediary...
		if = {
			limit = { is_ai = yes }
			add_opinion = {
				target = scope:intermediary
				modifier = protected_me_opinion
				opinion = 20
			}
			# ... but upset with scope:actor.
			add_opinion = {
				target = scope:actor
				modifier = revoked_title
			}
		}
	}
}

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_revoke_title_interaction_intermediary_fail_opinions_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?