Scripted trigger
rite_forbids_the_secular_flesh_trigger
rite_forbids_the_secular_flesh_trigger = { CHARACTER = … }game/common/scripted_triggers/00_religious_triggers.txt, line 2767 (63 lines). Parameters: $CHARACTER$.
rite_forbids_the_secular_flesh_trigger is a scripted trigger in Crusader Kings III, written at line 2767 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 1 place, among them Mental Break: Wanton Desires (event stress_threshold.1011). Patch 1.20.1.2, from game/common/scripted_triggers/00_religious_triggers.txt.
The comment above it in the file
Check how your rite views YOUR horny activities
What it checks
One of these
All of these
trait_is_virtue_rite = chaste$CHARACTER$.rite = { … }
or
All of these
trait_is_sin_rite = lustful$CHARACTER$.rite = { … }
or
or
or
• 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 (63 lines of game script)
rite_forbids_the_secular_flesh_trigger = {
OR = {
AND = {
trait_is_virtue_rite = chaste
$CHARACTER$.rite = { NOT = { trait_is_virtue_rite = chaste } }
}
AND = {
trait_is_sin_rite = lustful
$CHARACTER$.rite = { NOT = { trait_is_sin_rite = lustful } }
}
#you are a gay person... and their take on the gays is crueler than yours
trigger_if = {
limit = {
$CHARACTER$ = {
OR = {
has_sexuality = homosexual
has_sexuality = bisexual
}
rite = { NOT = { rite_has_parameter = homosexuality_illegal } }
}
}
OR = {
rite_has_parameter = homosexuality_illegal
AND = {
rite_has_parameter = homosexuality_shunned
$CHARACTER$.rite = { rite_has_parameter = homosexuality_accepted }
}
}
}
#You are female and female adultery is a hard no
trigger_if = {
limit = {
$CHARACTER$ = {
is_female = yes
rite = { NOT = { rite_has_parameter = adultery_female_crime } }
}
}
OR = {
rite_has_parameter = adultery_female_crime
AND = {
rite_has_parameter = adultery_female_shunned
$CHARACTER$.rite = { rite_has_parameter = adultery_female_accepted }
}
}
}
#You are male and male adultery is a hard no
trigger_if = {
limit = {
$CHARACTER$ = {
is_male = yes
rite = { NOT = { rite_has_parameter = adultery_male_crime } }
}
}
OR = {
rite_has_parameter = adultery_male_crime
AND = {
rite_has_parameter = adultery_male_shunned
$CHARACTER$.rite = { rite_has_parameter = adultery_male_accepted }
}
}
}
}
}As written in game/common/scripted_triggers/00_religious_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls rite_forbids_the_secular_flesh_trigger.
Events (1)
- Mental Break: Wanton Desires
stress_threshold.1011
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.