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

Scripted effect · Roads to Power files

ep3_landless_invasion_titles_taken_effect

ep3_landless_invasion_titles_taken_effect = { TITLE = … TITLE_GIVER = … TITLE_LIST = … TITLE_RECEIVER = … }

game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt, line 13055 (41 lines). Parameters: $TITLE$, $TITLE_GIVER$, $TITLE_LIST$, $TITLE_RECEIVER$.

ep3_landless_invasion_titles_taken_effect is a scripted effect in Crusader Kings III, in the Roads to Power files, written at line 13055 of its file. A call passes 4 parameters: TITLE, TITLE_GIVER, TITLE_LIST and TITLE_RECEIVER. The game's script calls it in 4 places, among them Adventurer Invasion (casus belli), Adventurer Invasion (casus belli) and Adventurer Invasion (casus belli). Patch 1.20.1.2, from game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.

The comment above it in the file

Set up titles in the new realm.
Determine potential breakaways

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 (41 lines of game script)
ep3_landless_invasion_titles_taken_effect = {
	# Determine independent vassals
	adventurer_realm_destabilisation_list_effect = {
		TITLE_RECEIVER = $TITLE_RECEIVER$
		TITLE_GIVER = $TITLE_GIVER$
		TITLE = $TITLE$
	}
	# Determine hierarchy
	ep3_become_landed_save_liege_effect = {
		TITLE_GIVER = $TITLE_GIVER$
		ALWAYS_INDEPENDENT = yes
		TITLE_LIST = $TITLE_LIST$
	}
	# Resolve title, liege, government changes
	if = {
		limit = { exists = scope:claimant }
		ep3_become_landed_transfer_effect = {
			TITLE_RECEIVER = $TITLE_RECEIVER$
			TITLE_LIST = $TITLE_LIST$
			TYPE = conquest_claim
			REASON = flag:conquest_claim
			ENNOBLED_ADVENTURER = flag:yes
		}
	}
	else = {
		ep3_become_landed_transfer_effect = {
			TITLE_RECEIVER = $TITLE_RECEIVER$
			TITLE_LIST = $TITLE_LIST$
			TYPE = conquest
			REASON = flag:conquest
			ENNOBLED_ADVENTURER = flag:yes
		}
	}
	# Vassals break away
	adventurer_realm_destabilisation_transfer_effect = {
		TITLE = $TITLE$
		TITLE_RECEIVER = $TITLE_RECEIVER$
		TITLE_GIVER = $TITLE_GIVER$
		TITLE_LIST = $TITLE_LIST$
	}
}

As written in game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.

Where it is used

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

Source: game/common/scripted_effects/07_dlc_ep3_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?