Scripted effect
hunt_outcome_scope_effect
hunt_outcome_scope_effect = yesgame/common/scripted_effects/00_hunt_effects.txt, line 3676 (35 lines). No parameters.
hunt_outcome_scope_effect is a scripted effect in Crusader Kings III, written at line 3676 of its file. It takes no parameters: hunt_outcome_scope_effect = yes. The game's script calls it in 3 places, among them A Hare in the Hand (event hunt.1062), Cornering the … (event hunt.1003) and Laying in Wait (event hunt.1032). Patch 1.20.1.2, from game/common/scripted_effects/00_hunt_effects.txt.
What it does
- Otherwise:
hunt_activity_random_subordinate_participant_effect = { ARCHETYPE = hunter COMBATANT = yes SCOPE = hunt_participant }
• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists
“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.
The script as written (35 lines of game script)
hunt_outcome_scope_effect = {
# Scopes
if = {
limit = {
exists = scope:activity.var:accident_target
scope:activity.var:accident_target != scope:host
}
scope:activity.var:accident_target = { save_scope_as = wounded_courtier }
}
if = {
limit = { exists = scope:activity.var:participant_to_use }
scope:activity.var:participant_to_use = { save_scope_as = hunt_participant }
}
else = {
hunt_activity_random_subordinate_participant_effect = {
ARCHETYPE = hunter
COMBATANT = yes
SCOPE = hunt_participant
}
}
if = {
limit = {
exists = intent_target
this != intent_target
}
intent_target = {
save_scope_as = intentee
save_scope_as = pertinent
}
}
else_if = {
limit = { exists = scope:hunt_participant }
save_scope_as = pertinent
}
}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_outcome_scope_effect.
Events (3)
- A Hare in the Hand
hunt.1062 - Cornering the …
hunt.1003 - Laying in Wait
hunt.1032
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.