Scripted effect
weaken_eagle_effect
weaken_eagle_effect = yesgame/common/scripted_effects/00_animal_effects.txt, line 1581 (54 lines). No parameters.
weaken_eagle_effect is a scripted effect in Crusader Kings III, written at line 1581 of its file. It takes no parameters: weaken_eagle_effect = yes. The game's script calls it in 5 places, among them … Eye (event pet_animal.3030), The Cycle Continues (event pet_animal.3020) and The Enemy's Eagle (event pet_animal.3050). Patch 1.20.1.2, from game/common/scripted_effects/00_animal_effects.txt.
The comment above it in the file
Eagle getting weak :(
What it does
- If has the Modifier: Weak Eagle:
- Loses “Weak Eagle”
- Gains the modifier “Feeble Eagle”
- Martial -1
- Stress Gain +10%
- Otherwise:
- Gains the modifier “Weak Eagle”
- Martial -1
- Gains the modifier “Weak Eagle”
• 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 (54 lines of game script)
weaken_eagle_effect = {
if = {
limit = {
has_character_modifier = weak_eagle_modifier
}
remove_character_modifier = weak_eagle_modifier
add_character_modifier = very_weak_eagle_modifier
hidden_effect = {
random_list = {
40 = { # 40% chance of death
add_character_flag = eagle_marked_for_death
trigger_event = {
id = pet_animal.3199
days = { 120 720 }
}
}
60 = { }
}
}
}
else_if = {
limit = {
has_character_modifier = very_weak_eagle_modifier
}
hidden_effect = {
add_character_flag = cant_sell_eagle
random_list = {
70 = { # 70% chance of death
add_character_flag = eagle_marked_for_death
trigger_event = {
id = pet_animal.3199
days = { 60 600 }
}
}
30 = { }
}
}
}
else = {
add_character_modifier = weak_eagle_modifier
hidden_effect = {
random_list = {
10 = { # 10% chance of death
add_character_flag = eagle_marked_for_death
trigger_event = {
id = pet_animal.3199
days = { 180 720 }
}
}
90 = { }
}
}
}
}As written in game/common/scripted_effects/00_animal_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls weaken_eagle_effect.
Events (3)
- … Eye
pet_animal.3030 - The Cycle Continues
pet_animal.3020 - The Enemy's Eagle
pet_animal.3050
Scripted effects (2)
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.