You are viewing a potentially older version of this package. View all versions.
Goldenrevolver-Sorted_Menus_Cooking_Crafting_and_Skills_Menu-1.2.2 icon

Sorted Menus Cooking Crafting and Skills Menu

Sorts the cooking, crafting and skills menu by configurable parameters

Date uploaded a year ago
Version 1.2.2
Download link Goldenrevolver-Sorted_Menus_Cooking_Crafting_and_Skills_Menu-1.2.2.zip
Downloads 5777
Dependency string Goldenrevolver-Sorted_Menus_Cooking_Crafting_and_Skills_Menu-1.2.2

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2200 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.2200

README

This mod sorts the cooking, crafting and skills menu by configurable parameters.

Since this does not actually change the UI itself, only the list used to create it, this is compatible with almost all UI mods.

1 - Cooking Menu

This feature sorts all food recipes at the cauldron. By default, it sorts them by the combined health and stamina gain, and breaks ties using the health gain. This creates a list that actually reflects the progression through the game (it also showcases how inefficient mixed foods are).

To correctly sort items that still need to be processed afterwards, like bread or pie, the mod first checks if an item can be processed at the (iron) cooking station or oven, and then uses the food values of the finished product instead of the raw one for the sorting.

2 - Crafting Menus

Did you ever notice how random the recipe order in the workbench and forge menu are?

With this feature, they are sorted by name. Additionally, armor sets are sorted based on the name of the chest piece and then kept together (no more searching for the 'drake helmet') and ammo is always sorted to the top (metal arrows are sorted to the bottom, configurable).

The armor set feature works for all base game and most modded armors. I tested this with Southsil Armor and Judes Equipment, but it should work with most mods that use a sensible internal naming structure for their items. If you notice that a mod does not work well with this system, let me know and I will work on it, or you can always fix it yourself with the next feature.

imageimageimage\

2.1 - Custom Sort or Name Overwrites

Even with the custom armor sorting rules, a few items, especially weapons, would be sorted into weird places. So this mod includes a sort overwrite system as well as a lightweight item rename system to customize your sorting experience using json files.

A few examples from the default english file:

  • the 'Battleaxe' and 'Banded shield' are renamed to 'Iron battleaxe' and 'Iron banded shield'
  • the silver tier weapons stay sorted together (without actual renaming)
  • 'Porcupine' is sorted as a black metal mace and all instances of 'blackmetal' are replaced with 'black metal'
  • the mistlands tier weapons stay sorted together (without actual renaming)

Of course not every language conveniently puts the material at the beginning of the name to make sorting easy (for example using 'Axe out of Iron' instead of 'Iron Axe'), so this system does not work for everyone. But feel free to send me overwrite files for your native language if it works for it.

3 - Skills Menu

This feature simply sorts your skills by the current level or by name.

This feature is incompatible with Project Auga because it ignores the default skill list.

Do be aware that the base game currently has a bug where the length of the level bar does not perfectly reflect your actual level (e.g. two skills at level 10 can have different lengths in the skills menu, independent of the actual level up progress), but the sorting is always correct.

image

Source code available on github: https://github.com/Goldenrevolver/ValheimMiniMods

CHANGELOG

Changelog

1.3.3

  • Added config option to also sort the hand crafting menu in your inventory. Disabled by default
  • Moved source from my mini mod repository to its own repository

1.3.2

  • Hotfix: Fixed custom crafting station support causing the cauldron to not get treated as a cooking station

1.3.1

  • Hotfix: Fixed hand crafting not working due to missing null check

1.3.0

  • Fixed compatibility with the pagination feature of AAA Crafting
  • Added config file to set whether a custom crafting station should be treated as a cooking or crafting station, or not get sorted at all

1.2.2

  • Custom cooking stations from 'BoneAppetit' are now sorted as cooking menus rather than crafting menus

1.2.1

  • Hotfix: Fixed caching breaking some crafting stations due to missing null check

1.2.0

  • Performance: Sort order is now saved (cached) until you learn a new recipe or change config settings
  • Improved sorting order for items that grant eitr and added config settings for them

1.1.2

  • Fixed skills menu update breaking when using Project Auga (because it deletes it)

1.1.1

  • Performance: Modded armor sort overwrite checks are skipped if there is already a custom overwrite for it

1.1.0

  • Added file based system for adding item sort overwrites or changing item names entirely

1.0.0

  • Initial release