暂存
This commit is contained in:
		
							parent
							
								
									533d27f00a
								
							
						
					
					
						commit
						ff2afb6a1a
					
				@ -1,5 +1,11 @@
 | 
				
			|||||||
produces = {
 | 
					produces = {
 | 
				
			||||||
    trigger = {
 | 
					    trigger = {
 | 
				
			||||||
 | 
					        # exists = planet
 | 
				
			||||||
 | 
					        # planet = {
 | 
				
			||||||
 | 
					        #     OR = {
 | 
				
			||||||
 | 
					        #         rg_is_pc_nano = yes
 | 
				
			||||||
 | 
					        #     }
 | 
				
			||||||
 | 
					        # }
 | 
				
			||||||
        OR = {
 | 
					        OR = {
 | 
				
			||||||
            has_trait = rg_machine_maid_trait
 | 
					            has_trait = rg_machine_maid_trait
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
				
			|||||||
@ -178,3 +178,32 @@ rg_event_effect_planet2027_spawn_maid_species = {
 | 
				
			|||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#Species
 | 
				
			||||||
 | 
					rg_event_effect_planet2027_spawn_maid_species_non_gray = {
 | 
				
			||||||
 | 
						modify_species = {
 | 
				
			||||||
 | 
							effect = {
 | 
				
			||||||
 | 
								create_species = {
 | 
				
			||||||
 | 
									is_mod = yes
 | 
				
			||||||
 | 
									name = "RG_MACHINE"
 | 
				
			||||||
 | 
									plural = this
 | 
				
			||||||
 | 
									class = RG_MACHINE
 | 
				
			||||||
 | 
									portrait = "rg_machine_maid"
 | 
				
			||||||
 | 
									can_be_modified = no
 | 
				
			||||||
 | 
									homeworld = this
 | 
				
			||||||
 | 
									namelist = this
 | 
				
			||||||
 | 
									gender = this
 | 
				
			||||||
 | 
									traits = {
 | 
				
			||||||
 | 
										trait = trait_machine_unit
 | 
				
			||||||
 | 
										trait = rg_machine_maid_trait
 | 
				
			||||||
 | 
										trait = trait_auto_mod_robotic
 | 
				
			||||||
 | 
										trait = trait_robot_streamlined_protocols
 | 
				
			||||||
 | 
										trait = trait_robot_luxurious
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
									effect = {
 | 
				
			||||||
 | 
										save_event_target_as = rg_maid_species
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -1193,8 +1193,7 @@ country_event = { # Memorial Valuts Civic Paragon Level Tick / FROM = Leader
 | 
				
			|||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	immediate = {
 | 
						immediate = {
 | 
				
			||||||
		rg_create_gray_planetkiller_testship_2 = yes
 | 
							random_owned_pop = {
 | 
				
			||||||
		every_owned_pop = {
 | 
					 | 
				
			||||||
			limit = {
 | 
								limit = {
 | 
				
			||||||
				is_same_species = root
 | 
									is_same_species = root
 | 
				
			||||||
				species = {
 | 
									species = {
 | 
				
			||||||
@ -1203,11 +1202,7 @@ country_event = { # Memorial Valuts Civic Paragon Level Tick / FROM = Leader
 | 
				
			|||||||
					}
 | 
										}
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			modify_species = {
 | 
								rg_event_effect_planet2027_spawn_maid_species_non_gray = yes
 | 
				
			||||||
				species = this
 | 
					 | 
				
			||||||
				add_trait = rg_machine_maid_trait
 | 
					 | 
				
			||||||
			}
 | 
					 | 
				
			||||||
			species = { save_event_target_as = gray_owner_modded_species }
 | 
					 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
@ -1,4 +1,6 @@
 | 
				
			|||||||
namespace = rg_planet
 | 
					namespace = rg_planet
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Furnace Lvl 1
 | 
					# Furnace Lvl 1
 | 
				
			||||||
country_event = {
 | 
					country_event = {
 | 
				
			||||||
	id = rg_planet.1000
 | 
						id = rg_planet.1000
 | 
				
			||||||
@ -387,6 +389,7 @@ planet_event = {
 | 
				
			|||||||
			limit = {
 | 
								limit = {
 | 
				
			||||||
				owner = {
 | 
									owner = {
 | 
				
			||||||
					is_same_value = event_target:gray_owner
 | 
										is_same_value = event_target:gray_owner
 | 
				
			||||||
 | 
										exists = event_target:rg_owner_main_maid_species
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			while = {
 | 
								while = {
 | 
				
			||||||
@ -397,10 +400,29 @@ planet_event = {
 | 
				
			|||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		else = {
 | 
							else = {
 | 
				
			||||||
 | 
								if = {
 | 
				
			||||||
 | 
									limit = {
 | 
				
			||||||
 | 
										owner= {
 | 
				
			||||||
 | 
											any_owned_species = {
 | 
				
			||||||
 | 
												has_trait = rg_machine_maid_trait
 | 
				
			||||||
 | 
												is_subspecies = owner_main_species
 | 
				
			||||||
 | 
											}
 | 
				
			||||||
 | 
										}
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
									owner = {
 | 
				
			||||||
 | 
										random_owned_species = {
 | 
				
			||||||
 | 
											limit = {
 | 
				
			||||||
 | 
												has_trait = rg_machine_maid_trait
 | 
				
			||||||
 | 
												is_subspecies = owner_main_species
 | 
				
			||||||
 | 
											}
 | 
				
			||||||
 | 
											save_event_target_as = rg_maid_species
 | 
				
			||||||
 | 
										}
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
				while = {
 | 
									while = {
 | 
				
			||||||
					count = num_pops
 | 
										count = num_pops
 | 
				
			||||||
					create_pop = {
 | 
										create_pop = {
 | 
				
			||||||
					species = owner_main_species
 | 
											species = rg_maid_species
 | 
				
			||||||
 | 
										}
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user