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

Scripted trigger

has_changed_contract_obligation_trigger

has_changed_contract_obligation_trigger = yes

game/common/scripted_triggers/00_scripted_triggers.txt, line 399 (23 lines). No parameters.

has_changed_contract_obligation_trigger is a scripted trigger in Crusader Kings III, written at line 399 of its file. It takes no parameters: has_changed_contract_obligation_trigger = yes (or no). The game's script calls it in 8 places, among them Impose Contract Change (interaction), Modify … Administration (interaction) and Modify … Administration (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/00_scripted_triggers.txt.

What it checks

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

The script as written (23 lines of game script)
has_changed_contract_obligation_trigger = {
	trigger_if = {
		limit = {
			scope:recipient = { government_has_flag = government_is_feudal }
		}
		custom_description = {
			text = "modify_vassal_contract_select_different_obligation_level"
			list_size = {
				name = changed_obligations
				value > 0
			}
		}
	}
	trigger_else = {
		custom_description = {
			text = "modify_non_feudal_vassal_contract_select_different_obligation_level"
			list_size = {
				name = changed_obligations
				value > 0
			}
		}
	}
}

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

Where it is used

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

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