﻿# Pilgrims and Preachers - values for the Camp Retreat activity (ppr_activity_camp_retreat)

# Base gold cost of the retreat (alms and candles for the hosting community). Root = host.
ppr_camp_retreat_base_cost_value = {
	value = 15
	multiply = activity_cost_scale_by_era
}

# Extra gold cost of the Strict Rule of Life. Root = host.
# Provisions the camp needs to set out (taken in on_start).
ppr_camp_retreat_provisions_needed_value = miniscule_provisions_value
# Provisions needed for the Long Retreat (base + extra stores).
ppr_camp_retreat_long_provisions_needed_value = {
	value = miniscule_provisions_value
	add = minor_provisions_value
}

# Score multipliers per Rule of Life.
ppr_camp_retreat_strict_gain_mult = 1.5
ppr_camp_retreat_strict_loss_mult = 1.5
ppr_camp_retreat_gentle_loss_mult = 0.5

# Province score for picking a retreat location. Root = province, scope:host = host.
ppr_camp_retreat_province_score_value = {
	value = 10
	if = {
		limit = {
			barony ?= { is_holy_site_of = scope:host.faith }
		}
		add = 20
	}
	if = {
		limit = {
			has_holding_type = church_holding
			county.faith ?= scope:host.faith
		}
		add = 10
	}
	if = {
		limit = {
			squared_distance = { target = scope:host.location value < squared_distance_small }
		}
		add = 20
	}
	else_if = {
		limit = {
			squared_distance = { target = scope:host.location value < squared_distance_medium }
		}
		add = 10
	}
}
