Scripted effect
dynasty_of_many_crowns_effects
dynasty_of_many_crowns_effects = yesgame/common/scripted_effects/00_major_decisions_scripted_effects_2.txt, line 86 (57 lines). No parameters.
dynasty_of_many_crowns_effects is a scripted effect in Crusader Kings III, written at line 86 of its file. It takes no parameters: dynasty_of_many_crowns_effects = yes. The game's script calls it in 2 places, among them Dynasty of Many Crowns (decision) and Dynasty of Many Crowns (event major_decisions.0501). Patch 1.20.1.2, from game/common/scripted_effects/00_major_decisions_scripted_effects_2.txt.
What it does
If
- Their domicile:
has_domicile_building_or_higher = renown_gain_yurt_01
Then
If
- Their domicile:
has_domicile_parameter = nomad_yurt_dynasty_many_khans
Then
- Their dynasty:
- The dynasty gains the modifier “Dynasty of Many Khans”
- Herd Capacity +20%
- Martial +2
- Herd Conversion into Horde Riders +10%
- The dynasty gains the modifier “Dynasty of Many Khans”
- Their domicile:
- Their domicile:
- Their dynasty:
- The dynasty gains the modifier “Dynasty of Many Crowns”
- Monthly Prestige +20%
- Stewardship +2
- Direct Vassal Opinion +5
- Levy Size +10%
- The dynasty gains +1,000 Renown
- The dynasty gains the modifier “Dynasty of Many Crowns”
• 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 (57 lines of game script)
dynasty_of_many_crowns_effects = {
if = {
limit = {
NOT = {
has_character_flag = dyn_many_crown_leg
}
}
add_character_flag = dyn_many_crown_leg
}
if = {
limit = {
domicile ?= {
has_domicile_building_or_higher = renown_gain_yurt_01
}
}
if = {
limit = {
domicile ?= {
has_domicile_parameter = nomad_yurt_dynasty_many_crowns_bonus
}
}
dynasty = {
every_dynasty_member = {
limit = {
government_has_flag = government_is_nomadic
highest_held_title_tier >= tier_kingdom
}
domicile ?= {
change_herd = {
value = 1000
multiply = prev.primary_title.tier
}
}
}
}
}
if = {
limit = {
domicile ?= {
has_domicile_parameter = nomad_yurt_dynasty_many_khans
}
}
dynasty = {
add_dynasty_modifier = {
modifier = dynasty_of_many_crowns_nomad
}
}
}
}
dynasty = {
add_dynasty_modifier = {
modifier = dynasty_of_many_crowns
}
add_dynasty_prestige = monumental_dynasty_prestige_gain
}
}As written in game/common/scripted_effects/00_major_decisions_scripted_effects_2.txt.
Where it is used
Every place in common/, events/ and history/ that calls dynasty_of_many_crowns_effects.
Decisions (1)
Events (1)
- Dynasty of Many Crowns
major_decisions.0501
Source: game/common/scripted_effects/00_major_decisions_scripted_effects_2.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.