Scripted effect · Tours and Tournaments files
show_tour_option_start_effect
show_tour_option_start_effect = yesgame/common/scripted_effects/04_dlc_ep2_tour_effects.txt, line 527 (89 lines). No parameters.
show_tour_option_start_effect is a scripted effect in Crusader Kings III, in the Tours and Tournaments files, written at line 527 of its file. It takes no parameters: show_tour_option_start_effect = yes. The game's script calls it in 1 place, among them Grand Tour: A Tentative Start (event travel_start_event.1020). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/04_dlc_ep2_tour_effects.txt.
What it does
If
Not all of these
One of these
- Their activity:
has_activity_option = { category = tour_luxuries option = tour_luxuries_bad }
or
Their activity:has_activity_option = { category = tour_luxuries option = tour_luxuries_normal }
- Their activity:
- Their activity:
has_activity_option = { category = tour_entourage option = tour_entourage_small }
Then
- Due to your Activity Options:
add_prestige = { … }
• 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 (89 lines of game script)
show_tour_option_start_effect = {
if = {
limit = {
NAND = {
OR = {
involved_activity = {
has_activity_option = {
category = tour_luxuries
option = tour_luxuries_bad
}
}
involved_activity = {
has_activity_option = {
category = tour_luxuries
option = tour_luxuries_normal
}
}
}
involved_activity = {
has_activity_option = {
category = tour_entourage
option = tour_entourage_small
}
}
}
}
custom_tooltip = due_to_activity_options_tt
show_as_tooltip = {
add_prestige = {
value = 0
if = {
limit = {
involved_activity = {
has_activity_option = {
category = tour_luxuries
option = tour_luxuries_good
}
}
}
add = 30
}
else_if = {
limit = {
involved_activity = {
has_activity_option = {
category = tour_luxuries
option = tour_furniture_normal
}
}
}
add = medium_prestige_gain
}
else_if = {
limit = {
involved_activity = {
has_activity_option = {
category = tour_luxuries
option = tour_furniture_good
}
}
}
add = major_prestige_gain
}
if = {
limit = {
involved_activity = {
has_activity_option = {
category = tour_entourage
option = tour_entourage_normal
}
}
}
add = medium_prestige_gain
}
else_if = {
limit = {
involved_activity = {
has_activity_option = {
category = tour_entourage
option = tour_entourage_grand
}
}
}
add = major_prestige_gain
}
}
}
}
}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 show_tour_option_start_effect.
Events (1)
- Grand Tour: A Tentative Start
travel_start_event.1020
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.