decisions = {
    christ_gangbang_troops = {
        potential = {
            is_female = yes
            NOT = { practical_age >= 50 }
        }
        allow = {
            in_command = yes
			NOT = { 
				trait = incapable 
				trait = chaste
				trait = celibate
			}
			custom_tooltip = {
				text = christ_gangbang_recovering
				NOT = { has_character_flag = christ_gangbanged_troops }
			}
        }
        effect = {
            set_character_flag = christ_gangbanged_troops
            character_event = { id = christ.006 days = 7 } # clear flag
            character_event = { id = christ.005 }
        }
        revoke_allowed = {
			always = no
		}
        ai_will_do = {
            factor = 0.1  # Not very often by default
			modifier = {
				factor = 2
				# women with priestess-whore educations are more likely
				is_priest = yes
				priestess_whore_religion = yes
			}
			modifier = {
				factor = 1.5
				# but with so much testosterone around, even women with just lustful theology educations are more likely
				is_priest = yes
				priestess_whore_religion = no
			}
            modifier = {
                # Clergywomen from religions with priestess-whores are also more likely
                factor = 2
                is_theocracy = yes
                priestess_whore_religion = yes
            }
            modifier = {
                factor = 2
                OR = {
                    trait = lustful
                    trait = hedonist
                    trait = cheap_whore
                    trait = experienced_whore
                    trait = exclusive_whore
                }
            }
            modifier = {
                # Weak characters won't risk incapacitating themselves
                factor = 0
                trait = weak
            }
            modifier = {
                # characters who might get ill are less likely
                factor = 0.5
                NOT = { trait = strong }
            }
        }
    }
}

decisions = {
    christ_palace_orgy = {
        ai_check_interval = 6
        potential = {
            is_female = no
        }
        allow = {
			custom_tooltip = {
				text = christ_palace_orgy_recovering
				NOT = { has_character_flag = christ_palace_orgied }
			}
        }
        effect = {
            set_character_flag = christ_palace_orgied
            character_event = { id = christ.906 days = 7 } # clear flag
            character_event = { id = christ.905 }
        }
        revoke_allowed = {
			always = no
		}
        ai_will_do = {
            factor = 0.1  # Not very often by default
            modifier = {
                factor = 2
                    trait = lustful
            }
            modifier = {
               factor = 2
                    trait = hedonist
            }
            modifier = {
               factor = 2
                    trait = kind
            }
            modifier = {
               factor = 10
                    trait = gangbang_fanatic
            }
            modifier = {
                factor = 0
                NOT = { trait = chaste }
            }
        }
    }
}

decisions = {
    christ_buy_dog = {
        ai_check_interval = 6
        potential = {
            is_female = no
        }
        allow = {
			custom_tooltip = {
				text = christ_has_dog
		NOT = { has_character_modifier = pet_hunting_dog }
			}
        }
        effect = {
		wealth = -50
		add_character_modifier = {
			modifier = pet_hunting_dog
			duration = -1
		hidden_tooltip = { set_character_flag = bad_dog  set_character_flag = dog_name_punisher }
        }
        revoke_allowed = {
			always = no
		}
        ai_will_do = {
            factor = 0.1  # Not very often by default
            modifier = {
                factor = 2
                OR = {
                    trait = lustful
                    trait = hedonist
                }
            }
            modifier = {
               factor = 2
               OR = {
                    trait = cheap_whore
                    trait = experienced_whore
                    trait = exclusive_whore
                }
            }
            modifier = {
               factor = 5
                    trait = gangbang_fanatic
            }
            modifier = {
               factor = 10
               OR = {
                    trait = wife_of_cuck
                    trait = cuck
                }
            }
            modifier = {
                factor = 0
                NOT = { trait = chaste }
            }
        }
    }
}
