#p32 Frankish Culture Overlayer - Female
32 = {
	0 = { # 0 - blank
		factor = 10

		modifier = {
			factor = 1000
			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
				trait = saint
				has_nickname = nick_the_saint
				has_portrait_property = { layer = 5 index = 9 }
				AND = {
					employer = { is_patrician = yes }
					in_command = no
					OR = {
						culture_group = latin
						culture_group = iberian
						culture_group = celtic
						culture_group = central_germanic
						culture_group = west_germanic
						culture_group = east_slavic
						culture_group = west_slavic
						culture_group = south_slavic
						culture_group = magyar
					}
				}
			}
		}

		modifier = {
			factor = 0.01
			OR = {
				culture = frankish
				culture = occitan
			}
		}
	}

	1 = { # a - Military Helm 01
		factor = 100
		hide_layers = { 43 = {} }

		trigger = {
			year_of_birth >= 1160
			has_portrait_property = { layer = 5 index = 10 }
			OR = {
				culture = frankish
				culture = occitan
			}
		}
	}

	2 = { # b - Military Helm 02
		factor = 99
		hide_layers = { 43 = {} }

		trigger = {
			year_of_birth < 1250
			OR = {
				has_portrait_property = { layer = 5 index = 12 }
				has_portrait_property = { layer = 5 index = 13 }
			}
			NOR = {
				has_portrait_property = { layer = 31 index = 3 }
				has_portrait_property = { layer = 31 index = 4 }
			}
			OR = {
				culture = frankish
				culture = occitan
			}
		}
	}

	3 = { # c - Military Helm 03
		factor = 99
		hide_layers = { 43 = {} }

		trigger = {
			year_of_birth < 1250
			OR = {
				has_portrait_property = { layer = 5 index = 12 }
				has_portrait_property = { layer = 5 index = 13 }
			}
			NOR = {
				has_portrait_property = { layer = 31 index = 2 }
				has_portrait_property = { layer = 31 index = 4 }
			}
			OR = {
				culture = frankish
				culture = occitan
			}
		}
	}

	4 = { # d - Military Helm 04
		factor = 99
		hide_layers = { 43 = {} }

		trigger = {
			year_of_birth >= 1160
			OR = {
				has_portrait_property = { layer = 5 index = 12 }
				has_portrait_property = { layer = 5 index = 13 }
			}
			NOR = {
				has_portrait_property = { layer = 31 index = 2 }
				has_portrait_property = { layer = 31 index = 3 }
			}
			OR = {
				culture = frankish
				culture = occitan
			}
		}
	}

	5 = { # e - Duchess Accessories - Early
		factor = 25

		trigger = {
			year_of_birth < 1160
			OR = {
				culture = frankish
				culture = occitan
			}

			has_portrait_property = { layer = 5 index = 4 }

			NOR = {
				has_portrait_property = { layer = 32 index = 6 }
				has_portrait_property = { layer = 32 index = 7 }
				has_portrait_property = { layer = 32 index = 8 }
				has_portrait_property = { layer = 32 index = 9 }
			}
		}
	}

	6 = { # f - Duchess Accessories - Early
		factor = 25

		trigger = {
			year_of_birth < 1160
			OR = {
				culture = frankish
				culture = occitan
			}

			OR = {
				has_portrait_property = { layer = 5 index = 4 }
				has_portrait_property = { layer = 5 index = 12 }
			}
			OR = {
				higher_real_tier_than = count
				spouse_even_if_dead = { higher_real_tier_than = count }
			}

			NOR = {
				has_portrait_property = { layer = 32 index = 5 }
				has_portrait_property = { layer = 32 index = 7 }
				has_portrait_property = { layer = 32 index = 8 }
				has_portrait_property = { layer = 32 index = 9 }
			}
		}

		modifier = {
			factor = 100
			has_portrait_property = { layer = 5 index = 12 }
		}
	}

	7 = { # g - Duchess Accessories - Early
		factor = 25

		trigger = {
			year_of_birth < 1160
			OR = {
				culture = frankish
				culture = occitan
			}

			has_portrait_property = { layer = 5 index = 4 }
			OR = {
				real_tier = duke
				spouse_even_if_dead = { real_tier = duke }
			}

			NOR = {
				has_portrait_property = { layer = 32 index = 5 }
				has_portrait_property = { layer = 32 index = 6 }
				has_portrait_property = { layer = 32 index = 8 }
				has_portrait_property = { layer = 32 index = 9 }
			}
		}
	}

	8 = { # h - Duchess Accessories - Post-1180
		factor = 25

		trigger = {
			trigger_if = {
				limit = { has_portrait_property = { layer = 5 index = 4 } }
				year_of_birth >= 1160

				OR = {
					real_tier = duke
					spouse_even_if_dead = { real_tier = duke }
				}

				NOR = {
					has_portrait_property = { layer = 32 index = 5 }
					has_portrait_property = { layer = 32 index = 6 }
					has_portrait_property = { layer = 32 index = 7 }
					has_portrait_property = { layer = 32 index = 9 }
				}
			}
			trigger_else = {
				has_portrait_property = { layer = 5 index = 12 }
				OR = {
					culture = frankish
					culture = occitan
				}
			}
		}

		modifier = {
			factor = 100
			has_portrait_property = { layer = 5 index = 12 }
		}
	}

	9 = { # i - Duchess Accessories - Post-1180
		factor = 25

		trigger = {
			year_of_birth >= 1160

			has_portrait_property = { layer = 5 index = 4 }
			OR = {
				real_tier = duke
				spouse_even_if_dead = { real_tier = duke }
			}

			NOR = {
				has_portrait_property = { layer = 32 index = 5 }
				has_portrait_property = { layer = 32 index = 6 }
				has_portrait_property = { layer = 32 index = 7 }
				has_portrait_property = { layer = 32 index = 8 }
			}
		}
	}

	10 = { # j - Countess Accessories - Early
		factor = 10

		trigger = {
			year_of_birth < 1160
			OR = {
				culture = frankish
				culture = occitan
			}

			OR = {
				is_landed = yes
				spouse_even_if_dead = { is_landed = yes }
				has_minor_title = title_prince
				has_minor_title = title_queen_mother
				has_minor_title = title_augusta
			}
			NOR = {
				higher_real_tier_than = count
				spouse_even_if_dead = { higher_real_tier_than = count }
				trait = peasant_leader
				trait = heresiarch
			}

			NOR = {
				has_portrait_property = { layer = 32 index = 11 }
				has_portrait_property = { layer = 32 index = 12 }
				has_portrait_property = { layer = 32 index = 13 }
				has_portrait_property = { layer = 32 index = 14 }
				has_portrait_property = { layer = 32 index = 15 }
			}
		}
	}

	11 = { # k - Countess Accessories - Early
		factor = 10

		trigger = {
			year_of_birth < 1160
			OR = {
				culture = frankish
				culture = occitan
			}

			OR = {
				is_landed = yes
				spouse_even_if_dead = { is_landed = yes }
				has_minor_title = title_prince
				has_minor_title = title_queen_mother
				has_minor_title = title_augusta
			}
			NOR = {
				higher_real_tier_than = count
				spouse_even_if_dead = { higher_real_tier_than = count }
				trait = peasant_leader
				trait = heresiarch
			}

			NOR = {
				has_portrait_property = { layer = 32 index = 10 }
				has_portrait_property = { layer = 32 index = 12 }
				has_portrait_property = { layer = 32 index = 13 }
				has_portrait_property = { layer = 32 index = 14 }
				has_portrait_property = { layer = 32 index = 15 }
			}
		}
	}

	12 = { # l - Countess Accessories - Post-1180
		factor = 10

		trigger = {
			year_of_birth >= 1160
			OR = {
				culture = frankish
				culture = occitan
			}

			OR = {
				is_landed = yes
				spouse_even_if_dead = { is_landed = yes }
				has_minor_title = title_prince
				has_minor_title = title_queen_mother
				has_minor_title = title_augusta
			}
			NOR = {
				higher_real_tier_than = count
				spouse_even_if_dead = { higher_real_tier_than = count }
				trait = peasant_leader
				trait = heresiarch
			}

			NOR = {
				has_portrait_property = { layer = 5 index = 10 }
				has_portrait_property = { layer = 32 index = 10 }
				has_portrait_property = { layer = 32 index = 11 }
				has_portrait_property = { layer = 32 index = 13 }
				has_portrait_property = { layer = 32 index = 14 }
				has_portrait_property = { layer = 32 index = 15 }
			}
		}
	}

	13 = { # m - Countess Accessories - Post-1180
		factor = 10
		hide_layers = { 33 = {} } #Veil overload.

		trigger = {
			year_of_birth >= 1160
			OR = {
				culture = frankish
				culture = occitan
			}

			OR = {
				is_landed = yes
				spouse_even_if_dead = { is_landed = yes }
				has_minor_title = title_prince
				has_minor_title = title_queen_mother
				has_minor_title = title_augusta
			}
			NOR = {
				higher_real_tier_than = count
				spouse_even_if_dead = { higher_real_tier_than = count }
				trait = peasant_leader
				trait = heresiarch
			}

			NOR = {
				has_portrait_property = { layer = 5 index = 10 }
				has_portrait_property = { layer = 32 index = 10 }
				has_portrait_property = { layer = 32 index = 11 }
				has_portrait_property = { layer = 32 index = 12 }
				has_portrait_property = { layer = 32 index = 14 }
				has_portrait_property = { layer = 32 index = 15 }
			}
		}
	}

	14 = { # n - Countess Accessories - Post-1180
		factor = 10
		hide_layers = { 33 = {} } #Veil overload.

		trigger = {
			year_of_birth >= 1160
			OR = {
				culture = frankish
				culture = occitan
			}

			OR = {
				is_landed = yes
				spouse_even_if_dead = { is_landed = yes }
				has_minor_title = title_prince
				has_minor_title = title_queen_mother
				has_minor_title = title_augusta
			}
			NOR = {
				higher_real_tier_than = count
				spouse_even_if_dead = { higher_real_tier_than = count }
				trait = peasant_leader
				trait = heresiarch
			}

			NOR = {
				has_portrait_property = { layer = 32 index = 10 }
				has_portrait_property = { layer = 32 index = 11 }
				has_portrait_property = { layer = 32 index = 12 }
				has_portrait_property = { layer = 32 index = 13 }
				has_portrait_property = { layer = 32 index = 15 }
			}
		}
	}

	15 = { # o - Countess Accessories - Post-1180
		factor = 10
		hide_layers = {  1 = {} }
		hide_layers = { 33 = {} } #Veil overload.

		trigger = {
			year_of_birth >= 1160
			OR = {
				culture = frankish
				culture = occitan
			}

			OR = {
				is_landed = yes
				spouse_even_if_dead = { is_landed = yes }
				has_minor_title = title_prince
				has_minor_title = title_queen_mother
				has_minor_title = title_augusta
			}
			NOR = {
				higher_real_tier_than = count
				spouse_even_if_dead = { higher_real_tier_than = count }
				trait = peasant_leader
				trait = heresiarch
			}

			NOR = {
				has_portrait_property = { layer = 5 index = 10 }
				has_portrait_property = { layer = 32 index = 10 }
				has_portrait_property = { layer = 32 index = 11 }
				has_portrait_property = { layer = 32 index = 12 }
				has_portrait_property = { layer = 32 index = 13 }
				has_portrait_property = { layer = 32 index = 14 }
			}
		}
	}

	16 = { # p - Non-noble Pre-1180
		factor = 1
		hide_layers = {  1 = {} }
		hide_layers = {  5 = {} }
		hide_layers = { 33 = {} } #Veil overload.

		trigger = {
			year_of_birth < 1160
			is_landed = no
			spouse = { is_landed = no }
			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 }

			NOR = {
				has_portrait_property = { layer = 5 index = 10 }
				has_portrait_property = { layer = 32 index = 17 }
				has_portrait_property = { layer = 32 index = 18 }
				has_portrait_property = { layer = 32 index = 19 }
				has_portrait_property = { layer = 32 index = 20 }
				has_portrait_property = { layer = 32 index = 21 }
				has_portrait_property = { layer = 32 index = 22 }
				has_portrait_property = { layer = 32 index = 23 }
				has_portrait_property = { layer = 32 index = 24 }
			}
		}

		modifier = {
			factor = 5
			OR = {
				culture = frankish
				culture = occitan
			}
		}
	}

	17 = { # q - Non-noble Pre-1180
		factor = 1
		hide_layers = {  1 = {} }
		hide_layers = {  5 = {} }
		hide_layers = { 33 = {} } #Veil overload.

		trigger = {
			year_of_birth < 1160
			is_landed = no
			spouse = { is_landed = no }
			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 }

			NOR = {
				has_portrait_property = { layer = 5 index = 10 }
				has_portrait_property = { layer = 32 index = 16 }
				has_portrait_property = { layer = 32 index = 18 }
				has_portrait_property = { layer = 32 index = 19 }
				has_portrait_property = { layer = 32 index = 20 }
				has_portrait_property = { layer = 32 index = 21 }
				has_portrait_property = { layer = 32 index = 22 }
				has_portrait_property = { layer = 32 index = 23 }
				has_portrait_property = { layer = 32 index = 24 }
			}
		}

		modifier = {
			factor = 5
			OR = {
				culture = frankish
				culture = occitan
			}
		}
	}

	18 = { # r - Non-noble Pre-1180
		factor = 1
		hide_layers = {  1 = {} }
		hide_layers = {  5 = {} }
		hide_layers = { 33 = {} } #Veil overload.

		trigger = {
			year_of_birth < 1160
			is_landed = no
			spouse = { is_landed = no }
			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 }

			NOR = {
				has_portrait_property = { layer = 5 index = 10 }
				has_portrait_property = { layer = 32 index = 16 }
				has_portrait_property = { layer = 32 index = 17 }
				has_portrait_property = { layer = 32 index = 19 }
				has_portrait_property = { layer = 32 index = 20 }
				has_portrait_property = { layer = 32 index = 21 }
				has_portrait_property = { layer = 32 index = 22 }
				has_portrait_property = { layer = 32 index = 23 }
				has_portrait_property = { layer = 32 index = 24 }
			}
		}
	}

	19 = { # s - Non-noble Pre-1180
		factor = 1
		hide_layers = {  1 = {} }
		hide_layers = {  5 = {} }
		hide_layers = { 33 = {} } #Veil overload.

		trigger = {
			year_of_birth < 1160
			is_landed = no
			spouse = { is_landed = no }
			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 }

			NOR = {
				has_portrait_property = { layer = 5 index = 10 }
				has_portrait_property = { layer = 32 index = 16 }
				has_portrait_property = { layer = 32 index = 17 }
				has_portrait_property = { layer = 32 index = 18 }
				has_portrait_property = { layer = 32 index = 20 }
				has_portrait_property = { layer = 32 index = 21 }
				has_portrait_property = { layer = 32 index = 22 }
				has_portrait_property = { layer = 32 index = 23 }
				has_portrait_property = { layer = 32 index = 24 }
			}
		}

		modifier = {
			factor = 5
			OR = {
				culture = frankish
				culture = occitan
			}
		}
	}

	20 = { # t - Non-noble Post-1180
		factor = 5
		hide_layers = { 33 = {} } #Veil overload.

		trigger = {
			year_of_birth >= 1160
			OR = {
				culture = frankish
				culture = occitan
			}
			is_landed = no
			spouse = { is_landed = no }
			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 }

			NOR = {
				has_portrait_property = { layer = 5 index = 10 }
				has_portrait_property = { layer = 32 index = 16 }
				has_portrait_property = { layer = 32 index = 17 }
				has_portrait_property = { layer = 32 index = 18 }
				has_portrait_property = { layer = 32 index = 19 }
				has_portrait_property = { layer = 32 index = 21 }
				has_portrait_property = { layer = 32 index = 22 }
				has_portrait_property = { layer = 32 index = 23 }
				has_portrait_property = { layer = 32 index = 24 }
			}
		}
	}

	21 = { # u - Non-noble Post-1180
		factor = 5
		hide_layers = {  5 = {} } #Veil overload.

		trigger = {
			year_of_birth >= 1160
			OR = {
				culture = frankish
				culture = occitan
			}
			is_landed = no
			spouse = { is_landed = no }
			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 }

			NOR = {
				has_portrait_property = { layer = 5 index = 10 }
				has_portrait_property = { layer = 32 index = 16 }
				has_portrait_property = { layer = 32 index = 17 }
				has_portrait_property = { layer = 32 index = 18 }
				has_portrait_property = { layer = 32 index = 19 }
				has_portrait_property = { layer = 32 index = 20 }
				has_portrait_property = { layer = 32 index = 22 }
				has_portrait_property = { layer = 32 index = 23 }
				has_portrait_property = { layer = 32 index = 24 }
			}
		}
	}

	22 = { # v - Non-noble Post-1180
		factor = 1

		trigger = {
			year_of_birth >= 1160
			is_landed = no
			spouse = { is_landed = no }
			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 }

			NOR = {
				has_portrait_property = { layer = 5 index = 10 }
				has_portrait_property = { layer = 32 index = 16 }
				has_portrait_property = { layer = 32 index = 17 }
				has_portrait_property = { layer = 32 index = 18 }
				has_portrait_property = { layer = 32 index = 19 }
				has_portrait_property = { layer = 32 index = 20 }
				has_portrait_property = { layer = 32 index = 21 }
				has_portrait_property = { layer = 32 index = 23 }
				has_portrait_property = { layer = 32 index = 24 }
			}
		}

		modifier = {
			factor = 5
			OR = {
				culture = frankish
				culture = occitan
			}
		}
	}

	23 = { # w - Non-noble Post-1180
		factor = 1
		hide_layers = {  1 = {} }
		hide_layers = {  5 = {} }
		hide_layers = { 33 = {} } #Veil overload.

		trigger = {
			year_of_birth >= 1160
			is_landed = no
			spouse = { is_landed = no }
			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 }

			NOR = {
				has_portrait_property = { layer = 5 index = 10 }
				has_portrait_property = { layer = 32 index = 16 }
				has_portrait_property = { layer = 32 index = 17 }
				has_portrait_property = { layer = 32 index = 18 }
				has_portrait_property = { layer = 32 index = 19 }
				has_portrait_property = { layer = 32 index = 20 }
				has_portrait_property = { layer = 32 index = 21 }
				has_portrait_property = { layer = 32 index = 22 }
				has_portrait_property = { layer = 32 index = 24 }
			}
		}

		modifier = {
			factor = 5
			OR = {
				culture = frankish
				culture = occitan
			}
		}
	}

	24 = { # x - Non-noble Post-1180
		factor = 1
		hide_layers = {  1 = {} }
		hide_layers = {  5 = {} }
		hide_layers = { 33 = {} } #Veil overload.

		trigger = {
			year_of_birth >= 1160
			is_landed = no
			spouse = { is_landed = no }
			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 }

			NOR = {
				has_portrait_property = { layer = 5 index = 10 }
				has_portrait_property = { layer = 32 index = 16 }
				has_portrait_property = { layer = 32 index = 17 }
				has_portrait_property = { layer = 32 index = 18 }
				has_portrait_property = { layer = 32 index = 19 }
				has_portrait_property = { layer = 32 index = 20 }
				has_portrait_property = { layer = 32 index = 21 }
				has_portrait_property = { layer = 32 index = 22 }
				has_portrait_property = { layer = 32 index = 23 }
			}
		}

		modifier = {
			factor = 5
			OR = {
				culture = frankish
				culture = occitan
			}
		}
	}
}
