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)
- … Encounter
tgp_hunt.0004 - ... Shoot!
hunt.8071 - ... Shoot!
hunt.8074 - A … Hermit
tgp_hunt.0009 - A Fawning …
hunt.5010 - A Moment Alone
hunt.4011
57 more
- A Mother's Love
mpo_hunt.0020 - A Swampy Encounter
hunt.7001 - An Arrow for …
hunt.1012 - Beware!
hunt.8060 - Big Cat, Small Cub
hunt.8560 - Caught in a Trap
hunt.7011 - Chasing …
hunt.0530 - Cornering the …
hunt.1001 - Cornering the …
hunt.1002 - Deep Roots
hunt_events_anna.0001 - Defying Gravity
hunt.7020 - Far from People
hunt.1021 - Felling a Beast
hunt.4005 - From the Cradle
mpo_hunt.0001 - Fur in the Grass
mpo_hunt.0060 - Hare for the Taking
tgp_hunt.0007 - Horses Lean as Deer
mpo_hunt.0040 - Hunted
hunt.4009 - Hunted
hunt.4010 - Hunters of …
mpo_hunt.0050 - Hunting Dog
hunt.1023 - Illegal Prey
hunt.4003 - Laying in Wait
hunt.1030 - No Idea
hunt.3020 - Not So Different
tgp_hunt.0002 - On Top of the World
hunt.8500 - Peacocking
hunt.8000 - Plucked from the Sky
hunt.5050 - Rampaging …
hunt.4007 - Red-Crowned Crane
tgp_hunt.0010 - Rude Vassal
hunt.1011 - Rumors
hunt.4002 - Separate Ways
hunt.8520 - Snared
hunt.8530 - Softly, Softly
hunt.1040 - Stalking the …
hunt.0500 - Stampede!
hunt.8570 - Staring Down
hunt.8580 - The … …
hunt.4012 - The … …: an Omen
hunt.8540 - The … Droppings
hunt.8550 - The …'s Feast
hunt.8010 - The Den of …
hunt.8590 - The Foragers
hunt.4006 - The Lovers
hunt.4015 - The Real Game
hunt.7200 - The Real Game
hunt.7210 - The Right to Hunt
hunt.1337 - Tracking …
hunt.8030 - Tracks Spotted!
hunt.8050 - Trapped Down Below
hunt_events_anna.0010 - Troublesome Terrain
hunt.4014 - Troublesome Terrain
hunt.4911 - Under Attack
hunt.8510 - Under My Wing
hunt.5060 - Wildflowers
hunt.5001 - Wildflowers
hunt.5002
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.