Page 1 of 1

A plea for a better sort function

Posted: Fri Mar 03, 2017 10:57 am
by Cloun
First of all the one that plays the god damn violin with my OCD strings, the inventory sort function....I'm not asking for the aranock version of WALL-E to clean up my inventory, but maybe some sort of look into it would be awesome

Let's all pitch in some ideas and figure it out

Posted: Fri Mar 03, 2017 3:36 pm
by Lurker
It's already fairly robust, a few additions/changes could make it really good. Right now we have sort by

W-Weapon
A-Armor
E-Endurance
H-HP
M-Mana
P-Potion(which includes most scrolls, not xp though)
V-Value

Additions I'd like to see:

- argument where every string after it does a reverse sort so
/sort wa-mhp

would do weapons then armor at the top, and mana at the bottom then health then potion with everything else in the middle.

Make shields sort with armor.

Add a S-Scrolls so potions and scrolls sort separately.

Add a G-Gear Which would override weapons/armor and sort in order of switch groups.

Make rings/amulets/belts sort with armor or add another sort option for them. C-Accessory maybe.