

bastard_legitimacy_change_cutoff_age = 6

real_father_suspicion_base_value = 50
husband_suspicion_base_value = 3

bastard_legitimization_prestige_cost = 150

house_head_legitimize_acceptance_base_value = -100

house_head_legitimize_approval_rating = {
	value = house_head_legitimize_acceptance_base_value

	if = {
		limit = {
			scope:the_house_head = scope:the_legitimizer
		}
		add = 1000
	}

	add = {
		value = scope:the_legitimizer.prestige_level
		multiply = 20
	}

	if = {
		limit = {
			scope:the_house_head = {
				opinion = {
					target = scope:the_legitimizer
					value >= 50
				}
			}
		}
		add = 51
	}
	if = {
		limit = {
			scope:the_house_head = {
				opinion = {
					target = scope:the_bastard
					value >= 80
				}
			}
		}
		add = 51
	}
	if = {
		limit = {
			scope:the_house_head = {
				opinion = {
					target = scope:the_legitimizer
					value <= 0
				}
			}
		}
		add = -30
	}
}