Scripted effect
give_coup_plotter_secret_effect
give_coup_plotter_secret_effect = { TARGET = … }game/common/scripted_effects/00_secret_effects.txt, line 591 (22 lines). Parameters: $TARGET$.
give_coup_plotter_secret_effect is a scripted effect in Crusader Kings III, written at line 591 of its file. A call passes 1 parameter: TARGET. The game's script calls it in 1 place, among them Grand Ambitions (event grand_ambitions.0001). Patch 1.20.1.2, from game/common/scripted_effects/00_secret_effects.txt.
What it does
If
None of these
- Any secret:
secret_target = $TARGET$
- Any secret:
Then
add_secret = { type = secret_coup_plotter target = $TARGET$ }
• 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 (22 lines of game script)
give_coup_plotter_secret_effect = {
if = {
limit = {
NOT = {
any_secret = {
type = secret_coup_plotter
secret_target = $TARGET$
}
}
}
add_secret = {
type = secret_coup_plotter
target = $TARGET$
}
random_secret = {
type = secret_coup_plotter
limit = {
secret_target = $TARGET$
}
}
}
}As written in game/common/scripted_effects/00_secret_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls give_coup_plotter_secret_effect.
Events (1)
- Grand Ambitions
grand_ambitions.0001
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.