﻿cagm_court_cook_prepare_table = {
	court_position_types = { cagm_court_cook_court_position }
	employee_modifier = { stewardship = 1 }
	scaling_employer_modifiers = {
		terrible = { stress_gain_mult = -0.01 }
		poor = { stress_gain_mult = -0.02 }
		average = { stress_gain_mult = -0.04 negate_health_penalty_add = 0.03 }
		good = { stress_gain_mult = -0.06 negate_health_penalty_add = 0.05 }
		excellent = { stress_gain_mult = -0.08 negate_health_penalty_add = 0.08 }
	}
	ai_will_do = {
		value = 30
		if = { limit = { scope:liege = { stress >= 50 } } add = 30 }
	}
}

cagm_court_cook_manage_stores = {
	court_position_types = { cagm_court_cook_court_position }
	employee_modifier = { stewardship = 1 }
	scaling_employer_modifiers = {
		terrible = { monthly_income_mult = 0.005 }
		poor = { monthly_income_mult = 0.01 }
		average = { monthly_income_mult = 0.015 }
		good = { monthly_income_mult = 0.02 }
		excellent = { monthly_income_mult = 0.03 }
	}
	ai_will_do = {
		value = 25
		if = { limit = { scope:liege = { gold < 100 } } add = 35 }
	}
}

cagm_court_cook_study_recipes = {
	court_position_types = { cagm_court_cook_court_position }
	employee_modifier = { learning = 1 }
	scaling_employer_modifiers = {
		terrible = { monthly_learning_lifestyle_xp_gain_mult = 0.005 }
		poor = { monthly_learning_lifestyle_xp_gain_mult = 0.01 }
		average = { monthly_learning_lifestyle_xp_gain_mult = 0.02 }
		good = { monthly_learning_lifestyle_xp_gain_mult = 0.03 }
		excellent = { monthly_learning_lifestyle_xp_gain_mult = 0.05 }
	}
	on_yearly = {
		if = {
			limit = { has_trait = cagm_cook has_trait_xp = { trait = cagm_cook value < 100 } }
			add_trait_xp = { trait = cagm_cook value = 3 }
		}
	}
	ai_will_do = {
		value = 20
		if = { limit = { scope:employee = { has_trait_xp = { trait = cagm_cook value < 100 } } } add = 25 }
	}
}
