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_pos_grandeur_renown_effect

petition_pos_grandeur_renown_effect = yes

game/common/scripted_effects/00_petition_liege_effects.txt, line 1007 (21 lines). No parameters.

petition_pos_grandeur_renown_effect is a scripted effect in Crusader Kings III, written at line 1007 of its file. It takes no parameters: petition_pos_grandeur_renown_effect = yes. The game's script calls it in 8 places, among them Petition: Gold (event petition_liege.0101), court_ceremonial_bloc_bribe_effect (local effect) and court_ceremonial_favor_bribe_effect (local effect). Patch 1.20.1.2, from game/common/scripted_effects/00_petition_liege_effects.txt.

The comment above it in the file

Grandeur/Renown

What it does

  • If

    Then

    • scope:petition_liege:
      • change_current_court_grandeur = minor_court_grandeur_gain

    Else if

    Then

    • scope:petition_liege:
      • change_current_court_grandeur = medium_court_grandeur_gain
  • If

    • scope:petition_liege.dynasty ?= scope:petition_vassal.dynasty

    Then

    • scope:petition_liege.dynasty: The dynasty gains … Renown

    Otherwise

    • scope:petition_liege.dynasty: The dynasty gains … Renown
    • scope:petition_vassal.dynasty: The dynasty gains … Renown

• 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 (21 lines of game script)
petition_pos_grandeur_renown_effect = {
	if = {
		limit = { petition_liege_medium_cost_trigger = yes }
		scope:petition_liege = { change_current_court_grandeur = minor_court_grandeur_gain }
	}
	else_if = {
		limit = { petition_liege_high_cost_trigger = yes }
		scope:petition_liege = { change_current_court_grandeur = medium_court_grandeur_gain }
	}
	if = {
		limit = {
			exists = scope:petition_vassal.dynasty
			scope:petition_liege.dynasty ?= scope:petition_vassal.dynasty
		}
		scope:petition_liege.dynasty ?= { add_dynasty_prestige = minor_dynasty_prestige_value }
	}
	else = {
		scope:petition_liege.dynasty ?= { add_dynasty_prestige = miniscule_dynasty_prestige_gain }
		scope:petition_vassal.dynasty ?= { add_dynasty_prestige = miniscule_dynasty_prestige_gain }
	}
}

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

Events (1)

Scripted effects inside an event file (6)

  • court_ceremonial_bloc_bribe_effect
  • court_ceremonial_favor_bribe_effect
  • court_ceremonial_gold_bribe_effect
  • court_ceremonial_knight_bribe_effect
  • court_ceremonial_repay_favor_effect
  • court_ceremonial_vow_bribe_effect

Scripted effects (1)

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?