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

Scripted effect · The Royal Court files

apply_hold_court_grace_effect

apply_hold_court_grace_effect = yes

game/common/scripted_effects/00_ep1_hold_court_effects.txt, line 14 (26 lines). No parameters.

apply_hold_court_grace_effect is a scripted effect in Crusader Kings III, in the The Royal Court files, written at line 14 of its file. It takes no parameters: apply_hold_court_grace_effect = yes. The game's script calls it in 8 places, among them Coming of Age (event coming_of_age.0001), Coming of Age (event coming_of_age.0002) and Coming of Age (event coming_of_age.0003). Patch 1.20.1.2, from game/common/scripted_effects/00_ep1_hold_court_effects.txt.

What it does

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

The script as written (26 lines of game script)
apply_hold_court_grace_effect = {
	if = {
		limit = {
			has_dlc_feature = royal_court
			has_royal_court = yes

			#Character fulfills the pre-reqs 
			is_playable_character = yes
			highest_held_title_tier >= tier_kingdom
			OR = {
				government_has_flag = government_is_feudal
				government_has_flag = government_is_clan
			}
			is_available_adult = yes
			court_grandeur_current_level >= 1
		}
		if = {
			limit = { has_variable = last_hold_court_date }
			remove_variable = last_hold_court_date
		}
		set_variable = {
			name = last_hold_court_date
			value = current_year
		}
	}
}

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

Where it is used

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

Events (6)

On actions (the game's own hooks) (2)

  • on_death
  • on_game_start

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