CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted trigger · Khans of the Steppe files

has_raid_intent_protection

has_raid_intent_protection = yes

game/common/scripted_triggers/mpo_scripted_triggers.txt, line 1569 (11 lines). No parameters.

has_raid_intent_protection is a scripted trigger in Crusader Kings III, in the Khans of the Steppe files, written at line 1569 of its file. It takes no parameters: has_raid_intent_protection = 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_1

• 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_protection = {
	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_1
			}
		}
	}
}

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_protection.

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.

Spotted a mistake on this page?