Scripted trigger · The Northern Lords files
suitable_shieldmaiden_gaoler_trigger
suitable_shieldmaiden_gaoler_trigger = yesgame/common/scripted_triggers/01_fp1_scripted_triggers.txt, line 171 (20 lines). No parameters.
suitable_shieldmaiden_gaoler_trigger is a scripted trigger in Crusader Kings III, in the The Northern Lords files, written at line 171 of its file. It takes no parameters: suitable_shieldmaiden_gaoler_trigger = yes (or no). The game's script calls it in 2 places, among them … Blocks Escape (event fp1_shieldmaiden.0011) and prison.9000 (event). Patch 1.20.1.2, from game/common/scripted_triggers/01_fp1_scripted_triggers.txt.
What it checks
- Has the Trait: Shieldmaiden
NOT = { has_friendly_relationship_trigger = { CHARACTER = root } }NOT = { has_relation_rival = scope:imprisoner }- Opinion of them less than 60
- Opinion of imprisoner more than -60
• 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 (20 lines of game script)
suitable_shieldmaiden_gaoler_trigger = {
#Must be a shieldmaiden.
has_trait = shieldmaiden
NOR = {
#Filter out prisoners that the shieldmaiden would want to see freed.
has_friendly_relationship_trigger = { CHARACTER = root }
#And require that they don't hate their liege.
has_relation_rival = scope:imprisoner
#Make sure they don't really like root, in which case they'd let the escape slide.
opinion = {
target = root
value >= high_positive_opinion
}
#Aaaaand the inverse for actually really hating their host, in which case they don't care about escapees.
opinion = {
target = scope:imprisoner
value <= high_negative_opinion
}
}
}As written in game/common/scripted_triggers/01_fp1_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls suitable_shieldmaiden_gaoler_trigger.
Events (2)
- … Blocks Escape
fp1_shieldmaiden.0011 - prison.9000
Source: game/common/scripted_triggers/01_fp1_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.