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

Scripted trigger · Tours and Tournaments files

travel_lifestyle_track_greater_equal_trigger

travel_lifestyle_track_greater_equal_trigger = { GREATER_EQUAL = … TRACK = … }

game/common/scripted_triggers/04_ep2_tour_triggers.txt, line 50 (8 lines). Parameters: $GREATER_EQUAL$, $TRACK$.

travel_lifestyle_track_greater_equal_trigger is a scripted trigger in Crusader Kings III, in the Tours and Tournaments files, written at line 50 of its file. A call passes 2 parameters: GREATER_EQUAL and TRACK. The game's script calls it in 1 place, among them author_book.1000 (event). Patch 1.20.1.2, from game/common/scripted_triggers/04_ep2_tour_triggers.txt.

What it checks

  • Has the Trait: Traveler
  • has_trait_xp = { trait = lifestyle_traveler track = $TRACK$ value >= $GREATER_EQUAL$ }

• 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 (8 lines of game script)
travel_lifestyle_track_greater_equal_trigger = {
	has_trait = lifestyle_traveler
	has_trait_xp = {
		trait = lifestyle_traveler
		track = $TRACK$
		value >= $GREATER_EQUAL$
	}
}

As written in game/common/scripted_triggers/04_ep2_tour_triggers.txt.

Where it is used

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

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