tour_stop_value = { # the cost of adding a tour stop
	value = medium_gold_value
	if = {
		limit = { exists = scope:province }
		if = {
			limit = { "scope:previous_province.squared_distance(scope:province)" <= squared_distance_small }
			multiply = 0.25
		}
		if = {
			limit = {
				"scope:previous_province.squared_distance(scope:province)" > squared_distance_small
				"scope:previous_province.squared_distance(scope:province)" <= squared_distance_medium
			}
			multiply = 0.45
		}
		if = {
			limit = {
				"scope:previous_province.squared_distance(scope:province)" > squared_distance_medium
				"scope:previous_province.squared_distance(scope:province)" <= squared_distance_large
			}
			multiply = 0.65
		}
		if = {
			limit = {
				"scope:previous_province.squared_distance(scope:province)" > squared_distance_large
				"scope:previous_province.squared_distance(scope:province)" <= squared_distance_huge
			}
			multiply = 0.85
		}
		if = {
			limit = {
				"scope:previous_province.squared_distance(scope:province)" > squared_distance_huge
				"scope:previous_province.squared_distance(scope:province)" <= squared_distance_almost_massive
			}
			multiply = 1.05
		}
		if = {
			limit = {
				"scope:previous_province.squared_distance(scope:province)" > squared_distance_almost_massive
				"scope:previous_province.squared_distance(scope:province)" <= squared_distance_massive
			}
			multiply = 1.25
		}
		#Klingenberg -> Jerusalem
		if = {
			limit = {
				"scope:previous_province.squared_distance(scope:province)" > squared_distance_massive
				"scope:previous_province.squared_distance(scope:province)" <= squared_distance_monstrous
			}
			multiply = 1.55
		}
		#Klingenberg -> Kanchipuram
		if = {
			limit = { "scope:previous_province.squared_distance(scope:province)" > squared_distance_monstrous }
			multiply = 2.05
		}
	}
	multiply = activity_cost_scale_by_era
}


welcome = 3
neutral = 2
suspicious = 1

tour_entourage_weight_value = {
	value = 100
	add = standard_travel_entourage_additions
	if = {
		limit = {
			OR = {
				has_trait = gregarious
				has_trait = lifestyle_reveler
				has_trait = gluttonous
			}
		}
		add = 10
	}
	if = {
		limit = {
			is_close_family_of = scope:host
		}
		add = 20
	}
}

