Scripted effect · The Northern Lords files
grant_varangian_trait_if_revelant
grant_varangian_trait_if_revelant = yesgame/common/scripted_effects/01_dlc_fp1_scripted_effects.txt, line 1295 (17 lines). No parameters.
grant_varangian_trait_if_revelant is a scripted effect in Crusader Kings III, in the The Northern Lords files, written at line 1295 of its file. It takes no parameters: grant_varangian_trait_if_revelant = yes. The game's script calls it in 15 places, among them accolade_besieger_character (scripted character templates), accolade_blademaster_character (scripted character templates) and accolade_contender_character (scripted character templates). Patch 1.20.1.2, from game/common/scripted_effects/01_dlc_fp1_scripted_effects.txt.
What it does
If
- Current date less than 1400
scope:new_owner:is_roman_emperor_trigger = yes
- Their culture:
One of these
- The Culture has the Can recruit Huscarls as Men-at-Arms Tradition
or
The Culture has the Can recruit one regiment of Varangian Veterans as Men-at-Arms Tradition
Then
• 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 (17 lines of game script)
grant_varangian_trait_if_revelant = {
if = {
limit = {
current_date < 1400
scope:new_owner = {
is_roman_emperor_trigger = yes
}
culture = {
OR = {
has_cultural_parameter = unlock_maa_huscarls
has_cultural_parameter = unlock_maa_varangian_veterans
}
}
}
add_trait = varangian
}
}As written in game/common/scripted_effects/01_dlc_fp1_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls grant_varangian_trait_if_revelant.
Scripted character templates (15)
- accolade_besieger_character
- accolade_blademaster_character
- accolade_contender_character
- accolade_disciplinarian_character
- accolade_house_knight_character
- accolade_lancer_character
9 more
- accolade_manipulator_character
- accolade_marauder_character
- accolade_pike_character
- accolade_scoundrel_character
- accolade_stalwart_character
- accolade_tactician_character
- accolade_thug_character
- accolade_valiant_character
- accolade_vanguard_character
Source: game/common/scripted_effects/01_dlc_fp1_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.