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

Scripted effect

on_white_peace_request_revolt_war

on_white_peace_request_revolt_war = yes

game/common/scripted_effects/00_war_effects.txt, line 1250 (20 lines). No parameters.

on_white_peace_request_revolt_war is a scripted effect in Crusader Kings III, written at line 1250 of its file. It takes no parameters: on_white_peace_request_revolt_war = yes. The game's script calls it in 2 places, among them Japan refused ritsuryo (casus belli) and Rebellion (casus belli). Patch 1.20.1.2, from game/common/scripted_effects/00_war_effects.txt.

The comment above it in the file

Add revoke reason to all attackers if they white peace on request war.

What it does

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

The script as written (20 lines of game script)
on_white_peace_request_revolt_war = {
	war = {
		every_war_attacker = {
			limit = {
				exists = liege
				any_liege_or_above = { this = scope:defender }
			}
			scope:defender = {
				add_opinion = {
					target = prev
					modifier = vassal_wp_faction_revolt_war
				}
			}
			if = {
				limit = { liege = scope:defender }
				add_faction_cooldown_effect = { YEARS = faction_war_white_peace_cooldown }
			}
		}
	}
}

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

Where it is used

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

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