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 Northern Lords files

fp1_tbc_death_effect

fp1_tbc_death_effect = { TBC_LOSER = … TBC_VICTOR = … }

game/common/scripted_effects/01_dlc_fp1_scripted_effects.txt, line 715 (20 lines). Parameters: $TBC_LOSER$, $TBC_VICTOR$.

fp1_tbc_death_effect is a scripted effect in Crusader Kings III, in the The Northern Lords files, written at line 715 of its file. A call passes 2 parameters: TBC_LOSER and TBC_VICTOR. The game's script calls it in 1 place, among them Trial-by-Combat (interaction). Patch 1.20.1.2, from game/common/scripted_effects/01_dlc_fp1_scripted_effects.txt.

The comment above it in the file

Either-side effects for a tbc ending with death.

What it does

  • If

    • $TBC_VICTOR$.primary_title.tier = $TBC_LOSER$.primary_title.tier

    Then

    • $TBC_VICTOR$ = { add_prestige = medium_prestige_gain }

    Else if

    • $TBC_VICTOR$.primary_title.tier < $TBC_LOSER$.primary_title.tier

    Then

    • $TBC_VICTOR$ = { add_prestige = minor_prestige_gain }
  • $TBC_LOSER$ = { … }

• 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 (20 lines of game script)
fp1_tbc_death_effect = {
	# Check to see if this is a duel to the death between those of equal rank.
	## We check this here in case an *untimely* death causes either participant to go up a rank.
	## Equal rank: level playing field, maximum honour.
	if = {
		limit = { $TBC_VICTOR$.primary_title.tier = $TBC_LOSER$.primary_title.tier }
		$TBC_VICTOR$ = { add_prestige = medium_prestige_gain }
	}
	## Unequal rank: challenging your betters but clearly it was merited.
	else_if = {
		limit = { $TBC_VICTOR$.primary_title.tier < $TBC_LOSER$.primary_title.tier }
		$TBC_VICTOR$ = { add_prestige = minor_prestige_gain }
	}
	$TBC_LOSER$ = {
		death = {
			killer = $TBC_VICTOR$
			death_reason = death_duel
		}
	}
}

As written in game/common/scripted_effects/01_dlc_fp1_scripted_effects.txt.

Where it is used

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

Character interactions (1)

Source: game/common/scripted_effects/01_dlc_fp1_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?