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_puppeteer_of_scheme_outcome_effect

notify_puppeteer_of_scheme_outcome_effect = { OWNER = … TARGET = … TITLE = … TYPE = … }

game/common/scripted_effects/00_scheme_scripted_effects.txt, line 241 (19 lines). Parameters: $OWNER$, $TARGET$, $TITLE$, $TYPE$.

notify_puppeteer_of_scheme_outcome_effect is a scripted effect in Crusader Kings III, written at line 241 of its file. A call passes 4 parameters: OWNER, TARGET, TITLE and TYPE. The game's script calls it in 30 places, among them Abduct: Highway Attack (event abduct_outcome.2001), Abduct: Highway Attack (event abduct_outcome.4001) and Abduct: Highway Attack (event abduct_outcome.4002). Patch 1.20.1.2, from game/common/scripted_effects/00_scheme_scripted_effects.txt.

What it does

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

The script as written (19 lines of game script)
notify_puppeteer_of_scheme_outcome_effect = {
	if = {
		limit = {
			exists = scope:scheme
			scope:scheme = { exists = var:commanding_puppeteer }
			scope:scheme.var:commanding_puppeteer = { is_alive = yes }
		}
		$OWNER$ ?= { save_scope_as = scheme_outcome_puppet }
		$TARGET$ ?= { save_scope_as = scheme_outcome_target }
		scope:scheme.var:commanding_puppeteer = {
			send_interface_toast = {
				type = $TYPE$
				title = $TITLE$
				left_icon = scope:scheme_outcome_puppet
				right_icon = scope:scheme_outcome_target
			}
		}
	}
}

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

Where it is used

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

Events (21)

15 more

On actions (the game's own hooks) (8)

  • learn_language_failure
  • learn_language_success
  • steal_back_artifact_failure
  • steal_back_artifact_success
  • study_faith_failure
  • study_faith_success
2 more
  • sway_failure
  • sway_success

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