CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted effect

get_eagle_training_method_effect

get_eagle_training_method_effect = yes

game/common/scripted_effects/00_animal_effects.txt, line 1927 (49 lines). No parameters.

get_eagle_training_method_effect is a scripted effect in Crusader Kings III, written at line 1927 of its file. It takes no parameters: get_eagle_training_method_effect = yes. The game's script calls it in 1 place, among them How to Train Your Eagle (event pet_animal.3040). Patch 1.20.1.2, from game/common/scripted_effects/00_animal_effects.txt.

What it does

  • 1 of 5 things will happen:
    • 20%: Nothing else happens
    • 20%: Nothing else happens
    • 20%: Nothing else happens
    • 20%: Nothing else happens
    • 20%: Nothing else happens

• 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 (49 lines of game script)
get_eagle_training_method_effect = {
    random_list = {
        10 = {
            trigger = {
                NOT = {
                    any_in_list = { variable = eagle_training_methods this = flag:martial }
                    has_character_flag = eagle_training_martial
                }
            }
            add_to_variable_list = { name = eagle_training_methods target = flag:martial }
        }
        10 = {
            trigger = {
                NOT = {
                    any_in_list = { variable = eagle_training_methods this = flag:diplomacy }
                    has_character_flag = eagle_training_diplomacy
                }
            }
            add_to_variable_list = { name = eagle_training_methods target = flag:diplomacy }
        }
        10 = {
            trigger = {
                NOT = {
                    any_in_list = { variable = eagle_training_methods this = flag:stewardship }
                    has_character_flag = eagle_training_stewardship
                }
            }
            add_to_variable_list = { name = eagle_training_methods target = flag:stewardship }
        }
        10 = {
            trigger = {
                NOT = {
                    any_in_list = { variable = eagle_training_methods this = flag:intrigue }
                    has_character_flag = eagle_training_intrigue
                }
            }
            add_to_variable_list = { name = eagle_training_methods target = flag:intrigue }
        }
        10 = {
            trigger = {
                NOT = {
                    any_in_list = { variable = eagle_training_methods this = flag:learning }
                    has_character_flag = eagle_training_learning
                }
            }
            add_to_variable_list = { name = eagle_training_methods target = flag:learning }
        }
    }
}

As written in game/common/scripted_effects/00_animal_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls get_eagle_training_method_effect.

Events (1)

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.

Spotted a mistake on this page?