Skip to content
Snippets Groups Projects
Commit cd0c476b authored by Anu's avatar Anu
Browse files

Default to contraceptives, include asexualRepro

parent 1359ceff
No related branches found
No related tags found
1 merge request!11657Don't end contraceptives when refreshing ovaries
......@@ -55,8 +55,8 @@ App.Medicine.Surgery.Procedures.OFAsexualReproOvaries = class extends App.Medici
}
apply(cheat) {
if (this._slave.preg < 0) {
this._slave.preg = 0;
if (this._slave.preg < -1) {
this._slave.preg = -1;
}
this._slave.eggType = "human";
this._slave.pregData = _.cloneDeep(App.Data.misc.pregData.human);
......
......@@ -41,7 +41,7 @@ App.Medicine.Surgery.Procedures.OFFreshOvaries = class extends App.Medicine.Surg
apply(cheat) {
this._slave.ovaryAge = Math.clamp(this._slave.ovaryAge - 2, 0, 45);
if (this._slave.preg < -1) {
this._slave.preg = 0;
this._slave.preg = -1;
}
if (this._slave.pubertyXX === 0 && this._slave.physicalAge >= V.fertilityAge) {
if (V.precociousPuberty === 1) {
......
......@@ -48,7 +48,7 @@ App.Medicine.Surgery.Procedures.OFImmortalOvaries = class extends App.Medicine.S
apply(cheat) {
this._slave.ovaryAge = -100;
if (this._slave.preg < -1) {
this._slave.preg = 0;
this._slave.preg = -1;
}
if (this._slave.pubertyXX === 0 && this._slave.physicalAge >= V.fertilityAge) {
if (V.precociousPuberty === 1) {
......
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