Scripted effect · Wandering Nobles files
inspection_survey_intent_county_modifier
inspection_survey_intent_county_modifier = { MODIFIER = … }game/common/scripted_effects/08_bp3_effects.txt, line 453 (19 lines). Parameters: $MODIFIER$.
inspection_survey_intent_county_modifier is a scripted effect in Crusader Kings III, in the Wandering Nobles files, written at line 453 of its file. A call passes 1 parameter: MODIFIER. The game's script calls it in 3 places, among them Empty Lands (event bp3_survey.1000), Expanding the Town Walls (event bp3_survey.1050) and Fighting Among the Guilds (event bp3_survey.1030). Patch 1.20.1.2, from game/common/scripted_effects/08_bp3_effects.txt.
What it does
If
has_activity_intent = survey_learning_intent- Their capital county: The county does not have the modifier “$MODIFIER$”
Then
- Their capital county: The county gains the modifier “$MODIFIER$” for 5 years
Otherwise
inspection_survey_intent_development = { VALUE = 5 }
• 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 (19 lines of game script)
inspection_survey_intent_county_modifier = {
if = {
limit = {
has_activity_intent = survey_learning_intent
capital_county = {
NOT = { has_county_modifier = $MODIFIER$ }
}
}
capital_county = {
add_county_modifier = {
modifier = $MODIFIER$
years = 5
}
}
}
else = {
inspection_survey_intent_development = { VALUE = 5 }
}
}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_survey_intent_county_modifier.
Events (3)
- Empty Lands
bp3_survey.1000 - Expanding the Town Walls
bp3_survey.1050 - Fighting Among the Guilds
bp3_survey.1030
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.