Scripted effect · Legends of the Dead files
legend_distribute_claims_in_de_jure
legend_distribute_claims_in_de_jure = yesgame/common/scripted_effects/06_dlc_ce1_legend_effects.txt, line 1279 (54 lines). No parameters.
legend_distribute_claims_in_de_jure is a scripted effect in Crusader Kings III, in the Legends of the Dead files, written at line 1279 of its file. It takes no parameters: legend_distribute_claims_in_de_jure = yes. The game's script calls it in 1 place, among them legend_ending_rewards_legitimizing_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/06_dlc_ce1_legend_effects.txt.
What it does
- Every direct de jure vassal title:
If
a check the game hides
Then
- You:
add_pressed_claim = prev
Else if
this.tier > tier_county
Then
- Every direct de jure vassal title:
If a check the game hides passes: the same again (1 line)
- You:
add_unpressed_claim = prev
Else if
this.tier > tier_county
Then
- Every direct de jure vassal title:
If
a check the game hides
Then
- You:
add_unpressed_claim = prev
- You:
- You:
- You:
• 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)
legend_distribute_claims_in_de_jure = {
every_direct_de_jure_vassal_title = {
if = {
limit = {
exists = holder
}
root = {
add_pressed_claim = prev
add_to_variable_list = {
name = legendary_claims
target = prev
}
}
}
else_if = {
limit = {
this.tier > tier_county
}
every_direct_de_jure_vassal_title = {
if = {
limit = {
exists = holder
}
root = {
add_unpressed_claim = prev
add_to_variable_list = {
name = legendary_claims
target = prev
}
}
}
else_if = {
limit = {
this.tier > tier_county
}
every_direct_de_jure_vassal_title = {
if = {
limit = {
exists = holder
}
root = {
add_unpressed_claim = prev
add_to_variable_list = {
name = legendary_claims
target = prev
}
}
}
}
}
}
}
}
}As written in game/common/scripted_effects/06_dlc_ce1_legend_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls legend_distribute_claims_in_de_jure.
Scripted effects (1)
Source: game/common/scripted_effects/06_dlc_ce1_legend_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.