CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted effect

found_kingdom_of_livonia_decision_scripted_effect

found_kingdom_of_livonia_decision_scripted_effect = yes

game/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

  • Livonia: Gains the … Title (founder)
  • Latgalia: Becomes de jure part of Livonia
  • Courland: Becomes de jure part of Livonia
  • Livonia: Becomes de jure part of Livonia
  • If

    • Estonia:
      • holder = root

    Then

    • Estonia: Becomes de jure part of Livonia
  • If

    • Their faith is Vidilism
    • Your culture:
      • NOT = { has_innovation = innovation_longboats }

    Then

    • Your culture:
      • add_innovation = innovation_longboats

• 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.

Events (2)

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.

Spotted a mistake on this page?