projects
/
labelle.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Pre-build item -> category mapping and simplify / optimize all the generation code...
[labelle.git]
/
acnl-wearables-list.js
diff --git
a/acnl-wearables-list.js
b/acnl-wearables-list.js
index
303233c
..
8cb2d2e
100644
(file)
--- a/
acnl-wearables-list.js
+++ b/
acnl-wearables-list.js
@@
-1216,3
+1216,10
@@
var ACNL_WEARABLES = {
"white wet suit"
]
};
+
+var ACNL_WEARABLES_CATEGORY = {};
+Object.keys(ACNL_WEARABLES).forEach(function (category) {
+ ACNL_WEARABLES[category].forEach(function (value) {
+ ACNL_WEARABLES_CATEGORY[value] = category;
+ });
+});