Hello all. I am trying to create a custom empire initializer to be used by a premade race in a static, premade galaxy.
In terms of the planets themselves (buildings, blockers, etc..) everything has worked exactly as expected.
However, when I start to try to "set_owner" and "create_pop" using the init_effect section, nothing seems to register. It also seems as though the vanilla empire initializers do not include any creation of pop.... this leads me to believe that the ownership and population spawning of an initializer called using a premade galaxy is causing all pop/ownership changes to be overwritten.
Here is the code for the system I am trying to spawn pops (and give ownership of two planets) on empire spawn:
http://pastebin.com/JwKc91DT
It seems that chain spawned systems from "neighbor_system" also are not giving ownership correctly even though the planets/buildings/etc.. seem to be being created fine as well.
Any ideas on if this indeed is being overwritten, or workarounds?
In terms of the planets themselves (buildings, blockers, etc..) everything has worked exactly as expected.
However, when I start to try to "set_owner" and "create_pop" using the init_effect section, nothing seems to register. It also seems as though the vanilla empire initializers do not include any creation of pop.... this leads me to believe that the ownership and population spawning of an initializer called using a premade galaxy is causing all pop/ownership changes to be overwritten.
Here is the code for the system I am trying to spawn pops (and give ownership of two planets) on empire spawn:
http://pastebin.com/JwKc91DT
It seems that chain spawned systems from "neighbor_system" also are not giving ownership correctly even though the planets/buildings/etc.. seem to be being created fine as well.
Any ideas on if this indeed is being overwritten, or workarounds?