# Mistress Court Opinion
mistress_court_position_opinion = {
    scope:employee = {
		if = {
			limit = { # Lowborn is just happy to be here
				has_no_particular_noble_roots_trigger = yes
			}
			value = 30
		}
		else_if = { # Highborn with ambitions is happy with this step
		    limit  = {
		        has_trait = ambitious
		    }
		    value = 20
		}
		else = { # Highborn is content being with you
			value = 10
		}
	}
}

mistress_court_position_scandal_value = {
    if = {
        limit = { # Gay is no good in this religion
            sex_same_as = liege
            faith = liege.faith
            faith = { has_doctrine_parameter = homosexuality_shunned }
        }
        add = {
            value = -40
            desc = mistress_position_scandalous_choice
        }
    }
    else_if = {
        limit = { # Gay is literally illegal this religion
            sex_same_as = liege
            faith = liege.faith
            faith = { has_doctrine_parameter = homosexuality_illegal }
        }
        add ={
            value = -80
            desc = mistress_position_very_scandalous_choice
        }
    }
}