• 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.

Undead Night Fury

Corporal
21 Badges
Jul 3, 2019
25
0
  • Europa Universalis IV
  • Stellaris: Nemesis
  • Crusader Kings II
  • Stellaris: Necroids
  • Stellaris: Federations
  • Stellaris: Galaxy Edition
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Synthetic Dawn
  • Age of Wonders III
So I have been making a custom system for a mod im working on and a custom planet and while I got all that mostly working a friend pointed out a bug to me, the districts are broken. You are unable to build more districts, I spent several hours attempting to fix it and even tried googling the issue or find other posts of a similar nature but found nothing so now I am making a post asking for help with this.
 
Planet types need to have a district set assigned to them. This is how Arcologies have their own set of districts distinct from regular planets, for example.
It's likely a simple matter of adding this line to your planet class definition:
district_set = standard

As we can see in this screencap of the desert planet's definition:
1646015575214.png


If you want a custom district set - then you'll need to go further.
 

Attachments

  • 1646015406315.png
    1646015406315.png
    13,5 KB · Views: 0
Planet types need to have a district set assigned to them. This is how Arcologies have their own set of districts distinct from regular planets, for example.
It's likely a simple matter of adding this line to your planet class definition:
district_set = standard

As we can see in this screencap of the desert planet's definition:
View attachment 812617

If you want a custom district set - then you'll need to go further.
I dont really want a custom set I just want to fix the standard set for my custom planet the bug is all districts disappear and you cant build anymore cuz it sets the amount your able to build to 0 after the first month and I don't know how to fix it.
 
So i am assuming you have the uses standard set line then.

Does your custom planet generate with planetary deposits and features? Things like these.

If your planet can't support any districts of a given type then the game will remove them on update ticks.
I dont think so, how do I add them?

Edit: After much trial and error I finally fixed the bug!
 
Last edited: