Scripted effect
unite_burgundies_scripted_effect
unite_burgundies_scripted_effect = yesgame/common/scripted_effects/00_major_decisions_scripted_effects.txt, line 1563 (97 lines). No parameters.
unite_burgundies_scripted_effect is a scripted effect in Crusader Kings III, written at line 1563 of its file. It takes no parameters: unite_burgundies_scripted_effect = yes. The game's script calls it in 2 places, among them Unify the Burgundies (decision) and One Burgundy (event middle_europe_decisions.0007). Patch 1.20.1.2, from game/common/scripted_effects/00_major_decisions_scripted_effects.txt.
What it does
- Gain +150 Prestige
change_liege_or_become_independent = { CHANGE = scope:change VASSAL = this }- Burgundy: Gains the … Title (root)
scope:former_liege:- Gain -350 Prestige
add_unpressed_claim = title:k_burgundy- Opinion: Pretender
• 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 (97 lines of game script)
unite_burgundies_scripted_effect = {
add_prestige = medium_prestige_gain
save_scope_as = scoped_ruler
liege = { save_scope_as = former_liege }
#De jure shifts.
hidden_effect = {
title:d_burgundy = {
set_de_jure_liege_title = title:k_burgundy
}
title:d_provence = { #Just in case they drifted in the meantime.
set_de_jure_liege_title = title:k_burgundy
}
title:d_savoie = {
set_de_jure_liege_title = title:k_burgundy
}
title:d_dauphine = {
set_de_jure_liege_title = title:k_burgundy
}
title:d_upper_burgundy = {
set_de_jure_liege_title = title:k_burgundy
}
}
if = {
limit = {
culture:occitan = {
NOT = {
has_innovation = innovation_guilds
}
}
}
culture:occitan = {
add_innovation = innovation_guilds
}
}
if = {
limit = {
culture:occitan = {
NOT = {
has_innovation = innovation_burhs
}
}
}
culture:occitan = {
add_innovation = innovation_burhs
}
}
if = {
limit = {
culture:occitan = {
NOT = {
has_innovation = innovation_baliffs
}
}
}
culture:occitan = {
add_innovation = innovation_baliffs
}
}
#Make ruler independent and give Burgundy to him.
create_title_and_vassal_change = {
type = independency
save_scope_as = change
add_claim_on_loss = no
}
change_liege_or_become_independent = {
CHANGE = scope:change
VASSAL = this
}
hidden_effect = {
add_truce_both_ways = {
character = scope:former_liege
days = 1825
name = TRUCE_GRANT_INDEPENDENCE_ROOT
}
}
resolve_title_and_vassal_change = scope:change
create_title_and_vassal_change = {
type = created
save_scope_as = new_burgundy
add_claim_on_loss = no
}
title:k_burgundy = {
change_title_holder = {
holder = root
change = scope:new_burgundy
}
}
resolve_title_and_vassal_change = scope:new_burgundy
scope:former_liege = {
add_prestige = major_prestige_loss
add_unpressed_claim = title:k_burgundy #Give chance to retaliate
add_opinion = {
target = scope:scoped_ruler
modifier = pretender_opinion
}
}
}As written in game/common/scripted_effects/00_major_decisions_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls unite_burgundies_scripted_effect.
Decisions (1)
Events (1)
- One Burgundy
middle_europe_decisions.0007
Source: game/common/scripted_effects/00_major_decisions_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.