Surviving Mars

Surviving Mars

Birth Control/Infertility mod
40 条留言
Luna 2019 年 8 月 7 日 上午 11:32 
Update plz :-)
jpinard 2018 年 4 月 6 日 下午 12:01 
I like this solution way better than the official patch.
AncientGatekeeper 2018 年 4 月 5 日 下午 8:46 
Don't give up! Revive it. This mod is so much better than the vanilla experience.
MissedFrizzle  [作者] 2018 年 4 月 5 日 下午 12:12 
I'm all for a variety of options in game mechanics, but I think the game's default code replicates this pretty well and it's not necessary any longer. I learned a lot from making it so I'm calling that a win. =)

If the default mechanics don't suit you I'd definitely recommend Thorik's excellent Nurseries Limit Births mod.

I'll do a tiny update as the mod will break the game's version of birthcontrol if you have an existing save until I do but that'll be mostly it. Thanks for your support, folks. =)
「 LiTe Em uP 」 2018 年 4 月 5 日 上午 11:49 
so i know that this mod adds comfort limits to have births, but with changes to april 4 update is this mod still likely needed or fine without it?
MissedFrizzle  [作者] 2018 年 4 月 2 日 下午 6:14 
Yes, it should work with most of those that modify the default reproduction constants.
jpinard 2018 年 4 月 2 日 下午 5:19 
Would this mod work in tandem with one of the mods that also cuts the default reproductive rates by 66% ?
MissedFrizzle  [作者] 2018 年 4 月 1 日 下午 8:34 
Good to hear.

I reached out to Haemimont and they told me the code should update based on the new version/isn't saved anywhere. Guessing that where i'm overwriting default methods for objects the code doesn't like it.
uB| SIL3NT-DE4TH 2018 年 4 月 1 日 下午 2:43 
so i did update. have not tried the Lua console but it only effected my first done and i updated before my 2nd dome. 2nd dome has births 1st dome does not. Thats ok with me
MissedFrizzle  [作者] 2018 年 4 月 1 日 上午 10:51 
If the infirmary is unstaffed for a shift it will drop back to the default similar to the way the default function works. That should be the only trouble causing that.
MDZZ 2018 年 4 月 1 日 上午 10:48 
New domes build after mod update(the version 59) works well, but old domes still have no childs born.
There is another problem, the birth comfort level sometimes drop to 70 instead of 95.
MissedFrizzle  [作者] 2018 年 4 月 1 日 上午 6:57 
I've uploaded a new version that should try to check if an older version is installed and force an update. Apparently the game doesn't do that by default, so i'm kinda hesitant to believe it will work but...

If you copy/paste the below into the Lua Console it should force it to do it if the mod update doesn't work.

ModsLoaded[table.find(ModsLoaded,"id","lL7iiAa")]:UpdateCode() ReloadLua()

Sorry for the trouble.
MDZZ 2018 年 4 月 1 日 上午 1:35 
I use the Lua Console mod and reload mods, but seems no effect
MissedFrizzle  [作者] 2018 年 3 月 31 日 下午 5:49 
No, it's not Abby's issue but tangentially related.

There was an error in the updated dome birth code that caused it to quietly fail to execute. It was corrected in version 59, which should be the workshop version.

It should have been applied to existing saves but i'm not positive.

If it hasn't you can try to use the Lua Console mod to reload them - there's a button in the dropdown menu. not sure if there's an existing method ingame to do so.
uB| SIL3NT-DE4TH 2018 年 3 月 31 日 下午 5:05 
with the options off and confort at 77 and domt confort needed 55 i am not having any babies is this because of what abby said?
MissedFrizzle  [作者] 2018 年 3 月 29 日 下午 6:20 
D'oh. Yes. Thanks. :S

Fixed...
Abby Normal 2018 年 3 月 29 日 下午 4:30 
I think you've got a typo in the Dome.lua file; shouldn't it be "if not dome_birthcontrol then" at line 9? As is i'm pretty sure it will never execute line 10, and thus the infirmery 'mincomfortbirth' bonus will never apply even if you don't have birth control turned on.
Shadow 2018 年 3 月 28 日 上午 4:44 
TheEventHorizon Keep your political shit posting off the comments section of the steam workshop
TheEventHorizon 2018 年 3 月 27 日 下午 5:13 
Republicans be spinning in their chairs... (Not all, just a majority based on statistics)
MissedFrizzle  [作者] 2018 年 3 月 27 日 上午 7:45 
New version is now out with infertile trait and sterilization upgrade for infirmaries (along with some fixes and optimizations). If you have any problems or feedback, please shout.
broken_AI 2018 年 3 月 26 日 上午 2:18 
aah, I probably figured it out, I head the Medical Spire in some of the domes as well, from early game, could it be that there is some interference with it?
because now I also had a dome with everything active in the infirmary but still showing 55 limit
MissedFrizzle  [作者] 2018 年 3 月 26 日 上午 1:47 
Do you have an active infirmary in each dome with the upgrade enabled?
broken_AI 2018 年 3 月 26 日 上午 1:05 
I reverted to the original file from you, and still getting with 800 collonists ~50-60 childs/sol
MissedFrizzle  [作者] 2018 年 3 月 26 日 上午 12:45 
Oh, and one note for the current version as well - the values won't immediately update when you flip the birth control 'on', but it will take one cycle of the birth function to display the post-adjustment values for now.

Unfortunately the dome code is a bit of a wreck so it's not easy to call an update to those values.
MissedFrizzle  [作者] 2018 年 3 月 26 日 上午 12:37 
If you overwrote Dome:GetMinComfortBirth, you may have overwritten my mod or mine overwrote what change you made because two competing versions can't exist. If you adjusted the game constant that's a little different.

I haven't touched the main Dome birth functions in the current version. Worst case it reverts to default behavior though and you would see that on the tooltip.
broken_AI 2018 年 3 月 26 日 上午 12:22 
could it be that with temp. removing the fertility-functions, you accidentally disabled the whole comfort-check? I set the return value of Dome:GetMinComfortBirth() to something obscure like 230(actually 230000), the value was shown correct in game but the text was still green and everybody was fu***** like nothing changed
MissedFrizzle  [作者] 2018 年 3 月 26 日 上午 12:14 
Any individuals over 95 sanity will still join the pool of folks who want to have kids, so kids will still be born. Unless you're providing a lot of services the birth rate will be substantially reduced however; the number of couples in the pool drives the growth.

the hope is to make birth control upgrade a hands-off 'maintain current pop level in moderate conditions without a lot of micromanagement' button, given that people are still dying off.

A future update (almost done) will allow you to sterilize colonists, preventing them from ever having kids - but obviously that will involve more management in ensuring you're still having enough kids to keep everything running.
broken_AI 2018 年 3 月 25 日 下午 11:54 
hey, thanks for writing this mod. I was searching for something like a global "child-ban" switch, but this is a far more intelligent approach ;D

but is it right, that the domes still show the green "childs will be born"-text, even if sanity is not even close to 95? and it seems like childs will still be born
「 LiTe Em uP 」 2018 年 3 月 25 日 下午 10:44 
yay.... thnx for makign it work with current saves... going to test drive this soon to find out if it is working
MissedFrizzle  [作者] 2018 年 3 月 25 日 下午 8:50 
False alarm on the sterilization upgrade - temp removed, just doing some rework. I broke things worse.
MissedFrizzle  [作者] 2018 年 3 月 25 日 上午 6:36 
New version updated - should work for existing saves now. =)

I'm probably going to add a sterilization option as well. I keep my domes spartan (y'all are on mars, why the hell do you need a casino?!), but I suppose you should be able to pamper your colonists and not have them breed like rabbits.
「 LiTe Em uP 」 2018 年 3 月 25 日 上午 3:31 
dang it.... im disappointed it doesnt work for current cmpaigns... im starting to have "rabbit breeding" problems right now... and only option is to send extra colonists to "retirement" domes
MissedFrizzle  [作者] 2018 年 3 月 24 日 下午 11:55 
Some colonists may have higher comfort levels than the average comfort level of the dome and those would be the ones shaggin'. You should see a fairly steep reduction in the overall number of couples however.
magei 2018 年 3 月 24 日 下午 10:34 
This doesn't seem to work, It says Birth Threshold comfort 95 and even though comfort is at 83, The dome says in green text, Children will be born, The Dome is comfortable enough, Infirmary has all 3 shifts full and babies still popping out of people xD
MissedFrizzle  [作者] 2018 年 3 月 24 日 上午 10:55 
Lite: It won't be current save compatible right now, I need to rewrite the unlock code to properly unlock the infirmary mod for 'existing' games.

It will work fine with any mods that alter the base game constant, but it will override them while the effect is active.
「 LiTe Em uP 」 2018 年 3 月 24 日 上午 2:43 
is this current save compatible?? means i can use it to my current campaigns..

known mod conflicts??

Burr 2018 年 3 月 23 日 下午 12:15 
Baller!!!! Dang colonists are smothering Mars with babies. This should help and I love the level of control. Thank you!
Ǥɾᴧᴤʆᴧᵯᴧ 2018 年 3 月 23 日 上午 3:26 
nice idea james! :)
James009 2018 年 3 月 23 日 上午 1:58 
You need to add cover art for this mod and make it a futurist condom or something :D
esad.atari 2018 年 3 月 22 日 下午 11:25 
THANK YOU SO SO SO SO SO SO SO MUCH.

This is exactly what I've been looking for.