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

Scripted effect · The Fate of Iberia files

fp2_struggle_compromise_create_new_empire_effect

fp2_struggle_compromise_create_new_empire_effect = yes

game/common/scripted_effects/03_dlc_fp2_scripted_effects.txt, line 283 (15 lines). No parameters.

fp2_struggle_compromise_create_new_empire_effect is a scripted effect in Crusader Kings III, in the The Fate of Iberia files, written at line 283 of its file. It takes no parameters: fp2_struggle_compromise_create_new_empire_effect = yes. The game's script calls it in 2 places, among them form_portugal_decision_effects (scripted effect) and fp2_struggle_compromise_kingdoms_to_empires_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/03_dlc_fp2_scripted_effects.txt.

The comment above it in the file

Creates a new de jure empire from a kingdom

What it does

  • create_dynamic_title = { tier = empire name = NEW_CREATED_TITLE_NAME }
  • scope:old_title:
    • set_de_jure_liege_title = scope:new_title
  • scope:new_title:
    • The coat of arms changes
    • set_color_from_title = scope:old_title
    • set_capital_county = scope:old_title.title_capital_county

• 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 (15 lines of game script)
fp2_struggle_compromise_create_new_empire_effect = {
	add_to_list = kingdom_empire
	save_scope_as = old_title
	create_dynamic_title = {
		tier = empire
		name = NEW_CREATED_TITLE_NAME
	}
	scope:old_title = { set_de_jure_liege_title = scope:new_title }
	scope:new_title = {
		add_to_list = new_empire_list
		set_coa = scope:old_title
		set_color_from_title = scope:old_title
		set_capital_county = scope:old_title.title_capital_county
	}
}

As written in game/common/scripted_effects/03_dlc_fp2_scripted_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls fp2_struggle_compromise_create_new_empire_effect.

Source: game/common/scripted_effects/03_dlc_fp2_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?