﻿royal_privy_cleaner_court_position = {
	skill = stewardship
	max_available_positions = 1
	minimum_rank = kingdom

	opinion = {
		value = -20
	}

	aptitude_level_breakpoints = { 15 35 55 75 }

	aptitude = {
		value = 5
		add = {
			value = stewardship
			multiply = 2.0
			max = 40
			desc = court_position_skill_stewardship
		}
		if = {
			limit = { has_trait = diligent }
			add = { value = 15 desc = court_position_diligent_trait }
		}
		if = {
			limit = { has_trait = lazy }
			add = { value = -15 desc = court_position_lazy_trait }
		}
		if = {
			limit = { has_trait = content }
			add = { value = 10 desc = court_position_content_trait }
		}
		if = {
			limit = { has_trait = arrogant }
			add = { value = -15 desc = court_position_arrogant_trait }
		}
		if = {
			limit = { has_trait = improvident }
			add = { value = -10 desc = court_position_improvident_trait }
		}
	}

	is_shown = {
		highest_held_title_tier >= tier_kingdom
	}

	is_shown_character = {
		scope:employee = {
			is_landed = no
		}
	}

	valid_position = {
		highest_held_title_tier >= tier_kingdom
	}

	valid_character = {
		scope:employee = {
			is_landed = no
		}
	}

	revoke_cost = {
		prestige = { value = 0 }
	}

	salary = {
		round = no
		gold = { value = 0.1 }
	}

	scaling_employer_modifiers = {
		terrible = {
			stress_gain_mult = -0.05
		}
		poor = {
			stress_gain_mult = -0.08
			monthly_court_grandeur_change_mult = 0.02
		}
		average = {
			stress_gain_mult = -0.10
			monthly_court_grandeur_change_mult = 0.03
		}
		good = {
			stress_gain_mult = -0.12
			monthly_court_grandeur_change_mult = 0.04
			health = 0.05
		}
		excellent = {
			stress_gain_mult = -0.15
			monthly_court_grandeur_change_mult = 0.05
			health = 0.10
		}
	}

	modifier = {
		monthly_prestige_gain_mult = -1.0
		stress_gain_mult = 0.40
		health = -0.50
		dread_loss_mult = 10.0
	}

	outfit_tags = { peasant }

	on_court_position_received = {
	}

	on_court_position_invalidated = {
	}

	on_court_position_revoked = {
	}

	on_court_position_vacated = {
	}
}

whipping_proxy_court_position = {
	skill = prowess
	max_available_positions = 1
	minimum_rank = duchy

	opinion = {
		value = -20
	}

	aptitude_level_breakpoints = { 15 35 55 75 }

	aptitude = {
		value = 5
		add = {
			value = prowess
			multiply = 2.5
			max = 50
			desc = court_position_skill_prowess
		}
		if = {
			limit = { has_trait = brave }
			add = { value = 20 desc = court_position_brave_trait }
		}
		if = {
			limit = { has_trait = craven }
			add = { value = -20 desc = court_position_craven_trait }
		}
		if = {
			limit = { has_trait = strong }
			add = { value = 10 desc = court_position_strong_trait }
		}
		if = {
			limit = { has_trait = physique_bad_1 }
			add = { value = -15 desc = court_position_frail_trait }
		}
		if = {
			limit = { has_trait = physique_bad_2 }
			add = { value = -25 desc = court_position_feeble_trait }
		}
	}

	is_shown = {
		highest_held_title_tier >= tier_duchy
	}

	is_shown_character = {
		scope:employee = {
			is_landed = no
		}
	}

	valid_position = {
		highest_held_title_tier >= tier_duchy
	}

	valid_character = {
		scope:employee = {
			is_landed = no
		}
	}

	revoke_cost = {
		prestige = { value = 0 }
	}

	outfit_tags = { beggar_rags }


	salary = {
		round = no
		gold = { value = 0.1 }
	}

	scaling_employer_modifiers = {
		terrible = {
			stress_gain_mult = -0.05
			dread_baseline_add = 1
		}
		poor = {
			stress_gain_mult = -0.08
			dread_baseline_add = 2
		}
		average = {
			stress_gain_mult = -0.10
			dread_baseline_add = 3
		}
		good = {
			stress_gain_mult = -0.12
			dread_baseline_add = 4
		}
		excellent = {
			stress_gain_mult = -0.15
			dread_baseline_add = 5
		}
	}

	modifier = {
		monthly_prestige_gain_mult = -1.0
		stress_gain_mult = 0.50
		prowess = -2
		health = -0.75
		dread_loss_mult = 10.0
	}

	on_court_position_received = {
	}

	on_court_position_invalidated = {
	}

	on_court_position_revoked = {
	}

	on_court_position_vacated = {
	}
}

bell_ringer_court_position = {
	skill = diplomacy
	max_available_positions = 1
	minimum_rank = duchy

	opinion = {
		value = -20
	}

	aptitude_level_breakpoints = { 15 35 55 75 }

	aptitude = {
		value = 5
		add = {
			value = diplomacy
			multiply = 2.0
			max = 40
			desc = court_position_skill_diplomacy
		}
		if = {
			limit = { has_trait = gregarious }
			add = { value = 15 desc = court_position_gregarious_trait }
		}
		if = {
			limit = { has_trait = shy }
			add = { value = -15 desc = court_position_shy_trait }
		}
		if = {
			limit = { has_trait = arrogant }
			add = { value = -15 desc = court_position_arrogant_trait }
		}
		if = {
			limit = { has_trait = humble }
			add = { value = 10 desc = court_position_humble_trait }
		}
	}

	is_shown = {
		highest_held_title_tier >= tier_duchy
	}

	is_shown_character = {
		scope:employee = {
			is_landed = no
		}
	}

	valid_position = {
		highest_held_title_tier >= tier_duchy
	}

	valid_character = {
		scope:employee = {
			is_landed = no
		}
	}

	revoke_cost = {
		prestige = { value = 0 }
	}

	outfit_tags = { peasant }


	salary = {
		round = no
		gold = { value = 0.1 }
	}

	scaling_employer_modifiers = {
		terrible = {
			stress_gain_mult = -0.03
			monthly_court_grandeur_change_mult = 0.01
		}
		poor = {
			stress_gain_mult = -0.05
			monthly_court_grandeur_change_mult = 0.02
		}
		average = {
			stress_gain_mult = -0.08
			monthly_court_grandeur_change_mult = 0.03
		}
		good = {
			stress_gain_mult = -0.10
			monthly_court_grandeur_change_mult = 0.04
		}
		excellent = {
			stress_gain_mult = -0.12
			monthly_court_grandeur_change_mult = 0.05
		}
	}

	modifier = {
		monthly_prestige_gain_mult = -1.0
		stress_gain_mult = 0.35
		dread_gain_mult = -1.0
		dread_loss_mult = 10.0
	}

	on_court_position_received = {
	}

	on_court_position_invalidated = {
	}

	on_court_position_revoked = {
	}

	on_court_position_vacated = {
	}
}

royal_footstool_court_position = {
	skill = stewardship
	max_available_positions = 1
	minimum_rank = kingdom

	opinion = {
		value = -20
	}

	aptitude_level_breakpoints = { 15 35 55 75 }

	aptitude = {
		value = 5
		add = {
			value = stewardship
			multiply = 1.5
			max = 30
			desc = court_position_skill_stewardship
		}
		if = {
			limit = { has_trait = diligent }
			add = { value = 15 desc = court_position_diligent_trait }
		}
		if = {
			limit = { has_trait = lazy }
			add = { value = -15 desc = court_position_lazy_trait }
		}
		if = {
			limit = { has_trait = strong }
			add = { value = 10 desc = court_position_strong_trait }
		}
		if = {
			limit = { has_trait = physique_bad_1 }
			add = { value = -10 desc = court_position_frail_trait }
		}
		if = {
			limit = { has_trait = physique_bad_2 }
			add = { value = -20 desc = court_position_feeble_trait }
		}
		if = {
			limit = { has_trait = arrogant }
			add = { value = -20 desc = court_position_arrogant_trait }
		}
		if = {
			limit = { has_trait = humble }
			add = { value = 10 desc = court_position_humble_trait }
		}
	}

	is_shown = {
		highest_held_title_tier >= tier_kingdom
	}

	is_shown_character = {
		scope:employee = {
			is_landed = no
		}
	}

	valid_position = {
		highest_held_title_tier >= tier_kingdom
	}

	valid_character = {
		scope:employee = {
			is_landed = no
		}
	}

	revoke_cost = {
		prestige = { value = 0 }
	}

	outfit_tags = { peasant }


	salary = {
		round = no
		gold = { value = 0.1 }
	}

	scaling_employer_modifiers = {
		terrible = {
			stress_gain_mult = -0.05
			monthly_court_grandeur_change_mult = 0.02
		}
		poor = {
			stress_gain_mult = -0.08
			monthly_court_grandeur_change_mult = 0.03
		}
		average = {
			stress_gain_mult = -0.10
			monthly_court_grandeur_change_mult = 0.05
		}
		good = {
			stress_gain_mult = -0.12
			monthly_court_grandeur_change_mult = 0.07
			monthly_prestige_gain_mult = 0.05
		}
		excellent = {
			stress_gain_mult = -0.15
			monthly_court_grandeur_change_mult = 0.10
			monthly_prestige_gain_mult = 0.10
		}
	}

	modifier = {
		monthly_prestige_gain_mult = -1.0
		stress_gain_mult = 0.50
		health = -0.25
		dread_loss_mult = 10.0
	}

	on_court_position_received = {
	}

	on_court_position_invalidated = {
	}

	on_court_position_revoked = {
	}

	on_court_position_vacated = {
	}
}