namespace = christ

# The ID number is the same as the default event that it is the Catholic version
# of. For example, christ.3000 replaces event 3000 for Catholics.

### chaste positive ###
character_event = {
	id = christ.3000
	desc = christ.3000.desc
	picture = GFX_evt_brothel
	
	min_age = 12
	capable_only = yes
	prisoner = no
	is_triggered_only = yes
	
	trigger = {
		is_marriage_adult = yes
		lustful_religion = yes
		trait = chaste
		war = no
		in_command = no
		NOT = { 
			has_job_title = job_spiritual
		}
		any_courtier = {
			age = 16
			has_job_title = job_spiritual
		}
	}
	
	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.5
			trait = gluttonous
		}
		modifier = {
			factor = 0.75
			trait = greedy
		}

		modifier = {
			factor = 4.0
			trait = temperate
		}
		modifier = {
			factor = 3.0
			trait = charitable
		}
	}
	
	option = {
		name = EVTOPTB3000
		piety = 10
		remove_trait = chaste
		job_spiritual = {
			opinion = {
				modifier = opinion_approves
				who = ROOT
				years = 5
			}
		}
	}	
	option = {
		name = EVTOPTA3000
		piety = -5
		random = {
			chance = 15
			add_trait = deceitful
			hidden_tooltip = {
				character_event = { id = 38255 }
			}
		}
		job_spiritual = {
			opinion = {
				modifier = opinion_lying_about_confession
				who = ROOT
				years = 5
			}
		}
	}
}

### chaste negative ###
character_event = {
	id = christ.3010
	desc = christ.3010.desc
	picture = GFX_evt_brothel
	
	min_age = 12
	capable_only = yes
	prisoner = no
	is_triggered_only = yes 
	only_rulers = yes
	
	trigger = {
		is_marriage_adult = yes
		trait = chaste
		lustful_religion = yes
		war = no
		in_command = no
		is_female = no
		NOT = { has_job_title = job_spiritual }
		any_courtier = {
			has_job_title = job_spiritual
		}
	}
	
	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 2.0
			trait = slothful
		}
		modifier = {
			factor = 3.0
			trait = envious
		}
		modifier = {
			factor = 0.3
			trait = diligent
		}
		modifier = {
			factor = 0.2
			trait = kind
		}
	}
	
	option = {
		name = EVTOPTA3010
		piety = -15
		job_spiritual = {
			prestige = 15
		}		
	}
}

### Lustful positive ###
character_event = {
	id = christ.3011
	desc = christ.3011.desc
	picture = GFX_evt_brothel
	
	min_age = 12
	capable_only = yes
	prisoner = no
	is_triggered_only = yes 
	
	trigger = {
		is_marriage_adult = yes
		lustful_religion = yes
		war = no
		in_command = no
		trait = lustful
		has_job_title = job_spiritual
	}
	
	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.2
			trait = slothful
		}
		modifier = {
			factor = 0.3
			trait = envious
		}

		
		modifier = {
			factor = 3.0
			trait = diligent
		}
		modifier = {
			factor = 2.0
			trait = kind
		}
	}
	
	option = {
		name = christ.3011.opta
		piety = 15
	}
}

### Lustful positive ###
character_event = {
	id = christ.3020
	desc = christ.3020.desc
	picture = GFX_evt_bishop
	
	min_age = 12
	capable_only = yes
	prisoner = no
	is_triggered_only = yes 
	
	trigger = {
		is_marriage_adult = yes
		war = no
		in_command = no
		trait = lustful
		lustful_religion = yes
		NOT = { has_landed_title = k_papal_state }
		NOT = { trait = excommunicated }
	}
	
	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.2
			trait = slothful
		}
		modifier = {
			factor = 0.5
			trait = proud
		}

		modifier = {
			factor = 3.0
			trait = diligent
		}
		modifier = {
			factor = 5.0
			trait = humble
		}
		modifier = {
			factor = 2.5
			NOT = { num_of_children = 1 }
		}
	}
	
	option = {
		name = christ.3020.opta
		trigger = {
			religion_group = christian
			NOT = {
				lifestyle_traits = 1
			}
			is_married = yes
		}
		ai_chance = {
			factor = 0
		}
		piety = 20
		if = {
		    limit = { is_female = yes }
		    add_trait = seductress
		}
		if = {
		    limit = { is_female = no }
		    add_trait = seducer
		}
	}
	option = {
		name = christ.3020.optb
		tooltip_info = cynical
		trigger = {
			trait = cynical
		}
		remove_trait = lustful
		piety = -5
	}

	option = {
		name = christ.3020.optc
		any_courtier = {
			limit = {
				is_marriage_adult = yes
				in_command = no
				OR = {
					trait = chaste
					trait = celibate
				}
			}		
			opinion = {
				modifier = opinion_despise_lustful
				who = ROOT
				years = 1
			}
		}
		piety = 10
		prestige = 5
	}
	option = {
		name = EVTOPTD3020
		piety = 5
	}
}

### Lustful Positive (create character) ###
character_event = {
	id = christ.3021
	desc = christ.3021.desc
	picture = GFX_evt_bishop
	
	min_age = 12
	capable_only = yes
	prisoner = no
	is_triggered_only = yes 
	
	trigger = {
		is_marriage_adult = yes
		trait = lustful
		war = no
		in_command = no
		is_ruler = yes
		lustful_religion = yes
		NOT = { trait = excommunicated }
		NOT = { trait = cynical }
		piety = 25
	}
	
	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.2
			trait = slothful
		}
		modifier = {
			factor = 0.5
			trait = proud
		}
		modifier = {
			factor = 1.5
			trait = crusader
		}
		modifier = {
			factor = 2.0
			trait = diligent
		}
		modifier = {
			factor = 1.5
			trait = zealous
		}		
		modifier = {
			factor = 2.0
			trait = just
		}		
		modifier = {
			factor = 2.5
			trait = humble
		}
	}
	
	option = {
		name = christ.3021.opta
		create_character = {
			learning = 9
			dynasty = random
			age = 18
			female = yes
			trait = seductress
			trait = fair
			trait = lustful
			trait = zealous
		}
		hidden_tooltip = {
			new_character = {
				if = {
					limit = { priestess_whore_religion = yes }
					set_character_flag = ai_whore
					add_trait = cheap_whore
				}
				set_character_flag = nada_checked
				set_variable = { which = breast_size value = 5 }
				set_character_flag = christ_breast_size_set
				character_event = { id = christ.31 }
				random = {
					chance = 25
					add_trait = bombshell
				}
			}
		}
	}
	option = {
		name = christ.3021.optb
		piety = 5
	}
}

### Old whore ###
character_event = {
	id = christ.3022
	desc = christ.3022.desc
	picture = GFX_evt_monk
	
	min_age = 12
	max_age = 25
	capable_only = yes
	prisoner = no

	is_triggered_only = yes 

	trigger = {
		is_marriage_adult = yes
		lustful_religion = yes
		NOT = { trait = excommunicated }	
		any_courtier = {
			learning = 9
			age = 55
			is_female = yes
			trait = lustful
			trait = zealous
			OR = {
				trait = hedonist
				trait = cheap_whore
				trait = experienced_whore
				trait = exclusive_whore
			}
		}
		trait = lustful
	}
	weight_multiplier = {
		factor = 1
		modifier = {
			factor = 4.0
			trait = zealous
		}		
	}
	option = {
		name = EVTOPTA3022
		change_learning = 1
		add_character_modifier = {
			name = lustful_learning
			duration = 365
		}
	}
	option = {
		name = EVTOPTB3022
		any_courtier = {
			limit = {
				learning = 9
				age = 55
				is_female = no
				trait = chaste
				trait = zealous
				OR = {
					trait = hedonist
					trait = cheap_whore
					trait = experienced_whore
					trait = exclusive_whore
				}
			}		
			opinion = {
				modifier = opinion_lustful_advice_refused
				who = ROOT
				years = 2
			}
		}
		remove_trait = lustful		
	}
}

### Chaste negative ###
character_event = {
	id = christ.3025
	desc = christ.3025.desc
	picture = GFX_evt_bishop
	
	min_age = 12
	capable_only = yes
	prisoner = no
	only_men = yes
	is_triggered_only = yes 
	
	trigger = {
		is_marriage_adult = yes
		war = no
		in_command = no
		trait = chaste
		lustful_religion = yes
		any_courtier = {
			is_female = yes
			age = 18
			is_married = no
		}
	}
	
	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.4
			trait = wroth
		}
		modifier = {
			factor = 0.5
			trait = proud
		}

		modifier = {
			factor = 4.0
			trait = patient
		}
		modifier = {
			factor = 5.0
			trait = humble
		}
	}
	
	option = {
		name = EVTOPTA3025
		random_courtier = {
			limit = {
				is_female = yes
				age = 16
				is_married = no
			}
			opinion = {
				modifier = opinion_admire_chaste
				who = ROOT
				years = 15
			}
		}
		prestige = -5
	}
	option = {
		name = EVTOPTB3025
		random_courtier = {
			limit = {
				is_female = yes
				age = 16
				is_married = no
			}
			opinion = {
				modifier = opinion_admire_chaste
				who = ROOT
				years = 15
			}
		}
		piety = -5
	}
}

### Cornered by woman ###
character_event = {
	id = christ.3026
	desc = EVTDESC3026
	picture = GFX_evt_bishop
	
	min_age = 12
	capable_only = yes
	prisoner = no
	only_men = yes
	is_triggered_only = yes 
	
	trigger = {
		is_marriage_adult = yes
		trait = chaste
		war = no
		in_command = no
		NOT = {
			trait = celibate
		}
		NOT = {
			trait = homosexual
		}
		lustful_religion = yes
		fertility = 0.4
		any_courtier = {
			is_female = yes
			age = 18
			NOT = { age = 35 }
			is_pregnant = no
			NOT = {
				trait = celibate
			}
			NOT = {
				trait = homosexual
			}
			has_opinion_modifier = { who = ROOT modifier = opinion_admire_chaste } 
		}
	}
	weight_multiplier = {
		factor = 1

		modifier = {
			factor = 0.4
			trait = wroth
		}
		modifier = {
			factor = 0.5
			trait = proud
		}

		modifier = {
			factor = 4.0
			trait = patient
		}
		modifier = {
			factor = 5.0
			trait = humble
		}
	}
	
	option = {
		name = christ.3026.opta
		
		add_trait = kind		
		random_courtier = {
			limit = {
				is_female = yes
				age = 18
				NOT = { age = 35 }
				is_pregnant = no
				NOT = {
					trait = celibate
				}
				NOT = {
					trait = homosexual
				}
				has_opinion_modifier = { who = ROOT modifier = opinion_admire_chaste } 				
			}
			
			if = {
				limit = {
					OR = {
						is_married = yes
						is_consort = yes
					}
				}
				impregnate_cuckoo = FROM
				break = yes
			}
			impregnate = FROM
		}
	}
	
	option = {
		name = EVTOPTB3026
		random_courtier = {
			limit = {
				is_female = yes
				age = 18
				NOT = { age = 35 }
				is_pregnant = no
				has_opinion_modifier = { who = ROOT modifier = opinion_admire_chaste } 				
			}
			remove_opinion = { who = ROOT modifier = opinion_admire_chaste }
		}
		prestige = -5
		add_trait = zealous	}	
}

# guardian caught me masturbating
character_event = {
    id = christ.3200
    desc = GFX_event_woman_05
    picture = GFX_event_woman_05
    
    min_age = 11
    max_age = 16
	prisoner = no

	is_triggered_only = yes
    
    trigger = {
		has_guardian = yes
		NOT = { trait = chaste }
		NOT = { personality_traits = 5 }
	}

    weight_multiplier = {
		days = 1
		modifier = {
			trait = fair
			factor = 2
		}
		modifier = {
			trait = ugly
			factor = 0.5
		}
		modifier = {
			trait = genius
			factor = 10
		}
		modifier = {
			trait = quick
			factor = 2
		}
		modifier = {
		    trait = lustful
		    factor = 10
		}
	}

    option = {
		name = christ.3200.opta
		hidden_tooltip = {
			guardian = {
				character_event = {
					id = christ.3201
					days = 3
				}
			}
		}
	}
}

# You caught your ward masturbating
character_event = {
    id = christ.3201
    desc = christ.3201.desc
    picture = GFX_event_woman_05
    
    is_triggered_only = yes

    option = {
        name = christ.3201.opta  # It's perfectly natural
        ai_chance = { 
			factor = 10
			modifier = {
				factor = 5
				trait = charitable
			}
			modifier = {
				factor = 5
				trait = lustful
			}
			modifier = {
			    factor = 5
			    lustful_religion = yes
			    trait = zealous
			}	
		}		
        random_list = {
			70 = {	FROM = { add_trait = lustful	hidden_tooltip = { ROOT = { character_event = { id = 38172}} character_event = { id = 38272} }}}
			20 = {	FROM = { add_trait = trusting	hidden_tooltip = { ROOT = { character_event = { id = 38150}} character_event = { id = 38250} }}}
			10 = {	FROM = { add_trait = shy	hidden_tooltip = { ROOT = { character_event = { id = 38163}} character_event = { id = 38263 } }}}
		}
    }
    
    option = {
        name = christ.3201.optb  # It's wrong to feel good
        ai_chance = {
            factor = 10
            modifier = {
                factor = 5
                trait = chaste
            }
            modifier = {
                factor = 5
                trait = celibate
            }
            modifier = {
                factor = 5
                religion_group = christian
                lustful_religion = no
                trait = zealous
            }
        }
        random_list = {
			60 = {	FROM = { add_trait = chaste	    hidden_tooltip = { ROOT = { character_event = { id = 38174}} character_event = { id = 38274} }}}
			30 = {	FROM = { add_trait = cynical	hidden_tooltip = { ROOT = { character_event = { id = 38158}} character_event = { id = 38258} }}}
			10 = {	FROM = { add_trait = arbitrary	hidden_tooltip = { ROOT = { character_event = { id = 38166}} character_event = { id = 38266} }}}
        }
    }
    
    option = {
        name = christ.3201.optc  # Fuck the ward
		tooltip_info = lustful
		trigger = {
			trait = lustful
			OR = {
				AND = {
					trait = homosexual
					FROM = { trait = homosexual }
					same_sex = FROM
				}
				AND = {
					NOT = { trait = homosexual }
					NOT = { FROM = { trait = homosexual } }
					NOT = { same_sex = FROM }
				}
			}
		}
		ai_chance = {
			factor = 10
			modifier = {
				factor = 5
				trait = hedonist
			}
			modifier = {
				factor = 5
				FROM = { trait = fair }
			}
		}
		FROM = { 
			add_trait = lustful
			add_trait = hedonist
			add_trait = seductress
			character_event = { id = WoL.97 }
			hidden_tooltip = { ROOT = { character_event = { id = 38172}} character_event = { id = 38272} }
		}
    }
}

# guardian caught me fucking
character_event = {
    id = christ.3202
    desc = christ.3202.desc
	picture = GFX_event_woman_25
    
    min_age = 12
    max_age = 16
	prisoner = no

	is_triggered_only = yes
    
    trigger = {
		has_guardian = yes
		trait = lustful
	}

    weight_multiplier = {
		days = 1
		modifier = {
			trait = fair
			factor = 2
		}
		modifier = {
			trait = ugly
			factor = 0.5
		}
		modifier = {
			trait = genius
			factor = 10
		}
		modifier = {
			trait = quick
			factor = 2
		}
	}

    option = {
		name = christ.3202.opta
		hidden_tooltip = {
			guardian = {
				character_event = {
					id = christ.3203
					days = 3
				}
			}
		}
	}
}

# You caught your ward fucking
character_event = {
    id = christ.3203
    desc = christ.3203.desc
	picture = GFX_event_woman_25
    
    is_triggered_only = yes

    option = {
        name = christ.3203.opta  # Awaken cuck instincts
        ai_chance = { 
			factor = 10
			modifier = {
				factor = 5
				trait = kind
			}
			modifier = {
				factor = 5
				trait = lustful
			}
			modifier = {
			    factor = 5
			    trait = celibate
			}	
		}		
        random_list = {
			70 = {	FROM = { add_trait = charitable  add_trait = wife_of_cuck	hidden_tooltip = { ROOT = { character_event = { id = 38173}} character_event = { id = 38273} }}}
			20 = {	FROM = { add_trait = trusting  add_trait = wife_of_cuck  	hidden_tooltip = { ROOT = { character_event = { id = 38150}} character_event = { id = 38250} }}}
			10 = {	FROM = { add_trait = shy  add_trait = wife_of_cuck  	hidden_tooltip = { ROOT = { character_event = { id = 38163}} character_event = { id = 38263 } }}}
		}
    }
    
    option = {
        name = christ.3201.optb  # It's wrong to feel good
        ai_chance = {
            factor = 10
            modifier = {
                factor = 5
                trait = chaste
            }
            modifier = {
                factor = 5
                trait = celibate
            }
            modifier = {
                factor = 5
                religion_group = christian
                lustful_religion = no
                trait = zealous
            }
        }
        random_list = {
			60 = {	FROM = { add_trait = chaste	    hidden_tooltip = { ROOT = { character_event = { id = 38174}} character_event = { id = 38274} }}}
			30 = {	FROM = { add_trait = cynical	hidden_tooltip = { ROOT = { character_event = { id = 38158}} character_event = { id = 38258} }}}
			10 = {	FROM = { add_trait = arbitrary	hidden_tooltip = { ROOT = { character_event = { id = 38166}} character_event = { id = 38266} }}}
        }
    }
    
    option = {
        name = christ.3201.optc  # Fuck the ward
		tooltip_info = lustful
		trigger = {
			trait = lustful
			OR = {
				AND = {
					trait = homosexual
					FROM = { trait = homosexual }
					same_sex = FROM
				}
				AND = {
					NOT = { trait = homosexual }
					NOT = { FROM = { trait = homosexual } }
					NOT = { same_sex = FROM }
				}
			}
		}
		ai_chance = {
			factor = 10
			modifier = {
				factor = 5
				trait = hedonist
			}
			modifier = {
				factor = 5
				FROM = { trait = fair }
			}
		}
		FROM = { 
			add_trait = lustful
			add_trait = hedonist
			add_trait = seductress
			add_trait = gangbang_fanatic
			character_event = { id = WoL.97 }
			hidden_tooltip = { ROOT = { character_event = { id = 38172}} character_event = { id = 38272} }
		}
    }
    
    # 
    option = {
    	name = christ.3203.optd
    	trigger = {
    		FROM = { 
    			is_female = yes
    			trait = fair
    		}
    	}
    	ai_chance = {
			factor = 10
			modifier = {
				factor = 5
				trait = hedonist
			}
			modifier = {
				factor = 5
				FROM = { trait = fair }
			}
			modifier = {
				factor = 5
				FROM = {
					check_variable = { which = breast_size value = 4 }
				}
			}
			modifier = {
				factor = 10
				FROM = { trait = bombshell }
			}
		}
		set_character_flag = ai_whore #char may become a whore
    }
}
