Scripted effect · Legends of the Dead files
disburse_hunt_legend_seeds
disburse_hunt_legend_seeds = yesgame/common/scripted_effects/06_dlc_ce1_legend_effects.txt, line 762 (75 lines). No parameters.
disburse_hunt_legend_seeds is a scripted effect in Crusader Kings III, in the Legends of the Dead files, written at line 762 of its file. It takes no parameters: disburse_hunt_legend_seeds = yes. The game's script calls it in 1 place, among them Bounty of the Wild (event hunt.9001). Patch 1.20.1.2, from game/common/scripted_effects/06_dlc_ce1_legend_effects.txt.
What it does
If
- Is a ruler
- Game rule not set to “Only Historical Legends”
Then
If
scope:activity.var:animal_type = flag:dragon
Then
create_legend_seed = { … }
Else if
scope:activity.var:animal_type = flag:unicorn
Then
create_legend_seed = { … }
Else if
scope:activity.var:animal_type = flag:bear
Then
- 50% chance of:
create_legend_seed = { … }
Else if
One of these
scope:activity.var:animal_type = flag:tigeror
scope:activity.var:animal_type = flag:lionor
scope:activity.var:animal_type = flag:leopard
Then
- 30% chance of:
create_legend_seed = { … }
• 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 (75 lines of game script)
disburse_hunt_legend_seeds = {
if = {
limit = {
is_ruler = yes
has_dlc_feature = legends
NOT = { has_game_rule = historical_legends_only }
}
if = {
limit = {
scope:activity.var:animal_type = flag:dragon
}
create_legend_seed = {
type = heroic
quality = famed
chronicle = beast_slayer
properties = {
beast = flag:dragon
location = root.location
}
}
}
else_if = {
limit = {
scope:activity.var:animal_type = flag:unicorn
}
create_legend_seed = {
type = heroic
quality = famed
chronicle = beast_slayer
properties = {
beast = flag:unicorn
location = root.location
}
}
}
else_if = {
limit = {
scope:activity.var:animal_type = flag:bear
}
random = {
chance = 50
create_legend_seed = {
type = heroic
quality = famed
chronicle = beast_slayer
properties = {
beast = flag:bear
location = root.location
}
}
}
}
else_if = {
limit = {
OR = {
scope:activity.var:animal_type = flag:tiger
scope:activity.var:animal_type = flag:lion
scope:activity.var:animal_type = flag:leopard
}
}
random = {
chance = 30
create_legend_seed = {
type = heroic
quality = famed
chronicle = beast_slayer
properties = {
beast = flag:ferocious_beast
location = root.location
}
}
}
}
}
}As written in game/common/scripted_effects/06_dlc_ce1_legend_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls disburse_hunt_legend_seeds.
Events (1)
- Bounty of the Wild
hunt.9001
Source: game/common/scripted_effects/06_dlc_ce1_legend_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.