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_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)

8 more

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?