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

Scripted effect · Tours and Tournaments files

traveler_travel_xp_effect

traveler_travel_xp_effect = { MAX = … MIN = … }

game/common/scripted_effects/04_dlc_ep2_tour_effects.txt, line 369 (38 lines). Parameters: $MAX$, $MIN$.

traveler_travel_xp_effect is a scripted effect in Crusader Kings III, in the Tours and Tournaments files, written at line 369 of its file. A call passes 2 parameters: MAX and MIN. The game's script calls it in 20 places, among them poi_capitals (travel), poi_grand_cathedral (travel) and poi_grand_city (travel). Patch 1.20.1.2, from game/common/scripted_effects/04_dlc_ep2_tour_effects.txt.

What it does

• 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 (38 lines of game script)
traveler_travel_xp_effect = {
	if = {
		limit = { has_trait = lifestyle_traveler }
		if = {
			limit = {
				has_perk = journey_perk
			}
			add_trait_xp = {
				trait = lifestyle_traveler
				track = travel
				value = {
					integer_range = {
						min = {
							value = $MIN$
							add = 2
						}
						max = {
							value = $MAX$
							add = 2
						}
					}
				}
			}
		}
		else = {
			add_trait_xp = {
				trait = lifestyle_traveler
				track = travel
				value = {
					integer_range = {
						min = $MIN$
						max = $MAX$
					}
				}
			}
		}
	}
}

As written in game/common/scripted_effects/04_dlc_ep2_tour_effects.txt.

Where it is used

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

Travel (15)

  • poi_capitals
  • poi_grand_cathedral
  • poi_grand_city
  • poi_legend_capitals
  • poi_lighthouse_of_alexandria
  • poi_mandala_capital
9 more
  • poi_mausoleum_at_halicarnassus
  • poi_natural_feature
  • poi_special_buildings_diplomatic
  • poi_special_buildings_learning
  • poi_special_buildings_martial
  • poi_special_buildings_religious
  • poi_special_buildings_stress_relief
  • poi_special_buildings_wonder
  • poi_standalone_holy_site

Events (3)

Scripted effects inside an event file (1)

  • coronation_events_1019_memory_reward_effect

Source: game/common/scripted_effects/04_dlc_ep2_tour_effects.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?