Scripted effect · Tours and Tournaments files
tour_progress_effect
tour_progress_effect = yesgame/common/scripted_effects/04_dlc_ep2_tour_effects.txt, line 735 (39 lines). No parameters.
tour_progress_effect is a scripted effect in Crusader Kings III, in the Tours and Tournaments files, written at line 735 of its file. It takes no parameters: tour_progress_effect = yes. The game's script calls it in 1 place, among them Grand Tour (activity). Patch 1.20.1.2, from game/common/scripted_effects/04_dlc_ep2_tour_effects.txt.
What it does
If
- scope:activity: Months of stop at least 2
Then
scope:host:location.province_owner ?= { … }
- Event tour_general.0510
• 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 (39 lines of game script)
tour_progress_effect = {
# Progress the activity
if = {
limit = {
scope:activity = { exists = var:months_of_stop }
scope:activity = { var:months_of_stop >= 2 }
}
scope:host = {
save_scope_as = visiting_liege
location.province_owner ?= {
save_scope_as = stop_host_scope
if = {
limit = { has_character_flag = being_visited_on_tour }
remove_character_flag = being_visited_on_tour
}
}
}
trigger_event = tour_general.0510
}
if = {
limit = {
scope:activity = { NOT = { exists = var:months_of_stop } }
}
scope:activity = {
set_variable = {
name = months_of_stop
value = 1
}
}
}
else = {
scope:activity = {
change_variable = {
name = months_of_stop
add = 1
}
}
}
}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 tour_progress_effect.
Activities (1)
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.