namespace = WL_lv_t_breed_machine_result

##############################
#RP
##############################
planet_event = {
	id = WL_lv_t_breed_machine_result.1
	title = WL_lv_t_breed_machine_result.1.name
	desc = WL_lv_t_breed_machine_result.1.desc
	picture =  GFX_evt_WL_lv_t_breed_machine_result_1
	show_sound = event_primitive_civilization
	location = root
	hide_window = no
	is_triggered_only = yes
	
	option = {
		name = WL_lv_t_breed_machine_result.1.a
		owner = {
			add_resource = { unity = -500 }
			add_monthly_resource_mult = {
 				resource = society_research
 				value = 800
 				min = 800
 				max = 800
 			}
		}
		hidden_effect = {
			from = {
				add_modifier = {
					modifier = WL_lv_titanic_life_damaged_machine_pop
					days = 720
				}
			}	
		}
	}
	
	option = {
		name = WL_lv_t_breed_machine_result.1.b
		owner = {
			add_resource = { unity = -100 }
			add_monthly_resource_mult = {
 				resource = society_research
 				value = 600
 				min = 600
 				max = 600
 			}
		}
		hidden_effect = {
			from = {
				add_modifier = {
					modifier = WL_lv_titanic_life_damaged_machine_pop
					days = 720
				}
			}
		}
	}
}
##############################
#BAD
##############################

planet_event = {
	id = WL_lv_t_breed_machine_result.2
	title = WL_lv_t_breed_machine_result.2.name
	desc = WL_lv_t_breed_machine_result.2.desc
	picture =  GFX_evt_WL_lv_t_breed_machine_result_2
	show_sound = event_primitive_civilization
	location = root
	hide_window = no
	is_triggered_only = yes

	option = {
		name = WL_lv_t_breed_machine_result.2.a
		hidden_effect = {
			while = {
				count = 8
				random_owned_pop_group = {
					limit = {
						species = {
							OR = {
								has_trait = trait_mechanical
								has_trait = trait_machine_unit
								is_species_class = ROBOT
							}
						}
					}
					modify_species = {
						species = this
						add_trait = trait_lv_pheromone_generators
						add_trait = trait_lv_sex_bots
					}
				}
			}
		}
		owner = {
			add_resource = { minerals = -250 }
			add_resource = { energy = -250 }
			add_resource = { unity = -150 }
			add_monthly_resource_mult = {
 				resource = society_research
 				value = 750
 				min = 750
 				max = 750
 			}
		}
	}
	
	option = {
		name = WL_lv_t_breed_machine_result.2.b
		
		hidden_effect = {
			while = {
				count = 4
				random_owned_pop_group = {
					limit = {
						species = {
							OR = {
								has_trait = trait_mechanical
								has_trait = trait_machine_unit
								is_species_class = ROBOT
							}
						}
					}
					modify_species = {
						species = this
						add_trait = trait_lv_pheromone_generators
						add_trait = trait_lv_sex_bots
					}
				}
			}
		}
		owner = {
			add_resource = { minerals = -100 }
			add_resource = { energy = -100 }
			add_resource = { unity = -50 }
			add_monthly_resource_mult = {
 				resource = society_research
 				value = 450
 				min = 450
 				max = 450
 			}
		}
	}
}
##############################
#NOTHING
##############################

planet_event = {
	id = WL_lv_t_breed_machine_result.3
	title = WL_lv_t_breed_machine_result.3.name
	desc = WL_lv_t_breed_machine_result.3.desc
	picture =  GFX_evt_WL_lv_t_breed_machine_result_3
	show_sound = event_primitive_civilization
	location = root
	hide_window = no
	is_triggered_only = yes

	option = {
		name = WL_lv_t_breed_machine_result.3.a
		owner = {
		}
	}
	
	option = {
		name = WL_lv_t_breed_machine_result.3.b
		owner = {
		}
	}
}

##############################
#GREAT NEWS
##############################

planet_event = {
	id = WL_lv_t_breed_machine_result.4
	title = WL_lv_t_breed_machine_result.4.name
	desc = WL_lv_t_breed_machine_result.4.desc
	picture =  GFX_evt_WL_lv_t_breed_machine_result_4
	show_sound = event_primitive_civilization
	location = root
	hide_window = no
	is_triggered_only = yes

	option = {
		name = WL_lv_t_breed_machine_result.4.a
		hidden_effect = {
			while = {
				count = 5
				random_owned_pop_group = {
					limit = {
						species = {
							OR = {
								has_trait = trait_mechanical
								has_trait = trait_machine_unit
								is_species_class = ROBOT
							}
						}
					}
						modify_species = {
							species = this
							add_trait = trait_lv_pheromone_generators
							add_trait = trait_lv_sex_bots
						}
					}
				}
			while = {
				count = 1
				random_owned_pop_group = {
					limit = {
						species = {
							OR = {
								has_trait = trait_mechanical
								has_trait = trait_machine_unit
								is_species_class = ROBOT
							}
						}
					}
					modify_species = {
						species = this
						add_trait = trait_lv_pheromone_generators
						add_trait = trait_lv_sex_bots
					}
				}
			}
		}
		owner = {
			add_resource = { food = 300 }
			add_resource = { unity = 1000 }
			add_resource = { society_research = 1200}
		}
	}
	
	option = {
		name = WL_lv_t_breed_machine_result.4.b
		hidden_effect = {
			while = {
				count = 8
				random_owned_pop_group = {
					limit = {
						species = {
							OR = {
								has_trait = trait_mechanical
								has_trait = trait_machine_unit
								is_species_class = ROBOT
							}
						}
					}
					modify_species = {
						species = this
						add_trait = trait_lv_pheromone_generators
						add_trait = trait_lv_sex_bots
					}
				}
			}
		}
		owner = {
			add_resource = { food = 300 }
			add_resource = { unity = 1000 }
			add_monthly_resource_mult = {
 				resource = society_research
 				value = 1200
 				min = 1200
 				max = 1200
 			}
		}
	}
}
##############################
#GOOD NEWS
##############################

planet_event = {
	id = WL_lv_t_breed_machine_result.5
	title = WL_lv_t_breed_machine_result.5.name
	desc = WL_lv_t_breed_machine_result.5.desc
	picture =  GFX_evt_WL_lv_t_breed_machine_result_5
	show_sound = event_primitive_civilization
	location = root
	hide_window = no
	is_triggered_only = yes

	option = {
		name = WL_lv_t_breed_machine_result.5.a
		hidden_effect = {
			while = {
				count = 8
				random_owned_pop_group = {
					limit = {
						species = {
							OR = {
								has_trait = trait_mechanical
								has_trait = trait_machine_unit
								is_species_class = ROBOT
							}
						}
					}
					modify_species = {
						species = this
						add_trait = trait_lv_pheromone_generators
						add_trait = trait_lv_sex_bots
					}
				}
			}
		}
		
		owner = {
			add_resource = { food = 100 }
			add_resource = { unity = 300 }
			add_monthly_resource_mult = {
 				resource = society_research
 				value = 600
 				min = 600
 				max = 600
 			}
		}
	}
	
	option = {
		name = WL_lv_t_breed_machine_result.5.b
		hidden_effect = {
			while = {
				count = 8
				random_owned_pop_group = {
					limit = {
						species = {
							OR = {
								has_trait = trait_mechanical
								has_trait = trait_machine_unit
								is_species_class = ROBOT
							}
						}
					}
					modify_species = {
						species = this
						add_trait = trait_lv_pheromone_generators
						add_trait = trait_lv_sex_bots
					}
				}
			}
		}
		owner = {
			add_resource = { food = 100 }
			add_resource = { unity = 300 }
			add_monthly_resource_mult = {
 				resource = society_research
 				value = 600
 				min = 600
 				max = 600
 			}
		}
	}
}