Sorry if this is derailing the thread, but here it goes.
I used an init_effect in a system initializer file to spawn a primitive species on a scripted planet. While it does spawn that species as intended, it also renames the planet they're on to something completely random. Why would that be?
Here's the relevant code
I used an init_effect in a system initializer file to spawn a primitive species on a scripted planet. While it does spawn that species as intended, it also renames the planet they're on to something completely random. Why would that be?
Here's the relevant code
Code:
planet = {
name = "Earth"
class = "pc_continental"
orbit_distance = 20
orbit_angle = 120
size = 16
starting_planet = yes
home_planet = yes
has_ring = no
entity = "continental_planet_earth_entity"
tile_blockers = none
modifiers = none
init_effect = {
prevent_anomaly = yes
}
init_effect = {
create_species = {
name = Human
plural = Humans
class = MAM
portrait = "human"
homeworld = THIS
traits = {
trait="trait_industrious"
trait="trait_natural_engineers"
trait="trait_adaptive"
trait="trait_intelligent"
}
}
create_country = {
name = "Systems Alliance"
government="primitive_feudalism"
species = last_created_species
ethos = {
ethic="ethic_inidivualist"
ethic="ethic_fanatic_materialist"
}
flag = {
icon={
category="human"
file="flag_human_08.dds"
}
background={
category="backgrounds"
file="00_solid.dds"
}
colors={
"blue"
"black"
"null"
"null"
}
}
type = primitive
}
last_created_country = {
set_graphical_culture="mammalian_01"
}
create_colony = {
owner = last_created_country
species = owner_main_species
ethos = owner
}
create_pop = {
species = owner_main_species
ethos = owner
}
create_pop = {
species = owner_main_species
ethos = owner
}
create_pop = {
species = owner_main_species
ethos = owner
}
}
moon = {
name = "Luna"
class = "pc_barren_cold"
size = 5
orbit_distance = 12
orbit_angle = 40
has_ring = no
entity = "cold_barren_planet_luna_entity"
}
}