BROHEIM_CYBRP-ItemDrawers icon

ItemDrawers

Standalone rework of kg_ItemDrawers with station auto-feed, QuickStack integration, Norse font, outline/shadow text effects, and mod API.

Last updated 3 days ago
Total downloads 244
Total rating 1 
Categories Mods Client-side Utility AI Generated
Dependency string BROHEIM_CYBRP-ItemDrawers-1.0.2
Dependants 0 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2333 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.2333
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

BROHEIM ItemDrawers

A standalone rework and improvement of the original kg_ItemDrawers mod by KGvalheim. This mod integrates the functionality of BROHEIM DrawerAuto and QuickStackDrawersBridge into a single, self-contained package with additional features.




Features

Core Storage

  • 7 drawer variants: Wood, Stone, Black Marble, Panel variants (Wood/Stone/Marble), and an invisible No-Model variant
  • Single-item-type bulk storage: Each drawer holds one item type at a time with a large stack count
  • Visual display: Item icon, stack count, and quality stars shown directly on the drawer face
  • Support for modded and enchanted items: Items with custom data from other mods can be stored (custom data is stripped on deposit)
  • Auto-pickup: Drawers automatically pull matching ground items within a configurable range (with VFX explosion effect)
  • Per-drawer customization: Crouch + Use to open the drawer options GUI — change text color (RGB) and pickup range per drawer
  • Exclude list: Config-driven list of item prefab names that cannot be stored in drawers
  • Contents drop on destroy: Breaking a drawer drops all contents at the location
  • Dungeon placement: Drawers can be placed inside dungeons
  • Custom build category: Dedicated "Item Drawers" tab in the Hammer build menu (via Jotunn)

Text Effects

  • Norse-Bold font: Embedded TTF loaded at runtime, applied to stack count digits
  • Configurable outline: Black outline around digits for readability on any background
  • Configurable drop shadow: Soft shadow under digits with adjustable offset, softness, color, and opacity
  • Tiffany turquoise default color: #0ABAB5 (RGB 10, 186, 181) — fully customizable

Station Auto-Feed & Deposit

Drawers integrate with Valheim's production stations automatically:

  • Feed from drawers (stations pull fuel/materials):
    • Smelter, Kiln (uses extended SmelterRadius)
    • Cooking station (fuel + raw food)
    • Fireplace (fuel)
    • Fermenter (input items when idle)
  • Deposit to drawers (stations push finished output):
    • Cooking station (cooked food)
    • Beehive (honey)
    • Sap collector (sap/resin)
  • All station operations are throttled to 1 second per station instance for performance

QuickStackStore Integration

  • Quick Stack (P): Also deposits stackable inventory items into matching nearby drawers
  • Restock (L): Also tops up partially filled stacks from matching nearby drawers
  • Respects QuickStackStore range, hotbar inclusion, and favorited item settings
  • Optional soft dependency — works without QuickStackStore installed

AzuCraftyBoxes Compatibility

  • Build and craft material pulling from drawers is handled by AzuCraftyBoxes
  • Drawers are automatically detected by AzuCraftyBoxes via the mod API
  • No additional configuration needed — just install both mods

Mod API

The mod exposes API.ClientSideV2 for third-party integration:

  • AllDrawers() — returns all valid drawer ZNetView instances
  • Other mods can query drawer contents, add/withdraw items via RPC
  • Drawer ZDO fields: Prefab (string), Amount (int), Quality (int), PickupRange (int), Color (Vector3)

Configuration

Config file: BepInEx/config/kg.ItemDrawers.cfg

[General]

Setting Default Description
ExcludeList (empty) Comma-separated item prefab names excluded from drawers
DrawerPickupRange 4 Default auto-pickup range (blocks)
MaxDrawerPickupRange 100 Max pickup range adjustable in per-drawer GUI
DefaultColor (0.039, 0.729, 0.710) Default text color — Tiffany turquoise #0ABAB5

[TextEffects]

Setting Default Description
OutlineEnabled true Enable outline around count digits
OutlineWidth 0.15 Outline thickness (0.0–1.0)
OutlineColor black Outline color
ShadowEnabled true Enable drop shadow
ShadowColor (0, 0, 0, 0.6) Shadow color (alpha = opacity)
ShadowOffset 0.4 Shadow offset distance (0.0–1.0)
ShadowSoftness 0.15 Shadow blur/softness (0.0–1.0)

[StationAuto]

Setting Default Description
Enabled true Master switch for station integration
Radius 8 Search radius (m) for most stations
SmelterRadius 15 Extended radius (m) for smelters/kilns
FeedFromDrawers true Stations pull fuel/materials from drawers
DepositToDrawers true Stations push finished output into drawers
DebugLogs false Verbose logging

[QuickStackBridge]

Setting Default Description
Enabled true Master switch
QuickStackToDrawers true Quick Stack (P) deposits into drawers
RestockFromDrawers true Restock (L) tops up from drawers
DebugLogs false Verbose logging

Player Interactions

Action Behavior
Use hotbar item on drawer Deposits matching item (same prefab + quality)
Use Withdraw full stack (up to item max stack)
Left Alt + Use Withdraw 1 item
Left Shift + Use Deposit all matching items from inventory
Crouch + Use Open per-drawer options GUI (color, pickup range)

Dependencies

  • BepInEx Pack for Valheim (denikson)
  • Jotunn (ValheimModding) — for custom build category

Optional Integrations

  • QuickStackStore (Goldenrevolver) — Quick Stack + Restock with drawers
  • AzuCraftyBoxes (Azumatt) — build/craft material pulling from drawers

Credits

This mod is a standalone rework and improvement of the original kg_ItemDrawers by KGvalheim. It merges the functionality of BROHEIM DrawerAuto (station auto-feed/deposit) and BROHEIM QuickStackDrawersBridge (QuickStackStore integration) into a single mod, and adds custom font support, text outline/shadow effects, and a mod API.


AI-Generated

Portions of this mod were created with the assistance of AI tools.