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

Scripted effect

petition_skill_duel_effect

petition_skill_duel_effect = { SKILL = … TARGET = … }

game/common/scripted_effects/00_petition_liege_effects.txt, line 1201 (24 lines). Parameters: $SKILL$, $TARGET$.

petition_skill_duel_effect is a scripted effect in Crusader Kings III, written at line 1201 of its file. A call passes 2 parameters: SKILL and TARGET. The game's script calls it in 2 places, among them Petition: Second Opinion (event petition_liege.0401) and Petition: Second Opinion (event petition_liege.0421). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/00_petition_liege_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)
petition_skill_duel_effect = {
	duel = {
		skill = $SKILL$
		target = $TARGET$
		8 = {
			desc = petition_liege.0401.success
			compare_modifier = {
				value = scope:duel_value
				multiplier = 0.5
			}
			hidden_effect = { petition_type_outcome_effect = yes }
			custom_tooltip = petition_liege_accept_tt
			reverse_add_opinion = {
				target = $TARGET$
				modifier = annoyed_opinion
				opinion = -10
			}
		}
		12 = {
			desc = petition_liege.0401.failure
			petition_skill_duel_lose_effect = yes
		}
	}
}

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

Where it is used

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

Events (2)

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