cooties = {
	contagiousness = 0.40
	outbreak_chance = 0.02
	effect = {
		local_tax_modifier = -0.25
		supply_limit = -2
		max_attrition = 0.05
		disease_defence = 0.2
	}
	yearly_province_pulse = {
		random_list = {		
			92 = {
				modifier = {
					factor = 1.1
					location = {
						hospital_level = 1
					}
				}
				modifier = {
					factor = 1.1
					location = {
						hospital_level = 2
					}
				}
				modifier = {
					factor = 1.1
					location = {
						hospital_level = 3
					}
				}
				modifier = {
					factor = 1.1
					location = {
						hospital_level = 4
					}
				}
				modifier = {
					factor = 1.1
					location = {
						hospital_level = 5
					}
				}
				modifier = {
					factor = 1.1
					location = {
						hospital_level = 6
					}
				}
			}
			8 = {
				increase_depopulation_effect = yes
			}
		}
	}
	icon = 6
	tooltip = COOTIES_INFO
	months = 30
	trait = has_cooties
	character_infection_chances = {
		months = 3
	}
	on_character_infection = {
		if = {
			limit = {
				NOR = {
					trait = horse
					
					has_character_flag = got_tuberculosis
					has_character_flag = got_bubonic_plague
					has_character_flag = got_aztec_disease
					has_character_flag = got_smallpox
					has_character_flag = got_measles
					has_character_flag = got_typhus
					has_character_flag = got_typhoid_fever
					has_character_flag = got_syphilis
					has_character_flag = got_pneumonia
					has_character_flag = got_cancer
					has_character_flag = got_rabies
					has_character_flag = got_gout
					has_character_flag = got_flu
					has_character_flag = got_dysentery
					has_character_flag = got_food_poisoning
				}
			}			
			random_list = {
				10 = { # Get the disease
					modifier = {
						factor = 0
						has_character_modifier = in_seclusion
					}
					modifier = {
						factor = 0.1
						AND = {
							is_nomadic = yes
							NOT = { is_unimportant_trigger = yes }
						}
					}
					modifier = {
						factor = 0.5
						AND = {
							is_tribal = yes
							NOT = { is_unimportant_trigger = yes }
						}
					}
					modifier = {
						factor = 50
						is_unimportant_trigger = yes
					}
					clr_character_flag = disease_not_serious
					set_character_flag = got_cooties
					set_character_flag = developing_illness
					character_event = { id = cooties.0 }
				}
				90 = { # Nothing happens
				}
			}
		}
	}
	on_province_infection = {
		province_event = {
			id = RIP.11703 #prosperity ended by epidemic
		}
	}
	always_get_message = no
	color = { 50 171 180 }
	
	timeperiod = { # Minor Outbreak
		start_date = 769.1.1
		end_date = 1452.1.1	
		
		outbreak_chance = 0.08
		
		can_outbreak = {
			NOT = {
				has_game_rule = {
					name = minor_epidemics
					value = fewer
				}
			}
		}

		max_total_provinces = 15
		
		spread_through_water = no
		
		min_nb_province = 1	# ignored if 0
		max_nb_province = 1	# ignored if 0

		one_only = no
	}

	timeperiod = { # Normal Outbreak
		start_date = 769.1.1
		end_date = 1452.1.1	
		
		outbreak_chance = 0.05

		max_total_provinces = 30
		
		min_nb_province = 1	# ignored if 0
		max_nb_province = 1	# ignored if 0

		one_only = no
	}
	
	timeperiod = { # 'More' Normal Outbreak
		start_date = 769.1.1
		end_date = 1452.1.1	
		
		outbreak_chance = 0.05
		
		can_outbreak = {
			has_game_rule = {
				name = minor_epidemics
				value = more
			}
		}

		max_total_provinces = 30
		
		min_nb_province = 1	# ignored if 0
		max_nb_province = 1	# ignored if 0

		one_only = no
	}
	
	timeperiod = { # Major Outbreak
		start_date = 769.1.1
		end_date = 1452.1.1	
		
		outbreak_chance = 0.03
		
		can_outbreak = {
			NOT = {
				has_game_rule = {
					name = minor_epidemics
					value = fewer
				}
			}
		}
		
		months = 36

		max_total_provinces = 60
		
		min_nb_province = 2	# ignored if 0
		max_nb_province = 4	# ignored if 0

		one_only = no
	}
	
	timeperiod = { # 'More' Major Outbreak
		start_date = 769.1.1
		end_date = 1452.1.1	
		
		outbreak_chance = 0.03
		
		can_outbreak = {
			has_game_rule = {
				name = minor_epidemics
				value = more
			}
		}
		
		months = 36

		max_total_provinces = 60
		
		min_nb_province = 2	# ignored if 0
		max_nb_province = 4	# ignored if 0

		one_only = no
	}
	disease_gfx = disease_gfx_syphilis
}