Scripted effect
assign_eagle_gender_effect
assign_eagle_gender_effect = { GENDER = … }game/common/scripted_effects/00_animal_effects.txt, line 1151 (37 lines). Parameters: $GENDER$.
assign_eagle_gender_effect is a scripted effect in Crusader Kings III, written at line 1151 of its file. A call passes 1 parameter: GENDER. The game's script calls it in 1 place, among them Hunting Eagle (story cycle). Patch 1.20.1.2, from game/common/scripted_effects/00_animal_effects.txt.
The comment above it in the file
Assign the gender of the eagle
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (37 lines of game script)
assign_eagle_gender_effect = {
save_temporary_scope_value_as = {
name = gender
value = flag:$GENDER$
}
if = {
limit = { scope:gender = flag:random }
hidden_effect = {
random_list = {
80 = { # Female eagles are thought to be larger / fiercer
set_variable = {
name = eagle_gender
value = flag:female
}
}
20 = {
set_variable = {
name = eagle_gender
value = flag:male
}
}
}
}
}
else_if = {
limit = {
OR = {
scope:gender = flag:male
scope:gender = flag:female
}
}
set_variable = {
name = eagle_gender
value = flag:$GENDER$
}
}
}As written in game/common/scripted_effects/00_animal_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls assign_eagle_gender_effect.
Story cycles (1)
- Hunting Eagle
Source: game/common/scripted_effects/00_animal_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.