Scripted effect
give_incest_secret_or_nothing_with_target_effect
give_incest_secret_or_nothing_with_target_effect = { CHARACTER = … }game/common/scripted_effects/00_secret_effects.txt, line 137 (6 lines). Parameters: $CHARACTER$.
give_incest_secret_or_nothing_with_target_effect is a scripted effect in Crusader Kings III, written at line 137 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 4 places, among them A Sensual Proposal (event seduce_outcome.0003), on_set_relation_lover (on action) and had_sex_with_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_secret_effects.txt.
What it does
If
relation_with_character_is_incestuous_in_my_or_lieges_rite_trigger = { CHARACTER = $CHARACTER$ }
Then
• 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 (6 lines of game script)
give_incest_secret_or_nothing_with_target_effect = { #Should only add secret to one character!
if = {
limit = { relation_with_character_is_incestuous_in_my_or_lieges_rite_trigger = { CHARACTER = $CHARACTER$ } }
give_incest_secret_or_nothing_effect = yes #Checks my and liege's faith
}
}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_incest_secret_or_nothing_with_target_effect.
Events (1)
- A Sensual Proposal
seduce_outcome.0003
On actions (the game's own hooks) (1)
- on_set_relation_lover
Scripted effects (2)
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.