Scripted effect
accolade_attacker_war_end_glory_gain_low_effect
accolade_attacker_war_end_glory_gain_low_effect = yesgame/common/scripted_effects/00_accolades_scripted_effects.txt, line 1288 (43 lines). No parameters.
accolade_attacker_war_end_glory_gain_low_effect is a scripted effect in Crusader Kings III, written at line 1288 of its file. It takes no parameters: accolade_attacker_war_end_glory_gain_low_effect = yes. The game's script calls it in 52 places, among them … China's Grand Campaign (casus belli), …-… Bloc Supremacy War (casus belli) and …… Ancestral Claim on … (casus belli). Patch 1.20.1.2, from game/common/scripted_effects/00_accolades_scripted_effects.txt.
The comment above it in the file
Glory Gain from winning wars against THE BIG BAD little wars when the attacker wins
What it does
If
a check the game hides
Then
If
tier_difference = { target = scope:defender value <= -3 }
Then
- Due to … high Rank, each of … Acclaimed Knights:
add_glory = medium_glory_gain
Else if
tier_difference = { target = scope:defender value = -2 }
Then
- Due to … high Rank, each of … Acclaimed Knights:
add_glory = minor_glory_gain
Else if
tier_difference = { target = scope:defender value = -1 }
Then
- Due to … high Rank, each of … Acclaimed Knights:
add_glory = minimal_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_attacker_war_end_glory_gain_low_effect = {
if = {
limit = {
has_dlc_feature = accolades
}
if = {
limit = {
tier_difference = {
target = scope:defender
value <= -3
}
}
every_active_accolade = {
custom = custom.attacker_every_active_accolade
add_glory = medium_glory_gain
}
}
else_if = {
limit = {
tier_difference = {
target = scope:defender
value = -2
}
}
every_active_accolade = {
custom = custom.attacker_every_active_accolade
add_glory = minor_glory_gain
}
}
else_if = {
limit = {
tier_difference = {
target = scope:defender
value = -1
}
}
every_active_accolade = {
custom = custom.attacker_every_active_accolade
add_glory = minimal_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_attacker_war_end_glory_gain_low_effect.
Casus belli (51)
- … China's Grand Campaign
- …-… Bloc Supremacy War
- …… Ancestral Claim on …
- Azariqa Rebellion
- Bloc Expansion
- Border Raid
45 more
- Border Raid against the Roman Empire
- Clan Invasion
- County Conquest
- County Expansion
- Diarch Seizure
- Ducal Conquest
- Enforce Administrative Integration
- Eradicate Rival House
- Establish Sōryō Administration
- Great Holy War
- Great Holy War
- Greatest of Khans' Onslaught
- Imperial County Pacification
- Imperial Reconquest of Japan (De Jure)
- Individual De Jure County
- Invasion
- Invasion
- Invasion
- Laudabiliter Conquest
- Major Holy
- Mediterranean Conquest
- Migrate to Pannonia
- Minor Holy
- Mongol Invasion
- Naval County Expansion
- Nomadic County Quarrel
- Overrun Kingdom
- Overrun Kingdom
- Pax Romana
- Pillaging Foray
- Plunder for Contribution
- Raid for Captives
- Raid for Captives Contract
- Raiktor's "Claim"
- Raze Capital Temple Complex
- Resist Capture
- Seize Hegemonic County
- Seize Hegemonic County
- Seize Hegemonic Duchy
- Seize Hegemonic Duchy
- Seize the Mandate of Heaven
- Sōryō Conquest
- Sōryō Conquest
- Struggle Clash
- Subjugation
On actions (the game's own hooks) (1)
- on_war_invalidated
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.