SimpleSort
Lets you sort player and container inventory by name, weight, or value using hotkeys, or automatically on open. Created by aedenthorn
Date uploaded | 3 years ago |
Version | 0.7.0 |
Download link | Nexus-SimpleSort-0.7.0.zip |
Downloads | 14572 |
Dependency string | Nexus-SimpleSort-0.7.0 |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.
Preferred version: 5.4.901README
This mod offers a simple way to sort the player and container inventory, by hovering over the inventory and pressing a customizable key combination of a modifier key and a sort type key.
It also now allows the sort type to stick for either inventory type and get applied each time you open the inventory.
Sort types are:
by name (default key: N) by weight (default key: H) by value (default key: V)
Notes
Sort Types
Sort by weight and sort by value will sort by name for equal weights and values (most stuff doesn't seem to have a value yet).
Sort Methods
Whether it sorts ascending or descending depends on which modifier key you use. Default for ascending is Left Alt, and descending is Left Ctrl.
So, to sort a container by name ascending for example, hover over the container inventory grid and hold down Left Alt and press N.
If you leave one of the modifier key values empty in the config, it will be the sort method without any modifier key. E.g.:
AscModKey =
Will allow you to sort ascending without pressing a modifier key.
Sticky Sort
By default the mod now remembers your last sort type and method for player and container inventories and applies it when you open the inventory. You can turn this off for either in the config file.
Misc
You can also skip a certain number of rows in the player inventory, both at the beginning of the grid and the end. By default, the mod starts at the second row and goes to the end of the inventory.
You can also disable player inventory sorting entirely in the config.
There is a config option to enable using game pads, but I don't own one and haven't tested it. Let me know if it works! You'll have to change the keys to joystick buttons. Info on button names is here: https://docs.unity3d.com/Manual/ConventionalGameInput.html
Config
A config file BepInEx/config/aedenthorn.SimpleSort.cfg is created after running the game once with this mod).
You can adjust the config values by editing this file using a text editor .
To reload the config from the config file, type simplesort reset into the game's console (F5).
Technical
To install this mod, the easiest way is to just use Vortex, the Nexus Mods mod manager. It should take care of all dependencies.
To install manually, place the dll file in the BepInEx/plugins folder. You will need BepInEx.
Code is at https://github.com/aedenthorn/ValheimMods.