I'm trying to set a couple of slaves as parents of one of their pregnancies during setup and I've discovered that I can't. I can only choose that the child is either mine or not mine. I've even tried cheat editing the fetus after setup but even when I change the father to the id of that slave it doesn't stick. How can I change this or can it be changed?
Designs
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
I also noticed that the cheat editor wasn't always keeping the change if the fetuses' father was originally the PC. I didn't take the time to actually figure out what is causing the problem, but I did find a solution that worked for me
So you will want to do this in the console (F12 and then click the console tab in Firefox/Chrome/Most browsers; Ctrl + Shift + J in FCHost).
First thing you want to do is find the slave ID that is the mother of the fetuses you want to change and the slave ID that you want to be the father or a special father ID (listed below). You can do this by turning on cheat mode and then going to their descriptions. It should be mentioned on the first line
There are two things that need changed for the father ID to stick around. The first on is the mother's pregSource. This needs to be the father's ID. So we run the command getSlave(motherID).pregSource = fatherID; replacing motherID and fatherID with the correct IDs. Then we need to change the fetuses' father ID. We can do this recursively for all of the mother's fetuses. The command for that is getSlave(motherID).womb.forEach(f => {f.fatherID = fatherID}); replacing the motherID and the SECOND fatherID with the correct IDs. Move to a different passage and your changes should now be saved. You can double check this using the cheat editor or the pregnancy scanner (if you have it)
Special IDs
* * -10: a rapist * * -9: a futanari sister * * -8: an animal (not implemented) * * -7: designer baby * * -6: a member of the Societal Elite * * -5: one of your clients * * -4: another arcology owner * * -3: your former Master * * -2: citizen of your arcology * * -1: you * * 0: Unidentifiable
I followed these directions but the fetus in the cheat editor still shows Father name: Unknown; ID: 0. I entered getSlave(20).pregSource = 27; and getSlave(20).womb.forEach(f =\> {f.fatherID = 27}); into the console. Did I do something wrong?
You should be able to use the export function to export the pregnant slave as a JSON object, edit the father attribute for the fetus, and then re-import the slave. You will need to export the father as well, to get the father's ID, but thankfully the starting slaves script assigns permanent ID's immediately. As with other changes made by editing exports to change attributes to value that aren't valid choices in the UI, the UI won't show the change correctly, but it's there--and for changes that affect cost, the cost of non-standard attribute values will still be calculated correctly.
You need to be careful with this function, however: if you edit an attribute that affects another attribute things can get screwy. E.g., editing the number of weeks of pregnancy can leave the belly size stats wrong.
Unfortunately, when you export a slave in the starting slave section, the JSON file shows an ID of 0. I could get around this only by using a full Cheat Start (for these playthroughs I generally use a Limited Cheat Start so I can afford my custom slaves) since in that mode the IDs are shown in the slave description. Also, when I exported and reimported my slave after editing the womb section her ID changed which meant that I still had to go into the Cheat Editor to make sure that she was still the mother of her child.