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

Scripted trigger

ai_wants_low_unity

ai_wants_low_unity = yes

game/common/scripted_triggers/00_ai_value_triggers.txt, line 282 (17 lines). No parameters.

ai_wants_low_unity is a scripted trigger in Crusader Kings III, written at line 282 of its file. It takes no parameters: ai_wants_low_unity = yes (or no). The game's script calls it in 9 places, among them Steer House Unity (decision), Accuse of Decadence (interaction) and Extol Virtuousness (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/00_ai_value_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 (17 lines of game script)
ai_wants_low_unity = {
	government_has_flag = government_is_clan
	# To actively decrease Unity, the AI needs the following personality
	OR = {
		AND = {
			OR = {
				has_trait_malicious_trigger = yes
				has_trait_dominant_trigger = yes
			}
			has_trait_submissive_trigger = no
			has_trait_benevolent_trigger = no
		}
		ai_has_warlike_personality = yes
		has_variable = conqueror
		has_character_flag = agenda_towards_escalation
	}
}

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

Where it is used

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

Decisions (1)

Character interactions (2)

Script values (1)

  • adjust_court_position_score_for_unity

Scripted modifiers (AI weights) (2)

  • evaluate_action_decreasing_house_unity
  • evaluate_action_increasing_house_unity

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