Scripted trigger
relation_with_character_is_sodomy_in_my_or_lieges_rite_trigger
relation_with_character_is_sodomy_in_my_or_lieges_rite_trigger = { CHARACTER = … }game/common/scripted_triggers/00_religious_triggers.txt, line 359 (18 lines). Parameters: $CHARACTER$.
relation_with_character_is_sodomy_in_my_or_lieges_rite_trigger is a scripted trigger in Crusader Kings III, written at line 359 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 18 places, among them Romance (scheme), Seduce (scheme) and … Betrayal (event adultery.4001). Patch 1.20.1.2, from game/common/scripted_triggers/00_religious_triggers.txt.
What it checks
One of these
All of these
- Their rite:
save_temporary_scope_as = check_rite
relation_with_character_is_sodomy_in_rite_trigger = { CHARACTER = $CHARACTER$ RITE = scope:check_rite }
- Their rite:
or
All of these
- Their liege › Their rite:
save_temporary_scope_as = check_rite
relation_with_character_is_sodomy_in_rite_trigger = { CHARACTER = $CHARACTER$ RITE = scope:check_rite }
- Their liege › Their rite:
• 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 (18 lines of game script)
relation_with_character_is_sodomy_in_my_or_lieges_rite_trigger = {
OR = {
AND = {
rite = { #My rite doesn't approve
save_temporary_scope_as = check_rite
}
relation_with_character_is_sodomy_in_rite_trigger = { CHARACTER = $CHARACTER$ RITE = scope:check_rite }
}
AND = { #Liege's rite doesn't approve
liege ?= {
rite = {
save_temporary_scope_as = check_rite
}
}
relation_with_character_is_sodomy_in_rite_trigger = { CHARACTER = $CHARACTER$ RITE = scope:check_rite }
}
}
}As written in game/common/scripted_triggers/00_religious_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls relation_with_character_is_sodomy_in_my_or_lieges_rite_trigger.
Schemes (2)
- Romance
- Seduce
Events (9)
- … Betrayal
adultery.4001 - A Dangerous Game
seduce_outcome.4004 - court_ongoing.0512
- Exposed
seduce_outcome.4003 - Inspiration: Up Late
fund_inspiration.2120 - My Beloved …
seduce_outcome.2308
3 more
- My Beloved …
seduce_outcome.3308 - Romance: Declaration Of Love
court_ongoing.0502 - Romance: Declaration Of Love
court_ongoing.0503
On actions (the game's own hooks) (1)
- pay_homage_start
Scripted effects (4)
Scripted triggers (2)
Source: game/common/scripted_triggers/00_religious_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.