You are viewing a potentially older version of this package. View all versions.
CDEVx-CDEV_EquipmentSlots-0.1.4 icon

CDEV EquipmentSlots

A character sheet beside the inventory: seven equipment slots, six quick slots and a lock on every cell. / Лист персонажа рядом с инвентарём: семь слотов экипировки, шесть быстрых слотов и замок на каждой ячейке.

By CDEVx
Date uploaded 2 days ago
Version 0.1.4
Download link CDEVx-CDEV_EquipmentSlots-0.1.4.zip
Downloads 799
Dependency string CDEVx-CDEV_EquipmentSlots-0.1.4

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
ValheimModding-Jotunn-2.30.0 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.30.0

README

EquipmentSlots

Armour and six quick slots get places of their own — a character sheet next to the inventory, instead of rows taken out of your backpack. (Русское описание — ниже.)

An item is worn exactly while it sits in its slot: drag a helmet into the helmet cell and it is on your head, drag it out and it is off.

The equipment panel

The panel

Between the inventory and the crafting panel, in vanilla's own frame, with your character in the middle wearing what you put on (Panel.ShowCharacter turns the figure off).

  • Equipment — helmet, chest, legs, cape, belt, trinket, and an ammo slot for the arrows or bolts you shoot.
  • Quick slots — six cells for anything at all.
  • Quiver — Better Archery's three ammo cells, in a small window beside the panel, shown only while its quiver is worn.

A slot takes only what belongs in it; anything else stays on the cursor. Right-click an item in the inventory and it goes to its slot, right-click it in the panel and it comes back.

Better Archery's quiver in its own window

A padlock in the corner of every cell. Click it and nothing that moves many items at once touches that cell again — neither vanilla's "stack similar" nor QuickStackStore's quick stack, store, sort and restock. Locks are saved with your character; Inventory.CellLocks hides the padlocks.

Quick slots

Z / V / B use slots 1–3, the same keys with Left Alt use slots 4–6, and slots 4–6 can have keys of their own instead — all rebindable. A press is exactly a hotbar press: eat, drink, equip, unequip, or use on what you are looking at. The HUD draws three of them next to the forsaken power and switches to the other three while Alt is held.

"Stack similar" into a chest leaves every slot alone, and picking things up can top up a stack that is already in a quick slot but never fills an empty one.

Death, graves and bodies

Death fills the grave exactly as vanilla does. Slot items remember where they came from: when you take them back, each one returns to its slot and your gear goes back on. Upgrading a worn piece at a workbench keeps it in its slot.

Coming from EquipmentAndQuickSlots

Remove EAQS first — next to it this mod switches itself off on purpose. On the first load without it your character is converted: quick slots, armour and Better Archery's quiver keep their items, everything else moves into free inventory cells, nothing is deleted. Do not go back to EAQS with a converted character.

Installation and removal

  1. BepInExPack Valheim and Jötunn, and remove EquipmentAndQuickSlots.
  2. CDEV.EquipmentSlots.dll into BepInEx/plugins/CDEV.EquipmentSlots/ — a mod manager does it for you.

Empty the slots before you uninstall. They are cells of your own inventory below the grid; without the mod the game drops what is down there at your feet on the next spawn.

Multiplayer

Client mod — nothing new crosses the network, the slots are cells of your own character. A server that has the mod requires it from every client (Jötunn ClientMustHaveMod); servers without it accept everyone.

Compatibility

  • Better Archery 2.0.0 — the quiver is worn in the ammo slot, its arrows live in the window beside the panel, and Better Archery adds no rows of its own.
  • QuickStackStore — sort, store, quick stack and trash never touch the slots; restock may refill a quick slot that is not locked.
  • MouseTweaks — right-clicks work on the panel too.
  • EquipmentAndQuickSlots — not together; this mod stands down next to it.
  • Gamepad — the panel has no gamepad navigation yet.

Settings and languages

BepInEx/config/cdev.equipmentslots.cfg: the six quick-slot keys and the Alt modifier, the HUD (on/off, offset, spacing), the panel (offset, character, padlocks). Texts in 22 languages, following the game's own language setting.

Credits

Written by CDEV for a friends' server. Bug reports with a slice of BepInEx/LogOutput.log are welcome.

Licence: MIT (the LICENSE file is in the package).


EquipmentSlots — по-русски

Броня и шесть быстрых слотов получают собственные места: лист персонажа рядом с инвентарём вместо рядов, отнятых у рюкзака.

Предмет надет ровно до тех пор, пока лежит в своей ячейке: перетащил шлем в ячейку шлема — он на голове, вытащил — снят.

Панель

Между инвентарём и окном ремесла, в ванильной деревянной рамке, с персонажем посередине — в том, что на него надето (Panel.ShowCharacter убирает фигуру).

  • Экипировка — шлем, нагрудник, поножи, плащ, пояс, тринкет и ячейка для стрел или болтов, которыми стреляете.
  • Быстрые слоты — шесть ячеек под что угодно.
  • Колчан — три ячейки Better Archery в отдельном окошке сбоку, видны только когда колчан надет.

Ячейка принимает только то, что ей подходит; остальное остаётся на курсоре. ПКМ по вещи в инвентаре — она уходит в свой слот, ПКМ по ней в панели — возвращается обратно.

Замочек в углу каждой ячейки. Нажмите — и запертую ячейку больше не трогает ничто, что перекладывает вещи пачками: ни ванильная кнопка «сложить похожие» в сундуке, ни быстрая скидка, сортировка и автопополнение QuickStackStore. Замки сохраняются с персонажем; Inventory.CellLocks убирает значки.

Быстрые слоты

Z / V / B — слоты 1-3, те же клавиши с Left Alt — слоты 4-6, а слотам 4-6 можно назначить собственные клавиши без модификатора. Все клавиши переназначаются. Нажатие работает как кнопка панели быстрого доступа: съесть, выпить, надеть, снять, применить к тому, на что смотрите. В HUD три слота рисуются рядом со значком силы стража и переключаются на вторую тройку, пока зажат Alt.

Кнопка складывания в сундук не трогает ни один слот, а при подборе вещей стак в быстром слоте можно пополнить, но в пустую ячейку ничего не упадёт.

Смерть, могилы и тела

Смерть наполняет могилу так же, как в ванилле. Вещи помнят свой слот: когда вы забираете их обратно, каждая возвращается на место, а снаряжение снова надевается. Улучшение надетой вещи у верстака оставляет её в слоте.

Переход с EquipmentAndQuickSlots

Сначала удалите EAQS — рядом с ним мод намеренно выключает сам себя. При первой загрузке без него персонаж конвертируется: быстрые слоты, броня и колчан Better Archery сохраняют содержимое, остальное переезжает в свободные ячейки инвентаря, ничего не удаляется. Не возвращайтесь к EAQS с конвертированным персонажем.

Установка и удаление

  1. BepInExPack Valheim и Jötunn, затем удалите EquipmentAndQuickSlots.
  2. Положите CDEV.EquipmentSlots.dll в BepInEx/plugins/CDEV.EquipmentSlots/ — менеджер модов сделает это сам.

Перед удалением мода освободите слоты. Это ячейки вашего же инвентаря ниже видимой сетки: без мода игра выбросит всё, что там лежит, вам под ноги при следующем появлении в мире.

Мультиплеер

Клиентский мод — по сети ничего нового не передаётся, слоты живут в инвентаре персонажа. Сервер с модом требует его от каждого клиента (Jötunn ClientMustHaveMod); серверы без мода пускают всех.

Совместимость

  • Better Archery 2.0.0 — колчан надевается в ячейку стрел, его стрелы лежат в окошке сбоку, своих рядов Better Archery не добавляет.
  • QuickStackStore — сортировка, складывание и корзина слотов не касаются; автопополнение может пополнить незапертый быстрый слот.
  • MouseTweaks — правый клик работает и в панели.
  • EquipmentAndQuickSlots — вместе не работают, мод уступает ему место.
  • Геймпад — навигации по панели пока нет.

Настройки и языки

BepInEx/config/cdev.equipmentslots.cfg: шесть клавиш быстрых слотов и модификатор Alt, HUD (вкл/выкл, смещение, отступ), панель (смещение, персонаж, замочки). Тексты на 22 языках, язык берётся из настроек игры.

Автор

CDEV, для сервера друзей. Об ошибках пишите, приложив кусок BepInEx/LogOutput.log.

Лицензия: MIT (файл LICENSE лежит в архиве).

CHANGELOG

Changelog

0.1.4

  • Page only: a shorter description in English and Russian, and screenshots of the panel. The mod is the same as 0.1.3.

0.1.3

  • A padlock on every cell of the panel: a locked cell is left alone by everything that moves many items at once — vanilla's "stack similar" and QuickStackStore's quick stack, store, sort and restock. Saved with the character.
  • Better Archery's quiver is worn in the ammo slot, and its three ammo cells moved into a window of their own beside the panel. Arrows put on while it is worn go into the quiver and never push it out; taking it off empties the window back into the inventory.
  • Quick slots 4–6 can have keys of their own (QuickSlots.Key4–Key6), used without any modifier.
  • "Stack similar" takes nothing out of the slots, and picking things up never fills an empty slot cell — a full backpack is reported full, as in vanilla.
  • The panel is drawn in the vanilla window's own wood with braided titles, is only as tall as it needs to be, and keeps its place whether the quiver window is there or not.

0.1.2

First public release.

  • Equipment slots outside the inventory grid — helmet, chest, legs, cape, belt, trinket and an ammo slot. An item is worn exactly while it sits in its slot.
  • Six quick slots: Z / V / B and the same keys with Left Alt. The HUD shows three of them next to the forsaken power and switches to the other three while Alt is held.
  • The panel is a character sheet between the inventory and the crafting panel, with your character standing in it wearing what you put on (Panel.ShowCharacter).
  • Better Archery's quiver is hosted by the mod, so it adds no rows of its own.
  • Characters coming from EquipmentAndQuickSlots are converted on the first load without it: quick slots, equipment and quiver keep their items, everything else moves into the grid, nothing is deleted. Next to EAQS this mod switches itself off.
  • Death, graves and CDEV.SleepingPlayers bodies keep the slot of every item: taking your own gear back puts it into its slot and back on.
  • Texts in 22 languages, switched with the game's own language setting.