Scripted effect
bookmark_867_northmen_aellas_capture_war_imprisonment_effect
bookmark_867_northmen_aellas_capture_war_imprisonment_effect = yesgame/common/scripted_effects/00_bookmark_effects.txt, line 5 (23 lines). No parameters.
bookmark_867_northmen_aellas_capture_war_imprisonment_effect is a scripted effect in Crusader Kings III, written at line 5 of its file. It takes no parameters: bookmark_867_northmen_aellas_capture_war_imprisonment_effect = yes. The game's script calls it in 1 place, among them Offer of Peace (interaction). Patch 1.20.1.2, from game/common/scripted_effects/00_bookmark_effects.txt.
What it does
If
- scope:defender_loser: Is played by the AI
NOT = { is_target_in_global_variable_list = { name = triggered_bookmark_events target = flag:bookmark_867_northmen_aellas_capture } }NOT = { character:163103 = { is_imprisoned = yes } }
Then
scope:attacker_winner:imprison = { target = scope:defender_loser type = dungeon }
• 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 (23 lines of game script)
bookmark_867_northmen_aellas_capture_war_imprisonment_effect = {
if = {
limit = {
scope:defender_loser = {
this = character:163103 #Aella
is_ai = yes
}
NOR = {
is_target_in_global_variable_list = {
name = triggered_bookmark_events
target = flag:bookmark_867_northmen_aellas_capture
}
character:163103 = { is_imprisoned = yes }
}
}
scope:attacker_winner = {
imprison = {
target = scope:defender_loser
type = dungeon
}
}
}
}As written in game/common/scripted_effects/00_bookmark_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls bookmark_867_northmen_aellas_capture_war_imprisonment_effect.
Character interactions (1)
Source: game/common/scripted_effects/00_bookmark_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.