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

Scripted effect

start_tributary_from_war_effect

start_tributary_from_war_effect = { SUZERAIN = … TRIBUTARY = … WAR = … }

game/common/scripted_effects/00_interaction_effects.txt, line 2304 (15 lines). Parameters: $SUZERAIN$, $TRIBUTARY$, $WAR$.

start_tributary_from_war_effect is a scripted effect in Crusader Kings III, written at line 2304 of its file. A call passes 3 parameters: SUZERAIN, TRIBUTARY and WAR. The game's script calls it in 6 places, among them Bring Under Tribute (casus belli), Domination War (casus belli) and Independence (casus belli). Patch 1.20.1.2, from game/common/scripted_effects/00_interaction_effects.txt.

The comment above it in the file

Effect to start a tributary relationship from a war
root-scope is the Suzerain
$TRIBUTARY$ = the new tributary
$SUZERAIN$ = their suzerain
$WAR$ = required war scope

What it does

  • If

    a check the game hides

    Then

    • error_log = Tried to call start_tributary_from_war_effect without a valid war scope!
  • start_tributary_interaction_effect = { TRIBUTARY = $TRIBUTARY$ SUZERAIN = $SUZERAIN$ }

• 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)
start_tributary_from_war_effect = {
	$WAR$ ?= { save_scope_as = tributary_war }
	if = {
		limit = { NOT = { exists = $WAR$ } }
		error_log = "Tried to call start_tributary_from_war_effect without a valid war scope!"
	}
	save_scope_value_as = {
		name = high_obligations
		value = yes
	}
	start_tributary_interaction_effect = {
		TRIBUTARY = $TRIBUTARY$
		SUZERAIN = $SUZERAIN$
	}
}

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

Where it is used

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

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