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

Scripted effect

break_subject_contract_and_establish_tributary_effect

break_subject_contract_and_establish_tributary_effect = { SUZERAIN = … TRIBUTARY = … }

game/common/scripted_effects/00_tributary_setup_effects.txt, line 22 (18 lines). Parameters: $SUZERAIN$, $TRIBUTARY$.

break_subject_contract_and_establish_tributary_effect is a scripted effect in Crusader Kings III, written at line 22 of its file. A call passes 2 parameters: SUZERAIN and TRIBUTARY. The game's script calls it in 13 places, among them Migrate (interaction), Pledge Tribute (interaction) and mpo_interactions_events.0010 (event). Patch 1.20.1.2, from game/common/scripted_effects/00_tributary_setup_effects.txt.

The comment above it in the file

$TRIBUTARY$ = the new tributary
$SUZERAIN$ = their suzerain
$WAR$ = determines if this was caused by war or agreement, yes or no

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 (18 lines of game script)
break_subject_contract_and_establish_tributary_effect = {
	if = {
		limit = { liege != this }
		create_title_and_vassal_change = {
			type = independency
			save_scope_as = change
			add_claim_on_loss = no
		}
		becomes_independent = {
			change = scope:change
		}
		resolve_title_and_vassal_change = scope:change
	}
	start_tributary_interaction_effect = {
		SUZERAIN = $SUZERAIN$
		TRIBUTARY = $TRIBUTARY$
	}
}

As written in game/common/scripted_effects/00_tributary_setup_effects.txt.

Where it is used

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

Source: game/common/scripted_effects/00_tributary_setup_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?