Skip to content
Snippets Groups Projects
Commit 946d615c authored by Pregmodder's avatar Pregmodder
Browse files

rcc fix

parent 0514e8c5
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,10 @@ ...@@ -4,6 +4,10 @@
2/24/18 2/24/18
369
-fixes for pregmodfan's pregnancy tracking
-SFanon's continued SF work
368 368
-added missing dairy broodmother birth -added missing dairy broodmother birth
-hacking skill allows you to pose as a medical expert to gain access to some of surgeon's starting bonuses -hacking skill allows you to pose as a medical expert to gain access to some of surgeon's starting bonuses
......
...@@ -6848,6 +6848,7 @@ $slave.bellyPreg = WombGetWolume($slave) - return double, with current womb volu ...@@ -6848,6 +6848,7 @@ $slave.bellyPreg = WombGetWolume($slave) - return double, with current womb volu
   
window.WombInit = function(actor) //Init womb system. window.WombInit = function(actor) //Init womb system.
{ {
if (!Array.isArray(actor.womb)) if (!Array.isArray(actor.womb))
{ {
//alert("creating new womb"); //debugging //alert("creating new womb"); //debugging
...@@ -6952,7 +6953,6 @@ window.WombBirth = function(actor, readyAge) ...@@ -6952,7 +6953,6 @@ window.WombBirth = function(actor, readyAge)
window.WombFlush = function(actor) window.WombFlush = function(actor)
{ {
actor.womb = []; actor.womb = [];
} }
   
window.WombBirthReady = function(actor, readyAge) window.WombBirthReady = function(actor, readyAge)
...@@ -7059,20 +7059,26 @@ window.WombMaxPreg = function(actor) ...@@ -7059,20 +7059,26 @@ window.WombMaxPreg = function(actor)
   
window.WombNormalizePreg = function(actor) window.WombNormalizePreg = function(actor)
{ {
if (actor.womb.length > 1) //console.log("New actor: " + actor.slaveName + " ===============");
WombInit(actor);
if (actor.womb.length > 0)
{ {
var max = WombMaxPreg(actor); var max = WombMaxPreg(actor);
//console.log("max: " + max);
//console.log(".preg: "+ actor.preg);
if (actor.pregWeek < 1 ) if (actor.pregWeek < 1 )
actor.pregWeek = 1 actor.pregWeek = 1
   
if (max < actor.preg) if (max < actor.preg)
{ {
WombProgress(actor, actor.preg - max); WombProgress(actor, actor.preg - max);
//console.log("progressin womb");
} }
else if ( max > actor.preg) else if ( max > actor.preg)
{ {
actor.preg = max; actor.preg = max;
//console.log("advancing .preg");
} }
   
actor.pregType = actor.womb.length; actor.pregType = actor.womb.length;
......
...@@ -31,7 +31,7 @@ The riot control center opens its guarded doors to you. The great chamber inside ...@@ -31,7 +31,7 @@ The riot control center opens its guarded doors to you. The great chamber inside
<<goto "riotControlCenter">> <<goto "riotControlCenter">>
<</link>> <</link>>
<br>Invest more resources into the project to increase its effectiveness. <br>Invest more resources into the project to increase its effectiveness.
<br>//Costs <<print cashFormat(Math.trunc((5000 * $upgradeMultiplierArcology * ($riotUpgrades.freeMedia + 1)*$HackingSkillMultiplier))>>. Will accelerate the tension decay, but will increase upkeep costs.// <br>//Costs <<print cashFormat(Math.trunc((5000 * $upgradeMultiplierArcology * ($riotUpgrades.freeMedia + 1)*$HackingSkillMultiplier)))>>. Will accelerate the tension decay, but will increase upkeep costs.//
<<else>> <<else>>
You upgraded your free media scheme to its limits. You upgraded your free media scheme to its limits.
<</if>> <</if>>
......
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