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_random_subordinate_participant_effect

hunt_activity_random_subordinate_participant_effect = { ARCHETYPE = … COMBATANT = … SCOPE = … }

game/common/scripted_effects/00_hunt_effects.txt, line 1354 (26 lines). Parameters: $ARCHETYPE$, $COMBATANT$, $SCOPE$.

hunt_activity_random_subordinate_participant_effect is a scripted effect in Crusader Kings III, written at line 1354 of its file. A call passes 3 parameters: ARCHETYPE, COMBATANT and SCOPE. The game's script calls it in 27 places, among them A Fawning … (event hunt.5010), Among the Rice Fields (event tgp_hunt.0005) and Bounty of the Wild (event hunt.9001). 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 (26 lines of game script)
hunt_activity_random_subordinate_participant_effect = {
	save_scope_value_as = {
		name = hunt_participant_archetype
		value = flag:$ARCHETYPE$
	}
	save_scope_value_as = {
		name = hunt_participant_martial_gender
		value = flag:$COMBATANT$
	}
	scope:activity = {
		random_attending_character = {
			limit = {
				trigger_if = {
					limit = { scope:hunt_participant_martial_gender = flag:yes }
					can_be_combatant_based_on_gender_trigger = { ARMY_OWNER = scope:host }
				}
				hunt_is_valid_subordinate_trigger = { LIEGE = scope:host }
			}
			weight = {
				base = 10
				hunt_relevant_participant_modifiers = yes
			}
			save_scope_as = $SCOPE$
		}
	}
}

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

Events (25)

19 more

Scripted effects inside an event file (1)

  • hunt_save_outcome_summary_scope_effect

Scripted effects (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?