From 9e1a48f3915a08e91fc90835641c504db0ea6a8b Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Fri, 9 Oct 2020 19:42:30 -0400
Subject: [PATCH] lips

---
 .../specificMarkets/customSlaveMarket.js      | 32 +++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/src/markets/specificMarkets/customSlaveMarket.js b/src/markets/specificMarkets/customSlaveMarket.js
index b0148ab232e..7ac1fc79540 100644
--- a/src/markets/specificMarkets/customSlaveMarket.js
+++ b/src/markets/specificMarkets/customSlaveMarket.js
@@ -127,6 +127,38 @@ App.Markets["Custom Slave"] = function() {
 		return el;
 	}
 
+	function lips() {
+		const el = document.createElement("div");
+		const id = "lips-text";
+		const choices = new Map([
+			["5", "Thin"],
+			["15", "Normal"],
+			["35", "Plush built"],
+			["65", "Big"],
+			["85", "Enormous"],
+			["100", "Facepussy"],
+		]);
+
+		createDescription(el, description, id);
+		el.append(choicesMaker("lips", choices, id, description));
+
+		function description() {
+			// Obnoxiously, the old check is reversed, so I'm working around it by reporting the previous value to the one that hits.
+			let savedText = "frail";
+			for (const [value, text] of choices) {
+				if (slave.muscles < Number(value)) {
+					return `${savedText}.`;
+				} else {
+					savedText = text;
+				}
+			}
+			return "Ripped.";
+		}
+
+		return el;
+	}
+
+
 	/**
 	 * 
 	 * @param {HTMLElement} element
-- 
GitLab