namespace = RWBY
character_event = {
	id = "RWBY.333"
	ai = yes
	trigger = {
		NOT = { trait = human }
		NOT = { trait = faunus }
		NOT = { trait = grim }
		NOT = { trait = halfling_faunus_grim }
		NOT = { trait = halfling_faunus_human }
		NOT = { trait = halfling_grim_faunus }
		NOT = { trait = halfling_grim_human }
		NOT = { trait = halfling_human_faunus }
		NOT = { trait = halfling_human_grim }
	}
	mean_time_to_happen = {
		days = 10
	}
	option = {
		if = {
			limit = { is_father_real_father = no }
			if = {
				limit = {
							real_father = { trait = human }
							mother = { trait = human }
				}
				add_trait = human
			}
			if = {
				limit = {
							mother = { trait = human }
							NOT = { real_father = { trait = faunus } } 
							NOT = { real_father = { trait = grim } }
							NOT = { real_father = { trait = halfling_human_faunus } }
							NOT = { real_father = { trait = halfling_faunus_human } }
							NOT = { real_father = { trait = halfling_grim_human } }
							NOT = { real_father = { trait = halfling_faunus_grim } }
							NOT = { real_father = { trait = halfling_human_grim } }
							NOT = { real_father = { trait = halfling_grim_faunus } }
				}
				add_trait = human
			}
			
			if = {
					limit = {
							real_father = { trait = human }
							NOT = { mother = { trait = faunus } } 
							NOT = { mother = { trait = grim } }
							NOT = { mother = { trait = halfling_human_faunus } }
							NOT = { mother = { trait = halfling_faunus_human } }
							NOT = { mother = { trait = halfling_grim_human } }
							NOT = { mother = { trait = halfling_faunus_grim } }
							NOT = { mother = { trait = halfling_human_grim } }
							NOT = { mother = { trait = halfling_grim_faunus } }
					}
					add_trait = human
				}
				add_trait = human
		}
		
		if = {
			limit = { is_father_real_father = yes }
			if = {
				limit = {
							real_father = { trait = human }
							mother = { trait = human }
				}
				add_trait = human
			}
			if = {
				limit = {
							mother = { trait = human }
							NOT = { real_father = { trait = faunus } } 
							NOT = { real_father = { trait = grim } }
							NOT = { real_father = { trait = halfling_human_faunus } }
							NOT = { real_father = { trait = halfling_faunus_human } }
							NOT = { real_father = { trait = halfling_grim_human } }
							NOT = { real_father = { trait = halfling_faunus_grim } }
							NOT = { real_father = { trait = halfling_human_grim } }
							NOT = { real_father = { trait = halfling_grim_faunus } }
				}
				add_trait = human
			}
			
			if = {
					limit = {
							real_father = { trait = human }
							NOT = { mother = { trait = faunus } } 
							NOT = { mother = { trait = grim } }
							NOT = { mother = { trait = halfling_human_faunus } }
							NOT = { mother = { trait = halfling_faunus_human } }
							NOT = { mother = { trait = halfling_grim_human } }
							NOT = { mother = { trait = halfling_faunus_grim } }
							NOT = { mother = { trait = halfling_human_grim } }
							NOT = { mother = { trait = halfling_grim_faunus } }
					}
					add_trait = human
				}
				add_trait = human
		}
	}	
	option = {
		if = {
			limit = { is_father_real_father = no }
			if = {
				limit = {
							real_father = { trait = human }
							mother = { trait = human }
				}
				add_trait = human
			}
			if = {
				limit = {
							mother = { trait = human }
							NOT = { real_father = { trait = faunus } } 
							NOT = { real_father = { trait = grim } }
							NOT = { real_father = { trait = halfling_human_faunus } }
							NOT = { real_father = { trait = halfling_faunus_human } }
							NOT = { real_father = { trait = halfling_grim_human } }
							NOT = { real_father = { trait = halfling_faunus_grim } }
							NOT = { real_father = { trait = halfling_human_grim } }
							NOT = { real_father = { trait = halfling_grim_faunus } }
				}
				add_trait = human
			}
			
			if = {
					limit = {
							real_father = { trait = human }
							NOT = { mother = { trait = faunus } } 
							NOT = { mother = { trait = grim } }
							NOT = { mother = { trait = halfling_human_faunus } }
							NOT = { mother = { trait = halfling_faunus_human } }
							NOT = { mother = { trait = halfling_grim_human } }
							NOT = { mother = { trait = halfling_faunus_grim } }
							NOT = { mother = { trait = halfling_human_grim } }
							NOT = { mother = { trait = halfling_grim_faunus } }
					}
					add_trait = human
				}
				add_trait = human
		}
		
		if = {
			limit = { is_father_real_father = yes }
			if = {
				limit = {
							real_father = { trait = human }
							mother = { trait = human }
				}
				add_trait = human
			}
			if = {
				limit = {
							mother = { trait = human }
							NOT = { real_father = { trait = faunus } } 
							NOT = { real_father = { trait = grim } }
							NOT = { real_father = { trait = halfling_human_faunus } }
							NOT = { real_father = { trait = halfling_faunus_human } }
							NOT = { real_father = { trait = halfling_grim_human } }
							NOT = { real_father = { trait = halfling_faunus_grim } }
							NOT = { real_father = { trait = halfling_human_grim } }
							NOT = { real_father = { trait = halfling_grim_faunus } }
				}
				add_trait = human
			}
			
			if = {
					limit = {
							real_father = { trait = human }
							NOT = { mother = { trait = faunus } } 
							NOT = { mother = { trait = grim } }
							NOT = { mother = { trait = halfling_human_faunus } }
							NOT = { mother = { trait = halfling_faunus_human } }
							NOT = { mother = { trait = halfling_grim_human } }
							NOT = { mother = { trait = halfling_faunus_grim } }
							NOT = { mother = { trait = halfling_human_grim } }
							NOT = { mother = { trait = halfling_grim_faunus } }
					}
					add_trait = human
				}
				add_trait = human
				random_list = {
						25 = {
							culture = valean
						}
				
						25 = {
							culture = atlesian
						}
						
						25 = {
							culture = vacuan
						}
						
						25 = {
							culture = giltay
						}
		}
	}
}	
	
	option = {
		if = {
			limit = { is_father_real_father = no }
			if = {
				limit = {
							real_father = { trait = faunus } 
							mother = { trait = faunus }
				}
				add_trait = faunus
			}
			if = {
				limit = {
							mother = { trait = faunus }
							NOT = { real_father = { trait = human } } 
							NOT = { real_father = { trait = grim } }
							NOT = { real_father = { trait = halfling_human_faunus } }
							NOT = { real_father = { trait = halfling_faunus_human } }
							NOT = { real_father = { trait = halfling_grim_human } }
							NOT = { real_father = { trait = halfling_faunus_grim } }
							NOT = { real_father = { trait = halfling_human_grim } }
							NOT = { real_father = { trait = halfling_grim_faunus } }
				}
				add_trait = faunus
			}
			
			if = {
					limit = {
							real_father = { trait = faunus}
							NOT = { mother = { trait = human } } 
							NOT = { mother = { trait = grim } }
							NOT = { mother = { trait = halfling_human_faunus } }
							NOT = { mother = { trait = halfling_faunus_human } }
							NOT = { mother = { trait = halfling_grim_human } }
							NOT = { mother = { trait = halfling_faunus_grim } }
							NOT = { mother = { trait = halfling_human_grim } }
							NOT = { mother = { trait = halfling_grim_faunus } }
					}
					add_trait = faunus
				}
				add_trait = faunus
		}
		
		if = {
			limit = { is_father_real_father = yes }
			if = {
				limit = {
							real_father = { trait = faunus }
							mother = { trait = faunus }
				}
				add_trait = faunus
			}
			if = {
				limit = {
							mother = { trait = faunus }
							NOT = { real_father = { trait = human } } 
							NOT = { real_father = { trait = grim } }
							NOT = { real_father = { trait = halfling_human_faunus } }
							NOT = { real_father = { trait = halfling_faunus_human } }
							NOT = { real_father = { trait = halfling_grim_human } }
							NOT = { real_father = { trait = halfling_faunus_grim } }
							NOT = { real_father = { trait = halfling_human_grim } }
							NOT = { real_father = { trait = halfling_grim_faunus } }
				}
				add_trait = faunus
			}
			
			if = {
					limit = {
							real_father = { trait = faunus }
							NOT = { mother = { trait = human } } 
							NOT = { mother = { trait = grim } }
							NOT = { mother = { trait = halfling_human_faunus } }
							NOT = { mother = { trait = halfling_faunus_human } }
							NOT = { mother = { trait = halfling_grim_human } }
							NOT = { mother = { trait = halfling_faunus_grim } }
							NOT = { mother = { trait = halfling_human_grim } }
							NOT = { mother = { trait = halfling_grim_faunus } }
					}
					add_trait = faunus
				}
				add_trait = faunus
		}
	}
	
	option = {
		if = {
			limit = { is_father_real_father = no }
			if = {
				limit = {
							real_father = { trait = faunus } 
							mother = { trait = faunus }
				}
				add_trait = faunus
			}
			if = {
				limit = {
							mother = { trait = faunus }
							NOT = { real_father = { trait = human } } 
							NOT = { real_father = { trait = grim } }
							NOT = { real_father = { trait = halfling_human_faunus } }
							NOT = { real_father = { trait = halfling_faunus_human } }
							NOT = { real_father = { trait = halfling_grim_human } }
							NOT = { real_father = { trait = halfling_faunus_grim } }
							NOT = { real_father = { trait = halfling_human_grim } }
							NOT = { real_father = { trait = halfling_grim_faunus } }
				}
				add_trait = faunus
			}
			
			if = {
					limit = {
							real_father = { trait = faunus}
							NOT = { mother = { trait = human } } 
							NOT = { mother = { trait = grim } }
							NOT = { mother = { trait = halfling_human_faunus } }
							NOT = { mother = { trait = halfling_faunus_human } }
							NOT = { mother = { trait = halfling_grim_human } }
							NOT = { mother = { trait = halfling_faunus_grim } }
							NOT = { mother = { trait = halfling_human_grim } }
							NOT = { mother = { trait = halfling_grim_faunus } }
					}
					add_trait = faunus
				}
				add_trait = faunus
		}
		
		if = {
			limit = { is_father_real_father = yes }
			if = {
				limit = {
							real_father = { trait = faunus }
							mother = { trait = faunus }
				}
				add_trait = faunus
			}
			if = {
				limit = {
							mother = { trait = faunus }
							NOT = { real_father = { trait = human } } 
							NOT = { real_father = { trait = grim } }
							NOT = { real_father = { trait = halfling_human_faunus } }
							NOT = { real_father = { trait = halfling_faunus_human } }
							NOT = { real_father = { trait = halfling_grim_human } }
							NOT = { real_father = { trait = halfling_faunus_grim } }
							NOT = { real_father = { trait = halfling_human_grim } }
							NOT = { real_father = { trait = halfling_grim_faunus } }
				}
				add_trait = faunus
			}
			
			if = {
					limit = {
							real_father = { trait = faunus }
							NOT = { mother = { trait = human } } 
							NOT = { mother = { trait = grim } }
							NOT = { mother = { trait = halfling_human_faunus } }
							NOT = { mother = { trait = halfling_faunus_human } }
							NOT = { mother = { trait = halfling_grim_human } }
							NOT = { mother = { trait = halfling_faunus_grim } }
							NOT = { mother = { trait = halfling_human_grim } }
							NOT = { mother = { trait = halfling_grim_faunus } }
					}
					add_trait = faunus
				}
				add_trait = faunus
				culture = sanute_faunus
		}
	}
	
	
}	

character_event = {
	id = "RWBY.339"
	ai = yes
	trigger = {
		NOT = { trait = grim }
		NOT = { trait = human  } 
		NOT = { trait = faunus }
		NOT = { trait = halfling_faunus_grim }
		NOT = { trait = halfling_faunus_human }
		NOT = { trait = halfling_grim_faunus }
		NOT = { trait = halfling_grim_human }
		NOT = { trait = halfling_human_faunus }
		NOT = { trait = halfling_human_grim }
		NOt = { has_character_flag = flag_didnt_select_grim }
	}
	mean_time_to_happen = {
		days = 2
	}
	
	
	option = {
		if = {
			limit = { is_father_real_father = no }
			if = {
				limit = {
							real_father = { trait = grim } 
							mother = { trait = grim }
				}
				add_trait = grim
			}
			if = {
				limit = {
							mother = { trait = grim }
							NOT = { real_father = { trait = human } } 
							NOT = { real_father = { trait = faunus } }
							NOT = { real_father = { trait = halfling_human_faunus } }
							NOT = { real_father = { trait = halfling_faunus_human } }
							NOT = { real_father = { trait = halfling_grim_human } }
							NOT = { real_father = { trait = halfling_faunus_grim } }
							NOT = { real_father = { trait = halfling_human_grim } }
							NOT = { real_father = { trait = halfling_grim_faunus } }
				}
				add_trait = grim
				religion = grimmish
			}
			
			if = {
					limit = {
							real_father = { trait = grim }
							NOT = { mother = { trait = human } } 
							NOT = { mother = { trait = faunus } }
							NOT = { mother = { trait = halfling_human_faunus } }
							NOT = { mother = { trait = halfling_faunus_human } }
							NOT = { mother = { trait = halfling_grim_human } }
							NOT = { mother = { trait = halfling_faunus_grim } }
							NOT = { mother = { trait = halfling_human_grim } }
							NOT = { mother = { trait = halfling_grim_faunus } }
					}
					add_trait = grim
				}
				add_trait = grim
				religion = grimmish
		}
		
		if = {
			limit = { is_father_real_father = yes }
			if = {
				limit = {
							real_father = { trait = grim }
							mother = { trait = grim }
				}
				add_trait = grim
				religion = grimmish
			}
			if = {
				limit = {
							mother = { trait = grim }
							NOT = { real_father = { trait = human } } 
							NOT = { real_father = { trait = faunus } }
							NOT = { real_father = { trait = halfling_human_faunus } }
							NOT = { real_father = { trait = halfling_faunus_human } }
							NOT = { real_father = { trait = halfling_grim_human } }
							NOT = { real_father = { trait = halfling_faunus_grim } }
							NOT = { real_father = { trait = halfling_human_grim } }
							NOT = { real_father = { trait = halfling_grim_faunus } }
				}
				add_trait = grim
				religion = grimmish
			}
			
			if = {
					limit = {
							real_father = { trait = grim }
							NOT = { mother = { trait = human } } 
							NOT = { mother = { trait = faunus } }
							NOT = { mother = { trait = halfling_human_faunus } }
							NOT = { mother = { trait = halfling_faunus_human } }
							NOT = { mother = { trait = halfling_grim_human } }
							NOT = { mother = { trait = halfling_faunus_grim } }
							NOT = { mother = { trait = halfling_human_grim } }
							NOT = { mother = { trait = halfling_grim_faunus } }
					}
					add_trait = grim
					religion = grimmish
				}
				add_trait = grim
				religion = grimmish
		}
		add_trait = grim
		religion = grimmish
	}
	
	option = {
		if = {
			limit = { is_father_real_father = no }
			if = {
				limit = {
							real_father = { trait = grim } 
							mother = { trait = grim }
				}
				add_trait = grim
				culture = grimmic
				religion = grimmish
			}
			if = {
				limit = {
							mother = { trait = grim }
							NOT = { real_father = { trait = human } } 
							NOT = { real_father = { trait = faunus } }
							NOT = { real_father = { trait = halfling_human_faunus } }
							NOT = { real_father = { trait = halfling_faunus_human } }
							NOT = { real_father = { trait = halfling_grim_human } }
							NOT = { real_father = { trait = halfling_faunus_grim } }
							NOT = { real_father = { trait = halfling_human_grim } }
							NOT = { real_father = { trait = halfling_grim_faunus } }
				}
				add_trait = grim
				culture = grimmic
				religion = grimmish
			}
			
			if = {
					limit = {
							real_father = { trait = grim }
							NOT = { mother = { trait = human } } 
							NOT = { mother = { trait = faunus } }
							NOT = { mother = { trait = halfling_human_faunus } }
							NOT = { mother = { trait = halfling_faunus_human } }
							NOT = { mother = { trait = halfling_grim_human } }
							NOT = { mother = { trait = halfling_faunus_grim } }
							NOT = { mother = { trait = halfling_human_grim } }
							NOT = { mother = { trait = halfling_grim_faunus } }
					}
					add_trait = grim
				}
				add_trait = grim
				culture = grimmic
				religion = grimmish
		}
		
		if = {
			limit = { is_father_real_father = yes }
			if = {
				limit = {
							real_father = { trait = grim }
							mother = { trait = grim }
				}
				add_trait = grim
				culture = grimmic
			}
			if = {
				limit = {
							mother = { trait = grim }
							NOT = { real_father = { trait = human } } 
							NOT = { real_father = { trait = faunus } }
							NOT = { real_father = { trait = halfling_human_faunus } }
							NOT = { real_father = { trait = halfling_faunus_human } }
							NOT = { real_father = { trait = halfling_grim_human } }
							NOT = { real_father = { trait = halfling_faunus_grim } }
							NOT = { real_father = { trait = halfling_human_grim } }
							NOT = { real_father = { trait = halfling_grim_faunus } }
				}
				add_trait = grim
				culture = grimmic
			}
			
			if = {
					limit = {
							real_father = { trait = grim }
							NOT = { mother = { trait = human } } 
							NOT = { mother = { trait = faunus } }
							NOT = { mother = { trait = halfling_human_faunus } }
							NOT = { mother = { trait = halfling_faunus_human } }
							NOT = { mother = { trait = halfling_grim_human } }
							NOT = { mother = { trait = halfling_faunus_grim } }
							NOT = { mother = { trait = halfling_human_grim } }
							NOT = { mother = { trait = halfling_grim_faunus } }
					}
					add_trait = grim
				}
				add_trait = grim
				culture = grimmic
		}
		add_trait = grim
		culture = grimmic
		set_character_flag = flag_didnt_select_grim
		religion = grimmish
	}
	option = {
		prestige = 50
	}
}	
