activity_roaming = {
	is_shown = {
		has_bp3_dlc_trigger = yes
		highest_held_title_tier >= tier_county
		is_adult = yes
		#Every other activity must be blocked until an uncrowned AI crowns themselves
		trigger_if = {
			limit = {
				is_ai = yes
			}
			NOT = {
				has_realm_law = uncrowned
			}
		}
		has_perk = roaming_perk
	}

	can_always_plan = no

	can_start_showing_failures_only = {
		NOT = { is_activity_type_on_cooldown = activity_roaming }
		is_available = yes
		age >= 16
	}

	is_valid = {
		scope:host = {
			is_alive = yes
			is_imprisoned = no
			NOT = { is_incapable = yes }
			OR = {
				is_ai = no
				is_landed = yes
			}
		}
	}

	is_location_valid = {
		trigger_if = {
			limit = {
				scope:host = {
					is_ai = no
					is_landless_adventurer = no
				}
			}
			custom_tooltip = {
				text = hike_province_requirement_landed
				county_controller ?= {
					OR = {
						target_is_liege_or_above = scope:host
						this = scope:host
					}
				}
			}
		}
		trigger_else_if = {
			limit = {
				scope:host = { 
					is_ai = no 
					OR = {
						OR = { has_government = landless_adventurer_government has_government = landless_minority_government   }
						is_landed = no
					}
				}
			}
			custom_tooltip = {
				text = hike_province_requirement_landless
				scope:host.location = {
					OR = {
						AND = {
							this = root
							exists = county
						}
						any_neighboring_province = {
							this = root
							exists = county
						}
					}
				}
			}
		}
		trigger_else = {
			always = yes
		}
	}

	on_enter_travel_state = {
		add_character_flag = roaming_character
	}

	on_invalidated = {
		invalidation_imprisoned_effect = yes
		invalidation_incapable_effect = yes
		invalidation_unlanded_effect = yes
	}

	on_enter_active_state = {
		surveyor_no_stone_unturned_perk_effect = yes
	}

	on_complete = {
		scope:activity.special_guest:honorary_guest_traveling_companion ?= { save_scope_as = special_guest }
		if = {
			limit = {
				this = scope:host
			}
			scope:activity = {
				add_activity_log_entry = {
					key = roaming_end_of_the_journey_key
					tags = { pulse_action }
					character = root
					show_in_conclusion = yes
					show_as_tooltip = {
						ordered_attending_character = {
							order_by = { 
								value = 1 
								if = {
									limit = { this = scope:host }
									add = 20
								}
							}
							if = {
								limit = {
									has_variable = roaming_tally_opinion
									exists = scope:special_guest
									this = scope:host
								}
								reverse_add_opinion = {
									modifier = friendliness_opinion
									target = scope:special_guest
									opinion = var:roaming_tally_opinion
								}
							}
							else_if = {
								limit = {
									has_variable = roaming_tally_opinion
									exists = scope:special_guest
									this = scope:special_guest
								}
								reverse_add_opinion = {
									modifier = friendliness_opinion
									target = scope:host
									opinion = var:roaming_tally_opinion
								}
							}
							if = {
								limit = {
									has_variable = roaming_tally_fame
								}
								add_prestige_experience = var:roaming_tally_fame
							}
							if = {
								limit = {
									has_variable = roaming_tally_stress
								}
								stress_impact = { base = var:roaming_tally_stress }
							}
							if = {
								limit = {
									has_variable = roaming_tally_piety
								}
								add_piety = var:roaming_tally_piety
							}
							if = {
								limit = {
									has_variable = roaming_tally_gold
								}
								add_gold = var:roaming_tally_gold
							}
							if = {
								limit = {
									has_variable = roaming_tally_mystic
								}
								add_trait_force_tooltip = lifestyle_mystic
							}
							if = {
								limit = {
									has_variable = roaming_tally_mystic_xp
								}
								add_trait_xp = {
									trait = lifestyle_mystic
									value = var:roaming_tally_mystic_xp
								} 
							}
							if = {
								limit = {
									has_variable = roaming_tally_athletic
								}
								add_trait_force_tooltip = athletic
							}
							if = {
								limit = {
									has_variable = roaming_tally_learning_skill
								}
								add_learning_skill = var:roaming_tally_learning_skill
							}
							if = {
								limit = {
									has_variable = roaming_tally_learning_lifestyle_xp
								}
								add_learning_lifestyle_xp = var:roaming_tally_learning_lifestyle_xp
							}
						}
					}
				}
				hidden_effect = {
					every_attending_character = {
						remove_variable = roaming_tally_opinion
						remove_variable = roaming_tally_fame
						remove_variable = roaming_tally_stress
						remove_variable = roaming_tally_piety
						remove_variable = roaming_tally_gold
						remove_variable = roaming_tally_mystic
						remove_variable = roaming_tally_mystic_xp
						remove_variable = roaming_tally_athletic
						remove_variable = roaming_tally_learning_skill
						remove_variable = roaming_tally_learning_lifestyle_xp
					}
				}
			}
		}
	}

	on_host_death = {
		invalidation_host_death_effect = yes
	}

	province_filter = all
	ai_province_filter = domain

	max_province_icons = 3
	allow_zero_guest_invites = yes
	open_invite = no

	province_description = {
		desc = activity_roaming_province_desc
		
		triggered_desc = {
			trigger = {
				has_province_modifier = wayfarer_astronomical_phenomenon
			}
			desc = activity_roaming_astronomical_phenomenon
		}

		triggered_desc = {
			trigger = {
				OR = {
					terrain = desert_mountains
					terrain = mountains
				}
			}
			desc = activity_roaming_good_terrain
		}

		triggered_desc = {
			trigger = {
				OR = {
					terrain = oasis
					terrain = hills
					terrain = taiga
					terrain = forest
					terrain = jungle
				}
			}
			desc = activity_roaming_ok_terrain
		}

		triggered_desc = {
			trigger = { has_holding = no }
			desc = activity_roaming_empty_holding
		}
	}

	province_score = {
		add = roaming_province_reference_value
	}

	cost = {
		gold = {
			add = {
				value = standard_roaming_activity_cost
				desc = hunt_base_cost
			}
			if = {
				limit = {
					has_title = title:e_minister_of_revenue
				}
				multiply = 0.85
			}
		}
	}

	ui_predicted_cost = {
		gold = {
			# Base Cost
			value = standard_roaming_activity_cost
			# Make it a multiple of 5 (rounded up)
			divide = 5 
			ceiling = yes 
			multiply = 5
			if = {
				limit = {
					has_title = title:e_minister_of_revenue
				}
				multiply = 0.85
			}
		}
	}

	cooldown = { months = 18 }

	###################
	# PHASES AND OPTIONS
	###################

	phases = {
		phase_roaming = {
			is_predefined = yes
			location_source = pickable

			on_phase_active = {
				scope:activity.special_guest:honorary_guest_traveling_companion ?= { save_scope_as = special_guest }
				trigger_event = { id = bp3_roaming.0005 }
				if = {
					limit = {
						this = scope:host
						scope:activity = {
							has_activity_option = {
								category = roaming_option_travel_length
								option = roaming_long_length
							}
						}
					}
					scope:activity = { progress_activity_phase_after = { days = 90 } }
					trigger_event = {
						on_action = random_roaming_event_pulse
						days = 15
					}
					trigger_event = {
						on_action = random_roaming_event_pulse
						days = 30
					}
					trigger_event = {
						on_action = roaming_mid_activity_event_pulse
						days = 45
					}
					trigger_event = {
						on_action = random_roaming_event_pulse
						days = 60
					}
					trigger_event = {
						on_action = random_roaming_event_pulse
						days = 75
					}
				}
				else_if = {
					limit = {
						this = scope:host
					}
					scope:activity = { progress_activity_phase_after = { days = 60 } }
					trigger_event = {
						on_action = random_roaming_event_pulse
						days = 15
					}
					trigger_event = {
						on_action = roaming_mid_activity_event_pulse
						days = 30
					}
					trigger_event = {
						on_action = random_roaming_event_pulse
						days = 45
					}
				}
				if = {
					limit = {
						this = scope:host
						scope:host.location = {
							has_province_modifier = wayfarer_astronomical_phenomenon
						}
					}
					trigger_event = {
						id = bp3_roaming.0200
						days = 40
					}
				}
			}

			on_end = {
				random_list = {
					1 = { add_character_flag = roaming_weak_stress_loss }
					1 = { add_character_flag = roaming_medium_stress_loss }
					1 = { add_character_flag = roaming_strong_stress_loss }
					1 = { add_character_flag = roaming_very_strong_stress_loss }
				}
				roaming_tally_variable_effect = { TYPE = stress VALUE = roaming_outro_stress_loss_value }
				roaming_tally_stress_impact_effect = { TRAIT = athletic VALUE = medium_stress_impact_loss }
				roaming_tally_stress_impact_effect = { TRAIT = lifestyle_traveler VALUE = minor_stress_impact_loss }
				trigger_event = { id = bp3_roaming.0010 }
			}
		}
	}

	options = {
		roaming_option_travel_length = {
			roaming_short_length = {
				default = yes
			}
			roaming_long_length = {
				is_valid = {
					has_perk = the_home_away_from_home_perk
				}

				cost = {
					gold = {
						add = {
							value = 35
							if = {
								limit = {
									has_perk = journey_planner_perk
								}
								multiply = {
									value = voyager_journey_planner_value
									desc = journey_planner_perk_name
								}
							}
							desc = roaming_long_length
						}
					}
				}
			}
		}
	}

	max_guest_arrival_delay_time = { months = 1 }
	
	
	###################
	# ACTIVITY-SPECIFIC PULSES
	###################
	
	pulse_actions = {
		entries = {
			apa_roaming_feather
			apa_roaming_ancient_runestone
			apa_roaming_ancient_megalith
			apa_roaming_natural_arch
			apa_roaming_coast_seashells
			apa_roaming_forest_gnarled_oak
			apa_roaming_rabbit_family
			apa_roaming_desert_lilies
			apa_roaming_desert_lilies_oasis
			apa_roaming_desert_fox
			apa_roaming_mountain_river
			apa_roaming_lonely_yurt
			apa_roaming_standing_stone
			apa_roaming_wildflowers
			apa_roaming_lost_sheep
			apa_roaming_friendly_dog
			apa_roaming_grazing_cattle
			apa_roaming_rock_outcrop_plains
			apa_roaming_rock_outcrop_hills
			apa_roaming_waterfall
			apa_roaming_heron
			apa_roaming_dragonfly
			apa_roaming_ducklings
			apa_roaming_dates
			apa_roaming_oasis_shelter
			apa_roaming_oasis_traders
			apa_roaming_traders
			apa_roaming_luminescent_mushrooms
			apa_roaming_wild_berries
		}
		chance_of_no_event = 0
	}

	###################
	# AI VALUES
	###################

	# desc is only shown in debug AI watch window
	ai_will_do = {
		value = 50
		
		if = {
			limit = {
				has_trait = lazy
			}
			add = -10
		}
		
		#Can you actually afford this?
		if = {
			limit = {
				NOT = { can_make_expensive_purchase_trigger = { PRICE = activity_minor_gold_value } }
			}
			add = -75
		}
	}

	ai_check_interval = 60

	ai_will_select_province = {
		value = 10
	}

	###################
	# GUEST HANDLING
	###################

	host_intents = {
		default = reduce_stress_intent
		intents = { reduce_stress_intent roaming_storyteller_intent roaming_befriend_intent roaming_mystic_intent }
	}

	guest_intents = {
		intents = { reduce_stress_intent }
		default = reduce_stress_intent
	}

	can_be_activity_guest = {
		roaming_activity_special_guest_trigger = yes
	}

	guest_invite_rules = {
		defaults = {
			2 = activity_invite_rule_lovers
			1 = activity_invite_rule_friends
			1 = activity_invite_rule_close_family
			1 = activity_invite_spouses
			1 = activity_invite_rule_knights
		}
	}

	special_guests = {
		honorary_guest_traveling_companion = {
			is_required = no
			
			is_shown = { 
				
			}

			can_pick = {
				roaming_activity_special_guest_trigger = yes
			}
			
			ai_will_do = {
				value = 10
			}
		}
	}

	travel_entourage_selection = {
		weight = {
			value = 10
			if = {
				limit = {
					NOT = { is_in_list = special_guests }
				}
				multiply = 0
			}
		}

		invite_rule_order = 1

		# Up to how many characters to select for a player
		max = 2
		
		# Up to how many characters to select for an AI
		ai_max = 2
	}

	max_guests = 1

	guest_join_chance = {
		base = 10

		modifier = {
			factor = 0
			NOT = { is_in_list = special_guests }
		}
	}

	###################
	# GRAPHICS
	###################

	# Travel
	background = { # Bridge
		trigger = {
			scope:host.location = {
				is_riverside_province = yes
				geographical_region = world_europe
				OR = {
					terrain = farmlands
					terrain = plains
					terrain = mountains
					terrain = hills
				}
			}
		}
		texture = "gfx/interface/illustrations/event_scenes/ep2_travel_bridge.dds"
		environment = "environment_travel_bridge"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}

	background = { # Riverside
		trigger = {
			scope:host.location = {
				has_winter_trigger = no
				is_riverside_province = yes
				OR = {
					terrain = plains
					terrain = mountains
					terrain = hills
					terrain = steppe
				}
				OR = {
					NOT = { exists = province_owner }
					this = scope:province
				}
			}
		}
		texture = "gfx/interface/illustrations/event_scenes/bp3_riverside.dds"
		environment = "environment_event_bp1_plains"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_waterbank"
	}

	background = { #Rice Fields - If we have Paddy fields AND/or terraced hills
	#This goes before other terrain since it can override in many different terrains if built
		trigger = {
			scope:host.location = {
				terrain = farmlands
				OR = {
					terrain = terraced_hills
					has_building_or_higher = paddy_fields_01
				}
			}
		}
		texture = "gfx/interface/illustrations/event_scenes/tgp_rice_fields.dds"
		environment = "environment_tgp_rice_fields"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_rice_fields"
	}

	background = { #Farmlands - East Asia
		trigger = {
			scope:host.location = {
				terrain = farmlands
				culture = { has_graphical_east_asia_culture_group_trigger = yes }
			}
		}
		texture = "gfx/interface/illustrations/event_scenes/tgp_farm_asia.dds"
		environment = "environment_tgp_farm_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_farm_asia"
	}
	
	background = { # Farmland/Plains, winter
		trigger = {
			scope:host.location = {
				has_winter_trigger = yes
				OR = {
					terrain = farmlands
					terrain = plains
				}
			}
		}
		texture = "gfx/interface/illustrations/event_scenes/bp3_plains_winter.dds"
		environment = "environment_event_farms"
		ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
	}

	background = { # Farmland, settled
		trigger = {
			scope:host.location = {
				terrain = farmlands
				exists = province_owner
				this != scope:province
			}
		}
		texture = "gfx/interface/illustrations/event_scenes/ep2_travel_farm.dds"
		environment = "environment_travel_farmlands"
		ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
	}
	background = { # Farmland, unsettled
		trigger = {
			scope:host.location = {
				terrain = farmlands
				OR = {
					NOT = { exists = province_owner }
					this = scope:province
				}
			}
		}
		texture = "gfx/interface/illustrations/event_scenes/farms.dds"
		environment = "environment_event_farms"
		ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
	}

	background = { # Plains, settled
		trigger = {
			scope:host.location = {
				graphical_plains_trigger = yes
				exists = province_owner
				this != scope:province
			}
		}
		texture = "gfx/interface/illustrations/event_scenes/ep2_travel_hills.dds"
		environment = "environment_travel_hills_settlement"
		ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
	}
	background = { # Plains, unsettled
		trigger = {
			scope:host.location = {
				graphical_plains_trigger = yes
				OR = {
					NOT = { exists = province_owner }
					this = scope:province
				}
			}
		}
		texture = "gfx/interface/illustrations/event_scenes/bp1_plains.dds"
		environment = "environment_event_bp1_plains"
		ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
	}

	background = { # Desert, settled
		trigger = {
			scope:host.location = {
				graphical_wilderness_desert_trigger = yes
				exists = province_owner
				this != scope:province
			}
		}
		texture = "gfx/interface/illustrations/event_scenes/ep2_travel_desert.dds"
		environment = "environment_travel_desert"
		ambience = "event:/SFX/Events/Backgrounds/desert_day"
	}
	background = { # Desert, unsettled
		trigger = {
			scope:host.location = {
				graphical_wilderness_desert_trigger = yes
				OR = {
					NOT = { exists = province_owner }
					this = scope:province
				}
			}
		}
		texture = "gfx/interface/illustrations/event_scenes/desert.dds"
		environment = "environment_event_bp1_desert"
		ambience = "event:/SFX/Events/Backgrounds/desert_day"
	}

	background = { # Forest, Winter
		trigger = {
			scope:host.location ?= {
				has_winter_trigger = yes
				OR = {
					graphical_wilderness_forest_trigger = yes
					graphical_wilderness_forest_pine_trigger = yes
				}
			}
		}
		texture = "gfx/interface/illustrations/event_scenes/ep2_hunt_snowy_forest.dds"
		environment = "environment_hunt_snowy_forest"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}

	background = { # Forest_pine
		trigger = {
			scope:host.location = {
				graphical_wilderness_forest_pine_trigger = yes
			}
		}
		texture = "gfx/interface/illustrations/event_scenes/forest_pine.dds"
		environment = "environment_event_forest_pine"
		ambience = "event:/SFX/Events/Backgrounds/coniferous_forest_day"
	}

	background = { # Forest
		trigger = {
			scope:host.location = {
				graphical_wilderness_forest_trigger = yes
			}
		}
		texture = "gfx/interface/illustrations/event_scenes/forest.dds"
		environment = "environment_event_forest"
		ambience = "event:/SFX/Events/Backgrounds/deciduous_forest_day"
	}

	background = { # Mountains, winter
		trigger = {
			scope:host.location = {
				has_winter_trigger = yes
				graphical_wilderness_mountains_trigger = yes
			}
		}
		texture = "gfx/interface/illustrations/event_scenes/bp3_mountain_winter.dds"
		environment = "environment_event_mountains"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}
	background = { # Mountains, settled
		trigger = {
			scope:host.location = {
				graphical_wilderness_mountains_trigger = yes
				exists = province_owner
				this != scope:province
			}
		}
		texture = "gfx/interface/illustrations/event_scenes/ep2_travel_mountains.dds"
		environment = "environment_travel_mountain_settlement"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}
	background = { # Mountains, unsettled
		trigger = {
			scope:host.location = {
				graphical_wilderness_mountains_trigger = yes
				OR = {
					NOT = { exists = province_owner }
					this = scope:province
				}
			}
		}
		texture = "gfx/interface/illustrations/event_scenes/mountains.dds"
		environment = "environment_event_mountains"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}

	background = { # Steppe, winter
		trigger = {
			scope:host.location = {
				has_winter_trigger = yes
				graphical_wilderness_steppe_trigger = yes
			}
		}
		texture = "gfx/interface/illustrations/event_scenes/bp3_steppe_winter.dds"
		environment = "environment_event_steppe"
		ambience = "event:/SFX/Events/Backgrounds/steppe_day"
	}
	background = { # Steppe, settled
		trigger = {
			scope:host.location = {
				graphical_wilderness_steppe_trigger = yes
				exists = province_owner
				this != scope:province
			}
		}
		texture = "gfx/interface/illustrations/event_scenes/ep2_travel_steppe.dds"
		environment = "environment_travel_steppe_settlement"
		ambience = "event:/SFX/Events/Backgrounds/steppe_day"
	}
	background = { # Steppe, unsettled
		trigger = {
			scope:host.location = {
				graphical_wilderness_steppe_trigger = yes
				OR = {
					NOT = { exists = province_owner }
					this = scope:province
				}
			}
		}
		texture = "gfx/interface/illustrations/event_scenes/steppe.dds"
		environment = "environment_event_steppe"
		ambience = "event:/SFX/Events/Backgrounds/steppe_day"
	}

	background = { # Drylands (formerly desert)
		trigger = {
			scope:host.location = {
				graphical_drylands_trigger = yes
			}
		}
		texture = "gfx/interface/illustrations/event_scenes/drylands.dds"
		environment = "environment_event_desert"
		ambience = "event:/SFX/Events/Backgrounds/desert_day"
	}

	background = { # Wetlands, Winter
		trigger = {
			scope:host.location = {
				has_winter_trigger = yes
				graphical_wilderness_wetlands_trigger = yes
			}
		}
		texture = "gfx/interface/illustrations/event_scenes/bp3_wetlands_winter.dds"
		environment = "environment_event_bp1_wetlands" 
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_waterbank"
	}
	background = { # Wetlands
		trigger = {
			scope:host.location = {
				graphical_wilderness_wetlands_trigger = yes
			}
		}
		texture = "gfx/interface/illustrations/event_scenes/bp1_wetlands.dds"
		environment = "environment_event_bp1_wetlands" 
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_waterbank"
	}

	background = { # Jungle
		trigger = {
			scope:host.location = {
				graphical_wilderness_jungle_trigger = yes
			}
		}
		texture = "gfx/interface/illustrations/event_scenes/bp1_jungle.dds"
		environment = "environment_event_bp1_jungle"
		ambience = "event:/SFX/Events/Backgrounds/deciduous_forest_day"
	}

	background = { # Hills, winter
		trigger = {
			scope:host.location = {
				has_winter_trigger = yes
				graphical_hills_trigger = yes
			}
		}
		texture = "gfx/interface/illustrations/event_scenes/bp3_hills_winter.dds"
		environment = "environment_event_bp1_hills"
		ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
	}
	background = { # Hills, settled
		trigger = {
			scope:host.location = {
				graphical_hills_trigger = yes
				exists = province_owner
				this != scope:province
			}
		}
		texture = "gfx/interface/illustrations/event_scenes/ep2_travel_hills.dds"
		environment = "environment_travel_hills_settlement"
		ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
	}
	background = { # Hills, unsettled
		trigger = {
			scope:host.location = {
				graphical_hills_trigger = yes
				OR = {
					NOT = { exists = province_owner }
					this = scope:province
				}
			}
		}
		texture = "gfx/interface/illustrations/event_scenes/bp1_hills.dds"
		environment = "environment_event_bp1_hills"
		ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
	}

	background = { # Sea
		trigger = {
			scope:host.location = {
				is_sea_province = yes
			}
		}
		texture = "gfx/interface/illustrations/event_scenes/fp1_ocean.dds"
		environment = "environment_event_fp1_ocean"
		ambience = "event:/DLC/FP1/SFX/Events/event_ocean_longship"
	}

	window_characters = {
		
		host = {
			camera = camera_body
			
			effect = {
				if = {
					limit = {
						scope:host.location = scope:activity.activity_location
					}
					scope:host = {
						add_to_list = characters
					}
				}
			}

			scripted_animation = {
				animation = survey_staff
			}
		}
		
		travel_host = {
			camera = camera_event_horse_left
			
			effect = {
				if = {
					limit = {
						scope:host.location != scope:activity.activity_location
					}
					scope:host = {
						add_to_list = characters
					}
				}
			}

			scripted_animation = {
				triggered_animation = {
					trigger = {
						scope:character.location = { is_sea_province = yes }
					}
					animation = { idle }
				}
				triggered_animation = {
					trigger = { scope:character = { has_trait = impatient } }
					animation = { jockey_gallop }
				}
				animation = jockey_walk
			}
		}

		guest = {
			camera = camera_body
			
			effect = {
				if = {
					limit = {
						scope:host.location = scope:activity.activity_location
					}
					every_attending_character = {
						limit = {
							location = scope:activity.activity_location
							this != scope:host
						}
						add_to_list = characters
					}
				}
			}

			scripted_animation = {
				animation = idle
			}
		}
	}
}
