Scripted effect
accolade_defender_war_end_glory_gain_med_effect
accolade_defender_war_end_glory_gain_med_effect = yesgame/common/scripted_effects/00_accolades_scripted_effects.txt, line 1423 (43 lines). No parameters.
accolade_defender_war_end_glory_gain_med_effect is a scripted effect in Crusader Kings III, written at line 1423 of its file. It takes no parameters: accolade_defender_war_end_glory_gain_med_effect = yes. The game's script calls it in 26 places, among them …… Ancestral Claim on … (casus belli), Azariqa Rebellion (casus belli) and Claim (casus belli). Patch 1.20.1.2, from game/common/scripted_effects/00_accolades_scripted_effects.txt.
The comment above it in the file
duchy-type wars when the defender wins
What it does
If
a check the game hides
Then
If
tier_difference = { target = scope:attacker value <= -3 }
Then
- Due to … high Rank, each of … Acclaimed Knights:
add_glory = major_glory_gain
Else if
tier_difference = { target = scope:attacker value = -2 }
Then
- Due to … high Rank, each of … Acclaimed Knights:
add_glory = medium_glory_gain
Else if
tier_difference = { target = scope:attacker value = -1 }
Then
- Due to … high Rank, each of … Acclaimed Knights:
add_glory = minor_glory_gain
• 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 (43 lines of game script)
accolade_defender_war_end_glory_gain_med_effect = {
if = {
limit = {
has_dlc_feature = accolades
}
if = {
limit = {
tier_difference = {
target = scope:attacker
value <= -3
}
}
every_active_accolade = {
custom = custom.defender_every_active_accolade
add_glory = major_glory_gain
}
}
else_if = {
limit = {
tier_difference = {
target = scope:attacker
value = -2
}
}
every_active_accolade = {
custom = custom.defender_every_active_accolade
add_glory = medium_glory_gain
}
}
else_if = {
limit = {
tier_difference = {
target = scope:attacker
value = -1
}
}
every_active_accolade = {
custom = custom.defender_every_active_accolade
add_glory = minor_glory_gain
}
}
}
}As written in game/common/scripted_effects/00_accolades_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls accolade_defender_war_end_glory_gain_med_effect.
Casus belli (26)
20 more
- Duchy Conquest
- Greatest of Khans' Onslaught
- Imperial Reconquest
- Individual De Jure Duchy
- Invasion
- Invasion
- Invasion
- Invasion
- Major Holy
- Migrate to Pannonia
- Mongol Invasion
- Overrun Kingdom
- Overrun Kingdom
- Pax Romana
- Raiktor's "Claim"
- Raiktor's Claim
- Remove Regent
- Seize the Mandate of Heaven
- Subjugation
- Viking Adventurer
Source: game/common/scripted_effects/00_accolades_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.