Scripted effect
secret_exposed_owner_opinion_effects_effect
secret_exposed_owner_opinion_effects_effect = yesgame/common/scripted_effects/00_secret_effects.txt, line 1764 (13 lines). No parameters.
secret_exposed_owner_opinion_effects_effect is a scripted effect in Crusader Kings III, written at line 1764 of its file. It takes no parameters: secret_exposed_owner_opinion_effects_effect = yes. The game's script calls it in 21 places, among them A Forbidden Conviction (event secrets.5001), A Secret Exposed (event secret_bastard.3000) and It is Known (event secret_bastard.2000). Patch 1.20.1.2, from game/common/scripted_effects/00_secret_effects.txt.
What it does
• 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 (13 lines of game script)
secret_exposed_owner_opinion_effects_effect = {
if = {
limit = {
exists = scope:secret_exposer
this != scope:secret_exposer
scope:secret_exposer = { is_alive = yes }
}
add_opinion = {
target = scope:secret_exposer
modifier = exposed_my_secret_opinion
}
}
}As written in game/common/scripted_effects/00_secret_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls secret_exposed_owner_opinion_effects_effect.
Events (18)
- A Forbidden Conviction
secrets.5001 - A Secret Exposed
secret_bastard.3000 - It is Known
secret_bastard.2000 - My Faith Exposed
false_conversion.8000 - My Secret Exposed!
secrets.0001 - My Secret Exposed!
secrets.0003
12 more
- My Secret Exposed!
secrets.0004 - My Secret Exposed!
secrets.0005 - My Secret Exposed!
secrets.0006 - My Secret Exposed!
secrets.0007 - My Secret Exposed!
secrets.0008 - My Secret Exposed!
secrets.0115 - My Secret Exposed!
secrets.0117 - My Secret Exposed!
secrets.0121 - My Secret Exposed!
secrets.0131 - My Secret Exposed!
secrets.0141 - My True Heritage
secret_bastard.3001 - …: As … Made …
contest_events.3030
Scripted effects (1)
Secret types (2)
- Lover
- Murder
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.