Surviving Mars

Surviving Mars

Not enough ratings
Improved Birth Control
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
206.853 KB
1 Nov, 2021 @ 6:29pm
1 Change Note ( view )

Subscribe to download
Improved Birth Control

In 1 collection by Tremualin
Tremualin's Mods
18 items
Description
The Picard update added a new birth control policy: Births are forbidden if the Dome is Full.
I've made it the default for all new domes and modified it to:

1. Expand to the entire colony (all Domes must be full before births are forbidden)
2. Apply only to open slots on inclusive residences (so, no Senior Residences, Nurseries, Hotels, or other modded exclusive residences like Crime and Vindication Rehabilitation Centers)
3. Take homelessness into account (if 3 inclusive residences are empty, but there are 5 homeless in a different Dome, then births are forbidden)
4. Take existing children into account (if 3 inclusive residences are empty, but there are 3 children in nurseries, births are forbidden)

This is provided as a best effort mod. If your birth rate is really high, you could get slightly more births than you need; but the algorithm will wait before adding more children, so you should eventually be fine. I've been playing with this mod for a while on a Church of the New Ark run and it lead to a mostly stable number of homeless (close to 0).

Requirements:
This mod requires my shared library: Tremualin's Library
This mod requires SkiRich's Fix Emigration Issues; the fixes on that mod are vital to proper counting of residences.
This mod requires Senior Residences. If you don't have the DLC which adds Senior Residences, my mod "Seniors With Benefits" allows you to designate any existing residence as a Senior Residence (and grants it +50% capacity). Otherwise, Seniors might end up homeless.

Compatibility:
This mod is compatible with my mod Crime and Vindication, SkiRich's Incubator and ChoGGi's Dome Birth Progress.

Known issues:
This mod does not make sure Children aren't homeless. Make sure to use SkiRich's Incubator to avoid having homeless children.
This mod does not make sure Seniors aren't homeless. Make sure to build enough Senior Residences.
This mod does not make sure Tourists aren't homeless. Make sure you have enough Hotels.

For Modders:
This mod modifies Community:CalcBirths; but it returns the original when births should be allowed.

Steam
Paradox[mods.paradoxplaza.com]
Github[github.com]
3 Comments
Tremualin  [author] 27 Feb, 2023 @ 7:00am 
There's already a mod that limits births to nursery capacity: Incubator by SkiRich.

My mod and Incubator work well together. Please give it a try.
pepoluan 26 Feb, 2023 @ 8:34pm 
Nice mod! Can you add an option to prioritize nursery capacity? So let's say there are 20 empty slots across the colony, but if the 2 nurseries are full, despite the available 4 slots (after the children 'graduates' to youth) then birth is prohibited?
The Tempted Man 22 Apr, 2022 @ 6:57am 
this is a brilliant mod