Skip to content
Snippets Groups Projects
Commit ff0bcf74 authored by kopareigns's avatar kopareigns
Browse files

Fix

parent 0ecf86e0
No related branches found
No related tags found
No related merge requests found
...@@ -1126,6 +1126,21 @@ window.removeDuplicates = function removeDuplicates(array) { ...@@ -1126,6 +1126,21 @@ window.removeDuplicates = function removeDuplicates(array) {
return [...new Set(array)]; return [...new Set(array)];
}; };
window.induceLactation = function induceLactation(slave) {
let pronouns = getPronouns(slave);
let His = capFirstChar(pronouns.possessive);
let r = ``;
if (slave.induceLactation >= 10) {
if (jsRandom(1,100) < slave.induceLactation) {
r += `${His} breasts have been stimulated often enough to @@.lime;induce lactation.@@`
slave.induceLactation = 0;
slave.lactationDuration = 2;
slave.lactation = 1;
}
}
return r;
};
window.ResearchLabStockPile = function() { window.ResearchLabStockPile = function() {
V = State.variables; V = State.variables;
return `__Stockpile__ return `__Stockpile__
...@@ -1144,21 +1159,3 @@ window.ResearchLabStockPile = function() { ...@@ -1144,21 +1159,3 @@ window.ResearchLabStockPile = function() {
//&nbsp;Erectile: $stockpile.erectileImplant// //&nbsp;Erectile: $stockpile.erectileImplant//
Electrolarynx: $stockpile.electrolarynx`; Electrolarynx: $stockpile.electrolarynx`;
}; };
window.ResearchLabStockPile = function() {
return `__Stockpile__
Prosthetics interfaces: ${commaNum($stockpile.basicPLimbInterface + $stockpile.advPLimbInterface)}
&nbsp;Basic : $stockpile.basicPLimbInterface
&nbsp;Advanced: $stockpile.advPLimbInterface
Limbs: ${commaNum($stockpile.basicPLimb + $stockpile.advSexPLimb + $stockpile.advGracePLimb + $stockpile.advCombatPLimb + $stockpile.cyberneticPLimb)}
&nbsp;Basic: $stockpile.basicPLimb
&nbsp;Sex: $stockpile.advSexPLimb
&nbsp;Beauty: $stockpile.advGracePLimb
&nbsp;Combat: $stockpile.advCombatPLimb
&nbsp;Cybernetic: $stockpile.cyberneticPLimb
Implants: ${commaNum($stockpile.ocularImplant + $stockpile.cochlearImplant + $stockpile.erectileImplant)}
&nbsp;Ocular: $stockpile.ocularImplant
&nbsp;Cochlear: $stockpile.cochlearImplant
//&nbsp;Erectile: $stockpile.erectileImplant//
Electrolarynx: $stockpile.electrolarynx`;
};
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