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

grant_new_inspiration_in_region_effect

grant_new_inspiration_in_region_effect = { GEOGRAPHICAL_REGION = … }

game/common/scripted_effects/00_ep1_inspiration_effects_sean.txt, line 622 (18 lines). Parameters: $GEOGRAPHICAL_REGION$.

grant_new_inspiration_in_region_effect is a scripted effect in Crusader Kings III, in the The Royal Court files, written at line 622 of its file. A call passes 1 parameter: GEOGRAPHICAL_REGION. The game's script calls it in 1 place, among them grant_new_inspiration_in_world_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_ep1_inspiration_effects_sean.txt.

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 (18 lines of game script)
grant_new_inspiration_in_region_effect = {
	random_character_with_royal_court = {
		limit = {
			capital_province ?= {
				geographical_region = $GEOGRAPHICAL_REGION$
			}
			save_temporary_scope_as = tmp_royal_court_owner # Used in 'inspiration_kingdom_modifier' to calculate draw towards this specific court in the region.
		}

		weight = {
			base = 1
			inspiration_royal_court_grandeur_attraction_modifier = yes
			inspiration_royal_court_oversaturation_penalty_modifier = yes
		}

		grant_new_inspiration_in_character_realm_effect = yes
	}
}

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

Where it is used

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

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