Skip to content
Snippets Groups Projects
Commit 0f253ed6 authored by Pregmodder's avatar Pregmodder
Browse files

sePlayerBirth.tw on new system

parent 89580e28
Branches
Tags
2 merge requests!3002Pregmod v1032 initial merge,!2956resync + sePlayerBirth to new system
...@@ -36804,7 +36804,7 @@ window.PCDatatypeCleanup = function PCDatatypeCleanup() { ...@@ -36804,7 +36804,7 @@ window.PCDatatypeCleanup = function PCDatatypeCleanup() {
} }
PC.newVag = Math.clamp(+PC.newVag, 0, 1) || 0; PC.newVag = Math.clamp(+PC.newVag, 0, 1) || 0;
PC.reservedChildren = WombReserveCount(PC, "incubator") || 0; PC.reservedChildren = WombReserveCount(PC, "incubator") || 0;
PC.reservedChildrenNursery = WombReserveCount(PC, "incubator") || 0; PC.reservedChildrenNursery = WombReserveCount(PC, "nursery") || 0;
PC.fertDrugs = Math.clamp(+PC.fertDrugs, 0, 1) || 0; PC.fertDrugs = Math.clamp(+PC.fertDrugs, 0, 1) || 0;
PC.forcedFertDrugs = Math.max(+PC.forcedFertDrugs, 0) || 0; PC.forcedFertDrugs = Math.max(+PC.forcedFertDrugs, 0) || 0;
PC.staminaPills = Math.clamp(+PC.staminaPills, 0, 1) || 0; PC.staminaPills = Math.clamp(+PC.staminaPills, 0, 1) || 0;
...@@ -438,16 +438,16 @@ You arrange yourself to give birth, relaxing until your body urges you to begin ...@@ -438,16 +438,16 @@ You arrange yourself to give birth, relaxing until your body urges you to begin
<<set $activeSlave = applyGenetics($PC, $PC.curBabies[0])>> <<set $activeSlave = applyGenetics($PC, $PC.curBabies[0])>>
<<if $activeSlave.race == $PC.race>> <<if $activeSlave.race == $PC.origRace>>
<<set _PCDegree++>> <<set _PCDegree++>>
<</if>> <</if>>
<<if $activeSlave.hColor == $PC.hColor>> <<if $activeSlave.hColor == $PC.origHColor>>
<<set _PCDegree++>> <<set _PCDegree++>>
<</if>> <</if>>
<<if $activeSlave.skin == $PC.skin>> <<if $activeSlave.skin == $PC.origSkin>>
<<set _PCDegree++>> <<set _PCDegree++>>
<</if>> <</if>>
<<if $activeSlave.eyeColor == $PC.eyeColor>> <<if $activeSlave.eyeColor == $PC.OrigEye>>
<<set _PCDegree++>> <<set _PCDegree++>>
<</if>> <</if>>
...@@ -484,7 +484,7 @@ You arrange yourself to give birth, relaxing until your body urges you to begin ...@@ -484,7 +484,7 @@ You arrange yourself to give birth, relaxing until your body urges you to begin
<<set $activeSlave = 0>> <<set $activeSlave = 0>>
<<set $activeSlave = _twin>> <<set $activeSlave = _twin>>
<<else>> <<else>>
<<include "Generate Child">> <<set $activeSlave = applyGenetics($PC, $PC.curBabies[_p])>>
<</if>> <</if>>
<<else>> <<else>>
<<set _twin = clone($activeSlave)>> <<set _twin = clone($activeSlave)>>
...@@ -493,16 +493,16 @@ You arrange yourself to give birth, relaxing until your body urges you to begin ...@@ -493,16 +493,16 @@ You arrange yourself to give birth, relaxing until your body urges you to begin
<<set $activeSlave = _twin>> <<set $activeSlave = _twin>>
<</if>> <</if>>
<<if $activeSlave.race == $PC.race>> <<if $activeSlave.race == $PC.origRace>>
<<set _PCDegree++>> <<set _PCDegree++>>
<</if>> <</if>>
<<if $activeSlave.hColor == $PC.hColor>> <<if $activeSlave.hColor == $PC.origHColor>>
<<set _PCDegree++>> <<set _PCDegree++>>
<</if>> <</if>>
<<if $activeSlave.skin == $PC.skin>> <<if $activeSlave.skin == $PC.origSkin>>
<<set _PCDegree++>> <<set _PCDegree++>>
<</if>> <</if>>
<<if $activeSlave.eyeColor == $PC.eyeColor>> <<if $activeSlave.eyeColor == $PC.origEye>>
<<set _PCDegree++>> <<set _PCDegree++>>
<</if>> <</if>>
...@@ -513,8 +513,8 @@ You arrange yourself to give birth, relaxing until your body urges you to begin ...@@ -513,8 +513,8 @@ You arrange yourself to give birth, relaxing until your body urges you to begin
looks exactly like you<<if _p == 0>>, in fact, the resemblance seems uncanny. Since <<if _gender == "XX">>she<<else>>he<</if>> has the exact same genetics as you, <<if _gender == "XX">>she<<else>>he<</if>>'ll likely look almost identical to you when <<if _gender == "XX">>she<<else>>he<</if>>'s your age<</if>>. Every one of your children look this way; it's kind of hard to tell them apart. looks exactly like you<<if _p == 0>>, in fact, the resemblance seems uncanny. Since <<if _gender == "XX">>she<<else>>he<</if>> has the exact same genetics as you, <<if _gender == "XX">>she<<else>>he<</if>>'ll likely look almost identical to you when <<if _gender == "XX">>she<<else>>he<</if>>'s your age<</if>>. Every one of your children look this way; it's kind of hard to tell them apart.
<<elseif _PCDegree == 4>> <<elseif _PCDegree == 4>>
looks just like you; <<if _gender == "XX">>she<<else>>he<</if>> will likely grow up to closely resemble yourself. looks just like you; <<if _gender == "XX">>she<<else>>he<</if>> will likely grow up to closely resemble yourself.
<<elseif $activeSlave.eyeColor == $PC.eyeColor>> <<elseif $activeSlave.eyeColor == $PC.origEye>>
has your lovely $PC.eyeColor eyes. has your lovely $PC.origEye eyes.
<<elseif _PCDegree > 0>> <<elseif _PCDegree > 0>>
looks a little like you, enough that <<if _gender == "XX">>she<<else>>he<</if>>'ll be recognizable as yours. looks a little like you, enough that <<if _gender == "XX">>she<<else>>he<</if>>'ll be recognizable as yours.
<<else>> <<else>>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment