Scripted effect · Tours and Tournaments files
tour_stop_host_effect
tour_stop_host_effect = yesgame/common/scripted_effects/04_dlc_ep2_tour_effects.txt, line 495 (22 lines). No parameters.
tour_stop_host_effect is a scripted effect in Crusader Kings III, in the Tours and Tournaments files, written at line 495 of its file. It takes no parameters: tour_stop_host_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
Every line of it is script with no tooltip text: the script is below.
The script as written (22 lines of game script)
tour_stop_host_effect = {
set_variable = {
name = stop_host
value = scope:host.location.county.holder
}
var:stop_host = {
# Remove character flag which prevents vassals to be visited from starting other activities
if = {
limit = { has_character_flag = being_visited_on_tour }
remove_character_flag = being_visited_on_tour
}
add_to_activity_without_travel = scope:activity
save_scope_as = stop_host_scope
scope:host = {
save_scope_as = visiting_liege
}
}
add_to_variable_list = {
name = tour_visited_vassals
target = var:stop_host
}
}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_stop_host_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.