Scripted trigger · Roads to Power files
hasan_camp_in_foes_realm_trigger
hasan_camp_in_foes_realm_trigger = yesgame/common/scripted_triggers/07_ep3_triggers.txt, line 1641 (53 lines). No parameters.
hasan_camp_in_foes_realm_trigger is a scripted trigger in Crusader Kings III, in the Roads to Power files, written at line 1641 of its file. It takes no parameters: hasan_camp_in_foes_realm_trigger = yes (or no). The game's script calls it in 4 places, among them Agitate the Local Populace (decision), Begin the Revolution (decision) and Expand the Assassins (decision). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/07_ep3_triggers.txt.
What it checks
- If any owned story: Their Camp has to be in … Realm
- Otherwise:
character:3096 = { save_temporary_scope_as = caliph }- Any owned story:
If
a check the game hides
Then
save_temporary_scope_value_as = { name = radical_points value = var:radical_points }
Otherwise
save_temporary_scope_value_as = { name = radical_points value = 0 }
- Have to progress on the Assassins' path at least 15 times or … is dead, and you have chosen an ultimate enemy of the ⟨faith⟩ (current progress: radical points)
• 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 (53 lines of game script)
hasan_camp_in_foes_realm_trigger = {
trigger_if = {
limit = {
any_owned_story = {
var:ultimate_foe ?= {
save_temporary_scope_as = ultimate_foe
}
}
}
custom_description = {
text = hasan_stroy_cycle_camp_at_foe_realm
object = scope:ultimate_foe
domicile.domicile_location.county.holder = {
OR = {
any_liege_or_above = {
this = scope:ultimate_foe
}
this = scope:ultimate_foe
}
}
}
}
trigger_else = {
character:3096 = {
save_temporary_scope_as = caliph
}
save_temporary_scope_as = hasan
any_owned_story = {
trigger_if = {
limit = { exists = var:radical_points }
save_temporary_scope_value_as = {
name = radical_points
value = var:radical_points
}
}
trigger_else = {
save_temporary_scope_value_as = {
name = radical_points
value = 0
}
}
}
custom_tooltip = {
text = hasan_stroy_cycle_ultimate_foe
any_owned_story = {
story_type = story_hasan
exists = var:ultimate_foe
exists = var:radical_points
var:radical_points >= 15
}
}
}
}As written in game/common/scripted_triggers/07_ep3_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls hasan_camp_in_foes_realm_trigger.
Source: game/common/scripted_triggers/07_ep3_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.