You are viewing a potentially older version of this package. View all versions.
RandyKnapp-EquipmentAndQuickSlots-3.0.2 icon

EquipmentAndQuickSlots

Give equipped items their own dedicated inventory slots, plus up to six hotkeyable quick slots.

Date uploaded 4 days ago
Version 3.0.2
Download link RandyKnapp-EquipmentAndQuickSlots-3.0.2.zip
Downloads 4304
Dependency string RandyKnapp-EquipmentAndQuickSlots-3.0.2

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2201 icon
denikson-BepInExPack_Valheim

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

Preferred version: 5.4.2201
ValheimModding-Jotunn-2.29.2 icon
ValheimModding-Jotunn

Jötunn (/ˈjɔːtʊn/, 'giant'), the Valheim Library was created with the goal of making the lives of mod developers easier. It enables you to create mods for Valheim using an abstracted API so you can focus on the actual content creation.

Preferred version: 2.29.2

README

Equipment and Quick Slots

by RandyKnapp, rewritten by MidnightsFX

Version 3.0 is a complete rewrite.

Give equipped items their own dedicated inventory slots — Head, Chest, Legs, Shoulder, Utility and Trinket — plus up to six hotkeyable quick slots.

  • Client-side installable; does not need to be on servers.
  • When the server does run the mod (requires Jotunn), the balance settings (slot toggles, quick slot count, keep-on-death) are server-synced and admin-controlled.
  • Existing 2.x characters are migrated automatically on first login. Do not downgrade to 2.x after saving under 3.0 — the automatic slot backup protects your items, but the old format is not written anymore.
  • Quick slot hotkeys no longer trigger vanilla actions on the same key.
  • Optional extra utility slots (Equipment Slots / Utility Slot Count, 1–3, default 1): wear more than one belt, Wishbone or Megingjord. Off by default and server-synced, because it is a balance change. You can never wear two copies of the same item, and the extra items show on your character for everyone.
  • Configurable keep-on-death and auto-equip-on-gravestone-pickup behavior.
  • Other mods can add custom slots through the API — see docs/API.md.

Please report bugs on our discord: https://discord.gg/ZNhYeavv3C

Source: Github

Install with BepInEx: copy EquipmentAndQuickSlots.dll into the BepInEx/plugins folder.

Console commands

  • eaqs_validate — revalidates the slots and relocates overlapping/out-of-grid items
  • eaqs_api — prints API version, endpoints and slot states
  • invcheck — prints the inventory grid contents
  • eaqs_restorebackup (cheat) — restores the automatic slot backup into free slots
  • breakequipment, dropall (cheat) — testing helpers

Compatibility

  • BetterUI works out of the box. While BetterUI's HUD editing is enabled (its default), BetterUI positions the quick slot bar: move it with BetterUI's HUD edit key (F7 by default) and BetterUI remembers where you put it. Quick Slots Anchor / Quick Slots Position in this mod's config only decide where the bar starts. If the bar sits somewhere odd after updating from 3.0.0, press F7 and drag it back, or reset BetterUI's uiData setting to none.
  • Better Archery works out of the box. Its quiver used to add two hidden rows to the player inventory, which showed up as a block of empty cells under the inventory and could swallow items. Its quiver is now hosted as three ammo-only slots in the equipment panel, keyed to Better Archery's own hotkeys; everything else it does is untouched. Set Compatibility / Better Archery quiver integration to false to switch its quiver off entirely instead and use the quick slots for ammo.
  • Other slot mods — AzuExtendedPlayerInventory, ExtendedPlayerInventory, ExtraSlots, ComfyQuickSlots — are declared incompatible; BepInEx will not load this mod next to them.

Notes

The following things WILL NOT BE ADDED OR CONSIDERED.

CHANGELOG

3.0.2

  • Better Archery compatibility

3.0.1

  • Drag-to-unequip works again, with the unequip progress bar
  • Compatibility with mods that make the player inventory scrollable (Valheim Plus with its [Inventory] section enabled).
  • BetterUI compatibility.
    • Once BetterUI has taken the bar over, a one-time line in the log says so, rather than leaving you to wonder why Quick Slots Anchor and Quick Slots Position appear to do nothing.
  • The readme now documents which mods are compatible and which are refused outright.

3.0.0

  • Complete rewrite of the slot system.
    • All configs that impact balance or functionality now are server synced (if the mod is installed on the server).
  • Your items are migrated automatically. On first login per character, items from the old 2.x slot storage (including pre-Mistlands saves) move into the new slots. There is no downgrade path — after a character has saved under 3.0.0, going back to 2.x will not restore the old format (the automatic backup still protects the items themselves).
  • New Trinket equipment slot.
  • Configurable utility slots (Equipment Slots / Utility Slot Count, 1–3, default 1): optionally wear more than one utility item. (This was previously a glitch that could happen, but is now supported as an optional feature)
  • Quick slot count is configurable (0–6, default 3)
  • Extra inventory rows (Inventory / Extra Inventory Rows, 0–5 default 0): Optionally enable additional inventory rows.
  • Base carry weight (Inventory / Base Carry Weight): the player's carry capacity before belts; 300 (vanilla) leaves other mods' carry-weight changes untouched.
  • Death fixes: Death item dropping/equipping now works correctly
  • Hotkey conflict prevention: quick slot hotkeys no longer trigger vanilla actions bound to the same key.
  • Public API for other mods — add custom slots, query slot contents, subscribe to changes. See docs/API.md; an embeddable typed shim (EquipmentAndQuickSlotsAPI.dll) is available from the repository or follow the doc example to use reflection to access the API.
  • Console commands reworked: eaqs_validate repairs misplaced items (replaces the broken fixinventory); destructive commands now require cheats.
  • Removed the dead Creature Level and Loot Control integration remnants and the second death tombstone (one grave now holds everything, sized to fit).

2.1.14

  • Updated for Valheim 0.219.13 Patch (Bog Witch)
Changelog History (click to expand)

2.1.13

  • Updated for Valheim 0.217.38 Patch 2.1.12
  • Updated for Valheim 0.217.27
  • Updated Auga and CLLC API's
  • If Auga is loaded, set the default position of Quick Slot Bar accordingly
  • Updated for World Modifiers and Hard/Hardcore Settings 2.1.11
  • Adjusting InventoryGrid Initialization to prevent Awake from happening before variables are set.
    • This has fixed a compatibility issue that was found with Jewelcrafting allowing EAQS to now be used with Smoothbrain's Jewelcrafting 2.1.10
  • Fixing Hotkey Bar Binding Texts

Release 2.1.8 & 2.1.9

  • Hildir's Request Updates 0.217.24

  • Updated version from 2.1.7 to 2.1.9 because I forgot to change it. 2.1.7

  • Hildir's Request Updates 0.217.14 2.1.6

  • Updates needed for Valheim 0.216.7 2.1.5

  • Fixing Keybinds to defaults if config is messed up and showing None.

    • This was caused by a change in how keybinds are stored.
  • Tooltips when using Controllers are now visible and not hiding behind the Equipment Slots 2.1.4

  • DLL packaged with 2.1.3 was incorrectly built as 2.1.2 and might not have had all the changes in it.

  • Bumping version by 1 and reuploading correct version. 2.1.3

    • Improved Controller Support Between Hotbars/Inventories
      • Known Bug: The weight calculation is still not working when using controller to transfer items.
    • Updated Keybindings to Support Controllers
    • Rebuilt QuickSlotHotkeyBar from the Ground Up
      • No longer a Prefix that blocks UpdateIcons
      • Allows other mods to affect item icons in the Hotkeybar (like EpicLoot)
      • Potential for Performance Improvement 2.1.2
    • Updated for Valheim 0.214.2 Patch 2.1.1
    • Fixed compatibility issues with JewelCrafting and MultiUserChest 2.1.0
    • Updated for Mistlands!
    • Now uses player.m_customData instead of knownTexts
    • On death, drops equipment in second gravestone
    • Fixed bug where you couldn't move items out of your quickslots
    • Added new config features: DontDropEquipmentOnDeath, DontDropQuickslotsOnDeath, InstantlyReequipArmorOnPickup, InstantlyReequipQuickslotsOnPickup
  • 1.0.3

    • Integrated fix for larger containers (this mod was not allowing the same row to be used in containers as it uses in the Inventory)
  • 1.0.4

    • Fixed issue where gamepad could not use quick slots
  • 1.0.5

    • Fixed issue where the previous fix broke the #8 hotkey...
  • 2.0.0 Stability Update

    • Items are saved even if accidentally uninstalling or having an error
    • UIs work better with controller
    • Never drop or lose items on death
  • 2.0.1

    • Hotfix for not being able to craft when fully equipped
  • 2.0.2

    • Fixed an issue where some equipment was lost on death
    • Re-added the toggles to disable and enable features
  • 2.0.3

    • Fixed a bug where players could teleport with items they normally can't
  • 2.0.4

    • Fixed gamepad navigation for the crafting recipe list
    • Fixed bug preventing new characters from being created
  • 2.0.5

    • Put in a potential fix for "losing items" on tombstone pickup (they're in your inventory, just outside the grid. This version should fix that.)
  • 2.0.6

    • Fix for double upgrade when using EpicLoot with EAQS
    • Fix for items lost in tombstone by jsza.
  • 2.0.7

    • (This entire update provided by jsza)
    • Fix a variety of equipment bugs
    • Fix a variety of pickup/stacking bugs
  • 2.0.8

    • Had to update the number to re-upload to ThunderStore
  • 2.0.9

    • Quick slots position is now configurable
  • 2.0.10

    • Fixed an encumberance bug
  • 2.0.11

    • Added support for Project Auga
  • 2.0.12

    • Better Valheim+ and Auga positioning for the inventory
  • 2.0.14

    • Updated for H&H
  • 2.0.15

    • Yet Another Attempt at fixing the lost-equipment-on-death bug