From 016742babbef49a72e9b3bca0ba2f0be18555d44 Mon Sep 17 00:00:00 2001
From: kopareigns <kopareigns@gmail.com>
Date: Thu, 12 Apr 2018 21:22:04 -0400
Subject: [PATCH] strings

---
 src/uncategorized/walkPast.tw | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/uncategorized/walkPast.tw b/src/uncategorized/walkPast.tw
index 7dd263e4f7e..f71d93b65ff 100644
--- a/src/uncategorized/walkPast.tw
+++ b/src/uncategorized/walkPast.tw
@@ -451,9 +451,9 @@
 		is working in the dairy, looking after your stock.
 	<<default>>
 
-	<<if (_partnerSlave.heels == 1) && (_partnerSlave.shoes !== "flats" "flats with short stockings" "flats with long stockings") && (_partnerSlave.shoes !== "none")>>
+	<<if (_partnerSlave.heels == 1) && !["flats", "flats with short stockings", "flats with long stockings", "none"].includes(_partnerSlave.shoes)>>
 		walks past your desk with the tiny swaying steps she must take in order to walk on her surgically altered legs. She is on her way to
-	<<elseif (_partnerSlave.shoes == "heels" "heels with short stockings" "heels with long stockings" "pumps" "pumps with short stockings" "pumps with long stockings")>>
+	<<elseif ["heels", "heels with short stockings", "heels with long stockings", "pumps", "pumps with short stockings", "pumps with long stockings"].includes(_partnerSlave.shoes)>>
 		walks past your desk with the swaying steps she must take in her high heels. She is on her way to
 	<<elseif (_partnerSlave.shoes == "boots")>>
 		walks past your desk with the confident gait encouraged by her high heeled boots. She is on her way to
@@ -963,9 +963,9 @@
 		is working in the dairy, looking after your stock.
 	<<default>>
 
-	<<if (_partnerSlave.heels == 1) && (_partnerSlave.shoes !== "flats" "flats with short stockings" "flats with long stockings") && (_partnerSlave.shoes !== "none")>>
+	<<if (_partnerSlave.heels == 1) && !["flats", "flats with short stockings", "flats with long stockings", "none"].includes(_partnerSlave.shoes)>>
 		walks past your desk with the tiny swaying steps she must take in order to walk on her surgically altered legs. She is on her way to
-	<<elseif (_partnerSlave.shoes == "heels" "heels with short stockings" "heels with long stockings" "pumps" "pumps with short stockings" "pumps with long stockings")>>
+	<<elseif ["heels", "heels with short stockings", "heels with long stockings", "pumps", "pumps with short stockings", "pumps with long stockings"].includes(_partnerSlave.shoes)>>
 		walks past your desk with the swaying steps she must take in her high heels. She is on her way to
 	<<elseif (_partnerSlave.shoes == "boots")>>
 		walks past your desk with the confident gait encouraged by her high heeled boots. She is on her way to
-- 
GitLab