From e9ac72273ecbd6d26010a664438072b42d6af229 Mon Sep 17 00:00:00 2001
From: Dirk_Tungsten <chmilnir@gmail.com>
Date: Mon, 11 May 2020 19:13:09 -0400
Subject: [PATCH] Added abortion and miscarriage counts to player object for
 future use.

---
 player variables documentation - Pregmod.txt | 10 ++++++++++
 src/player/js/PlayerState.js                 |  4 ++++
 2 files changed, 14 insertions(+)

diff --git a/player variables documentation - Pregmod.txt b/player variables documentation - Pregmod.txt
index 3fa9a587f2f..3536d47f5d3 100644
--- a/player variables documentation - Pregmod.txt	
+++ b/player variables documentation - Pregmod.txt	
@@ -433,6 +433,16 @@ counter:
 	how many children you've had
 	accepts int
 
+	abortions:
+
+	number of abortions you've had
+	accepts int
+
+	miscarriages:
+
+	number of miscarriage you've had
+	accepts int
+
 	birthElite:
 
 	how many children you've carried for the SE
diff --git a/src/player/js/PlayerState.js b/src/player/js/PlayerState.js
index c555ba67c2a..f3274d7f283 100644
--- a/src/player/js/PlayerState.js
+++ b/src/player/js/PlayerState.js
@@ -111,6 +111,10 @@ App.Entity.PlayerActionsCountersState = class {
 		this.cum = 0;
 		/** number of births as your slave */
 		this.birthsTotal = 0;
+		/** number of abortions as your slave */
+		this.abortions = 0;
+		/** number of miscarriages as your slave */
+		this.miscarriages = 0;
 		this.laborCount = 0;
 		/** How many slaves you have sired. */
 		this.slavesFathered = 0;
-- 
GitLab