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

should_be_mandala_tributary_trigger

should_be_mandala_tributary_trigger = { SUZERAIN = … TRIBUTARY = … }

game/common/scripted_triggers/10_tgp_triggers.txt, line 366 (14 lines). Parameters: $SUZERAIN$, $TRIBUTARY$.

should_be_mandala_tributary_trigger is a scripted trigger in Crusader Kings III, in the All Under Heaven files, written at line 366 of its file. A call passes 2 parameters: SUZERAIN and TRIBUTARY. The game's script calls it in 2 places, among them setup_tributary_truces_effect (scripted effect) and start_tributary_interaction_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/10_tgp_triggers.txt.

What it checks

  • One of these

    • All of these

      • $SUZERAIN$ = { has_government = mandala_government }
      • $TRIBUTARY$ = { has_government = mandala_government }
    • or

      All of these

      • $SUZERAIN$ = { has_government = mandala_government }
      • $TRIBUTARY$ = { government_has_flag = government_is_tribal }

• 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 (14 lines of game script)
should_be_mandala_tributary_trigger = {
	OR = {
		AND = {
			$SUZERAIN$ = { has_government = mandala_government }
			$TRIBUTARY$ = { has_government = mandala_government }
		}
		AND = {
			$SUZERAIN$ = { has_government = mandala_government }
			$TRIBUTARY$ = {
				government_has_flag = government_is_tribal
			}
		}
	}
}

As written in game/common/scripted_triggers/10_tgp_triggers.txt.

Where it is used

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

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