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_albania_decision_scripted_effect

found_kingdom_of_albania_decision_scripted_effect = yes

game/common/scripted_effects/00_major_decisions_scripted_effects.txt, line 3453 (30 lines). No parameters.

found_kingdom_of_albania_decision_scripted_effect is a scripted effect in Crusader Kings III, written at line 3453 of its file. It takes no parameters: found_kingdom_of_albania_decision_scripted_effect = yes. The game's script calls it in 1 place, among them Found the Kingdom of Albania (decision). Patch 1.20.1.2, from game/common/scripted_effects/00_major_decisions_scripted_effects.txt.

What it does

  • Albania: Gains the … Title (founder)
  • Dyrrachion: Becomes de jure part of Albania
  • If

    • Duklja:
      • holder = root

    Then

    • Duklja: Becomes de jure part of Albania
  • If

    • Cephalonia:
      • holder = root

    Then

    • Cephalonia: Becomes de jure part of Albania
  • add_legitimacy_effect = { LEGITIMACY = major_legitimacy_gain }
  • Their dynasty: The dynasty gains +1,000 Renown

• 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 (30 lines of game script)
found_kingdom_of_albania_decision_scripted_effect = {
	create_title_and_vassal_change = {
		type = created
		save_scope_as = title_change
		add_claim_on_loss = no
	}
	title:k_albania = {
		change_title_holder = {
			holder = scope:founder
			change = scope:title_change
		}
	}
	resolve_title_and_vassal_change = scope:title_change

	title:d_dyrrachion = { set_de_jure_liege_title = title:k_albania }

	if = {
		limit = { title:d_duklja = { holder = root } }
		title:d_duklja = { set_de_jure_liege_title = title:k_albania }
	}
	if = {
		limit = { title:d_cephalonia = { holder = root } }
		title:d_cephalonia = { set_de_jure_liege_title = title:k_albania }
	}

	hidden_effect = { set_primary_title_to = title:k_albania }

	add_legitimacy_effect = { LEGITIMACY = major_legitimacy_gain }
	dynasty = { add_dynasty_prestige = monumental_dynasty_prestige_gain }
}

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

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?