From 50a396ef46f7ff84736fb123df19a61b89693526 Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Wed, 19 Aug 2020 20:15:24 -0400
Subject: [PATCH] click to cycle

---
 src/facilities/wardrobe/wardrobeShopping.js   |  8 +-
 .../wardrobe/wardrobeShoppingData.js          | 87 ++++++++++++++++++-
 2 files changed, 92 insertions(+), 3 deletions(-)

diff --git a/src/facilities/wardrobe/wardrobeShopping.js b/src/facilities/wardrobe/wardrobeShopping.js
index 997fcbaeecc..4678d395345 100644
--- a/src/facilities/wardrobe/wardrobeShopping.js
+++ b/src/facilities/wardrobe/wardrobeShopping.js
@@ -43,6 +43,10 @@ App.UI.WardrobeShopping = function() {
 
 	el.append(categoryBlock("FSrevivalist"));
 
+	App.UI.DOM.appendNewElement("H2", el, `Other`);
+
+	el.append(categoryBlock("other"));
+
 	return el;
 
 	/**
@@ -66,6 +70,7 @@ App.UI.WardrobeShopping = function() {
 		 */
 		function createCell(clothing) {
 			const el = document.createElement("div");
+			el.id = clothing;
 			el.classList.add("wardrobe-shopping-cell");
 			/** @type {wardrobeItem} */
 			const clothingObj = App.Data.WardrobeShopping[category][clothing];
@@ -86,6 +91,7 @@ App.UI.WardrobeShopping = function() {
 						model[prop] = "none";
 					}
 				}
+				el.onclick = () => jQuery(`#${clothing}`).empty().append(createCell(clothing));
 			}
 			if (!V.boughtItem.clothing[clothing]) {
 				if (cost < V.cash) {
@@ -112,7 +118,7 @@ App.UI.WardrobeShopping = function() {
 					App.UI.DOM.appendNewElement("div", el, `Costs ¤${cost}`, ["red", "detail"]);
 				}
 			} else {
-				el.append(clothingObj.owned);
+				App.UI.DOM.appendNewElement("div", el, clothingObj.owned);
 			}
 
 			return el;
diff --git a/src/facilities/wardrobe/wardrobeShoppingData.js b/src/facilities/wardrobe/wardrobeShoppingData.js
index 39510cd105c..8d2f9311be8 100644
--- a/src/facilities/wardrobe/wardrobeShoppingData.js
+++ b/src/facilities/wardrobe/wardrobeShoppingData.js
@@ -120,6 +120,89 @@ App.Data.WardrobeShopping = {
 		},
 	},
 	other: {
-
+		"military" :{
+			title: "a shipment of military themed clothing",
+			cost: 5000,
+			contains: ["a military uniform", "a red army uniform", "battlearmor", "battledress"],
+			owned: "You are well stocked with a variety of military themed garb.",
+		},
+		"cultural" :{
+			title: "a shipment of cultural outfits",
+			cost: 15000,
+			contains: ["a biyelgee costume", "a dirndl", "a hanbok", "a mounty outfit", "lederhosen"],
+			owned: "You are well stocked with a variety of signature outfits from a variety of countries.",
+		},
+		"middleEastern" :{
+			title: "a shipment of burqas and similar garb",
+			cost: 5000,
+			contains: ["a burqa", "a niqab and abaya"],
+			owned: "You are well stocked with a number of burqas and similar clothing.",
+		},
+		"casual" :{
+			title: "an extra large shipment of casual clothing",
+			cost: 5000,
+			contains: ["a button-up shirt and panties", "a button-up shirt", "a sweater and cutoffs", "a sweater and panties", "a sweater", "a t-shirt and jeans", "a t-shirt and panties", "a t-shirt", "a tank-top and panties", "a tank-top", "a tube top", "an oversized t-shirt", "cutoffs", "jeans", "leather pants and a tube top", "leather pants"],
+			owned: "You are well stocked with casual clothing.",
+		},
+		"career" :{
+			title: "a shipment of professional garments",
+			cost: 2500,
+			contains: ["a nice nurse outfit", "a police uniform", "nice business attire"],
+			owned: "You are well stocked with a selection of professional outfits.",
+		},
+		"dresses" :{
+			title: "a shipment of professionally tailored dresses",
+			cost: 15000,
+			contains: ["a ball gown", "a gothic lolita dress"],
+			owned: "You are well stocked with a selection of fine dresses.",
+		},
+		"bodysuits" :{
+			title: "a shipment of exotic bodysuits",
+			cost: 7500,
+			contains: ["a cybersuit", "a latex catsuit"],
+			owned: "You are well stocked with a selection of bodysuits.",
+		},
+		"underwear" :{
+			title: "a shipment of undergarments",
+			cost: 5000,
+			contains: ["a bra", "a skimpy loincloth", "a thong", "boyshorts", "kitty lingerie", "panties and pasties", "pasties"],
+			owned: "You are well stocked with underwear.",
+		},
+		"sports" :{
+			title: "a shipment of exercise wear",
+			cost: 2500,
+			contains: ["a sports bra", "sport shorts and a sports bra", "sport shorts"],
+			owned: "You are well stocked with exercise wear.",
+		},
+		"swimwear" :{
+			title: "a shipment of swimwear",
+			cost: 3500,
+			contains: ["a monokini", "a one-piece swimsuit"],
+			owned: "You are well stocked with swimwear.",
+		},
+		"pony" :{
+			title: "a shipment of specialized latex ponygirl outfits",
+			cost: 10000,
+			contains: ["a nice pony outfit", "a slutty pony outfit"],
+			owned: "You are well stocked with ponygirl bodysuits.",
+		},
+		"pol" :{
+			title: "a shipment of politically incorrect clothing",
+			cost: 15000,
+			contains: ["a klan robe", "a schutzstaffel uniform", "a slutty klan robe", "a slutty schutzstaffel uniform"],
+			owned: "You are well stocked with a selection of outfits once considered distasteful.",
+		},
+		"costume" :{
+			title: "a shipment of colorful and revealing costumes",
+			cost: 15000,
+			contains: ["a Santa dress"],
+			owned: "You are well stocked with a variety of costume party supplies.",
+		},
+		"pantsu" :{
+			title: "a large crate of panties from Japan",
+			cost: 2500,
+			contains: ["a striped bra", "striped panties", "striped underwear"],
+			owned: "You have an impressive stash of panties and other striped underwear that may or may not be have at one point been used.",
+		},
 	}
-}
\ No newline at end of file
+};
-- 
GitLab