Scripted trigger · The Fate of Iberia files
fp2_lyonese_monk_0000_out_of_realm_trigger
fp2_lyonese_monk_0000_out_of_realm_trigger = yesgame/common/scripted_triggers/03_fp2_scripted_triggers.txt, line 658 (22 lines). No parameters.
fp2_lyonese_monk_0000_out_of_realm_trigger is a scripted trigger in Crusader Kings III, in the The Fate of Iberia files, written at line 658 of its file. It takes no parameters: fp2_lyonese_monk_0000_out_of_realm_trigger = yes (or no). The game's script calls it in 3 places, among them fp2_lyonese_monk_events_cycle (on action), fp2_lyonese_monk_events_cycle_no_valid_events_fallback (on action) and fp2_lyonese_monk_0000_valid_for_events_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/03_fp2_scripted_triggers.txt.
What it checks
scope:acolyte:One of these
is_alive = noor
Is imprisonedor
All of these
is_landed_or_landless_administrative_or_theocratic = noNone of these
host = scope:acolyte_host- scope:acolyte_host: Is not imprisoned
or
All of these
is_landed_or_landless_administrative_or_theocratic = yesNone of these
- Any liege or above:
this = scope:acolyte_host
- Any liege or above:
• 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 (22 lines of game script)
fp2_lyonese_monk_0000_out_of_realm_trigger = {
scope:acolyte = {
OR = {
is_alive = no
is_imprisoned = yes
AND = {
is_landed_or_landless_administrative_or_theocratic = no
NOT = {
host = scope:acolyte_host
# Make an exception if you're in prison, since that should give a different event.
scope:acolyte_host = { is_imprisoned = no }
}
}
AND = {
is_landed_or_landless_administrative_or_theocratic = yes
NOT = {
any_liege_or_above = { this = scope:acolyte_host }
}
}
}
}
}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_0000_out_of_realm_trigger.
On actions (the game's own hooks) (2)
- fp2_lyonese_monk_events_cycle
- fp2_lyonese_monk_events_cycle_no_valid_events_fallback
Scripted triggers (1)
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.