Scripted effect
forgive_exposed_embezzler_effect
forgive_exposed_embezzler_effect = { OPINION = … }game/common/scripted_effects/00_secret_effects.txt, line 556 (34 lines). Parameters: $OPINION$.
forgive_exposed_embezzler_effect is a scripted effect in Crusader Kings III, written at line 556 of its file. A call passes 1 parameter: OPINION. The game's script calls it in 1 place, among them Sticky Fingers (event secrets.0122). Patch 1.20.1.2, from game/common/scripted_effects/00_secret_effects.txt.
What it does
scope:embezzler:- Opinion: Grateful
- You:
If
scope:secret:secret_type = secret_embezzler
Then
remove_opinion = { target = scope:embezzler modifier = embezzled_opinion }
Otherwise
remove_opinion = { target = scope:embezzler modifier = siphoned_treasury_crime }
• 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 (34 lines of game script)
forgive_exposed_embezzler_effect = {
# Let 'em know they're off the hook.
scope:embezzler = {
# Very kind of you, old chap.
add_opinion = {
target = root
modifier = grateful_opinion
opinion = $OPINION$
}
send_interface_toast = {
title = secrets.0122.c.tt
left_icon = root
root = {
if = {
limit = {
scope:secret = {
secret_type = secret_embezzler
}
}
remove_opinion = {
target = scope:embezzler
modifier = embezzled_opinion
}
}
else = {
remove_opinion = {
target = scope:embezzler
modifier = siphoned_treasury_crime
}
}
}
}
}
}As written in game/common/scripted_effects/00_secret_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls forgive_exposed_embezzler_effect.
Events (1)
- Sticky Fingers
secrets.0122
Source: game/common/scripted_effects/00_secret_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.