Scripted effect
start_hunt_mystical_animal_story_cycle_effect
start_hunt_mystical_animal_story_cycle_effect = yesgame/common/scripted_effects/00_hunt_effects.txt, line 251 (32 lines). No parameters.
start_hunt_mystical_animal_story_cycle_effect is a scripted effect in Crusader Kings III, written at line 251 of its file. It takes no parameters: start_hunt_mystical_animal_story_cycle_effect = yes. The game's script calls it in 4 places, among them A … of Legends (event bp3_roaming.0120), mpo_nerge.1031 (event) and The … … (event hunt.0510). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/00_hunt_effects.txt.
The comment above it in the file
Effect to start the story and show the right tooltip
What it does
- If played by a person: You will gain Stress each year the beast eludes you
• 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 (32 lines of game script)
start_hunt_mystical_animal_story_cycle_effect = {
#Only for players, fake it for ai
if = {
limit = { is_ai = no }
hidden_effect = { create_story = story_cycle_hunt_mystical_animal }
random_owned_story = {
type = story_cycle_hunt_mystical_animal
set_variable = {
name = legendary_county
value = scope:activity.activity_location.county
}
save_scope_as = story
}
custom_tooltip = hunt.4013.a.tt
}
else = {
hidden_effect = {
random_list = {
5 = { #The ai got the animal, wow!
add_prestige = major_prestige_gain
add_character_modifier = {
modifier = hunt_mystical_animal_modifier
years = 20
}
}
95 = {
#Nothing happens for them
}
}
}
}
}As written in game/common/scripted_effects/00_hunt_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls start_hunt_mystical_animal_story_cycle_effect.
Events (4)
- A … of Legends
bp3_roaming.0120 - mpo_nerge.1031
- The … …
hunt.0510 - The … …
hunt.4013
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.