Scripted trigger · By God Alone files
pam_ec_doctrine_in_christian_scandal_group_trigger
pam_ec_doctrine_in_christian_scandal_group_trigger = yesgame/common/scripted_triggers/pam_scripted_triggers.txt, line 5718 (14 lines). No parameters.
pam_ec_doctrine_in_christian_scandal_group_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 5718 of its file. It takes no parameters: pam_ec_doctrine_in_christian_scandal_group_trigger = yes (or no). The game's script calls it in 2 places, among them ecumenical_council_doctrine_current_christian_offence_value (script value) and ecumenical_council_doctrine_proposed_christian_offence_value (script value). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.
What it checks
- scope:host.faith: Has the Teachings of Jesus Doctrine
One of these
scope:doctrine = doctrine:doctrine_homosexuality_crimeor
scope:doctrine = doctrine:doctrine_homosexuality_shunnedor
scope:doctrine = doctrine:doctrine_homosexuality_acceptedor
scope:doctrine = doctrine:doctrine_adultery_men_crimeor
scope:doctrine = doctrine:doctrine_adultery_men_shunnedor
scope:doctrine = doctrine:doctrine_adultery_men_acceptedor
scope:doctrine = doctrine:doctrine_adultery_women_crimeor
scope:doctrine = doctrine:doctrine_adultery_women_shunnedor
scope:doctrine = doctrine:doctrine_adultery_women_accepted
• 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 (14 lines of game script)
pam_ec_doctrine_in_christian_scandal_group_trigger = {
scope:host.faith ?= { has_doctrine = special_doctrine_is_christian_faith }
OR = {
scope:doctrine = doctrine:doctrine_homosexuality_crime
scope:doctrine = doctrine:doctrine_homosexuality_shunned
scope:doctrine = doctrine:doctrine_homosexuality_accepted
scope:doctrine = doctrine:doctrine_adultery_men_crime
scope:doctrine = doctrine:doctrine_adultery_men_shunned
scope:doctrine = doctrine:doctrine_adultery_men_accepted
scope:doctrine = doctrine:doctrine_adultery_women_crime
scope:doctrine = doctrine:doctrine_adultery_women_shunned
scope:doctrine = doctrine:doctrine_adultery_women_accepted
}
}As written in game/common/scripted_triggers/pam_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_ec_doctrine_in_christian_scandal_group_trigger.
Script values (2)
- ecumenical_council_doctrine_current_christian_offence_value
- ecumenical_council_doctrine_proposed_christian_offence_value
Source: game/common/scripted_triggers/pam_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.