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_display_recipient_disposition_effect

petition_head_of_faith_display_recipient_disposition_effect = yes

game/common/scripted_effects/11_petition_head_of_faith_effects.txt, line 886 (41 lines). No parameters.

petition_head_of_faith_display_recipient_disposition_effect is a scripted effect in Crusader Kings III, written at line 886 of its file. It takes no parameters: petition_head_of_faith_display_recipient_disposition_effect = yes. The game's script calls it in 2 places, among them Petition the … (decision) and Petition the Anti… (decision). Its body carries 4 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/11_petition_head_of_faith_effects.txt.

The comment above it in the file

Decision confirm only, before a target is chosen. Matches disposition triggers when no target exists.

What it does

  • If

    • scope:petition_recipient: Opinion of petitioner at least 25

    Then

    • … is very likely to accept this petition (Based on … Opinion of you; can be influenced during the audience)

    Else if

    • scope:petition_recipient:
      • One of these

        • has_relation_rival = scope:petitioner
        • or

          Opinion of petitioner at most -50

    Then

    • … is very likely to refuse this petition (Based on … Opinion of you and your relations; can be influenced during the audience)

    Else if

    • scope:petition_recipient: Opinion of petitioner at most 0

    Then

    • … may refuse this petition (Based on … Opinion of you; can be influenced during the audience)

    Otherwise

    • … may accept this petition (Based on … Opinion of you; can be influenced during the audience)

• 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 (41 lines of game script)
petition_head_of_faith_display_recipient_disposition_effect = {
	if = {
		limit = {
			scope:petition_recipient = {
				opinion = {
					target = scope:petitioner
					value >= petition_head_of_faith_favorable_opinion_threshold_value
				}
			}
		}
		custom_tooltip = petition_head_of_faith_decision_receptive_favorable
	}
	else_if = {
		limit = {
			scope:petition_recipient = {
				OR = {
					has_relation_rival = scope:petitioner
					opinion = {
						target = scope:petitioner
						value <= petition_head_of_faith_hostile_opinion_threshold_value
					}
				}
			}
		}
		custom_tooltip = petition_head_of_faith_decision_receptive_hostile
	}
	else_if = {
		limit = {
			scope:petition_recipient = {
				opinion = {
					target = scope:petitioner
					value <= petition_head_of_faith_skeptical_opinion_threshold_value
				}
			}
		}
		custom_tooltip = petition_head_of_faith_decision_receptive_skeptical
	}
	else = {
		custom_tooltip = petition_head_of_faith_decision_receptive_neutral
	}
}

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_display_recipient_disposition_effect.

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?