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

Scripted effect · Wandering Nobles files

inspection_success_chance_change_not_focus_effect

inspection_success_chance_change_not_focus_effect = { CHANGE = … FOCUS = … }

game/common/scripted_effects/08_bp3_effects.txt, line 43 (10 lines). Parameters: $CHANGE$, $FOCUS$.

inspection_success_chance_change_not_focus_effect is a scripted effect in Crusader Kings III, in the Wandering Nobles files, written at line 43 of its file. A call passes 2 parameters: CHANGE and FOCUS. The game's script calls it in 5 places, among them A Place Worth Visiting (event bp3_survey.1080), Empty Lands (event bp3_survey.1000) and Regular Irregularities (event bp3_survey.1070). Patch 1.20.1.2, from game/common/scripted_effects/08_bp3_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 (10 lines of game script)
inspection_success_chance_change_not_focus_effect = {
	if = {
		limit = {
			NOT = { has_variable = inspection_activity_$FOCUS$_focus }
		}
		inspection_success_chance_change_effect = {
			CHANGE = $CHANGE$
		}
	}
}

As written in game/common/scripted_effects/08_bp3_effects.txt.

Where it is used

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

Events (5)

Source: game/common/scripted_effects/08_bp3_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?