Skip to content
Snippets Groups Projects
Commit b69f1bce authored by brickode's avatar brickode
Browse files

Bugfixes, got children to convert to slaves properly

parent 4937c602
No related branches found
No related tags found
1 merge request!6890Getting the Nursery to Work
......@@ -9,7 +9,6 @@ $readySlave.slaveName has been discharged from $nurseryName and is ready to beco
<<set $nurseryBabies-->>
<<include "Long Slave Description">>
<<run newSlave($activeSlave)>>
<<set $slaves.push($activeSlave)>>
<<set $nextLink = "AS Dump">>
<<set $returnTo = "Main">>
/*
......@@ -27,4 +26,4 @@ $readySlave.slaveName has been discharged from $nurseryName and is ready to beco
<</for>>
<</if>>
*/
/*<<include "New Child Nursery">>*/
\ No newline at end of file
/*<<include "New Child Nursery">>*/
......@@ -183,6 +183,7 @@ App.Facilities.Nursery.infantToChild = function infantToChild(child) {
child.fetishKnown = 0;
child.fetishStrength = 0;
child.foreskin = 0;
child.fuckdoll = 0;
child.geneMods = {
NCS: 0,
rapidCellGrowth: 0
......@@ -309,7 +310,7 @@ App.Facilities.Nursery.infantToChild = function infantToChild(child) {
child.rivalry = 0;
child.rivalryTarget = 0;
child.rudeTitle = 0;
child.scars = 0;
child.scar = {};
child.scrotum = 0;
child.shoes = "none";
child.shoulders = 0;
......@@ -625,6 +626,8 @@ App.Facilities.Nursery.nameChild = function nameChild(child) {
* @param {App.Entity.InfantState} child
*/
App.Facilities.Nursery.newChild = function newChild(child) {
const He = child.genes === "XX" ? `She` : `He`;
child.ID = generateSlaveID();
child.actualAge = 0;
......@@ -676,7 +679,7 @@ App.Facilities.Nursery.newChild = function newChild(child) {
child.canRecruit = 0;
}
generatePronouns(child);
child.origin = `$He was born and raised in your arcology. `;
child.origin = `${He} was born and raised in your arcology. `;
child.targetLocation = "slavery";
child.growTime = V.targetAgeNursery * 52;
V.cribs.push(child);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment