#p33 Frankish Culture Underlayer and Hair - Female
33 = {
	0 = { # 0 - blank
		factor = 25

		modifier = {
			factor = 100
			OR = {
				NOT = { has_dlc = "Holy Fury" }
				is_female = no
				NOR = {
					culture_group = latin
					culture_group = iberian
					AND = {
						religion_group = christian
						OR = {
							culture_group = north_germanic
							culture_group = central_germanic
							culture_group = west_germanic
							culture_group = celtic
							culture_group = baltic
							culture_group = east_slavic
							culture_group = west_slavic
							culture_group = south_slavic
							culture_group = finno_ugric
							culture_group = magyar
						}
					}
				}
				is_priest = yes
				prisoner = yes
				death_reason = death_dungeon
				has_portrait_property = { layer = 5 index = 9 }
				has_portrait_property = { layer = 5 index = 10 }
				has_portrait_property = { layer = 5 index = 12 }
				has_portrait_property = { layer = 5 index = 13 }
				has_portrait_property = { layer = 3 index = 10 }
				has_portrait_property = { layer = 3 index = 12 }
				has_portrait_property = { layer = 3 index = 13 }
				NAND = {
					OR = {
						is_married = yes
						any_spouse_even_if_dead = { is_alive = no }
						age >= 40
						trait = chaste
						trait = celibate
						trait = zealous
						has_focus = focus_theology
						is_ascetic_trigger = yes
						trait = on_pilgrimage
						trait = on_indian_pilgrimage
					}
					NOT = { trait = lustful }
				}
			}
		}

		modifier = {
			factor = 0.5
			calc_true_if = {
				amount = 2

				is_married = yes
				is_consort = yes
				any_spouse_even_if_dead = { is_alive = no }
				age >= 40
				trait = chaste
				trait = celibate
				trait = zealous
				has_focus = focus_theology
				is_ascetic_trigger = yes
				trait = on_pilgrimage
				trait = on_indian_pilgrimage
			}
		}
	}

	1 = { # a - Empress / Queen Pre-1180
		factor = 5
		hide_layers = { 1 = {} }

		trigger = {
			year_of_birth < 1160
			OR = {
				culture = frankish
				culture = occitan
				culture_group = iberian
				culture_group = celtic
				culture_group = east_slavic
				culture = outremer
			}
			OR = {
				higher_real_tier_than = duke
				is_or_was_offmap_power_ruler = yes
				spouse_even_if_dead = {
					OR = {
						higher_real_tier_than = duke
						is_or_was_offmap_power_ruler = yes
					}
				}
				has_minor_title = title_despot
				has_minor_title = title_augusta
			}
		}
	}

	2 = { # b - Empress / Queen Pre-1180
		factor = 5
		hide_layers = { 1 = {} }

		trigger = {
			year_of_birth < 1160
			OR = {
				culture = frankish
				culture = occitan
				culture_group = iberian
				culture_group = celtic
				culture_group = east_slavic
				culture = outremer
			}
			OR = {
				higher_real_tier_than = duke
				is_or_was_offmap_power_ruler = yes
				spouse_even_if_dead = {
					OR = {
						higher_real_tier_than = duke
						is_or_was_offmap_power_ruler = yes
					}
				}
				has_minor_title = title_despot
				has_minor_title = title_augusta
			}
		}
	}

	3 = { # c - Empress / Queen Pre-1180
		factor = 5
		hide_layers = { 1 = {} }

		trigger = {
			year_of_birth < 1160
			OR = {
				culture = frankish
				culture = occitan
				culture_group = iberian
				culture_group = celtic
				culture_group = east_slavic
				culture = outremer
			}
			OR = {
				higher_real_tier_than = duke
				is_or_was_offmap_power_ruler = yes
				spouse_even_if_dead = {
					OR = {
						higher_real_tier_than = duke
						is_or_was_offmap_power_ruler = yes
					}
				}
				has_minor_title = title_despot
				has_minor_title = title_augusta
			}
		}
	}

	4 = { # d - Empress / Queen Pre-1180
		factor = 5
		hide_layers = { 1 = {} }

		trigger = {
			year_of_birth < 1160
			OR = {
				culture = frankish
				culture = occitan
				culture_group = iberian
				culture_group = celtic
				culture_group = east_slavic
				culture = outremer
			}
			OR = {
				higher_real_tier_than = duke
				is_or_was_offmap_power_ruler = yes
				spouse_even_if_dead = {
					OR = {
						higher_real_tier_than = duke
						is_or_was_offmap_power_ruler = yes
					}
				}
				has_minor_title = title_despot
				has_minor_title = title_augusta
			}
		}
	}

	5 = { # e - Empress / Queen Post-1180
		factor = 5
		hide_layers = { 1 = {} }

		trigger = {
			year_of_birth >= 1160
			OR = {
				culture = frankish
				culture = occitan
				culture_group = iberian
				culture_group = celtic
				culture_group = east_slavic
				culture = outremer
			}
			OR = {
				higher_real_tier_than = duke
				is_or_was_offmap_power_ruler = yes
				spouse_even_if_dead = {
					OR = {
						higher_real_tier_than = duke
						is_or_was_offmap_power_ruler = yes
					}
				}
				has_minor_title = title_despot
				has_minor_title = title_augusta
			}
		}
	}

	6 = { # f - Empress / Queen Post-1180
		factor = 5
		hide_layers = { 1 = {} }

		trigger = {
			year_of_birth >= 1160
			OR = {
				culture = frankish
				culture = occitan
				culture_group = iberian
				culture_group = celtic
				culture_group = east_slavic
				culture = outremer
			}
			OR = {
				higher_real_tier_than = duke
				is_or_was_offmap_power_ruler = yes
				spouse_even_if_dead = {
					OR = {
						higher_real_tier_than = duke
						is_or_was_offmap_power_ruler = yes
					}
				}
				has_minor_title = title_despot
				has_minor_title = title_augusta
			}
		}
	}

	7 = { # g - Empress / Queen Post-1180
		factor = 5
		hide_layers = { 1 = {} }

		trigger = {
			year_of_birth >= 1160
			OR = {
				culture = frankish
				culture = occitan
			}
			OR = {
				higher_real_tier_than = duke
				is_or_was_offmap_power_ruler = yes
				spouse_even_if_dead = {
					OR = {
						higher_real_tier_than = duke
						is_or_was_offmap_power_ruler = yes
					}
				}
				has_minor_title = title_despot
				has_minor_title = title_augusta
			}
		}
	}

	8 = { # h - Empress / Queen Post-1180
		factor = 5
		hide_layers = { 1 = {} }

		trigger = {
			year_of_birth >= 1160
			OR = {
				culture = frankish
				culture = occitan
				culture_group = iberian
				culture_group = celtic
				culture_group = east_slavic
				culture = outremer
			}
			OR = {
				higher_real_tier_than = duke
				is_or_was_offmap_power_ruler = yes
				spouse_even_if_dead = {
					OR = {
						higher_real_tier_than = duke
						is_or_was_offmap_power_ruler = yes
					}
				}
				has_minor_title = title_despot
				has_minor_title = title_augusta
			}
		}
	}

	9 = { # i - Duchess Early
		factor = 2
		hide_layers = { 1 = {} }

		trigger = {
			year_of_birth < 1160
			OR = {
				higher_real_tier_than = count
				spouse_even_if_dead = { higher_real_tier_than = count }
				is_or_was_offmap_power_ruler = yes
				has_minor_title = title_prince
				has_minor_title = title_queen_mother
				has_minor_title = title_despot
				has_minor_title = title_augusta
			}
			NOR = {
				mercenary = yes
				trait = peasant_leader
				trait = heresiarch
			}
		}
	}

	10 = { # j - Duchess Early
		factor = 2
		hide_layers = { 1 = {} }

		trigger = {
			year_of_birth < 1160
			OR = {
				culture = frankish
				culture = occitan
				culture_group = iberian
				culture_group = celtic
				culture_group = east_slavic
				culture = outremer
			}
			OR = {
				higher_real_tier_than = count
				spouse_even_if_dead = { higher_real_tier_than = count }
				is_or_was_offmap_power_ruler = yes
				has_minor_title = title_prince
				has_minor_title = title_queen_mother
				has_minor_title = title_despot
				has_minor_title = title_augusta
			}
			NOR = {
				mercenary = yes
				trait = peasant_leader
				trait = heresiarch
			}
		}
	}

	11 = { # k - Duchess Early
		factor = 2
		hide_layers = { 1 = {} }

		trigger = {
			year_of_birth < 1160
			OR = {
				culture = frankish
				culture = occitan
				culture_group = iberian
				culture_group = celtic
				culture_group = east_slavic
				culture = outremer
			}
			OR = {
				higher_real_tier_than = count
				spouse_even_if_dead = { higher_real_tier_than = count }
				is_or_was_offmap_power_ruler = yes
				has_minor_title = title_prince
				has_minor_title = title_queen_mother
				has_minor_title = title_despot
				has_minor_title = title_augusta
			}
			NOR = {
				mercenary = yes
				trait = peasant_leader
				trait = heresiarch
			}
		}
	}

	12 = { # l - Duchess Early
		factor = 2
		hide_layers = { 1 = {} }

		trigger = {
			year_of_birth < 1160
			OR = {
				culture = frankish
				culture = occitan
				culture_group = iberian
				culture_group = celtic
				culture_group = east_slavic
				culture = outremer
			}
			OR = {
				higher_real_tier_than = count
				spouse_even_if_dead = { higher_real_tier_than = count }
				is_or_was_offmap_power_ruler = yes
				has_minor_title = title_prince
				has_minor_title = title_queen_mother
				has_minor_title = title_despot
				has_minor_title = title_augusta
			}
			NOR = {
				mercenary = yes
				trait = peasant_leader
				trait = heresiarch
			}
		}
	}

	13 = { # m - Duchess Post-1180
		factor = 2
		hide_layers = { 1 = {} }

		trigger = {
			year_of_birth >= 1160
			OR = {
				higher_real_tier_than = count
				spouse_even_if_dead = { higher_real_tier_than = count }
				is_or_was_offmap_power_ruler = yes
				has_minor_title = title_prince
				has_minor_title = title_queen_mother
				has_minor_title = title_despot
				has_minor_title = title_augusta
			}
			NOR = {
				mercenary = yes
				trait = peasant_leader
				trait = heresiarch
			}
		}
	}

	14 = { # n - Duchess Post-1180
		factor = 2
		hide_layers = { 1 = {} }

		trigger = {
			year_of_birth >= 1160
			OR = {
				higher_real_tier_than = count
				spouse_even_if_dead = { higher_real_tier_than = count }
				is_or_was_offmap_power_ruler = yes
				has_minor_title = title_prince
				has_minor_title = title_queen_mother
				has_minor_title = title_despot
				has_minor_title = title_augusta
			}
			NOR = {
				mercenary = yes
				trait = peasant_leader
				trait = heresiarch
			}
		}
	}

	15 = { # o - Countess Early
		factor = 1
		hide_layers = { 1 = {} }

		trigger = {
			year_of_birth < 1160
		}
	}

	16 = { # p - Countess Early
		factor = 1
		hide_layers = { 1 = {} }

		trigger = {
			year_of_birth < 1160
		}
	}

	17 = { # q - Countess Early
		factor = 1
		hide_layers = { 1 = {} }

		trigger = {
			year_of_birth < 1160
		}
	}

	18 = { # r - Countess Post-1180
		factor = 1
		hide_layers = { 1 = {} }

		trigger = {
			year_of_birth >= 1160
		}
	}

	19 = { # s - Countess Post-1180
		factor = 1
		hide_layers = { 1 = {} }

		trigger = {
			year_of_birth >= 1160
		}
	}
}
