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_remove_variables_effect

hunt_remove_variables_effect = yes

game/common/scripted_effects/00_hunt_effects.txt, line 2673 (27 lines). No parameters.

hunt_remove_variables_effect is a scripted effect in Crusader Kings III, written at line 2673 of its file. It takes no parameters: hunt_remove_variables_effect = yes. The game's script calls it in 1 place, among them Hunt (activity). 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 (27 lines of game script)
hunt_remove_variables_effect = {
	scope:host = {
		if = {
			limit = { is_alive = yes }
			if = {
				limit = { has_character_flag = dangerous_road }
				remove_character_flag = dangerous_road
			}
			if = {
				limit = { exists = var:animal_type }
				remove_variable = animal_type
			}
			if = {
				limit = { has_variable = strife_loss_total }
				remove_variable = strife_loss_total
			}
		}
	}
	scope:activity = {
		every_attending_character = {
			if = {
				limit = { exists = var:animal_type }
				remove_variable = animal_type
			}
		}
	}
}

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_remove_variables_effect.

Activities (1)

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?