Scripted effect
hunt_invalidation_event_effect
hunt_invalidation_event_effect = yesgame/common/scripted_effects/00_hunt_effects.txt, line 4090 (21 lines). No parameters.
hunt_invalidation_event_effect is a scripted effect in Crusader Kings III, written at line 4090 of its file. It takes no parameters: hunt_invalidation_event_effect = yes. The game's script calls it in 10 places, among them An Unexpected End (event tgp_hunt.0003), Change of Plans (event hunt.0081) and Cut Short (event hunt.0083). Its body carries 2 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/00_hunt_effects.txt.
What it does
If
a check the game hides
Then
If
scope:activity:has_activity_option = { category = special_type option = hunt_type_falconry }
Then
hunter_lifestyle_rank_up_check_effect = { FALCONRY = yes }
Otherwise
hunter_lifestyle_rank_up_check_effect = { FALCONRY = no }
If
a check the game hides
Then
- The Hunt ends
- You won't be able to host another Hunt Activity for 1–2 years
• 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 (21 lines of game script)
hunt_invalidation_event_effect = {
if = {
limit = { is_in_list = attendees }
if = {
limit = {
scope:activity = {
has_activity_option = { category = special_type option = hunt_type_falconry }
}
}
hunter_lifestyle_rank_up_check_effect = { FALCONRY = yes }
}
else = {
hunter_lifestyle_rank_up_check_effect = { FALCONRY = no }
}
}
if = {
limit = { exists = scope:activity }
custom_tooltip = hunt_ends_tt
}
custom_tooltip = hunt_invalidated_warning_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_invalidation_event_effect.
Events (10)
- An Unexpected End
tgp_hunt.0003 - Change of Plans
hunt.0081 - Cut Short
hunt.0083 - Cut Short
hunt.0084 - Cut Short
hunt.0085 - Premature Conclusion
hunt.0087
4 more
- Premature Conclusion
hunt.0082 - Premature Conclusion
hunt.0086 - The Right to Hunt
hunt.1337 - Victim of the Wild
hunt.0080
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.