Scripted effect
break_alliance_due_to_attack_effect
break_alliance_due_to_attack_effect = { TARGET = … }game/common/scripted_effects/00_war_effects.txt, line 616 (10 lines). Parameters: $TARGET$.
break_alliance_due_to_attack_effect is a scripted effect in Crusader Kings III, written at line 616 of its file. A call passes 1 parameter: TARGET. The game's script calls it in 2 places, among them diarch_coup_preamble_effects_effect (scripted effect) and on_declared_war (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_war_effects.txt.
What it does
- Gain -250 Prestige
- Level of Fame -1
- Gains the modifier “Attacked an Ally” for 3 years
- General Opinion -25
break_alliance = $TARGET$
• 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 (10 lines of game script)
break_alliance_due_to_attack_effect = {
custom_description_no_bullet = { text = attack_ally_text }
add_prestige = attack_ally_prestige_loss
add_prestige_level = attack_ally_prestige_level_loss
add_character_modifier = {
modifier = attacked_ally
years = 3
}
break_alliance = $TARGET$
}As written in game/common/scripted_effects/00_war_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls break_alliance_due_to_attack_effect.
Scripted effects (2)
Source: game/common/scripted_effects/00_war_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.