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

Scripted effect · Roads to Power files

ep3_admin_war_aftermath_effect

ep3_admin_war_aftermath_effect = yes

game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt, line 10349 (24 lines). No parameters.

ep3_admin_war_aftermath_effect is a scripted effect in Crusader Kings III, in the Roads to Power files, written at line 10349 of its file. It takes no parameters: ep3_admin_war_aftermath_effect = yes. The game's script calls it in 4 places, among them on_war_invalidated (on action), on_war_white_peace (on action) and on_war_won_attacker (on action). Patch 1.20.1.2, from game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.

What it does

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

The script as written (24 lines of game script)
ep3_admin_war_aftermath_effect = {
	scope:war = {
		if = {
			limit = {
				any_war_participant = {
					is_landed = yes
					government_has_mechanic = administrative
				}
			}
			every_war_participant = {
				limit = {
					is_landed = yes
					government_has_mechanic = administrative
				}
				primary_title = {
					set_variable = {
						name = admin_war_aftermath_var
						years = 5
					}
				}
			}
		}
	}
}

As written in game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.

Where it is used

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

On actions (the game's own hooks) (4)

  • on_war_invalidated
  • on_war_white_peace
  • on_war_won_attacker
  • on_war_won_defender

Source: game/common/scripted_effects/07_dlc_ep3_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?