Surviving Mars

Surviving Mars

68 ratings
Nursery Limit Birthing To Spots
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
46.562 KB
31 May, 2019 @ 1:33pm
9 Sep, 2021 @ 6:06pm
16 Change Notes ( view )

Subscribe to download
Nursery Limit Birthing To Spots

In 1 collection by ChoGGi
ChoGGi's Mods: QoL
176 items
Description
No babby if there's no nursery spot available.
This uses a per-dome count; if there's no nursery in a dome it'll never have babbies (erm, the colonists will never have 'em).

One Nursery will keep around a 135 pop (with Stem Reconstruction).

If you want something more random, see my Domes: Limit Births mod.
Compatible mods: Ultimate Nursery, Incubator (this mod will do nothing on Incubator enabled domes).


Mod Options:
All Domes Count: Check spot count of all domes instead of per-dome.
Bypass No Nurseries: If there's no nurseries act like vanilla (default enabled).


Requested by BrowncoatTrekky.
51 Comments
ChoGGi  [author] 24 Sep, 2021 @ 5:06pm 
If you have incubator mod then there's no real point in having this mod.
Deadly_Shadow 24 Sep, 2021 @ 4:24pm 
Tracked my issue further down and it is not dependant on geoscape/other dome but an interference with the Incubator mod.
The "Nursery Limit Birthing To Spots" checks the Incubator Relocate setting if it should be active.
On newly constructed domes when no INCUBATOR dome is set, this config value seem to be true but unchangeable shown as:
Dome: [NORMAL] Relocate:[N/A]
After setting an INCUBATOR dome, changing the config value:
Dome: [NORMAL] Relocate:[ON] -> Dome: [NORMAL] Relocate:[OFF]
then disabling the INCUBATOR this config value stays false and "Nursery Limit Birthing To Spots" kicks in, but the domes Incubator status shows the same info as above:
Dome: [NORMAL] Relocate:[N/A]
On my newly constructed geoscape dome I never changed this setting but did so one the other domes. So I only observed the child spawn here.
Sorry for the inconvenience...
ChoGGi  [author] 23 Sep, 2021 @ 6:29pm 
If it works on other domes than it'll work on geoscape domes, so no idea what's up :)

I'll take a log if you don't mind: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2391106222
Deadly_Shadow 23 Sep, 2021 @ 8:16am 
sadly this mod is not working with a geoscape dome. At all combinations of "config settings"," nursery present", "nursery space available" children will spawn at the geoscape dome.
MarcusMaximus 16 Sep, 2021 @ 11:07pm 
GetRealm(self) of 13.9. seems to be working.

I did not have population explosion while on asteroid, maybe if GlobalDomeCount is on, the script should check total amount of children instead of used nursery spaces, because until the children are (about to be) moved to a nursery dome, additional children will be created.

Thanks for the effort, this really helps with how the game is broken atm and overall.
(...and, in case someone wonders, the bug that the game wont move a child to a dome if there are only nursery spaces open and no normal ones appears to be still there...)
ChoGGi  [author] 9 Sep, 2021 @ 6:06pm 
Updated
ChoGGi  [author] 27 Jun, 2021 @ 9:12am 
Not updated on paradox, since the site is not working properly at the moment...
ChoGGi  [author] 27 Jun, 2021 @ 9:11am 
v1.0
Merged checking for all nurseries into one (removed option for Ultimate Nursery).
This mod will do nothing on Incubator enabled domes.
ChoGGi  [author] 27 Jun, 2021 @ 8:46am 
Hmm
PillsBurger 22 Jun, 2021 @ 9:47pm 
It seems that this is still not working with large nurseries. Was wondering if this will get updated?