You are viewing a potentially older version of this package. View all versions.
cjayride-CraftingFilter-1.2.1 icon

CraftingFilter

Fork of aedenthorn/CraftingFilter. Adds a filter menu to the crafting tab. Updated for Valheim 1.0.

Date uploaded 12 hours ago
Version 1.2.1
Download link cjayride-CraftingFilter-1.2.1.zip
Downloads 386
Dependency string cjayride-CraftingFilter-1.2.1

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2350 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2350

README

CraftingFilter

Updated for Valheim 1.0

A fork of aedenthorn/CraftingFilter

ThunderStore | GitHub

This mod adds a filter to the crafting tab

To filter items, you can use one of three methods:

  1. Hover over the Craft button and a drop down menu will be shown with item types for available recipes that you can click on to switch filters.
  2. Use the scroll wheel while hovering over the Craft button to switch filters.
  3. Set hot keys or buttons to switch to next or prev filter.

These methods can each be disabled or enabled in the config.

Individual item types are taken from items themselves so don't blame me if an item has the wrong type.

Item Categories

By default, the mod uses the built in item types to create categories, but you can set up custom categories to group item types together or change the display name of a category.

To do this, edit the file BepInEx/plugins/CraftingFilter/categories.json using the following syntax for each entry:

<name>:<type1>,<type2>[...]

Here's an example custom categories.json file:

{
"categories": [
"All:None",
"Resources:Material,Consumable",
"Weapons:OneHandedWeapon,Bow,Ammo,Hands,TwoHandedWeapon,TwoHandedWeaponLeft",
"Armor:Shield,Helmet,Chest,Legs,Shoulder",
"Misc:Customization,Trophy,Misc,Attach_Atgeir,Trinket,Fish,AmmoNonEquipable",
"Tools:Torch,Utility,Tool"
]
}

Any category which has the None type in it will show all items.

Categories are sorted alphabetically with the category with None in it at the top.

Known Issues

Menu items are spaced incorrectly if game is in window mode and not fully expanded. Menu items DO space correctly if the game is in window mode fully expanded, and full-screen mode.

Configuration

  • A config file BepInEx/config/cjayride.CraftingFilter.cfg is created after running the game once with this mod.
  • Categories file BepInEx/plugins/CraftingFilter/categories.json

Contact

  • 𝕏: x.com/cjayride

  • Discord: discord.gg/cjayride (find me at the top of the user list) "cjayride"

  • Twitch: twitch.tv/cjayride

AI Generated

This code was not AI Generated, however, AI was used to verify that it works with the new version of the game.

CHANGELOG

v1.2.1

  • Re-upload to tag for Deep North Update on Thunderstore

v1.2.0

  • Updated for Valheim 1.0
  • BepInEx dependency updated to denikson-BepInExPack_Valheim-5.4.2350
  • New item types (Trinket, Fish, TwoHandedWeaponLeft, AmmoNonEquipable, and any 1.0 additions) now appear as filters even if categories.json is from an older version
  • Craft tab hover no longer depends on the button being named "Craft"

v1.1.0

  • Fixed UI scaling.
  • Fixed UI scaling with Minimal_UI by Azumatt.
  • Known Issues: Menu items are spaced incorrectly if game is in window mode and not fully expanded. Menu items DO space correctly if the game is in window mode fully expanded, and full-screen mode.
  • Previously, the CraftingFilter items were set to match the LoadingGUI scaleFactor, instead of the CraftingPanelScale (InvetoryGUI.instance.m_crafting)

v1.0.0

  • Removed terminal reload
  • Added compatibility for v0.217.46

0.9.3

  • Fixed bug with missing assembly MonoMod

0.9.0

  • 3 changes (commits) by "Aedenthorn" on Aug 23, 2023 and Oct 6, 2023

0.7.2

  • Renamed config file to cjayride.CraftingFilter.cfg -- this is to match the file names of the other mods

0.7.1

  • Fix for new update

0.6.1

  • Updated for March 1, 2022 valheim game update.