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

Scripted effect

purge_ai_scheme_slots_effect

purge_ai_scheme_slots_effect = yes

game/common/scripted_effects/00_scheme_scripted_effects.txt, line 16832 (18 lines). No parameters.

purge_ai_scheme_slots_effect is a scripted effect in Crusader Kings III, written at line 16832 of its file. It takes no parameters: purge_ai_scheme_slots_effect = yes. The game's script calls it in 17 places, among them Abduct (scheme), Boundary Dispute (scheme) and Challenge Status (scheme). Patch 1.20.1.2, from game/common/scripted_effects/00_scheme_scripted_effects.txt.

What it does

  • scope:scheme:
    • If

      • Any scheme agent slot:
        • is_filled = no

      Then

      • Every scheme agent slot:
        • Where:
          • is_filled = no
        • prev:
          • remove_agent_slot = scope:slot_purge

• 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 (18 lines of game script)
purge_ai_scheme_slots_effect = {
	scope:scheme = {
		if = {
			limit = {
				any_scheme_agent_slot = {
					is_filled = no
				}
			}
			every_scheme_agent_slot = {
				limit = {
					is_filled = no
				}
				save_scope_as = slot_purge
				prev = { remove_agent_slot = scope:slot_purge }
			}
		}
	}
}

As written in game/common/scripted_effects/00_scheme_scripted_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls purge_ai_scheme_slots_effect.

Schemes (17)

  • Abduct
  • Boundary Dispute
  • Challenge Status
  • Claim Throne
  • Coerce Contribution
  • Coerce Tributary
11 more
  • Depose
  • Disbelieve Mandala
  • Elevate Governorship
  • Expand Power Base
  • Leverage Contribution
  • Murder
  • Overthrow Regent
  • Promote
  • Raid Estate
  • Steal Artifact
  • Subsume Governorship

Source: game/common/scripted_effects/00_scheme_scripted_effects.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?