Scripted effect · Wandering Nobles files
inspection_success_chance_change_effect
inspection_success_chance_change_effect = { CHANGE = … }game/common/scripted_effects/08_bp3_effects.txt, line 12 (19 lines). Parameters: $CHANGE$.
inspection_success_chance_change_effect is a scripted effect in Crusader Kings III, in the Wandering Nobles files, written at line 12 of its file. A call passes 1 parameter: CHANGE. The game's script calls it in 31 places, among them apa_survey_bad_harvest (activity pulse), apa_survey_bad_mercenaries (activity pulse) and apa_survey_bad_merchant_guild (activity pulse). Patch 1.20.1.2, from game/common/scripted_effects/08_bp3_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (19 lines of game script)
inspection_success_chance_change_effect = {
scope:activity = {
if = {
limit = {
NOT = { exists = var:inspection_success_chance_event }
}
set_variable = { name = inspection_success_chance_event value = 0 }
}
change_variable = {
name = inspection_success_chance_event
add = inspection_activity_success_$CHANGE$_value
}
set_variable = {
name = inspection_success_chance
value = inspection_success_chance_value
}
}
custom_tooltip = inspection_activity_success_$CHANGE$_tt
}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_effect.
Activity pulse actions (15)
- apa_survey_bad_harvest
- apa_survey_bad_mercenaries
- apa_survey_bad_merchant_guild
- apa_survey_bad_noble
- apa_survey_city_walls
- apa_survey_extra_taxes
9 more
- apa_survey_fishing_rights
- apa_survey_good_harvest
- apa_survey_good_mercenaries
- apa_survey_good_merchant_guild
- apa_survey_good_noble
- apa_survey_local_gift
- apa_survey_old_bridge
- apa_survey_small_festival
- apa_survey_tax_problems
Events (14)
- A Misstep
bp3_survey.1220 - A Place Worth Visiting
bp3_survey.1080 - A Step in the Right Direction
bp3_survey.1210 - Blunder After Blunder
bp3_survey.1230 - Expanding the Town Walls
bp3_survey.1050 - Fighting Among the Guilds
bp3_survey.1030
8 more
- Making Headway
bp3_survey.1200 - Mine Your Own Business
bp3_survey.1060 - Overseeing …
bp3_survey.0030 - Plans for Expansion
bp3_survey.0020 - The Fire Spreading
bp3_survey.1040 - The Old Roads of …
bp3_survey.1020 - The People of …
bp3_survey.0040 - 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.