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)
- Abduct: Highway Attack
abduct_outcome.2001 - Abduct: Highway Attack
abduct_outcome.4001 - Abduct: Highway Attack
abduct_outcome.4002 - Abduct: Highway Attack
abduct_outcome.4003 - Abduct: Under Way
abduct_outcome.2002 - Abduct: Unwelcome Guests
abduct_outcome.2003
15 more
- befriend_outcome.0001
- Fabricate Hook: A Compromising Situation
fabricate_hook_outcome.1001 - Fabricate Hook: A Daring Rescue
fabricate_hook_outcome.1003 - Fabricate Hook: A Secret
fabricate_hook_outcome.0001 - Fabricate Hook: An Incriminating Missive
fabricate_hook_outcome.1002 - Fabricate Hook: Barbaric but Effective
fabricate_hook_outcome.1005 - Fabricate Hook: Foul Words
fabricate_hook_outcome.1004 - Fabricate Hook: Losing the Upper Hand
fabricate_hook_outcome.3001 - Romance: Intruder
court_outcome.1101 - Romance: Intruder
court_outcome.1102 - Romance: Intruder
court_outcome.1103 - Romance: The Wild Hunt
court_outcome.1001 - Romance: The Wild Hunt
court_outcome.1002 - Romance: The Wild Hunt
court_outcome.1005 - seduce_outcome.0002
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
Scripted effects (1)
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.