Scripted effect
found_kingdom_of_livonia_decision_scripted_effect
found_kingdom_of_livonia_decision_scripted_effect = yesgame/common/scripted_effects/00_major_decisions_scripted_effects.txt, line 3484 (31 lines). No parameters.
found_kingdom_of_livonia_decision_scripted_effect is a scripted effect in Crusader Kings III, written at line 3484 of its file. It takes no parameters: found_kingdom_of_livonia_decision_scripted_effect = yes. The game's script calls it in 3 places, among them Proclaim Terra Mariana (decision), First … of All Bosnia (event east_europe.0201) and The … of Livonia (event east_europe.0200). Patch 1.20.1.2, from game/common/scripted_effects/00_major_decisions_scripted_effects.txt.
What it does
• 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 (31 lines of game script)
found_kingdom_of_livonia_decision_scripted_effect = {
create_title_and_vassal_change = {
type = created
save_scope_as = title_change
add_claim_on_loss = no
}
title:k_livonia = {
change_title_holder = {
holder = scope:founder
change = scope:title_change
}
}
resolve_title_and_vassal_change = scope:title_change
title:d_latgalians = { set_de_jure_liege_title = title:k_livonia }
title:d_courland = { set_de_jure_liege_title = title:k_livonia }
title:d_livonia = { set_de_jure_liege_title = title:k_livonia }
if = {
limit = {
title:d_esthonia = { holder = root }
}
title:d_esthonia = { set_de_jure_liege_title = title:k_livonia }
}
if = {
limit = {
has_faith = faith:baltic_pagan
root.culture = { NOT = { has_innovation = innovation_longboats } }
}
root.culture = { add_innovation = innovation_longboats }
}
}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 found_kingdom_of_livonia_decision_scripted_effect.
Decisions (1)
Events (2)
- First … of All Bosnia
east_europe.0201 - The … of Livonia
east_europe.0200
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.