immortalityidle / immortalityidle.github.io

Immortality Idle Game Repo
32 stars 31 forks source link

Added inventory sort button. #138

Closed Hornsoup closed 2 years ago

Hornsoup commented 2 years ago

Sort priority is type, value, then quantity, then name. Kinda want to subgroup the materials and toss gems to the bottom but there's no real way to easily do so based on item properties.

immortalityidle commented 2 years ago

Shouldn't be too bad to add sorting categories to items as an optional property if you want. A little tedious, but not complicated.

Hornsoup commented 2 years ago

I just tossed the gems and equips into their own temp arrays, should make for less wobbly inventory.