###############
#### Decyzje Mokosz
# byzsla_mokosz_motyl - żertwa motylowe
###############

targetted_decisions = {
	byzsla_mokosz_motyl = {
		filter = close_relatives
		ai_target_filter = close_relatives
		from_potential = {
			is_female = yes
			is_ruler = no
			prisoner = no
			age = 12
			NOT = { age = 16 }
			OR = {
				religion = old_slavic_pagan
				religion = slavic_pagan
				religion = slavic_pagan_reformed
			}
			ai = yes
			NOT = {
				month = 6
			}
			month = 3
			NOT = { has_character_flag = byzsla_slavic_mokosz_start_flaga_zref }
			NOT = { trait = in_hiding }
			NOT = { trait = incapable }
			is_ill = no
		}
		potential = {
			is_ill = no
			any_demesne_title = {
				is_occupied = no
			}
			prisoner = no
			NOT = { trait = in_hiding }
			NOT = { trait = incapable }
			is_ill = no
			is_ruler = yes
			has_regent = no
			in_command = no
			religion = slavic_pagan_reformed
			capital_scope = {
				NOT = {
					OR = {
						has_province_modifier = byzsla_mokosz_timer_1
						has_province_modifier = byzsla_mokosz_mod_1
					}
				}
			}
			OR = {
				religion = old_slavic_pagan
				religion = slavic_pagan
				religion = slavic_pagan_reformed
			}
			is_father = FROM
		}
		effect = {
			FROM = { 
				set_character_flag = byzsla_slavic_mokosz_start_flagax
			}
		}
	}
}
