From ec698fbff0514163ae3971fb306a179a62bc796b Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Sun, 21 Mar 2021 21:49:47 -0400
Subject: [PATCH] show analyze preg in cheat

---
 src/cheats/cheatEditSlave.js | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/cheats/cheatEditSlave.js b/src/cheats/cheatEditSlave.js
index ab151ade2a0..2fa37887fa5 100644
--- a/src/cheats/cheatEditSlave.js
+++ b/src/cheats/cheatEditSlave.js
@@ -27,6 +27,7 @@ App.UI.SlaveInteract.cheatEditSlave = function(slave) {
 	const tabCaptions = {
 		"profile": 'Profile',
 		"physical": 'Physical',
+		"womb": 'Womb',
 		"mental": 'Mental',
 		"skills": 'Skills',
 		"family": 'Relationships',
@@ -40,6 +41,7 @@ App.UI.SlaveInteract.cheatEditSlave = function(slave) {
 	tabBar.append(
 		App.UI.tabBar.tabButton('profile', tabCaptions.profile),
 		App.UI.tabBar.tabButton('physical', tabCaptions.physical),
+		App.UI.tabBar.tabButton('womb', tabCaptions.womb),
 		App.UI.tabBar.tabButton('mental', tabCaptions.mental),
 		App.UI.tabBar.tabButton('skills', tabCaptions.skills),
 		App.UI.tabBar.tabButton('family', tabCaptions.family),
@@ -53,6 +55,9 @@ App.UI.SlaveInteract.cheatEditSlave = function(slave) {
 
 	el.append(App.UI.tabBar.makeTab('profile', makeSpanIded("content-profile", App.StartingGirls.profile(V.tempSlave, true))));
 	el.append(App.UI.tabBar.makeTab('physical', makeSpanIded("content-physical", App.StartingGirls.physical(V.tempSlave, true))));
+	if (V.tempSlave.womb.length > 0) {
+		el.append(App.UI.tabBar.makeTab('womb', makeSpanIded("content-womb", analyzePregnancies(V.tempSlave, true))));
+	}
 	el.append(App.UI.tabBar.makeTab('mental', makeSpanIded("content-mental", App.StartingGirls.mental(V.tempSlave, true))));
 	el.append(App.UI.tabBar.makeTab('skills', makeSpanIded("content-skills", App.StartingGirls.skills(V.tempSlave, true))));
 	el.append(App.UI.tabBar.makeTab('family', makeSpanIded("content-family", App.Intro.editFamily(V.tempSlave, true))));
-- 
GitLab