Scripted trigger · Khans of the Steppe files
has_raid_intent_immunity
has_raid_intent_immunity = yesgame/common/scripted_triggers/mpo_scripted_triggers.txt, line 1581 (11 lines). No parameters.
has_raid_intent_immunity is a scripted trigger in Crusader Kings III, in the Khans of the Steppe files, written at line 1581 of its file. It takes no parameters: has_raid_intent_immunity = yes (or no). The game's script calls it in 2 places, among them raiding.0013 (event) and raiding.0040 (event). Patch 1.20.1.2, from game/common/scripted_triggers/mpo_scripted_triggers.txt.
What it checks
- scope:county.duchy › Any in de jure hierarchy:
- Title tier exactly County
holder.top_liege = scope:county.holder.top_liege- Any county province:
has_building_with_flag = raid_protection_2
• 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 (11 lines of game script)
has_raid_intent_immunity = {
scope:county.duchy = {
any_in_de_jure_hierarchy = {
tier = tier_county
holder.top_liege = scope:county.holder.top_liege
any_county_province = {
has_building_with_flag = raid_protection_2
}
}
}
}As written in game/common/scripted_triggers/mpo_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls has_raid_intent_immunity.
Events (2)
Source: game/common/scripted_triggers/mpo_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.