Scripted effect · Wandering Nobles files
inspection_survey_intent_province_modifier
inspection_survey_intent_province_modifier = { MODIFIER = … }game/common/scripted_effects/08_bp3_effects.txt, line 473 (19 lines). Parameters: $MODIFIER$.
inspection_survey_intent_province_modifier is a scripted effect in Crusader Kings III, in the Wandering Nobles files, written at line 473 of its file. A call passes 1 parameter: MODIFIER. The game's script calls it in 1 place, among them Mine Your Own Business (event bp3_survey.1060). 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 barony’s province:
NOT = { has_province_modifier = $MODIFIER$ }
Then
- Their capital barony’s province:
add_province_modifier = { modifier = $MODIFIER$ years = 5 }
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_province_modifier = {
if = {
limit = {
has_activity_intent = survey_learning_intent
capital_barony.title_province = {
NOT = { has_province_modifier = $MODIFIER$ }
}
}
capital_barony.title_province = {
add_province_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_province_modifier.
Events (1)
- Mine Your Own Business
bp3_survey.1060
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.