• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Naggafin

Captain
56 Badges
Apr 6, 2012
391
18
  • Victoria: Revolutions
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • King Arthur II
  • Lead and Gold
  • Arsenal of Democracy
  • Magicka
  • Majesty 2
  • Majesty 2 Collection
  • March of the Eagles
  • Europa Universalis IV: Res Publica
  • The Kings Crusade
  • Rome Gold
  • Semper Fi
  • Sengoku
  • Ship Simulator Extremes
  • Sword of the Stars
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Hearts of Iron IV: Field Marshal
  • Crusader Kings II: The Old Gods
  • Cities in Motion
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Hearts of Iron III
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Darkest Hour
  • For the Motherland
  • For The Glory
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Divine Wind
  • Europa Universalis III
  • Crusader Kings II: Sword of Islam
  • Victoria 2
  • Europa Universalis IV
  • War of the Roses
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Pride of Nations
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cossacks
  • Stellaris
  • Hearts of Iron IV Sign-up
Hi all, so essentially what I am trying to do is use this effect function giving it an input of a buildable pop, like robots. That doesn't seem to work, either via using the name in the class or the defined class name like buildable_robot. This begs the question: exactly what is the input? I've seen solutions by other modders to create a new species and then supply that species as an input and it works as expected, however what I am trying to do absolutely requires use of a pre-scripted species like a buildable pop rather than one created on-the-fly. Interestingly, the add_species_trait (or something like that) console command does work, but only when I supply the species index value found in the save file. Neither the class or class name supplied work for that console command, and the species index is highly variable depending on how many empires exist, making it an unreliable input. Is there any way that this can be accomplished in the current state of the game or will the developers be required to implement this sort of functionality?
 
I think I tried to do what you are attempting, without success. I had to use create_species in order to get it to work as you say.

I couldn't reference the vanilla robot species I think was my problem.

The code I use for the Synthetic Empire mod.

Code:
country_event = {
    id = synthetic_empire_event.1
    is_triggered_only = yes
   
    title = "synthetic_empire_event.1.name"
    desc = "synthetic_empire_event.1.desc"
    picture = GFX_evt_cybernetics
    show_sound = event_sensor_ping

    trigger = { has_country_flag = synthetic_empire }
        option = {
            name = "Acknowledged"
            give_technology = tech_synthetic_leaders
            give_technology = tech_robotic_workers
            give_technology = tech_droid_workers
            give_technology = tech_synthetic_workers
                hidden_effect = {
                    country_event = { id = synthetic_empire_event.2 }
                    random_owned_planet = {
                        limit = {is_capital = yes}
                            planet_event = { id = synthetic_empire_event.3 }
                            planet_event = { id = synthetic_empire_event.4 }
                    }
                    change_dominant_species = new_synthetics
                }

        }

# This event creates a new species. It then populates the starting planet with 10 pops.

planet_event = {
    id = synthetic_empire_event.3
    is_triggered_only = yes
    hide_window = yes

    immediate = {
        every_tile = {
            remove_blocker = yes
            kill_pop = yes
            create_species = {
                    name = "new_synthetics"
                    plural = "Synthetics"
                    adjective = "Synthetics"
                    class = "ROBOT"
                    portrait = "robot3"
                    homeworld = this
                   
                    traits = {
                        trait = "trait_mechanical"
                        trait = "trait_robotic_3"
                        trait = "trait_immortality"
                        trait = "trait_pc_nuked_preference"
                    }

                    new_pop_resource_requirement = {
                        type = robot_food
                        value = 30.0
                    }
                   
                    pops_auto_growth = 2.0
                    pops_can_be_colonizers = yes
                    pops_can_migrate = yes
                    pops_can_reproduce = yes
                    pops_can_join_factions = yes
                    pop_maintenance = 1
                    can_generate_leaders = yes
                    pops_can_be_slaves = yes
                    can_be_modified = no
                    pops_have_happiness = yes
                    pop_ethics = { "ethic_militarist" "ethic_materialist" "ethic_collectivist" }
            }
        }
        best_tile_for_pop = {
            create_pop = {
                species = "new_synthetics"
                ethos = owner
            }
        }
        best_tile_for_pop = {
            create_pop = {
                species = "new_synthetics"
                ethos = owner
            }
        }
        best_tile_for_pop = {
            create_pop = {
                species = "new_synthetics"
                ethos = owner
            }
        }
        best_tile_for_pop = {
            create_pop = {
                species = "new_synthetics"
                ethos = owner
            }
        }
        best_tile_for_pop = {
            create_pop = {
                species = "new_synthetics"
                ethos = owner
            }
        }
        best_tile_for_pop = {
            create_pop = {
                species = "new_synthetics"
                ethos = owner
            }
        }
        best_tile_for_pop = {
            create_pop = {
                species = "new_synthetics"
                ethos = owner
            }
        }
        best_tile_for_pop = {
            create_pop = {
                species = "new_synthetics"
                ethos = owner
            }
        }
        best_tile_for_pop = {
            create_pop = {
                species = "new_synthetics"
                ethos = owner
            }
        }
        best_tile_for_pop = {
            create_pop = {
                species = "new_synthetics"
                ethos = owner
            }
        }
    }
}
 
Maybe try an save_event_target_as?

For example. In the section after create_species. Make a new last_created_species that looks like this
Code:
last_created_species = {
    save_event_target_as = new_synths
}

And then
change_dominant_species = event_target:new_synths

I know from playing with it before that change_dominant_species should accept event_targets.
 
Hmm ok. But i am pretty sure it should work for buildable pops. Did see the Synthetics mod used it to set ROBOT_POP_SPECIES_3 as dominant species via scripts.
change_dominant_species = ROBOT_POP_SPECIES_3
 
Hmm ok. But i am pretty sure it should work for buildable pops. Did see the Synthetics mod used it to set ROBOT_POP_SPECIES_3 as dominant species via scripts.
change_dominant_species = ROBOT_POP_SPECIES_3

I tried that however it doesn't seem to work unfortunately. It generates an error in the error.log file as well which gives me double confirmation (which, tbh, is a very, very nice change from prior PDX games; a functioning error log. Amazeballs). I'm kind of left with the conclusion that this isn't possible at the moment, presumably because the species class id and name are generated when a game is actually loaded (which makes sense. Why preload ANY species when you're not sure that it will even be played at all in a session? Saves memory, though why the class id and name wouldn't correspond to the provided script is a mystery to me).
 
Hmm ok. But i am pretty sure it should work for buildable pops. Did see the Synthetics mod used it to set ROBOT_POP_SPECIES_3 as dominant species via scripts.
change_dominant_species = ROBOT_POP_SPECIES_3

Unfortunately it never referenced the vanilla ROBOT_POP_SPECIES_3, it ended up being it's own separate species despite the similar naming convention, that's why I changed names in later versions of the mod to new_synthetics.

I suspect it's as Naggafin says, the robot species aren't actually created until someone builds 1 pop.

You can inspect the gamestate of a savegame using notepad++ then you can see the list of species active.

Code:
species={
    {
        name_list="AI"
        name="Synthetics"
        identity={
            name="Synthetics"
            portrait="robot1"
        }
        class="ROBOT"
        portrait="robot1"
        traits={
            trait="trait_mechanical"
            trait="trait_robotic_3"
            trait="trait_immortality"
            trait="trait_pc_nuked_preference"
        }
        home_planet=3
        plural="Synthetics"
        adjective="Synthetics"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="MAM1"
        name="Quvarian"
        identity={
            name="Quvarian"
            portrait="mam4"
        }
        class="MAM"
        portrait="mam4"
        traits={
            trait="trait_pc_desert_preference"
            trait="trait_conformists"
        }
        home_planet=11
        plural="Quvarians"
        name_data="quvarian"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="FUN3"
        name="Vool"
        identity={
            name="Vool"
            portrait="fun12"
        }
        class="FUN"
        portrait="fun12"
        traits={
            trait="trait_pc_tropical_preference"
            trait="trait_slow_breeders"
            trait="trait_conformists"
            trait="trait_nomadic"
        }
        home_planet=21
        plural="Voolians"
        name_data="vool"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="FUN2"
        name="Djunn"
        identity={
            name="Djunn"
            portrait="fun6"
        }
        class="FUN"
        portrait="fun6"
        traits={
            trait="trait_pc_desert_preference"
            trait="trait_thrifty"
        }
        home_planet=30
        plural="Djunni"
        name_data="djunn"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="FUN3"
        name="Frubralav"
        identity={
            name="Frubralav"
            portrait="fun15"
        }
        class="FUN"
        portrait="fun15"
        traits={
            trait="trait_pc_arid_preference"
            trait="trait_enduring"
            trait="trait_resilient"
        }
        home_planet=47
        plural="Frubralavians"
        name_data="frubralav"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="MAM2"
        name="Rek'Thalar"
        identity={
            name="Rek'Thalar"
            portrait="mam3"
        }
        class="MAM"
        portrait="mam3"
        traits={
            trait="trait_pc_arctic_preference"
            trait="trait_talented"
        }
        home_planet=56
        plural="Rek'Thalari"
        name_data="rekthalar"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="FUN2"
        name="Uriy"
        identity={
            name="Uriy"
            portrait="fun2"
        }
        class="FUN"
        portrait="fun2"
        traits={
            trait="trait_pc_ocean_preference"
            trait="trait_natural_physicists"
            trait="trait_resilient"
        }
        home_planet=73
        plural="Uriyi"
        name_data="uriy"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="REP3"
        name="Bessadon"
        identity={
            name="Bessadon"
            portrait="rep7"
        }
        class="REP"
        portrait="rep7"
        traits={
            trait="trait_pc_tropical_preference"
            trait="trait_nomadic"
            trait="trait_natural_physicists"
        }
        home_planet=88
        plural="Bessadons"
        name_data="bessadon"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="REP1"
        name="Vag-Oross"
        identity={
            name="Vag-Oross"
            portrait="rep12"
        }
        class="REP"
        portrait="rep12"
        traits={
            trait="trait_pc_continental_preference"
            trait="trait_natural_physicists"
            trait="trait_slow_breeders"
            trait="trait_thrifty"
        }
        home_planet=96
        plural="Vag-Orossi"
        name_data="vagoross"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="ART3"
        name="Natfankan"
        identity={
            name="Natfankan"
            portrait="art9"
        }
        class="ART"
        portrait="art9"
        traits={
            trait="trait_pc_arctic_preference"
            trait="trait_fleeting"
            trait="trait_quick_learners"
            trait="trait_talented"
        }
        home_planet=120
        plural="Natfankans"
        name_data="natfankan"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="REP3"
        name="Dima'Xanian"
        identity={
            name="Dima'Xanian"
            portrait="rep13"
        }
        class="REP"
        portrait="rep13"
        traits={
            trait="trait_pc_tundra_preference"
            trait="trait_industrious"
        }
        home_planet=128
        plural="Dima'Xanians"
        name_data="dimaxanian"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="REP1"
        name="Zaydran"
        identity={
            name="Zaydran"
            portrait="rep10"
        }
        class="REP"
        portrait="rep10"
        traits={
            trait="trait_communal"
            trait="trait_nomadic"
            trait="trait_rapid_breeders"
            trait="trait_deviants"
            trait="trait_pc_continental_preference"
        }
        home_planet=145
        plural="Zaydrans"
        adjective="Zaydran"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="REP2"
        name="Thek'Qlak"
        identity={
            name="Thek'Qlak"
            portrait="rep4"
        }
        class="REP"
        portrait="rep4"
        traits={
            trait="trait_pc_continental_preference"
            trait="trait_quick_learners"
            trait="trait_natural_sociologists"
        }
        home_planet=153
        plural="Thek'Qlaki"
        name_data="thekqlak"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="MAM2"
        name="Raltek"
        identity={
            name="Raltek"
            portrait="human_02"
        }
        class="MAM"
        portrait="human_02"
        traits={
            trait="trait_pc_arctic_preference"
            trait="trait_solitary"
            trait="trait_talented"
            trait="trait_quick_learners"
        }
        home_planet=166
        plural="Raltek"
        name_data="raltek"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="FUN1"
        name="Neborite"
        identity={
            name="Neborite"
            portrait="fun14"
        }
        class="FUN"
        portrait="fun14"
        traits={
            trait="trait_pc_tundra_preference"
            trait="trait_quick_learners"
            trait="trait_resilient"
        }
        home_planet=182
        plural="Neborites"
        name_data="neborite"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="MOL2"
        name="Bakturian"
        identity={
            name="Bakturian"
            portrait="mol8"
        }
        class="MOL"
        portrait="mol8"
        traits={
            trait="trait_pc_arid_preference"
            trait="trait_resilient"
            trait="trait_weak"
            trait="trait_agrarian"
        }
        home_planet=195
        plural="Bakturians"
        name_data="bakurian"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="REP1"
        name="Lyrite"
        identity={
            name="Lyrite"
            portrait="rep8"
        }
        class="REP"
        portrait="rep8"
        traits={
            trait="trait_pc_ocean_preference"
            trait="trait_communal"
            trait="trait_slow_breeders"
            trait="trait_agrarian"
        }
        home_planet=211
        plural="Lyrites"
        name_data="lyrite"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="AVI3"
        name="Cynn"
        identity={
            name="Cynn"
            portrait="avi7"
        }
        class="AVI"
        portrait="avi7"
        traits={
            trait="trait_pc_arctic_preference"
            trait="trait_enduring"
            trait="trait_communal"
        }
        home_planet=225
        plural="Cynn"
        name_data="cynn"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="REP2"
        name="Adeex"
        identity={
            name="Adeex"
            portrait="rep14"
        }
        class="REP"
        portrait="rep14"
        traits={
            trait="trait_pc_desert_preference"
            trait="trait_resilient"
            trait="trait_quick_learners"
        }
        home_planet=237
        plural="Adeexi"
        name_data="adeex"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="AVI1"
        name="Avarrian"
        identity={
            name="Avarrian"
            portrait="avi11"
        }
        class="AVI"
        portrait="avi11"
        traits={
            trait="trait_pc_continental_preference"
            trait="trait_industrious"
        }
        home_planet=244
        plural="Avarrians"
        name_data="avarrian"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="ART1"
        name="Thimoid"
        identity={
            name="Thimoid"
            portrait="art12"
        }
        class="ART"
        portrait="art12"
        traits={
            trait="trait_pc_tropical_preference"
            trait="trait_natural_physicists"
            trait="trait_quick_learners"
        }
        home_planet=269
        plural="Thimoids"
        name_data="thimoid"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="MAM5"
        name="Obbha"
        identity={
            name="Obbha"
            portrait="fun13"
        }
        class="FUN"
        portrait="fun13"
        traits={
            trait="trait_strong"
            trait="trait_quick_learners"
            trait="trait_pc_arid_preference"
        }
        plural="Obbhani"
        name_data="obbha"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="MOL3"
        name="Andigonj"
        identity={
            name="Andigonj"
            portrait="mol5"
        }
        class="MOL"
        portrait="mol5"
        traits={
            trait="trait_rapid_breeders"
            trait="trait_communal"
            trait="trait_pc_tropical_preference"
        }
        plural="Andigonji"
        name_data="andigonj"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="AVI3"
        name="Gargaxton"
        identity={
            name="Gargaxton"
            portrait="rep2"
        }
        class="REP"
        portrait="rep2"
        traits={
            trait="trait_agrarian"
            trait="trait_pc_ocean_preference"
        }
        plural="Gargaxtons"
        name_data="gargaxton"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="ART2"
        name="Saathid"
        identity={
            name="Saathid"
            portrait="art6"
        }
        class="ART"
        portrait="art6"
        traits={
            trait="trait_adaptive"
            trait="trait_pc_tropical_preference"
        }
        plural="Saathids"
        name_data="saathid"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="ART2"
        name="Kithri"
        identity={
            name="Kithri"
            portrait="fun10"
        }
        class="FUN"
        portrait="fun10"
        traits={
            trait="trait_talented"
            trait="trait_pc_arid_preference"
        }
        plural="Kithri"
        name_data="kithri"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="AVI2"
        name="Gorothi"
        identity={
            name="Gorothi"
            portrait="mol12"
        }
        class="MOL"
        portrait="mol12"
        traits={
            trait="trait_resilient"
            trait="trait_natural_sociologists"
            trait="trait_pc_desert_preference"
        }
        plural="Gorothi"
        name_data="gorothi"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="MAM1"
        name="Ubaric"
        identity={
            name="Ubaric"
            portrait="rep5"
        }
        class="REP"
        portrait="rep5"
        traits={
            trait="trait_thrifty"
            trait="trait_pc_tropical_preference"
        }
        plural="Ubarics"
        name_data="ubaric"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="MAM1"
        name="Ikaanan"
        identity={
            name="Ikaanan"
            portrait="avi8"
        }
        class="AVI"
        portrait="avi8"
        traits={
            trait="trait_communal"
            trait="trait_nonadaptive"
            trait="trait_conformists"
            trait="trait_charismatic"
            trait="trait_pc_desert_preference"
        }
        home_planet=1387
        plural="Ikaanans"
        name_data="ikaanan"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="AVI3"
        name="Rixi"
        identity={
            name="Rixi"
            portrait="avi15"
        }
        class="AVI"
        portrait="avi15"
        traits={
            trait="trait_nonadaptive"
            trait="trait_strong"
            trait="trait_intelligent"
            trait="trait_natural_engineers"
            trait="trait_pc_tropical_preference"
        }
        home_planet=1475
        plural="Rixi"
        name_data="rixi"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="MOL1"
        name="Kammarian"
        identity={
            name="Kammarian"
            portrait="rep10"
        }
        class="REP"
        portrait="rep10"
        traits={
            trait="trait_natural_physicists"
            trait="trait_enduring"
            trait="trait_pc_tropical_preference"
        }
        home_planet=1511
        plural="Kammarians"
        name_data="kammarian"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="AVI2"
        name="Tyrathian"
        identity={
            name="Tyrathian"
            portrait="fun8"
        }
        class="FUN"
        portrait="fun8"
        traits={
            trait="trait_resilient"
            trait="trait_repugnant"
            trait="trait_solitary"
            trait="trait_very_strong"
            trait="trait_pc_desert_preference"
        }
        plural="Tyrathians"
        name_data="tyrathian"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="REP2"
        name="Vurxac"
        identity={
            name="Vurxac"
            portrait="art8"
        }
        class="ART"
        portrait="art8"
        traits={
            trait="trait_strong"
            trait="trait_natural_physicists"
            trait="trait_pc_arid_preference"
        }
        home_planet=1658
        plural="Vurxactrians"
        name_data="vurxac"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="ART3"
        name="Zukakkan"
        identity={
            name="Zukakkan"
            portrait="rep15"
        }
        class="REP"
        portrait="rep15"
        traits={
            trait="trait_conformists"
            trait="trait_pc_tropical_preference"
        }
        home_planet=1672
        plural="Zukakkans"
        name_data="zukakkan"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="REP3"
        name="Fjasivlin"
        identity={
            name="Fjasivlin"
            portrait="fun3"
        }
        class="FUN"
        portrait="fun3"
        traits={
            trait="trait_charismatic"
            trait="trait_natural_engineers"
            trait="trait_pc_tundra_preference"
        }
        home_planet=2137
        plural="Fjasivlians"
        name_data="fjasivlin"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="ART1"
        name="Hann'Felir"
        identity={
            name="Hann'Felir"
            portrait="mol13"
        }
        class="MOL"
        portrait="mol13"
        traits={
            trait="trait_solitary"
            trait="trait_very_strong"
            trait="trait_pc_tropical_preference"
        }
        home_planet=2190
        plural="Hann'Felir"
        name_data="hannfelir"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="AVI3"
        name="Ugarlak"
        identity={
            name="Ugarlak"
            portrait="mam2"
        }
        class="MAM"
        portrait="mam2"
        traits={
            trait="trait_resilient"
            trait="trait_rapid_breeders"
            trait="trait_pc_desert_preference"
        }
        plural="Ugarlaki"
        name_data="ugarlak"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="FUN1"
        name="Hydari"
        identity={
            name="Hydari"
            portrait="rep1"
        }
        class="REP"
        portrait="rep1"
        traits={
            trait="trait_talented"
            trait="trait_pc_arctic_preference"
        }
        home_planet=2264
        plural="Hydari"
        name_data="hydari"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="MOL3"
        name="Vailon"
        identity={
            name="Vailon"
            portrait="mam11"
        }
        class="MAM"
        portrait="mam11"
        traits={
            trait="trait_charismatic"
            trait="trait_fleeting"
            trait="trait_adaptive"
            trait="trait_pc_arid_preference"
        }
        home_planet=2428
        plural="Vailons"
        name_data="vailon"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="REP1"
        name="Jhoolian"
        identity={
            name="Jhoolian"
            portrait="fun9"
        }
        class="FUN"
        portrait="fun9"
        traits={
            trait="trait_nonadaptive"
            trait="trait_agrarian"
            trait="trait_rapid_breeders"
            trait="trait_quick_learners"
            trait="trait_pc_desert_preference"
        }
        home_planet=2606
        plural="Jhoolians"
        name_data="jhoolian"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="MOL3"
        name="Athallid"
        identity={
            name="Athallid"
            portrait="art7"
        }
        class="ART"
        portrait="art7"
        traits={
            trait="trait_enduring"
            trait="trait_solitary"
            trait="trait_agrarian"
            trait="trait_pc_continental_preference"
        }
        home_planet=2887
        plural="Athallids"
        name_data="athallid"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="AVI2"
        name="Lagin'Chuuz"
        identity={
            name="Lagin'Chuuz"
            portrait="mol6"
        }
        class="MOL"
        portrait="mol6"
        traits={
            trait="trait_industrious"
            trait="trait_pc_arid_preference"
        }
        home_planet=3002
        plural="Lagin'Chuuzi"
        name_data="laginchuuz"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="MAM5"
        name="Qix'Lufran"
        identity={
            name="Qix'Lufran"
            portrait="avi3"
        }
        class="AVI"
        portrait="avi3"
        traits={
            trait="trait_slow_breeders"
            trait="trait_talented"
            trait="trait_nomadic"
            trait="trait_pc_ocean_preference"
        }
        home_planet=3136
        plural="Qix'Lufrans"
        name_data="qixlufran"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="MOL1"
        name="Beldross"
        identity={
            name="Beldross"
            portrait="rep9"
        }
        class="REP"
        portrait="rep9"
        traits={
            trait="trait_quick_learners"
            trait="trait_enduring"
            trait="trait_pc_arid_preference"
        }
        home_planet=3208
        plural="Beldross"
        name_data="beldross"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="REP1"
        name="Cirrulan"
        identity={
            name="Cirrulan"
            portrait="rep6"
        }
        class="REP"
        portrait="rep6"
        traits={
            trait="trait_agrarian"
            trait="trait_pc_arid_preference"
        }
        home_planet=3374
        plural="Cirrulans"
        name_data="cirrulan"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="ART2"
        name="Seban"
        identity={
            name="Seban"
            portrait="mol3"
        }
        class="MOL"
        portrait="mol3"
        traits={
            trait="trait_natural_sociologists"
            trait="trait_rapid_breeders"
            trait="trait_pc_ocean_preference"
        }
        home_planet=3467
        plural="Sebans"
        name_data="sebannic"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="FUN2"
        name="Lolehndra"
        identity={
            name="Lolehndra"
            portrait="fun11"
        }
        class="FUN"
        portrait="fun11"
        traits={
            trait="trait_intelligent"
            trait="trait_pc_tropical_preference"
        }
        home_planet=3581
        plural="Lolehndrans"
        name_data="lolehndra"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="ART3"
        name="Gox"
        identity={
            name="Gox"
            portrait="rep3"
        }
        class="REP"
        portrait="rep3"
        traits={
            trait="trait_agrarian"
            trait="trait_pc_arid_preference"
        }
        home_planet=3763
        plural="Goxi"
        name_data="gox"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="ART2"
        name="Bokasheran"
        identity={
            name="Bokasheran"
            portrait="rep11"
        }
        class="REP"
        portrait="rep11"
        traits={
            trait="trait_quick_learners"
            trait="trait_natural_sociologists"
            trait="trait_pc_ocean_preference"
        }
        home_planet=4111
        plural="Bokasherans"
        name_data="bokasheran"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="AVI1"
        name="Thembolon"
        identity={
            name="Thembolon"
            portrait="fun1"
        }
        class="FUN"
        portrait="fun1"
        traits={
            trait="trait_adaptive"
            trait="trait_pc_ocean_preference"
        }
        home_planet=4255
        plural="Thembolons"
        name_data="thembolon"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="AVI1"
        name="Norillga"
        identity={
            name="Norillga"
            portrait="mol2"
        }
        class="MOL"
        portrait="mol2"
        traits={
            trait="trait_slow_breeders"
            trait="trait_natural_engineers"
            trait="trait_talented"
            trait="trait_pc_arctic_preference"
        }
        home_planet=4389
        plural="Norillgans"
        name_data="norillga"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="ART3"
        name="Wacegi"
        identity={
            name="Wacegi"
            portrait="mol4"
        }
        class="MOL"
        portrait="mol4"
        traits={
            trait="trait_communal"
            trait="trait_nomadic"
            trait="trait_pc_tundra_preference"
        }
        home_planet=4411
        plural="Wacegins"
        name_data="wacegi"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="AVI2"
        name="Obevni"
        identity={
            name="Obevni"
            portrait="fun4"
        }
        class="FUN"
        portrait="fun4"
        traits={
            trait="trait_talented"
            trait="trait_pc_arctic_preference"
        }
        home_planet=4673
        plural="Obevni"
        name_data="obevni"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="ART2"
        name="Khessam"
        identity={
            name="Khessam"
            portrait="avi14"
        }
        class="AVI"
        portrait="avi14"
        traits={
            trait="trait_enduring"
            trait="trait_sedentary"
            trait="trait_communal"
            trait="trait_natural_engineers"
            trait="trait_pc_arctic_preference"
        }
        home_planet=4989
        plural="Khessam"
        name_data="khessam"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="ART3"
        name="Adnoran"
        identity={
            name="Adnoran"
            portrait="human_04"
        }
        class="MAM"
        portrait="human_04"
        traits={
            trait="trait_natural_engineers"
            trait="trait_solitary"
            trait="trait_quick_learners"
            trait="trait_charismatic"
            trait="trait_pc_continental_preference"
        }
        home_planet=5110
        plural="Adnorans"
        name_data="adnoran"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="MAM1"
        name="Obadin"
        identity={
            name="Obadin"
            portrait="mol11"
        }
        class="MOL"
        portrait="mol11"
        traits={
            trait="trait_thrifty"
            trait="trait_pc_continental_preference"
        }
        home_planet=5309
        plural="Obadinans"
        name_data="obadin"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name_list="Human"
        name="Human"
        identity={
            name="Human"
            portrait="human"
        }
        class="MAM"
        portrait="human"
        traits={
            trait="trait_quick_learners"
            trait="trait_nomadic"
            trait="trait_pc_continental_preference"
        }
        home_planet=5521
        plural="Humans"
        new_pop_resource_requirement={
            type=food_surplus
            value=25.000
        }
        pops_auto_growth=0.000
    }
    {
        name="new_synthetics"
        identity={
            name="new_synthetics"
            portrait="robot3"
        }
        class="ROBOT"
        portrait="robot3"
        traits={
            trait="trait_mechanical"
            trait="trait_robotic_3"
            trait="trait_immortality"
            trait="trait_pc_nuked_preference"
        }
        plural="Synthetics"
        adjective="Synthetics"
        pop_maintenance=1.000
        can_be_modified=no
        new_pop_resource_requirement={
            type=robot_food
            value=30.000
        }
        pops_auto_growth=2.000
        pop_ethics={
ethic_collectivistethic_materialistethic_militarist        }
    }

The first species listed is the one originally set up in the synthetic empire mod and the last one is the one the event script creates and replaces the original species with. You can see that there are no Robot 1, 2 (droids) or 3 (synths) present in the species list as they haven't been built/generated yet in this game.

Since they haven't been created, they can't be referenced.