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

confederation_neighboring_foe_trigger

confederation_neighboring_foe_trigger = { CHARACTER = … }

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

confederation_neighboring_foe_trigger is a scripted trigger in Crusader Kings III, in the Khans of the Steppe files, written at line 133 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 3 places, among them Call for Confederation (decision), Join Confederation (interaction) and Offer Confederation (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/mpo_scripted_triggers.txt.

What it checks

  • Is not a member of a Confederation
  • One of these

    • Any land neighboring realm with tributaries owner:
    • or

      Any land neighboring realm with tributaries owner:
      • exists = suzerain
      • suzerain = { … }
    • or

      Any land neighboring realm with tributaries owner:

• 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 (25 lines of game script)
confederation_neighboring_foe_trigger = {
	save_temporary_scope_as = confederate
	is_confederation_member = no
	OR = {
		#Threat borders you or your tributaries
		any_land_neighboring_realm_with_tributaries_owner = {
			confederation_foe_sub_trigger = { CHARACTER = $CHARACTER$ }
		}
		#You border threat's direct tributaries
		any_land_neighboring_realm_with_tributaries_owner = {
			exists = suzerain
			suzerain = {
				confederation_foe_sub_trigger = { CHARACTER = $CHARACTER$ }
			}
		}
		#You border threat's lower level tributaries
		any_land_neighboring_realm_with_tributaries_owner = {
			is_tributary = yes
			top_suzerain = {
				confederation_foe_sub_trigger = { CHARACTER = $CHARACTER$ }
			}
		}
	}
	
}

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

Where it is used

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

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?