Handle "headgear" as a plural.
authorJoe Wreschnig <joe.wreschnig@gmail.com>
Thu, 29 May 2014 22:27:15 +0000 (00:27 +0200)
committerJoe Wreschnig <joe.wreschnig@gmail.com>
Thu, 29 May 2014 22:27:15 +0000 (00:27 +0200)
acnl-outfit.js

index 50b9832..333335b 100644 (file)
@@ -76,7 +76,8 @@ function isPosessive (item) {
 }
 
 function isPlural (item) {
-    return (item.substr(-1) === "s"
+    return item.substr(-8) === "headgear"
+        || (item.substr(-1) === "s"
             && item.substr(-2) !== "ss"
             && item.substr(-6) !== "cosmos"); // :(
 }