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

Scripted trigger · All Under Heaven files

tribute_mission_decision_ai_potential_trigger

tribute_mission_decision_ai_potential_trigger = { TARGET = … }

game/common/scripted_triggers/tgp_tribute_mission_triggers.txt, line 48 (36 lines). Parameters: $TARGET$.

tribute_mission_decision_ai_potential_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 48 of its file. A call passes 1 parameter: TARGET. The game's script calls it in 6 places, among them Kowtow to China (decision), Pay Tribute to … (decision) and Pay Tribute to Dar al-Islam (decision). Patch 1.20.1.2, from game/common/scripted_triggers/tgp_tribute_mission_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 (36 lines of game script)
tribute_mission_decision_ai_potential_trigger = {
	is_at_war = no
	faith = {
		prev != religious_head
		NOT = { exists = great_holy_war }
	}

	# Emperors are much more selective
	trigger_if = {
		limit = { primary_title.tier >= tier_empire }
		tribute_mission_decision_ai_religion_culture_limit_trigger = { TARGET = $TARGET$ }
	}

	#Pace the AI
	trigger_if = {
		limit = {
			is_tributary = yes
			NOT = { has_variable = requested_tribute_mission }
		}
		suzerain = { NOT = { has_character_flag = pay_tribute_cooldown } }
		NOT = { has_variable = tribute_mission_grace }
		$TARGET$ ?= { NOT = { has_variable = ai_tribute_mission_cooldown } }
	}
	NOR = {
		any_owned_story = {
			OR = {
				story_type = story_mongol_invasion
				story_type = story_greatest_of_khans
			}
		}
		mpo_has_gok_mongol_empire_trigger = yes
		has_trait = conqueror
		has_trait = greatest_of_khans
		is_gurkhan = yes
	}
}

As written in game/common/scripted_triggers/tgp_tribute_mission_triggers.txt.

Where it is used

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

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