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

Scripted effect · Silk and Silver files

burgher_find_local_notable_effect

burgher_find_local_notable_effect = { COUNTY = … }

game/common/scripted_effects/gdp_burgher_scripted_effects.txt, line 29 (26 lines). Parameters: $COUNTY$.

burgher_find_local_notable_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 29 of its file. A call passes 1 parameter: COUNTY. The game's script calls it in 1 place, among them burgher_find_or_create_local_burgher_effect (scripted effect). Patch 1.21.0, from game/common/scripted_effects/gdp_burgher_scripted_effects.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 (26 lines of game script)
burgher_find_local_notable_effect = {
	$COUNTY$ = { save_temporary_scope_as = notable_county }

	scope:notable_county.holder = {
		random_pool_character = {
			province = scope:notable_county.title_province
			limit = { burgher_can_head_commune_trigger = yes }
			weight = {
				base = 1
				modifier = {
					add = 3
					faith = scope:notable_county.faith
				}
				modifier = {
					add = 3
					culture = scope:notable_county.culture
				}
				modifier = {
					add = 2
					has_trait = education_stewardship
				}
			}
			save_scope_as = burgher_local_notable
		}
	}
}

As written in game/common/scripted_effects/gdp_burgher_scripted_effects.txt.

Where it is used

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

Source: game/common/scripted_effects/gdp_burgher_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.

Spotted a mistake on this page, or have an idea for the site?