namespace = RWBY

character_event = {
	id = "RWBY.334"
	hide_window = yes
	is_triggered_only = yes
	
immediate = {
	if = {
		limit = { is_father_real_father = no }
		if = {
			limit = {
				real_father = { trait = human }
				mother = { trait = faunus }
				}
			random_list = {
						50 = {
							add_trait = halfling_faunus_human
						}
				
						50 = {
							add_trait = halfling_human_faunus
						}
						
					}
					ROOT = {
				change_variable = { which = global_halfling_trait value = 1}
				set_character_flag = halfling
				}
		}
		if = {
			limit = {
				real_father = { trait = faunus }
				mother = { trait = human }
				}
			random_list = {
						50 = {
							add_trait = halfling_faunus_human
						}
				
						50 = {
							add_trait = halfling_human_faunus
						}
		}	
		ROOT = {
				change_variable = { which = global_halfling_trait value = 1}
				set_character_flag = halfling
			}
		}
		if = {
			limit = {
				real_father = { trait = faunus }
				mother = { trait = grim }
				}
			random_list = {
						50 = {
							add_trait = halfling_faunus_grim
						}
				
						50 = {
							add_trait = halfling_grim_faunus
						}
		}
		ROOT = {
				change_variable = { which = global_halfling_trait value = 1}
				set_character_flag = halfling
			}		
		}
		if = {
			limit = {
				real_father = { trait = grim }
				mother = { trait = faunus }
				}
					
			random_list = {
						50 = {
							add_trait = halfling_faunus_grim
						}
				
						50 = {
							add_trait = halfling_grim_faunus
						}
		}
		ROOT = {
				change_variable = { which = global_halfling_trait value = 1}
				set_character_flag = halfling
			}
		}
	}
	if = {
		limit = { is_father_real_father = yes }
		if = {
			limit = {
				father = { trait = human }
				mother = { trait = faunus }
				}
			random_list = {
						50 = {
							add_trait = halfling_faunus_human
						}
				
						50 = {
							add_trait = halfling_human_faunus
						}
						
					}
					ROOT = {
				change_variable = { which = global_halfling_trait value = 1}
				set_character_flag = halfling
				}
		}
		if = {
			limit = {
				father = { trait = faunus }
				mother = { trait = human }
				}
			random_list = {
						50 = {
							add_trait = halfling_faunus_human
						}
				
						50 = {
							add_trait = halfling_human_faunus
						}
		}	
		ROOT = {
				change_variable = { which = global_halfling_trait value = 1}
				set_character_flag = halfling
			}
		}
		if = {
			limit = {
					father = { trait = faunus }
					mother = { trait = grim }
				}
			random_list = {
						50 = {
							add_trait = halfling_faunus_grim
						}
				
						50 = {
							add_trait = halfling_grim_faunus
						}
		}
		ROOT = {
				change_variable = { which = global_halfling_trait value = 1}
				set_character_flag = halfling
			}		
		}
		if = {
			limit = {
					father = { trait = grim }
					mother = { trait = faunus }
				}
					
			random_list = {
						50 = {
							add_trait = halfling_faunus_grim
						}
				
						50 = {
							add_trait = halfling_grim_faunus
						}
			}
			ROOT = {
				change_variable = { which = global_halfling_trait value = 1}
				set_character_flag = halfling
			}
		}
	}	
}
}


	