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

Scripted effect

add_truce_GHW_attacker_victory_effect

add_truce_GHW_attacker_victory_effect = yes

game/common/scripted_effects/00_war_effects.txt, line 2288 (14 lines). No parameters.

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

The comment above it in the file

Add GHW truces on attacker victory.

What it does

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

The script as written (14 lines of game script)
add_truce_GHW_attacker_victory_effect = {
	hidden_effect = {
		scope:attacker.faith.great_holy_war = {
			every_pledged_defender = {
				add_truce_both_ways = {
					character = scope:title_recipient
					days = 3650
					war = root.war
					result = defeat
				}
			}
		}
	}
}

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

Where it is used

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

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?