Fix event effect save target for planet2027 maid species and gray goo habitat init

This commit is contained in:
ProjectKoi-Kalo\Kalo 2024-09-17 13:37:01 +08:00
parent a60bfff413
commit c34c0b8eb9
2 changed files with 2 additions and 24 deletions

View File

@ -173,7 +173,7 @@ rg_event_effect_planet2027_spawn_maid_species = {
trait = trait_robot_luxurious trait = trait_robot_luxurious
} }
effect = { effect = {
save_event_target_as = rg_owner_main_maid_species save_global_event_target_as = rg_owner_main_maid_species
} }
} }
} }

View File

@ -665,29 +665,7 @@ rg_juggernaut_habitat_init = {
} }
} }
every_owned_pop = { every_owned_pop = {
modify_species = { rg_event_effect_planet2027_spawn_maid_species = yes
effect = {
create_species = {
is_mod = yes
name = "RG_MACHINE"
plural = this
class = RG_MACHINE
portrait = "rg_machine_maid"
can_be_modified = this
homeworld = this
namelist = this
gender = this
traits = {
trait = trait_machine_unit
trait = rg_machine_maid_trait
trait = trait_robot_mass_produced
}
effect = {
save_global_event_target_as = rg_owner_main_maid_species
}
}
}
}
} }
} }
set_name = "NAME_rg_gray_habitat_base" set_name = "NAME_rg_gray_habitat_base"