Skip to content
Snippets Groups Projects
Commit 41e672c5 authored by pregmodfan's avatar pregmodfan
Browse files
parent e831eb2a
No related branches found
No related tags found
No related merge requests found
......@@ -291,9 +291,14 @@ window.canImpreg = function(slave1, slave2) {
/* contraceptives (.preg == -1) do not negate this function */
window.isFertile = function(slave) {
if (!slave) {
return null;
} else if (slave.womb.length > 0 || slave.broodmother > 0) { /* currently pregnant or broodmother */
}
WombInit(slave);
if (slave.womb.length > 0 || slave.broodmother > 0) { /* currently pregnant or broodmother */
return false;
} else if (slave.preg < -1) { /* sterile */
return false;
......
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