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

Scripted trigger · Khans of the Steppe files

valid_confederation_member_trigger

valid_confederation_member_trigger = { CHARACTER = … }

game/common/scripted_triggers/mpo_scripted_triggers.txt, line 20 (40 lines). Parameters: $CHARACTER$.

valid_confederation_member_trigger is a scripted trigger in Crusader Kings III, in the Khans of the Steppe files, written at line 20 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 6 places, among them Call for Confederation (decision), Join Confederation (interaction) and Offer Confederation (interaction). Its body carries 3 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/mpo_scripted_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 (40 lines of game script)
valid_confederation_member_trigger = {
	is_playable_character = yes
	is_tributary = no
	is_landed = yes
	is_independent_ruler = yes
	is_alive = yes
	NOR = {
		has_trait = conqueror
		has_trait = greatest_of_khans
		is_at_war_with = $CHARACTER$
		is_at_war_with = $CHARACTER$.top_liege
		custom_tooltip = {
			text = no_raiding_hostility_tt
			$CHARACTER$ = {
				is_causing_raid_hostility_towards = prev
			}
		}
	}
	highest_held_title_tier <= tier_duchy
	trigger_if = {
		limit = {
			government_has_flag = government_is_nomadic
		}
		custom_tooltip = {
			text = low_authority_tt
			OR = {
				has_realm_law = nomadic_authority_1
				has_realm_law = nomadic_authority_2
			}
		}
	}
	custom_tooltip = {
		OR = {
			government_has_flag = government_is_tribal
			government_has_flag = government_is_nomadic
		}
		text = is_nomadic_or_tribal_tt
	}
	is_confederation_member = no
}

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

Where it is used

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

Character interactions (2)

Events (3)

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