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)
- A Fawning …
hunt.5010 - Among the Rice Fields
tgp_hunt.0005 - Bounty of the Wild
hunt.9001 - Caught in a Trap
hunt.7011 - Chasing …
hunt.0530 - Cornering the …
hunt.1001
19 more
- Cornering the …
hunt.1004 - Defying Gravity
hunt.7020 - Empty-Handed
hunt.9002 - Felling a Beast
hunt.4004 - Laying in Wait
hunt.1030 - Laying in Wait
hunt.1033 - No Idea
hunt.3020 - Plucked from the Sky
hunt.5050 - Red-Crowned Crane
tgp_hunt.0010 - Softly, Softly
hunt.1040 - Softly, Softly
hunt.1043 - Stalking the …
hunt.0500 - Taking Wing
hunt.1060 - The … …
hunt.0510 - The … …
hunt.1090 - The … …
hunt.4013 - The Foragers
hunt.4006 - The Shot
hunt.4001 - Two in the Bush
hunt.1063
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.