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

Scripted trigger · Wards and Wardens files

bp2_valid_hostage_demand_action_trigger

bp2_valid_hostage_demand_action_trigger = yes

game/common/scripted_triggers/05_bp2_hostage_triggers.txt, line 166 (22 lines). No parameters.

bp2_valid_hostage_demand_action_trigger is a scripted trigger in Crusader Kings III, in the Wards and Wardens files, written at line 166 of its file. It takes no parameters: bp2_valid_hostage_demand_action_trigger = yes (or no). The game's script calls it in 1 place, among them You can Demand a Hostage (important action). Patch 1.20.1.2, from game/common/scripted_triggers/05_bp2_hostage_triggers.txt.

What it checks

• 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 (22 lines of game script)
bp2_valid_hostage_demand_action_trigger = {
	# Context checks, e.g. alliance
	bp2_valid_hostage_action_shared_trigger = yes	save_temporary_scope_as = home_court
	NOT = {
		# Don't already have your hostage
		any_home_court_hostage = { warden = root }
	}
	# Ensure a viable hostage exists
	any_close_family_member = {
		count >= 1
		bp2_valid_to_offer_as_hostage_trigger = { SENDER = scope:home_court }
		save_temporary_scope_as = their_hostage
	}
	# Ensure Demand might be accepted
	root = {
		is_character_interaction_potentially_accepted = {
			interaction = demand_hostage_interaction
			recipient = scope:home_court
			secondary_recipient = scope:their_hostage
		}
	}
}

As written in game/common/scripted_triggers/05_bp2_hostage_triggers.txt.

Where it is used

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

Important actions (1)

  • You can Demand a Hostage

Source: game/common/scripted_triggers/05_bp2_hostage_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?