Revert "Revert inventory equipment/gear sorting due to inability to de/equip and maybe performance issues."

This reverts commit 9d50201180.
This commit is contained in:
Blade Barringer
2016-03-17 08:09:18 -05:00
parent 9d50201180
commit c7310b97ec
8 changed files with 120 additions and 31 deletions

View File

@@ -39,10 +39,12 @@ each(GEAR_TYPES, (type) => {
each(allGearTypes, (klass) => {
each(gear[type][klass], (item, index) => {
let key = `${type}_${klass}_${index}`;
let set = `${klass}-${index}`;
defaults(item, {
type,
key,
set,
klass,
index,
str: 0,