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

Scripted trigger

cannot_release_former_regent_whilst_old_regent_holds_power_trigger

cannot_release_former_regent_whilst_old_regent_holds_power_trigger = { PRISONER = … REGENT = … }

game/common/scripted_triggers/00_diarchy_scripted_triggers.txt, line 363 (18 lines). Parameters: $PRISONER$, $REGENT$.

cannot_release_former_regent_whilst_old_regent_holds_power_trigger is a scripted trigger in Crusader Kings III, written at line 363 of its file. A call passes 2 parameters: PRISONER and REGENT. The game's script calls it in 7 places, among them Blind (interaction), Castrate Prisoner (interaction) and Negotiate Release (interaction). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/00_diarchy_scripted_triggers.txt.

What it checks

Every line of it is script with no tooltip text: the script is below.

The script as written (18 lines of game script)
cannot_release_former_regent_whilst_old_regent_holds_power_trigger = {
	$PRISONER$ = {
		trigger_if = {
			limit = {
				has_variable = imprisoned_by_diarch
				exists = $PRISONER$.liege
				$REGENT$ = { is_diarch_of_target = $PRISONER$.liege }
			}
			custom_tooltip = {
				text = overthrow_regent_scheme_interaction.tt.cannot_release
				NOR = {
					var:imprisoned_by_diarch = $PRISONER$.imprisoner
					var:imprisoned_by_diarch ?= $PRISONER$.liege.diarch
				}
			}
		}
	}
}

As written in game/common/scripted_triggers/00_diarchy_scripted_triggers.txt.

Where it is used

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

Source: game/common/scripted_triggers/00_diarchy_scripted_triggers.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?