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_head_of_faith_excommunication_offer_gold_effect

petition_head_of_faith_excommunication_offer_gold_effect = yes

game/common/scripted_effects/11_petition_head_of_faith_effects.txt, line 349 (50 lines). No parameters.

petition_head_of_faith_excommunication_offer_gold_effect is a scripted effect in Crusader Kings III, written at line 349 of its file. It takes no parameters: petition_head_of_faith_excommunication_offer_gold_effect = yes. The game's script calls it in 2 places, among them The Argument (event petition_head_of_faith.2000) and The Argument (event petition_head_of_faith.4000). Patch 1.20.1.2, from game/common/scripted_effects/11_petition_head_of_faith_effects.txt.

The comment above it in the file

offer_gold argument ("Offer Gold"). Venal Head of Faith auto-accepts gold. Otherwise diplomacy duel; gold not spent on failure. Reserved piety forfeited on duel failure. Petitioner scope.

What it does

• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists

“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.

The script as written (50 lines of game script)
petition_head_of_faith_excommunication_offer_gold_effect = {
	add_character_flag = petition_head_of_faith_argument_finesse
	if = {
		# Venal Head of Faith skips the duel.
		limit = { petition_head_of_faith_recipient_venal_trigger = yes }
		petition_head_of_faith_excommunication_offer_gold_success_effect = yes
	}
	else = {
		duel = {
			skill = diplomacy
			target = var:petition_head_of_faith_recipient
			# Base 10/10 = 50% at equal skill, neutral disposition
			10 = {
				desc = petition_head_of_faith_duel_success
				compare_modifier = {
					value = scope:duel_value
					multiplier = 1
				}
				modifier = {
					top_participant_group:the_christian_church ?= {
						has_participant_group_parameter = the_christian_church_more_likely_to_accept_request_excommunications
					}
					add = 5
				}
				modifier = {
					petition_head_of_faith_disposition_favorable_trigger = yes
					add = 5
				}
				modifier = {
					petition_head_of_faith_disposition_skeptical_trigger = yes
					add = -3
				}
				modifier = {
					petition_head_of_faith_disposition_hostile_trigger = yes
					add = -8
				}
				min = 1
				petition_head_of_faith_excommunication_offer_gold_success_effect = yes
			}
			10 = {
				desc = petition_head_of_faith_argument_affronted
				compare_modifier = {
					value = scope:duel_value
					multiplier = -1
				}
				petition_head_of_faith_excommunication_affront_failure_effect = yes
			}
		}
	}
}

As written in game/common/scripted_effects/11_petition_head_of_faith_effects.txt.

Where it is used

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

Events (2)

Source: game/common/scripted_effects/11_petition_head_of_faith_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?