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
- If does not have “inspection activity $FOCUS$ focus” (a variable the game's script sets):
inspection_success_chance_change_effect = { CHANGE = $CHANGE$ }
• 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)
- A Place Worth Visiting
bp3_survey.1080 - Empty Lands
bp3_survey.1000 - Regular Irregularities
bp3_survey.1070 - The Hidden Hinterlands
bp3_survey.1090 - The Ruffians in …
bp3_survey.1010
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.