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

Scripted effect · Silk and Silver files

save_attacker_exiled_courtier_scope_effect

save_attacker_exiled_courtier_scope_effect = yes

game/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_effects.txt, line 2657 (25 lines). No parameters.

save_attacker_exiled_courtier_scope_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 2657 of its file. It takes no parameters: save_attacker_exiled_courtier_scope_effect = yes. The game's script calls it in 1 place, among them Reinstate Aligned Ruler (casus belli). Patch 1.21.0, from game/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_effects.txt.

The comment above it in the file

Wars

What it does

Every line of it is script with no tooltip text: the script is below.

The script as written (25 lines of game script)
save_attacker_exiled_courtier_scope_effect = {
	scope:attacker = {
		random_courtier = { 
			limit = {
				trigger_if = {
					limit = { 
						scope:attacker = { is_guelph_trigger = yes }
					}
					exists = var:displaced_guelph_ruler
				}
				trigger_if = {
					limit = { 
						scope:attacker = { is_ghibelline_trigger = yes }
					}
					exists = var:displaced_ghibelline_ruler
				}
				exists = var:displaced_gg_primary_title
				save_temporary_scope_as = courtier_check
				scope:defender.var:primary_gg_displacement_title ?= scope:courtier_check.var:displaced_gg_primary_title
				save_temporary_scope_as = exiled_courtier_check
			}
			save_scope_as = exiled_courtier
		}	
	}
}

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

Where it is used

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

Source: game/common/scripted_effects/00_gdp_guelph_ghibelline_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.

Spotted a mistake on this page, or have an idea for the site?