Skip to content
Snippets Groups Projects
Commit def4a61d authored by pregmodfan's avatar pregmodfan
Browse files

csec and birth fixes

parent 8cdb2e84
No related branches found
No related tags found
No related merge requests found
...@@ -73,7 +73,7 @@ window.WombImpregnate = function(actor, fCount, fatherID, age) ...@@ -73,7 +73,7 @@ window.WombImpregnate = function(actor, fCount, fatherID, age)
}catch(err){ }catch(err){
WombInit(actor); WombInit(actor);
actor.womb.push(tf); actor.womb.push(tf);
alert("WombImpregnate error"); alert("WombImpregnate error" + actor.slaveName+" "+err);
} }
} }
......
...@@ -417,15 +417,25 @@ This decriptions can be expanded with more outcomes later. But it's not practica ...@@ -417,15 +417,25 @@ This decriptions can be expanded with more outcomes later. But it's not practica
/* ---- Postbirth reactions, body -------------------------------------------------------------------------------------------*/ /* ---- Postbirth reactions, body -------------------------------------------------------------------------------------------*/
<<if $csec != 1>> /*all this block only if no c'section used.*/ <<if $csec != 1>> /*all this block only if no c'section used.*/
<br><br> <br>
<<if $diffSize > 1.5 && $slaves[$i].pregType >= 80>> /*only show if belly lost at least 1/4 of original size.*/
<<if $diffSize > 1.5 && _curBabies >= 80>> /*only show if belly lost at least 1/4 of original size.*/
<br>
After an entire day of labor and birth, $possessive belly sags heavily. After an entire day of labor and birth, $possessive belly sags heavily.
<<elseif $diffSize > 1.5 && _curBabies.length >= 40>> <<elseif $diffSize > 1.5 && _curBabies >= 40>>
<br>
After half a day of labor and birth, $possessive belly sags softly. After half a day of labor and birth, $possessive belly sags softly.
<<elseif $diffSize > 1.5 && _curBabies.length >= 20>> <<elseif $diffSize > 1.5 && _curBabies >= 20>>
<br>
After several hours of labor and birth, $possessive belly sags softly. After several hours of labor and birth, $possessive belly sags softly.
<<elseif $diffSize > 1.5 && _curBabies >= 10>>
<br>
After few hours of labor and birth, $possessive belly sags softly.
<<elseif $diffSize > 1.5>>
<br>
After labor and birth, $possessive belly sags softly.
<</if>> <</if>>
<br>
<<if ($slaves[$i].vagina == 0) || ($slaves[$i].mpreg == 1 && $slaves[$i].anus == 0)>> <<if ($slaves[$i].vagina == 0) || ($slaves[$i].mpreg == 1 && $slaves[$i].anus == 0)>>
<<if $slaves[$i].fetish != "mindbroken">> <<if $slaves[$i].fetish != "mindbroken">>
<br><br> <br><br>
......
...@@ -750,7 +750,7 @@ Work on her sex: ...@@ -750,7 +750,7 @@ Work on her sex:
<</if>> <</if>>
<<if $activeSlave.indentureRestrictions < 1 && $activeSlave.breedingMark != 1>> <<if $activeSlave.indentureRestrictions < 1 && $activeSlave.breedingMark != 1>>
<<if isFertile($activeSlave)>> <<if isFertile($activeSlave)>>
[[Implant a pregnancy generator|Surgery Degradation][$activeSlave.preg = 1,$activeSlave.pregWeek = 1,$activeSlave.pregKnown = 1,$activeSlave.pregType = 1,$activeSlave.broodmother = 1,$cash -= $surgeryCost,$activeSlave.pregControl = "none",$activeSlave.health -= 10,$surgeryType = "preg"]] //This will have severe effects on $possessive health and mind// [[Implant a pregnancy generator|Surgery Degradation][$activeSlave.preg = 1,$activeSlave.pregWeek = 1,$activeSlave.pregKnown = 1,$activeSlave.pregType = 1,$activeSlave.broodmother = 1,$activeSlave.broodmotherFetuses = 1,$cash -= $surgeryCost,$activeSlave.pregControl = "none",$activeSlave.health -= 10,$surgeryType = "preg"]] //This will have severe effects on $possessive health and mind//
<</if>> <</if>>
<</if>> <</if>>
<</if>> <</if>>
......
...@@ -24,7 +24,8 @@ I need to break single passage to several widgets, as it's been overcomplicated ...@@ -24,7 +24,8 @@ I need to break single passage to several widgets, as it's been overcomplicated
<<for $i to 0; $i < $slaves.length; $i++>> <<for $i to 0; $i < $slaves.length; $i++>>
<<if $slaves[$i].labor == 1>> <<if $slaves[$i].labor == 1>>
<<set $dispositionId = _.uniqueId('babyDisposition-')>> <<set $dispositionId = _.uniqueId('babyDisposition-')>>
Birth report: @@.coral;$slaves[$i].slaveName $slaves[$i].slaveSurname@@
<br>
<<seBirthPreChek>> <<seBirthPreChek>>
<<seBirthPreScene>> <<seBirthPreScene>>
......
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