Scripted effect
special_succession_tanistry_effect
special_succession_tanistry_effect = yesgame/common/scripted_effects/00_decisions_effects.txt, line 1880 (21 lines). No parameters.
special_succession_tanistry_effect is a scripted effect in Crusader Kings III, written at line 1880 of its file. It takes no parameters: special_succession_tanistry_effect = yes. The game's script calls it in 1 place, among them A Question of Succession (event major_decisions.3100). Patch 1.20.1.2, from game/common/scripted_effects/00_decisions_effects.txt.
What it does
- Every held title:
- Where:
- Title tier exactly prev.highest held title tier
NOT = { has_title_law_flag = advanced_succession_law }NOT = { has_title_law_flag = elective_succession_law }
add_title_law = gaelic_elective_succession_law
- Where:
- Vassals whose Cultures of Goidelic Heritage:
- Where:
- Opinion: Implemented Traditional Succession Law for 20 years
• 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 (21 lines of game script)
special_succession_tanistry_effect = {
every_held_title = {
limit = {
tier = prev.highest_held_title_tier
NOR = {
has_title_law_flag = advanced_succession_law
has_title_law_flag = elective_succession_law
}
}
add_title_law = gaelic_elective_succession_law
}
every_vassal = {
limit = { special_succession_tanistry_trigger = yes }
add_opinion = {
modifier = implemented_traditional_succession_law_opinion
years = 20
target = root
}
custom = major_decisions.3100.tt_opinion_tanistry
}
}As written in game/common/scripted_effects/00_decisions_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls special_succession_tanistry_effect.
Events (1)
- A Question of Succession
major_decisions.3100
Source: game/common/scripted_effects/00_decisions_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.