CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted effect

hunt_activity_success_change_effect

hunt_activity_success_change_effect = { CHANGE = … }

game/common/scripted_effects/00_hunt_effects.txt, line 948 (19 lines). Parameters: $CHANGE$.

hunt_activity_success_change_effect is a scripted effect in Crusader Kings III, written at line 948 of its file. A call passes 1 parameter: CHANGE. The game's script calls it in 71 places, among them hunt_moh_negative (activity pulse), hunt_moh_positive (activity pulse) and hunt_tracks_building (activity pulse). Patch 1.20.1.2, from game/common/scripted_effects/00_hunt_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)
hunt_activity_success_change_effect = {
	scope:activity = {
		if = {
			limit = {
				NOT = { exists = var:hunt_success_chance_event }
			}
			set_variable = { name = hunt_success_chance_event value = 0 }
		}
		change_variable = {
			name = hunt_success_chance_event
			add = hunt_activity_success_$CHANGE$_value
		}
		set_variable = {
			name = hunt_success_chance
			value = hunt_success_chance_value
		}
	}
	custom_tooltip = hunt_activity_success_$CHANGE$_tt
}

As written in game/common/scripted_effects/00_hunt_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls hunt_activity_success_change_effect.

Activity pulse actions (6)

  • hunt_moh_negative
  • hunt_moh_positive
  • hunt_tracks_building
  • hunt_tracks_character
  • hunt_tracks_dog
  • hunt_tracks_option

Events (63)

57 more

Scripted effects inside an event file (2)

  • flushed_out_the_beast
  • tgp_hunt_hunter_becomes_a_buddhist_monk_effect

Source: game/common/scripted_effects/00_hunt_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?