Scripted trigger · The Fate of Iberia files
fp2_lyonese_monk_0002_valid_court_trigger
fp2_lyonese_monk_0002_valid_court_trigger = yesgame/common/scripted_triggers/03_fp2_scripted_triggers.txt, line 631 (19 lines). No parameters.
fp2_lyonese_monk_0002_valid_court_trigger is a scripted trigger in Crusader Kings III, in the The Fate of Iberia files, written at line 631 of its file. It takes no parameters: fp2_lyonese_monk_0002_valid_court_trigger = yes (or no). The game's script calls it in 2 places, among them fp2_lyonese_monk.0002 (event) and yearly_global_pulse (on action). Patch 1.20.1.2, from game/common/scripted_triggers/03_fp2_scripted_triggers.txt.
What it checks
fp2_lyonese_monk_0002_papal_hof_trigger = yesis_physically_able = yesfp2_lyonese_monk_0002_valid_character_configuration_trigger = yes- Their government is not a Theocratic-type Government
- Their government is not unplayable
- No held title:
• 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 (19 lines of game script)
fp2_lyonese_monk_0002_valid_court_trigger = {
# Must have the Pope as a HoF.
fp2_lyonese_monk_0002_papal_hof_trigger = yes
# Filter out anyone not able to be at home when the monk comes a'knockin'.
is_physically_able = yes
# Must be into bookish discussions.
## Narratively, this is what attracts them to your court.
## Mechanically, this is how players can opt in for the chain so it's not completely random.
fp2_lyonese_monk_0002_valid_character_configuration_trigger = yes
# Remove non-playables.
NOR = {
government_has_flag = government_is_theocracy
government_has_flag = government_is_republic
}
# Plus, for various reasons, we don't want Lyon _itself_.
NOT = {
any_held_title = { this = title:c_lyon }
}
}As written in game/common/scripted_triggers/03_fp2_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls fp2_lyonese_monk_0002_valid_court_trigger.
Events (1)
On actions (the game's own hooks) (1)
- yearly_global_pulse
Source: game/common/scripted_triggers/03_fp2_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.