Stellaris

Stellaris

Planetary Population Restrictions
58 kommentarer
Draconas  [ophavsmand] 3. maj kl. 12:33 
I don't intend to update this to 4.0, the new pop mechanics make it relatively redundant. Especially for the effort / compatibility required.
Draconas  [ophavsmand] 23. mar. kl. 2:14 
Honestly don't know, I would have to dive into code again because it depends how the migration check works.
If you have the planet entirely banned it should stop migration (or its a game bug) because it flags that the planet is uninhabitable to that species.
If you have breeding banned then it only disables the breeding check, which may not be used for migration, though general migration only adds pop growth numbers.

(Note there will be no changes to the mod as is, because 4.0 completely changes this entire system, so there is reasonable chance the mod will be defunct then)
chris_lsu 22. mar. kl. 18:11 
Does this apply to migration as well? I've got several planets prohibited to enslaved but I'm still getting slaves appearing on them. I've stopped all population growth so either the mod isn't working or they're immigrating from other empires.
Jeor Mormont "the old bear" 10. jan. kl. 16:05 
i might have experimented with an unholy amount of bio pop assembly speed
Draconas  [ophavsmand] 10. jan. kl. 15:47 
Inny, and happy new year to you.
A feature I genuinely don't think I've used....
New version up for you.
Jeor Mormont "the old bear" 10. jan. kl. 14:11 
if u ever run out of ideas :)
i guess ill then have to keep on turning my surplus pops into ... giga's zro+
Inny 10. jan. kl. 11:43 
Hi Draconas, thanks, but what I need is a scripted variable.
Just put a file in common\scripted_variables with @planet_pop_restrict_mod = 1 in it.
Wishing you all the best for 2025! :)
Draconas  [ophavsmand] 10. jan. kl. 10:17 
Jeor Mormont "the old bear" In theory I think it would, it is not something intend to add though.
Draconas  [ophavsmand] 10. jan. kl. 10:15 
Inny: new version updated, not sure if you wanted a local one in triggers or a global one in script_values so added both.
Draconas  [ophavsmand] 10. jan. kl. 0:24 
Hi inny.

Sure can this weekend.
Inny 9. jan. kl. 16:09 
Hello, can you please add a scripted variable for compatibility? @planet_pop_restrict_mod = 1
Thanks!
Jeor Mormont "the old bear" 28. dec. 2024 kl. 8:38 
this is very nice. would it be possible to also straight up forbid bio pop assembly and or growth, even for the primary species?
Draconas  [ophavsmand] 15. sep. 2024 kl. 12:09 
I'll look at assembly at a later point, but i am not putting in vanilla fixes. You shoudl raise that one on the PDX forums so they can fix it in vanilla.
Shatari 14. sep. 2024 kl. 22:05 
Would it be possible for this mod to restrict pop assembly as well? There seems to be a bug in the base game where it ignores the chosen race in favor of whatever one the game decides is the only race it wants to assemble, so it makes clone labs a pain to work with.
doctornull 13. sep. 2024 kl. 19:31 
Just FYI the version string code changed so now you need to put a 'v' in front of the version number for it to appear up-to-date in the launcher.

= "v3.13.*" instead of just normal numbers
Cyanide Candy 18. juni 2024 kl. 6:47 
Dude you are a genius
Draconas  [ophavsmand] 7. maj 2024 kl. 11:23 
3.12 version dropped, this does have some changes to 3.11 version due to the relevant rules being updated.
Draconas  [ophavsmand] 27. nov. 2023 kl. 12:22 
Dropped a verison with the version bump
Draconas  [ophavsmand] 27. nov. 2023 kl. 12:16 
Err should do, I did not spot any rules changes
falconbird85 27. nov. 2023 kl. 9:34 
I really hope this still works in 3.10, it's just what i was looking for... time to find out :Gifting:
Draconas  [ophavsmand] 10. maj 2023 kl. 12:11 
Updated to 3.8 - no changes this version
Inny 30. apr. 2023 kl. 4:01 
Thank you!
Draconas  [ophavsmand] 30. apr. 2023 kl. 2:09 
There we go, logic moved out into triggers
Inny 29. apr. 2023 kl. 4:45 
There's no mod too small to support. :)
Draconas  [ophavsmand] 28. apr. 2023 kl. 22:49 
Hey Inny, I'll see what I can do! Surprised to see you here though, there are only 500 subs to this one.
Inny 28. apr. 2023 kl. 6:49 
Hello, I would need a few scripted triggers for compatibility. One for each policy flag involved in the game rules. Something like:
has_policy_residentliving_restricted = { has_policy_flag = residentliving_restricted }
has_policy_residentliving_restricted_habs = { has_policy_flag = residentliving_restricted_habs }
And so on. Thanks!
Draconas  [ophavsmand] 6. jan. 2023 kl. 17:10 
That can't be reverse engineered, it's done in code.
The only way I can think to do it is via a nasty hack by putting spieces traits in, and I'm not going there.
Theta-6 6. jan. 2023 kl. 17:03 
D: Not Even Reverse Engineering The Population Restriction when it comes to Limiting it to JUST that one Species Breeding there?
Draconas  [ophavsmand] 6. jan. 2023 kl. 15:22 
Alas that's basically not possible with what we have to work with
Theta-6 6. jan. 2023 kl. 13:54 
Wish This mod Made it so you could Make it so that SPECIFIC Species Could be Barred from Living/Breeding on Certain Worlds.
Syn 21. dec. 2022 kl. 22:03 
Cool :D
Draconas  [ophavsmand] 19. dec. 2022 kl. 14:21 
I agree, so have uploaded a new version
Draconas  [ophavsmand] 19. dec. 2022 kl. 12:11 
I'll have a look.
Syn 18. dec. 2022 kl. 21:06 
I would change the restriction from egalitarian to fanatic egalitarian.
Just because you're egalitarian doesn't mean you'll tolerate *any* species running around your empire, especially given that egalitarians can purge/displace as much as they like.
Draconas  [ophavsmand] 29. nov. 2022 kl. 9:59 
Updated to 3.6
Draconas  [ophavsmand] 28. sep. 2022 kl. 11:28 
If you have just set the pop breeding it you can probably still assemble restricted pops, as it edits the "species_can_procreate" trigger which i suspect is not called for pop assembly.

Stopping them living on a planet at all edits the "species_can_live_on_planet", which will be checked for assembly, so i don't expect those pops to assemble.
Nitron 27. sep. 2022 kl. 22:12 
you can still manually set it to build restricted pops, but from what i can tell it looks like it wont auto select pops that are not allow to breed there. not sure about ones that just cant migrate
Sirius 27. sep. 2022 kl. 19:37 
This mod is god-tier, it's exactly what I was looking for! Now I can play as a xenophile empire but still have control of my pops. Does this apply to pop assembly as well?
Draconas  [ophavsmand] 19. juli 2022 kl. 10:18 
Thanks
Nitron 19. juli 2022 kl. 8:19 
this really should be in the base game, its such a quality of life improvement
Draconas  [ophavsmand] 12. maj 2022 kl. 10:28 
3.4 Release. Basically no changes.
Draconas  [ophavsmand] 23. feb. 2022 kl. 4:45 
3.3 Release. Basically no changes as 3.3 has not altered the affected rules
Draconas  [ophavsmand] 13. dec. 2021 kl. 9:42 
(you can probably test by moving it to the bottom of your load order. If it suddenly starts working its another mod (which has now broken a you have by rules not its rules)
Draconas  [ophavsmand] 13. dec. 2021 kl. 9:42 
that would be what i expect with a mod conflict - unfortunately very hard to tell which mod is poking them. I will test this week just to be sure though.
Tartarus 13. dec. 2021 kl. 6:54 
@Draconas To clarify the policies showed up and I could enact the decisions, but they didn't seem to work. I chose the planetary+habitat restriction, and the slaves still both grew on habitats and on planets with restriction decisions. It could be another mod, though.
Draconas  [ophavsmand] 13. dec. 2021 kl. 1:00 
Hrmm, interesting, I mean it should, as it's just a rules change, if you are adding it to a new save it probably won't apply until the game has cause to check if a pop can grow/move (which may not be until it finishes growing the existing pop and needs to check a new one).

The more likely scenario is are you running other mods that may alter the game rules?
Tartarus 12. dec. 2021 kl. 17:21 
This doesn't seem to work when added to saves, which I guess I should have expected.
Draconas  [ophavsmand] 22. nov. 2021 kl. 11:39 
This has been updated to 3.2, required only a tiny tweak
Draconas  [ophavsmand] 15. apr. 2021 kl. 1:21 
This will get updated to 3.0, but given the rules it tinkers with are pretty fundamental to the game operating, I would not use it until I do.
Draconas  [ophavsmand] 15. nov. 2020 kl. 10:24 
I assume so, Smithy is still doing active dev on his mods.