暂存
This commit is contained in:
		
							parent
							
								
									3b433d451b
								
							
						
					
					
						commit
						b1e8581377
					
				@ -100,14 +100,6 @@ RG_orbital_ring = {
 | 
				
			|||||||
					has_planet_flag = has_orbital_debris
 | 
										has_planet_flag = has_orbital_debris
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			if = {
 | 
					 | 
				
			||||||
				limit = {
 | 
					 | 
				
			||||||
					from = {
 | 
					 | 
				
			||||||
						is_ai = yes
 | 
					 | 
				
			||||||
					}
 | 
					 | 
				
			||||||
				}
 | 
					 | 
				
			||||||
				num_pops >= 25
 | 
					 | 
				
			||||||
			}
 | 
					 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	# root = system
 | 
						# root = system
 | 
				
			||||||
 | 
				
			|||||||
@ -284,7 +284,7 @@ rg_create_fallen_empire_starting_navy = {
 | 
				
			|||||||
rg_create_fallen_empire_platform = {
 | 
					rg_create_fallen_empire_platform = {
 | 
				
			||||||
	if = {
 | 
						if = {
 | 
				
			||||||
		limit = {
 | 
							limit = {
 | 
				
			||||||
			owner = { has_authority = auth_machine_intelligence }
 | 
								owner = { is_machine_empire = yes }
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		create_ship = {
 | 
							create_ship = {
 | 
				
			||||||
			name = random
 | 
								name = random
 | 
				
			||||||
@ -297,7 +297,7 @@ rg_create_fallen_empire_platform = {
 | 
				
			|||||||
rg_create_fallen_empire_colossus = {
 | 
					rg_create_fallen_empire_colossus = {
 | 
				
			||||||
	if = {
 | 
						if = {
 | 
				
			||||||
		limit = {
 | 
							limit = {
 | 
				
			||||||
			owner = { has_authority = auth_machine_intelligence }
 | 
								owner = { is_machine_empire = yes }
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		create_ship = {
 | 
							create_ship = {
 | 
				
			||||||
			name = random
 | 
								name = random
 | 
				
			||||||
@ -310,7 +310,7 @@ rg_create_fallen_empire_colossus = {
 | 
				
			|||||||
rg_create_fallen_empire_titan = {
 | 
					rg_create_fallen_empire_titan = {
 | 
				
			||||||
	if = {
 | 
						if = {
 | 
				
			||||||
		limit = {
 | 
							limit = {
 | 
				
			||||||
			owner = { has_authority = auth_machine_intelligence }
 | 
								owner = { is_machine_empire = yes }
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		create_ship = {
 | 
							create_ship = {
 | 
				
			||||||
			name = random
 | 
								name = random
 | 
				
			||||||
@ -323,7 +323,7 @@ rg_create_fallen_empire_titan = {
 | 
				
			|||||||
rg_create_fallen_empire_large_ship = {
 | 
					rg_create_fallen_empire_large_ship = {
 | 
				
			||||||
	if = {
 | 
						if = {
 | 
				
			||||||
		limit = {
 | 
							limit = {
 | 
				
			||||||
			owner = { has_authority = auth_machine_intelligence }
 | 
								owner = { is_machine_empire = yes }
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		create_ship = {
 | 
							create_ship = {
 | 
				
			||||||
			name = random
 | 
								name = random
 | 
				
			||||||
@ -336,7 +336,7 @@ rg_create_fallen_empire_large_ship = {
 | 
				
			|||||||
rg_create_fallen_empire_small_ship = {
 | 
					rg_create_fallen_empire_small_ship = {
 | 
				
			||||||
	if = {
 | 
						if = {
 | 
				
			||||||
		limit = {
 | 
							limit = {
 | 
				
			||||||
			owner = { has_authority = auth_machine_intelligence }
 | 
								owner = { is_machine_empire = yes }
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		create_ship = {
 | 
							create_ship = {
 | 
				
			||||||
			name = random
 | 
								name = random
 | 
				
			||||||
@ -349,7 +349,7 @@ rg_create_fallen_empire_small_ship = {
 | 
				
			|||||||
rg_create_fallen_empire_construction_ship = {
 | 
					rg_create_fallen_empire_construction_ship = {
 | 
				
			||||||
	if = {
 | 
						if = {
 | 
				
			||||||
		limit = {
 | 
							limit = {
 | 
				
			||||||
			owner = { has_authority = auth_machine_intelligence }
 | 
								owner = { is_machine_empire = yes }
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		create_ship = {
 | 
							create_ship = {
 | 
				
			||||||
			name = random
 | 
								name = random
 | 
				
			||||||
 | 
				
			|||||||
@ -590,7 +590,7 @@ rg_juggernaut_habitat_init = {
 | 
				
			|||||||
									exists = event_target:rg_owner_main_maid_species
 | 
														exists = event_target:rg_owner_main_maid_species
 | 
				
			||||||
								}
 | 
													}
 | 
				
			||||||
							}
 | 
												}
 | 
				
			||||||
							every_owned_pop = {
 | 
												every_owned_pop_group = {
 | 
				
			||||||
								rg_event_effect_planet2027_spawn_maid_species = yes
 | 
													rg_event_effect_planet2027_spawn_maid_species = yes
 | 
				
			||||||
							}
 | 
												}
 | 
				
			||||||
						}
 | 
											}
 | 
				
			||||||
@ -657,11 +657,9 @@ rg_juggernaut_habitat_init = {
 | 
				
			|||||||
								add_district = district_rg_nexus
 | 
													add_district = district_rg_nexus
 | 
				
			||||||
							}
 | 
												}
 | 
				
			||||||
						}
 | 
											}
 | 
				
			||||||
						while = {
 | 
											create_pop_group = {
 | 
				
			||||||
							count = 5
 | 
					 | 
				
			||||||
							create_pop = {
 | 
					 | 
				
			||||||
							species = owner_main_species
 | 
												species = owner_main_species
 | 
				
			||||||
							}
 | 
												size = 5
 | 
				
			||||||
						}
 | 
											}
 | 
				
			||||||
						set_planet_flag = megastructure
 | 
											set_planet_flag = megastructure
 | 
				
			||||||
						set_planet_flag = habitat
 | 
											set_planet_flag = habitat
 | 
				
			||||||
 | 
				
			|||||||
@ -1796,7 +1796,7 @@ RG_destroy_planet_effect = {
 | 
				
			|||||||
		else = {
 | 
							else = {
 | 
				
			||||||
			set_owner = event_target:gray_owner
 | 
								set_owner = event_target:gray_owner
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		every_owned_pop = {
 | 
							every_owned_pop_group = {
 | 
				
			||||||
			modify_species = {
 | 
								modify_species = {
 | 
				
			||||||
				species = event_target:gray_owner.owner_species
 | 
									species = event_target:gray_owner.owner_species
 | 
				
			||||||
				add_trait = trait_cybernetic
 | 
									add_trait = trait_cybernetic
 | 
				
			||||||
@ -1804,13 +1804,13 @@ RG_destroy_planet_effect = {
 | 
				
			|||||||
				change_scoped_species = yes
 | 
									change_scoped_species = yes
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		every_owned_pop = {
 | 
							every_owned_pop_group = {
 | 
				
			||||||
			limit = {
 | 
								limit = {
 | 
				
			||||||
				has_modifier = pop_recently_conquered
 | 
									has_modifier = pop_recently_conquered
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			remove_modifier = pop_recently_conquered
 | 
								remove_modifier = pop_recently_conquered
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		every_owned_pop = {
 | 
							every_owned_pop_group = {
 | 
				
			||||||
			set_citizenship_type = {
 | 
								set_citizenship_type = {
 | 
				
			||||||
				type = citizenship_full_machine
 | 
									type = citizenship_full_machine
 | 
				
			||||||
				cooldown = yes
 | 
									cooldown = yes
 | 
				
			||||||
@ -2193,7 +2193,7 @@ RG_destroy_planet_effect_sp = {
 | 
				
			|||||||
		else = {
 | 
							else = {
 | 
				
			||||||
			set_owner = event_target:gray_owner
 | 
								set_owner = event_target:gray_owner
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		every_owned_pop = {
 | 
							every_owned_pop_group = {
 | 
				
			||||||
			modify_species = {
 | 
								modify_species = {
 | 
				
			||||||
				species = event_target:gray_owner.owner_species
 | 
									species = event_target:gray_owner.owner_species
 | 
				
			||||||
				add_trait = trait_cybernetic
 | 
									add_trait = trait_cybernetic
 | 
				
			||||||
@ -2201,13 +2201,13 @@ RG_destroy_planet_effect_sp = {
 | 
				
			|||||||
				change_scoped_species = yes
 | 
									change_scoped_species = yes
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		every_owned_pop = {
 | 
							every_owned_pop_group = {
 | 
				
			||||||
			limit = {
 | 
								limit = {
 | 
				
			||||||
				has_modifier = pop_recently_conquered
 | 
									has_modifier = pop_recently_conquered
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			remove_modifier = pop_recently_conquered
 | 
								remove_modifier = pop_recently_conquered
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		every_owned_pop = {
 | 
							every_owned_pop_group = {
 | 
				
			||||||
			set_citizenship_type = {
 | 
								set_citizenship_type = {
 | 
				
			||||||
				type = citizenship_full_machine
 | 
									type = citizenship_full_machine
 | 
				
			||||||
				cooldown = yes
 | 
									cooldown = yes
 | 
				
			||||||
@ -2397,7 +2397,7 @@ RG_destroy_star_system = {
 | 
				
			|||||||
			else = {
 | 
								else = {
 | 
				
			||||||
				set_owner = event_target:gray_owner
 | 
									set_owner = event_target:gray_owner
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			every_owned_pop = {
 | 
								every_owned_pop_group = {
 | 
				
			||||||
				modify_species = {
 | 
									modify_species = {
 | 
				
			||||||
					species = event_target:gray_owner.owner_species
 | 
										species = event_target:gray_owner.owner_species
 | 
				
			||||||
					add_trait = trait_cybernetic
 | 
										add_trait = trait_cybernetic
 | 
				
			||||||
@ -2405,13 +2405,13 @@ RG_destroy_star_system = {
 | 
				
			|||||||
					change_scoped_species = yes
 | 
										change_scoped_species = yes
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			every_owned_pop = {
 | 
								every_owned_pop_group = {
 | 
				
			||||||
				limit = {
 | 
									limit = {
 | 
				
			||||||
					has_modifier = pop_recently_conquered
 | 
										has_modifier = pop_recently_conquered
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
				remove_modifier = pop_recently_conquered
 | 
									remove_modifier = pop_recently_conquered
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			every_owned_pop = {
 | 
								every_owned_pop_group = {
 | 
				
			||||||
				set_citizenship_type = {
 | 
									set_citizenship_type = {
 | 
				
			||||||
					type = citizenship_full_machine
 | 
										type = citizenship_full_machine
 | 
				
			||||||
					cooldown = yes
 | 
										cooldown = yes
 | 
				
			||||||
 | 
				
			|||||||
@ -338,7 +338,7 @@ can_destroy_planet_with_RG_PLANET_KILLER_NEUTRON = {
 | 
				
			|||||||
	custom_tooltip = {
 | 
						custom_tooltip = {
 | 
				
			||||||
		fail_text = is_unpopulated
 | 
							fail_text = is_unpopulated
 | 
				
			||||||
		OR = {
 | 
							OR = {
 | 
				
			||||||
			num_pops > 0
 | 
								pop_amount > 0
 | 
				
			||||||
			is_planet_class = pc_infested
 | 
								is_planet_class = pc_infested
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
@ -472,7 +472,7 @@ can_destroy_planet_with_RG_PLANET_KILLER_NANOBOTS = {
 | 
				
			|||||||
	}
 | 
						}
 | 
				
			||||||
	custom_tooltip = {
 | 
						custom_tooltip = {
 | 
				
			||||||
		fail_text = no_assimilatable_pops
 | 
							fail_text = no_assimilatable_pops
 | 
				
			||||||
		any_owned_pop = {
 | 
							any_owned_pop_group = {
 | 
				
			||||||
			is_valid_pop_for_PLANET_KILLER_NANOBOTS = yes
 | 
								is_valid_pop_for_PLANET_KILLER_NANOBOTS = yes
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
				
			|||||||
@ -79,18 +79,13 @@ rg_fallen_machine = {
 | 
				
			|||||||
				count = 5
 | 
									count = 5
 | 
				
			||||||
				add_district = district_rw_nexus
 | 
									add_district = district_rw_nexus
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			while = {
 | 
								create_pop_group = {
 | 
				
			||||||
				count = 105
 | 
					 | 
				
			||||||
				create_pop = {
 | 
					 | 
				
			||||||
				species = owner_main_species
 | 
									species = owner_main_species
 | 
				
			||||||
 | 
									size = 105
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			}
 | 
								create_pop_group = {
 | 
				
			||||||
 | 
					 | 
				
			||||||
			while = {
 | 
					 | 
				
			||||||
				count = 94
 | 
					 | 
				
			||||||
				create_pop = {
 | 
					 | 
				
			||||||
				species = event_target:rg_scion_slave.species
 | 
									species = event_target:rg_scion_slave.species
 | 
				
			||||||
				}
 | 
									size = 94
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			rg_create_fallen_empire_starting_navy = yes
 | 
								rg_create_fallen_empire_starting_navy = yes
 | 
				
			||||||
@ -159,17 +154,13 @@ rg_fallen_machine = {
 | 
				
			|||||||
				count = 5
 | 
									count = 5
 | 
				
			||||||
				add_district = district_rw_nexus
 | 
									add_district = district_rw_nexus
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			while = {
 | 
								create_pop_group = {
 | 
				
			||||||
				count = 50
 | 
					 | 
				
			||||||
				create_pop = {
 | 
					 | 
				
			||||||
				species = owner_main_species
 | 
									species = owner_main_species
 | 
				
			||||||
 | 
									size = 50
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			}
 | 
								create_pop_group = {
 | 
				
			||||||
			while = {
 | 
					 | 
				
			||||||
				count = 20
 | 
					 | 
				
			||||||
				create_pop = {
 | 
					 | 
				
			||||||
				species = event_target:rg_scion_slave.species
 | 
									species = event_target:rg_scion_slave.species
 | 
				
			||||||
				}
 | 
									size = 20
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			while = {
 | 
								while = {
 | 
				
			||||||
				count = 20
 | 
									count = 20
 | 
				
			||||||
@ -225,17 +216,13 @@ rg_fallen_machine = {
 | 
				
			|||||||
				count = 5
 | 
									count = 5
 | 
				
			||||||
				add_district = district_rw_generator
 | 
									add_district = district_rw_generator
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			while = {
 | 
								create_pop_group = {
 | 
				
			||||||
				count = 22
 | 
					 | 
				
			||||||
				create_pop = {
 | 
					 | 
				
			||||||
				species = owner_main_species
 | 
									species = owner_main_species
 | 
				
			||||||
 | 
									size = 22
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			}
 | 
								create_pop_group = {
 | 
				
			||||||
			while = {
 | 
					 | 
				
			||||||
				count = 10
 | 
					 | 
				
			||||||
				create_pop = {
 | 
					 | 
				
			||||||
				species = event_target:rg_scion_slave.species
 | 
									species = event_target:rg_scion_slave.species
 | 
				
			||||||
				}
 | 
									size = 10
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			while = {
 | 
								while = {
 | 
				
			||||||
				count = 10
 | 
									count = 10
 | 
				
			||||||
@ -333,18 +320,14 @@ rg_fallen_machine_1 = {
 | 
				
			|||||||
				count = 5
 | 
									count = 5
 | 
				
			||||||
				add_district = district_rw_nexus
 | 
									add_district = district_rw_nexus
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			while = {
 | 
								create_pop_group = {
 | 
				
			||||||
				count = 105
 | 
					 | 
				
			||||||
				create_pop = {
 | 
					 | 
				
			||||||
				species = owner_main_species
 | 
									species = owner_main_species
 | 
				
			||||||
				}
 | 
									size = 105
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			while = {
 | 
								create_pop_group = {
 | 
				
			||||||
				count = 94
 | 
					 | 
				
			||||||
				create_pop = {
 | 
					 | 
				
			||||||
				species = event_target:rg_scion_slave.species
 | 
									species = event_target:rg_scion_slave.species
 | 
				
			||||||
				}
 | 
									size = 94
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			rg_create_fallen_empire_starting_navy = yes
 | 
								rg_create_fallen_empire_starting_navy = yes
 | 
				
			||||||
@ -421,17 +404,13 @@ rg_fallen_machine_1 = {
 | 
				
			|||||||
				count = 5
 | 
									count = 5
 | 
				
			||||||
				add_district = district_rw_nexus
 | 
									add_district = district_rw_nexus
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			while = {
 | 
								create_pop_group = {
 | 
				
			||||||
				count = 50
 | 
					 | 
				
			||||||
				create_pop = {
 | 
					 | 
				
			||||||
				species = owner_main_species
 | 
									species = owner_main_species
 | 
				
			||||||
 | 
									size = 50
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			}
 | 
								create_pop_group = {
 | 
				
			||||||
			while = {
 | 
					 | 
				
			||||||
				count = 20
 | 
					 | 
				
			||||||
				create_pop = {
 | 
					 | 
				
			||||||
				species = event_target:rg_scion_slave.species
 | 
									species = event_target:rg_scion_slave.species
 | 
				
			||||||
				}
 | 
									size = 20
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			while = {
 | 
								while = {
 | 
				
			||||||
				count = 20
 | 
									count = 20
 | 
				
			||||||
@ -487,17 +466,13 @@ rg_fallen_machine_1 = {
 | 
				
			|||||||
				count = 5
 | 
									count = 5
 | 
				
			||||||
				add_district = district_rw_generator
 | 
									add_district = district_rw_generator
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			while = {
 | 
								create_pop_group = {
 | 
				
			||||||
				count = 22
 | 
					 | 
				
			||||||
				create_pop = {
 | 
					 | 
				
			||||||
				species = owner_main_species
 | 
									species = owner_main_species
 | 
				
			||||||
 | 
									size = 22
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			}
 | 
								create_pop_group = {
 | 
				
			||||||
			while = {
 | 
					 | 
				
			||||||
				count = 10
 | 
					 | 
				
			||||||
				create_pop = {
 | 
					 | 
				
			||||||
				species = event_target:rg_scion_slave.species
 | 
									species = event_target:rg_scion_slave.species
 | 
				
			||||||
				}
 | 
									size = 10
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			while = {
 | 
								while = {
 | 
				
			||||||
				count = 10
 | 
									count = 10
 | 
				
			||||||
 | 
				
			|||||||
@ -8,5 +8,5 @@ tags={
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
name="Real Gray"
 | 
					name="Real Gray"
 | 
				
			||||||
picture="thumbnail.png"
 | 
					picture="thumbnail.png"
 | 
				
			||||||
supported_version="v3.14.*"
 | 
					supported_version="v4.0.*"
 | 
				
			||||||
remote_file_id="2136166095"
 | 
					remote_file_id="2136166095"--
 | 
				
			||||||
@ -850,14 +850,14 @@ country_event = {
 | 
				
			|||||||
	desc = {
 | 
						desc = {
 | 
				
			||||||
		trigger = {
 | 
							trigger = {
 | 
				
			||||||
			NOT = {
 | 
								NOT = {
 | 
				
			||||||
				has_authority = auth_machine_intelligence
 | 
									is_machine_empire = yes
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		text = "graygoo.401.a.desc"
 | 
							text = "graygoo.401.a.desc"
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	desc = {
 | 
						desc = {
 | 
				
			||||||
		trigger = {
 | 
							trigger = {
 | 
				
			||||||
			has_authority = auth_machine_intelligence
 | 
								is_machine_empire = yes
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		text = "graygoo.401.b.desc"
 | 
							text = "graygoo.401.b.desc"
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
@ -876,8 +876,8 @@ country_event = {
 | 
				
			|||||||
		name = graygoo.401.a
 | 
							name = graygoo.401.a
 | 
				
			||||||
		trigger = {
 | 
							trigger = {
 | 
				
			||||||
			NOR = {
 | 
								NOR = {
 | 
				
			||||||
				has_authority = auth_machine_intelligence
 | 
									is_machine_empire = yes
 | 
				
			||||||
				has_authority = auth_hive_mind
 | 
									is_hive_empire = yes
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		hidden_effect = {
 | 
							hidden_effect = {
 | 
				
			||||||
@ -889,7 +889,7 @@ country_event = {
 | 
				
			|||||||
	option = {
 | 
						option = {
 | 
				
			||||||
		name = graygoo.401.b
 | 
							name = graygoo.401.b
 | 
				
			||||||
		trigger = {
 | 
							trigger = {
 | 
				
			||||||
			has_authority = auth_machine_intelligence
 | 
								is_machine_empire = yes
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		hidden_effect = {
 | 
							hidden_effect = {
 | 
				
			||||||
			country_event = {
 | 
								country_event = {
 | 
				
			||||||
@ -900,7 +900,7 @@ country_event = {
 | 
				
			|||||||
	option = {
 | 
						option = {
 | 
				
			||||||
		name = graygoo.401.c
 | 
							name = graygoo.401.c
 | 
				
			||||||
		trigger = {
 | 
							trigger = {
 | 
				
			||||||
			has_authority = auth_hive_mind
 | 
								is_hive_empire = yes
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		hidden_effect = {
 | 
							hidden_effect = {
 | 
				
			||||||
			country_event = {
 | 
								country_event = {
 | 
				
			||||||
@ -917,14 +917,14 @@ country_event = {
 | 
				
			|||||||
	desc = {
 | 
						desc = {
 | 
				
			||||||
		trigger = {
 | 
							trigger = {
 | 
				
			||||||
			NOT = {
 | 
								NOT = {
 | 
				
			||||||
				has_authority = auth_machine_intelligence
 | 
									is_machine_empire = yes
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		text = "graygoo.402.a.desc"
 | 
							text = "graygoo.402.a.desc"
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	desc = {
 | 
						desc = {
 | 
				
			||||||
		trigger = {
 | 
							trigger = {
 | 
				
			||||||
			has_authority = auth_machine_intelligence
 | 
								is_machine_empire = yes
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		text = "graygoo.402.b.desc"
 | 
							text = "graygoo.402.b.desc"
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
				
			|||||||
@ -212,7 +212,7 @@ country_event = {
 | 
				
			|||||||
					is_machine_empire = no
 | 
										is_machine_empire = no
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			every_owned_pop = {
 | 
								every_owned_pop_group = {
 | 
				
			||||||
				modify_species = {
 | 
									modify_species = {
 | 
				
			||||||
					species = this
 | 
										species = this
 | 
				
			||||||
					ideal_planet_class = pc_nuked
 | 
										ideal_planet_class = pc_nuked
 | 
				
			||||||
@ -249,18 +249,20 @@ country_event = {
 | 
				
			|||||||
			set_location = event_target:rg_cluster_home_system_loc
 | 
								set_location = event_target:rg_cluster_home_system_loc
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		event_target:rg_cluster_previous_home_planet = {
 | 
							event_target:rg_cluster_previous_home_planet = {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			# move pops
 | 
								# move pops
 | 
				
			||||||
			every_owned_pop = {
 | 
								every_owned_pop_group = {
 | 
				
			||||||
				resettle_pop = {
 | 
									resettle_pop_group = {
 | 
				
			||||||
					pop = this
 | 
										POP_GROUP = this
 | 
				
			||||||
					planet = event_target:rg_cluster_home_planet
 | 
										PLANET = event_target:rg_cluster_home_planet
 | 
				
			||||||
 | 
										PERCENTAGE = 1
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
				unemploy_pop = yes
 | 
									unemploy_pop = yes
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			remove_planet = yes
 | 
								remove_planet = yes
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		event_target:rg_cluster_home_planet = {
 | 
							event_target:rg_cluster_home_planet = {
 | 
				
			||||||
			every_owned_pop = {
 | 
								every_owned_pop_group  = {
 | 
				
			||||||
				unemploy_pop = yes
 | 
									unemploy_pop = yes
 | 
				
			||||||
				clear_pop_category = yes
 | 
									clear_pop_category = yes
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
@ -416,10 +418,12 @@ country_event = {
 | 
				
			|||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	option = {
 | 
						option = {
 | 
				
			||||||
 | 
							trigger = {
 | 
				
			||||||
 | 
								always = yes
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
		name = "rg_cluster.11.a"
 | 
							name = "rg_cluster.11.a"
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					 | 
				
			||||||
# Inform other empires of the L-Cluster being open (has project or event chain)
 | 
					# Inform other empires of the L-Cluster being open (has project or event chain)
 | 
				
			||||||
country_event = {
 | 
					country_event = {
 | 
				
			||||||
	id = rg_cluster.12
 | 
						id = rg_cluster.12
 | 
				
			||||||
@ -446,10 +450,12 @@ country_event = {
 | 
				
			|||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	option = {
 | 
						option = {
 | 
				
			||||||
 | 
							trigger = {
 | 
				
			||||||
 | 
								always = yes
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
		name = "rg_cluster.12.a"
 | 
							name = "rg_cluster.12.a"
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					 | 
				
			||||||
# Inform other empires of the L-Cluster being open (has nothing)
 | 
					# Inform other empires of the L-Cluster being open (has nothing)
 | 
				
			||||||
country_event = {
 | 
					country_event = {
 | 
				
			||||||
	id = rg_cluster.13
 | 
						id = rg_cluster.13
 | 
				
			||||||
@ -459,6 +465,9 @@ country_event = {
 | 
				
			|||||||
	picture = GFX_evt_l-gateway
 | 
						picture = GFX_evt_l-gateway
 | 
				
			||||||
	show_sound = event_mystic_reveal
 | 
						show_sound = event_mystic_reveal
 | 
				
			||||||
	option = {
 | 
						option = {
 | 
				
			||||||
 | 
							trigger = {
 | 
				
			||||||
 | 
								always = yes
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
		name = "rg_cluster.13.a"
 | 
							name = "rg_cluster.13.a"
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
@ -29,7 +29,7 @@ situation_event = {
 | 
				
			|||||||
				}
 | 
									}
 | 
				
			||||||
				ordered_owned_planet = {
 | 
									ordered_owned_planet = {
 | 
				
			||||||
					limit = {
 | 
										limit = {
 | 
				
			||||||
						any_owned_pop = {
 | 
											any_owned_pop_group = {
 | 
				
			||||||
							OR = {
 | 
												OR = {
 | 
				
			||||||
								is_shackled_robot = yes
 | 
													is_shackled_robot = yes
 | 
				
			||||||
								is_non_sapient_robot = yes
 | 
													is_non_sapient_robot = yes
 | 
				
			||||||
@ -48,11 +48,11 @@ situation_event = {
 | 
				
			|||||||
			else = {
 | 
								else = {
 | 
				
			||||||
				ordered_owned_planet = {
 | 
									ordered_owned_planet = {
 | 
				
			||||||
					limit = {
 | 
										limit = {
 | 
				
			||||||
						any_owned_pop = {
 | 
											any_owned_pop_group = {
 | 
				
			||||||
							is_robot_pop = yes
 | 
												is_robot_pop = yes
 | 
				
			||||||
						}
 | 
											}
 | 
				
			||||||
					}
 | 
										}
 | 
				
			||||||
					order_by = trigger:num_pops
 | 
										order_by = trigger:pop_amount
 | 
				
			||||||
					position = 0
 | 
										position = 0
 | 
				
			||||||
					save_event_target_as = robots_planet
 | 
										save_event_target_as = robots_planet
 | 
				
			||||||
					event_target:robots_planet = {
 | 
										event_target:robots_planet = {
 | 
				
			||||||
@ -77,14 +77,14 @@ situation_event = {
 | 
				
			|||||||
		}
 | 
							}
 | 
				
			||||||
		hidden_effect = {
 | 
							hidden_effect = {
 | 
				
			||||||
			event_target:robots_planet = {
 | 
								event_target:robots_planet = {
 | 
				
			||||||
				every_owned_pop = {
 | 
									every_owned_pop_group = {
 | 
				
			||||||
					limit = {
 | 
										limit = {
 | 
				
			||||||
						OR = {
 | 
											OR = {
 | 
				
			||||||
							is_shackled_robot = yes
 | 
												is_shackled_robot = yes
 | 
				
			||||||
							is_non_sapient_robot = yes
 | 
												is_non_sapient_robot = yes
 | 
				
			||||||
						}
 | 
											}
 | 
				
			||||||
					}
 | 
										}
 | 
				
			||||||
					kill_pop = yes
 | 
										kill_single_pop = yes
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			owner = {
 | 
								owner = {
 | 
				
			||||||
@ -108,12 +108,12 @@ situation_event = {
 | 
				
			|||||||
		hidden_effect = {
 | 
							hidden_effect = {
 | 
				
			||||||
			event_target:robots_planet = {
 | 
								event_target:robots_planet = {
 | 
				
			||||||
				while = {
 | 
									while = {
 | 
				
			||||||
					count = recycled_robots
 | 
										count = recycled_robots_100
 | 
				
			||||||
					random_owned_pop = {
 | 
										random_owned_pop_group = {
 | 
				
			||||||
						limit = {
 | 
											limit = {
 | 
				
			||||||
							is_robot_pop = yes
 | 
												is_robot_pop_group = yes
 | 
				
			||||||
						}
 | 
											}
 | 
				
			||||||
						kill_pop = yes
 | 
											kill_single_pop = yes
 | 
				
			||||||
					}
 | 
										}
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
 | 
				
			|||||||
@ -1070,7 +1070,7 @@ planet_event = {
 | 
				
			|||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	immediate = {
 | 
						immediate = {
 | 
				
			||||||
		random_owned_pop = {
 | 
							weighted_random_owned_pop_group = {
 | 
				
			||||||
			limit = {
 | 
								limit = {
 | 
				
			||||||
				is_same_species = owner_species
 | 
									is_same_species = owner_species
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
@ -1080,18 +1080,26 @@ planet_event = {
 | 
				
			|||||||
			limit = {
 | 
								limit = {
 | 
				
			||||||
				exists = event_target:necrophage_pop_species
 | 
									exists = event_target:necrophage_pop_species
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			create_pop = {
 | 
								create_pop_group = {
 | 
				
			||||||
				species = event_target:necrophage_pop_species
 | 
									species = event_target:necrophage_pop_species
 | 
				
			||||||
 | 
									size = 0
 | 
				
			||||||
 | 
									effect = {
 | 
				
			||||||
 | 
										save_event_target_as = last_created_pop_group
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		else = {
 | 
							else = {
 | 
				
			||||||
			create_pop = {
 | 
								create_pop_group = {
 | 
				
			||||||
				species = owner_species
 | 
									species = owner_species
 | 
				
			||||||
 | 
									size = 0
 | 
				
			||||||
 | 
									effect = {
 | 
				
			||||||
 | 
										save_event_target_as = last_created_pop_group
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		if = {
 | 
							if = {
 | 
				
			||||||
			limit = {
 | 
								limit = {
 | 
				
			||||||
				last_created_pop = {
 | 
									event_target:last_created_pop_group = {
 | 
				
			||||||
					NOT = { ideal_planet_class = root }
 | 
										NOT = { ideal_planet_class = root }
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
				NOR = {
 | 
									NOR = {
 | 
				
			||||||
@ -1108,12 +1116,17 @@ planet_event = {
 | 
				
			|||||||
					NOT = { ideal_planet_class = root }
 | 
										NOT = { ideal_planet_class = root }
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			last_created_pop = {
 | 
								event_target:last_created_pop_group = {
 | 
				
			||||||
				modify_species = {
 | 
									modify_species = {
 | 
				
			||||||
					ideal_planet_class = root
 | 
										ideal_planet_class = root
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
							event_target:last_created_pop_group = {
 | 
				
			||||||
 | 
								add_pop_amount = local_pop_amount
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
							while = {
 | 
				
			||||||
 | 
								count = local_pop_amount
 | 
				
			||||||
			if = {
 | 
								if = {
 | 
				
			||||||
				limit = {
 | 
									limit = {
 | 
				
			||||||
					from = {
 | 
										from = {
 | 
				
			||||||
@ -1132,6 +1145,7 @@ planet_event = {
 | 
				
			|||||||
					}
 | 
										}
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
		every_country = {
 | 
							every_country = {
 | 
				
			||||||
			limit = {
 | 
								limit = {
 | 
				
			||||||
				has_communications = FROM
 | 
									has_communications = FROM
 | 
				
			||||||
@ -1154,7 +1168,10 @@ planet_event = {
 | 
				
			|||||||
					level >= 2
 | 
										level >= 2
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			add_opinion_modifier = { who = FROM modifier = opinion_necrophage }
 | 
								while = {
 | 
				
			||||||
 | 
									count = local_pop_amount
 | 
				
			||||||
 | 
									add_opinion_modifier = { who = FROM modifier = opinion_nanophage }
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		every_country = {
 | 
							every_country = {
 | 
				
			||||||
			limit = {
 | 
								limit = {
 | 
				
			||||||
@ -1167,7 +1184,10 @@ planet_event = {
 | 
				
			|||||||
					level >= 1 #lower because you'd hear from a friend of a friend
 | 
										level >= 1 #lower because you'd hear from a friend of a friend
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			add_opinion_modifier = { who = FROM modifier = opinion_necrophage_our_species }
 | 
								while = {
 | 
				
			||||||
 | 
									count = local_pop_amount
 | 
				
			||||||
 | 
									add_opinion_modifier = { who = FROM modifier = opinion_nanophage_our_species }
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@ -1310,81 +1330,82 @@ country_event = {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# 灰色风暴线小灰通讯
 | 
					# 灰色风暴线小灰通讯
 | 
				
			||||||
country_event = {
 | 
					# country_event = {
 | 
				
			||||||
	id = rg_event.400
 | 
					# 	id = rg_event.400
 | 
				
			||||||
	title = "TRANSMISSION"
 | 
					# 	title = "TRANSMISSION"
 | 
				
			||||||
	trigger = {
 | 
					# 	is_triggered_only = yes
 | 
				
			||||||
		NOT = {
 | 
					# 	trigger = {
 | 
				
			||||||
			any_playable_country = {
 | 
					# 		NOT = {
 | 
				
			||||||
				has_country_flag = gray_owner
 | 
					# 			any_playable_country = {
 | 
				
			||||||
			}
 | 
					# 				has_country_flag = gray_owner
 | 
				
			||||||
		}
 | 
					# 			}
 | 
				
			||||||
	}
 | 
					# 		}
 | 
				
			||||||
	desc = {
 | 
					# 	}
 | 
				
			||||||
		trigger = {
 | 
					# 	desc = {
 | 
				
			||||||
			NOT = {
 | 
					# 		trigger = {
 | 
				
			||||||
				has_authority = auth_machine_intelligence
 | 
					# 			NOT = {
 | 
				
			||||||
			}
 | 
					# 				is_machine_empire = yes
 | 
				
			||||||
		}
 | 
					# 			}
 | 
				
			||||||
		text = "rg_event.400.a.desc"
 | 
					# 		}
 | 
				
			||||||
	}
 | 
					# 		text = "rg_event.400.a.desc"
 | 
				
			||||||
	desc = {
 | 
					# 	}
 | 
				
			||||||
		trigger = {
 | 
					# 	desc = {
 | 
				
			||||||
			has_authority = auth_machine_intelligence
 | 
					# 		trigger = {
 | 
				
			||||||
		}
 | 
					# 			is_machine_empire = yes
 | 
				
			||||||
		text = "rg_event.400.b.desc"
 | 
					# 		}
 | 
				
			||||||
	}
 | 
					# 		text = "rg_event.400.b.desc"
 | 
				
			||||||
	diplomatic = yes
 | 
					# 	}
 | 
				
			||||||
	picture_event_data = {
 | 
					# 	diplomatic = yes
 | 
				
			||||||
		portrait = root.species
 | 
					# 	picture_event_data = {
 | 
				
			||||||
		room = "ethic_spaceship_room"
 | 
					# 		portrait = root.species
 | 
				
			||||||
	}
 | 
					# 		room = "ethic_spaceship_room"
 | 
				
			||||||
	is_triggered_only = yes
 | 
					# 	}
 | 
				
			||||||
	option = {
 | 
					#
 | 
				
			||||||
		name = rg_event.400.a
 | 
					# 	option = {
 | 
				
			||||||
		trigger = {
 | 
					# 		name = rg_event.400.a
 | 
				
			||||||
			NOR = {
 | 
					# 		trigger = {
 | 
				
			||||||
				has_authority = auth_machine_intelligence
 | 
					# 			NOR = {
 | 
				
			||||||
				has_authority = auth_hive_mind
 | 
					# 				is_machine_empire = yes
 | 
				
			||||||
			}
 | 
					# 				is_hive_empire = yes
 | 
				
			||||||
		}
 | 
					# 			}
 | 
				
			||||||
		hidden_effect = {
 | 
					# 		}
 | 
				
			||||||
			country_event = {
 | 
					# 		hidden_effect = {
 | 
				
			||||||
				id = graygoo.406
 | 
					# 			country_event = {
 | 
				
			||||||
			}
 | 
					# 				id = graygoo.406
 | 
				
			||||||
		}
 | 
					# 			}
 | 
				
			||||||
	}
 | 
					# 		}
 | 
				
			||||||
	option = {
 | 
					# 	}
 | 
				
			||||||
		name = rg_event.400.b
 | 
					# 	option = {
 | 
				
			||||||
		trigger = {
 | 
					# 		name = rg_event.400.b
 | 
				
			||||||
			has_authority = auth_machine_intelligence
 | 
					# 		trigger = {
 | 
				
			||||||
		}
 | 
					# 			is_machine_empire = yes
 | 
				
			||||||
		hidden_effect = {
 | 
					# 		}
 | 
				
			||||||
			country_event = {
 | 
					# 		hidden_effect = {
 | 
				
			||||||
				id = graygoo.406
 | 
					# 			country_event = {
 | 
				
			||||||
			}
 | 
					# 				id = graygoo.406
 | 
				
			||||||
		}
 | 
					# 			}
 | 
				
			||||||
	}
 | 
					# 		}
 | 
				
			||||||
	option = {
 | 
					# 	}
 | 
				
			||||||
		name = rg_event.400.c
 | 
					# 	option = {
 | 
				
			||||||
		trigger = {
 | 
					# 		name = rg_event.400.c
 | 
				
			||||||
			has_authority = auth_hive_mind
 | 
					# 		trigger = {
 | 
				
			||||||
		}
 | 
					# 			is_hive_empire = yes
 | 
				
			||||||
		hidden_effect = {
 | 
					# 		}
 | 
				
			||||||
			country_event = {
 | 
					# 		hidden_effect = {
 | 
				
			||||||
				id = graygoo.406
 | 
					# 			country_event = {
 | 
				
			||||||
			}
 | 
					# 				id = graygoo.406
 | 
				
			||||||
		}
 | 
					# 			}
 | 
				
			||||||
	}
 | 
					# 		}
 | 
				
			||||||
	option = {
 | 
					# 	}
 | 
				
			||||||
		name = rg_event.400.d
 | 
					# 	option = {
 | 
				
			||||||
		hidden_effect = {
 | 
					# 		name = rg_event.400.d
 | 
				
			||||||
			country_event = {
 | 
					# 		hidden_effect = {
 | 
				
			||||||
				id = rg_event.401
 | 
					# 			country_event = {
 | 
				
			||||||
			}
 | 
					# 				id = rg_event.401
 | 
				
			||||||
		}
 | 
					# 			}
 | 
				
			||||||
	}
 | 
					# 		}
 | 
				
			||||||
}
 | 
					# 	}
 | 
				
			||||||
 | 
					# }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
country_event = {
 | 
					country_event = {
 | 
				
			||||||
	id = rg_event.401
 | 
						id = rg_event.401
 | 
				
			||||||
 | 
				
			|||||||
@ -7,14 +7,14 @@ country_event = {
 | 
				
			|||||||
    desc = {
 | 
					    desc = {
 | 
				
			||||||
        trigger = {
 | 
					        trigger = {
 | 
				
			||||||
            NOT = {
 | 
					            NOT = {
 | 
				
			||||||
                has_authority = auth_machine_intelligence
 | 
					                is_machine_empire = yes
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        text = "graygoo.402.a.desc"
 | 
					        text = "graygoo.402.a.desc"
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    desc = {
 | 
					    desc = {
 | 
				
			||||||
        trigger = {
 | 
					        trigger = {
 | 
				
			||||||
            has_authority = auth_machine_intelligence
 | 
					            is_machine_empire = yes
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        text = "graygoo.402.b.desc"
 | 
					        text = "graygoo.402.b.desc"
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
				
			|||||||
@ -27,11 +27,9 @@ country_event = {
 | 
				
			|||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		capital_scope = {
 | 
							capital_scope = {
 | 
				
			||||||
			while = {
 | 
								create_pop_group = {
 | 
				
			||||||
				count = 5
 | 
					 | 
				
			||||||
				create_pop = {
 | 
					 | 
				
			||||||
				species = event_target:rg_maid_species
 | 
									species = event_target:rg_maid_species
 | 
				
			||||||
				}
 | 
									size = 5
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
				
			|||||||
@ -374,7 +374,7 @@ planet_event = {
 | 
				
			|||||||
	}
 | 
						}
 | 
				
			||||||
	immediate = {
 | 
						immediate = {
 | 
				
			||||||
		set_variable = {
 | 
							set_variable = {
 | 
				
			||||||
			which = num_pops
 | 
								which = pop_amount
 | 
				
			||||||
			value = value:num_free_virtual_jobs
 | 
								value = value:num_free_virtual_jobs
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		# Create pops for every free job
 | 
							# Create pops for every free job
 | 
				
			||||||
@ -387,8 +387,8 @@ planet_event = {
 | 
				
			|||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			while = {
 | 
								while = {
 | 
				
			||||||
				count = num_pops
 | 
									count = pop_amount
 | 
				
			||||||
				create_pop = {
 | 
									create_pop_group = {
 | 
				
			||||||
					species = event_target:rg_owner_main_maid_species
 | 
										species = event_target:rg_owner_main_maid_species
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
@ -411,8 +411,8 @@ planet_event = {
 | 
				
			|||||||
					}
 | 
										}
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
				while = {
 | 
									while = {
 | 
				
			||||||
					count = num_pops
 | 
										count = pop_amount
 | 
				
			||||||
					create_pop = {
 | 
										create_pop_group = {
 | 
				
			||||||
						species = event_target:rg_maid_species
 | 
											species = event_target:rg_maid_species
 | 
				
			||||||
					}
 | 
										}
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
@ -421,15 +421,18 @@ planet_event = {
 | 
				
			|||||||
		# Kill pops generated in excess (e.g. from forbidden jobs)
 | 
							# Kill pops generated in excess (e.g. from forbidden jobs)
 | 
				
			||||||
		if = {
 | 
							if = {
 | 
				
			||||||
			limit = {
 | 
								limit = {
 | 
				
			||||||
				any_owned_pop = {
 | 
									any_owned_pop_group = {
 | 
				
			||||||
					is_unemployed = yes
 | 
										is_unemployed = yes
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			every_owned_pop = {
 | 
								every_owned_pop_group = {
 | 
				
			||||||
				limit = {
 | 
									limit = {
 | 
				
			||||||
					is_unemployed = yes
 | 
										is_unemployed = yes
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
				kill_pop = yes
 | 
									kill_pop_group = {
 | 
				
			||||||
 | 
										pop_group = this
 | 
				
			||||||
 | 
										percentage = 1
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
@ -445,18 +448,21 @@ country_event = {
 | 
				
			|||||||
	trigger = {
 | 
						trigger = {
 | 
				
			||||||
		RG_gray_harbitat_active_trigger = yes
 | 
							RG_gray_harbitat_active_trigger = yes
 | 
				
			||||||
		event_target:rg_gray_habitat_target = {
 | 
							event_target:rg_gray_habitat_target = {
 | 
				
			||||||
			any_owned_pop = {
 | 
								any_owned_pop_group = {
 | 
				
			||||||
				is_unemployed = yes
 | 
									is_unemployed = yes
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	immediate = {
 | 
						immediate = {
 | 
				
			||||||
		event_target:rg_gray_habitat_target = {
 | 
							event_target:rg_gray_habitat_target = {
 | 
				
			||||||
			every_owned_pop = {
 | 
								every_owned_pop_group = {
 | 
				
			||||||
				limit = {
 | 
									limit = {
 | 
				
			||||||
					is_unemployed = yes
 | 
										is_unemployed = yes
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
				kill_pop = yes
 | 
									kill_pop_group = {
 | 
				
			||||||
 | 
										pop_group = this
 | 
				
			||||||
 | 
										percentage = 1
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
@ -476,16 +482,19 @@ planet_event = {
 | 
				
			|||||||
		owner = {
 | 
							owner = {
 | 
				
			||||||
			RG_gray_harbitat_active_trigger = yes
 | 
								RG_gray_harbitat_active_trigger = yes
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		any_owned_pop = {
 | 
							any_owned_pop_group = {
 | 
				
			||||||
			is_unemployed = yes
 | 
								is_unemployed = yes
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	immediate = {
 | 
						immediate = {
 | 
				
			||||||
		every_owned_pop = {
 | 
							every_owned_pop_group = {
 | 
				
			||||||
			limit = {
 | 
								limit = {
 | 
				
			||||||
				is_unemployed = yes
 | 
									is_unemployed = yes
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			kill_pop = yes
 | 
								kill_pop_group = {
 | 
				
			||||||
 | 
									pop_group = this
 | 
				
			||||||
 | 
									percentage = 1 # 100% of Unemployed Pops
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
@ -118,3 +118,6 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 rg_gray_mod2_stage4_project:0 "$rg_gray_mod2_stage1_project$"
 | 
					 rg_gray_mod2_stage4_project:0 "$rg_gray_mod2_stage1_project$"
 | 
				
			||||||
 rg_gray_mod2_stage4_project_desc:0 "$rg_gray_mod2_stage1_project_desc$"
 | 
					 rg_gray_mod2_stage4_project_desc:0 "$rg_gray_mod2_stage1_project_desc$"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 opinion_nanophage: "神秘失踪"
 | 
				
			||||||
 | 
					 opinion_nanophage_our_species: "纳米同化我们的物种"
 | 
				
			||||||
 | 
				
			|||||||
@ -4,10 +4,10 @@
 | 
				
			|||||||
			"path": "."
 | 
								"path": "."
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			"path": "../../../../../../../Steam/steamapps/common/Stellaris"
 | 
								"path": "../../../../../../../Steam/steamapps/workshop/content/281990"
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			"path": "../../../../../../../Steam/steamapps/workshop/content/281990"
 | 
								"path": "D:/SteamLibrary/steamapps/common/Stellaris"
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	]
 | 
						]
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user