You are viewing a potentially older version of this package. View all versions.
Vercadi-RunicFoodGuard-0.1.3 icon

RunicFoodGuard

Keep ExtraSlots food-slot stacks when using RunicStorage Quick Stack, while spare stacks still go into storage. Client-only. Supports RunicStorage 1.3.9 with ExtraSlots 1.2.13 or 1.2.14.

Date uploaded 2 weeks ago
Version 0.1.3
Download link Vercadi-RunicFoodGuard-0.1.3.zip
Downloads 44
Dependency string Vercadi-RunicFoodGuard-0.1.3

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
Chazman-RunicStorage-2.3.0 icon
Chazman-RunicStorage

Quick Stack through live inventories, plus multi-access chests, SmartSort, chest rules, restock, search and protected inventory trash.

Preferred version: 2.3.0
shudnal-ExtraSlots-1.2.16 icon
shudnal-ExtraSlots

More inventory slots dedicated for equipment, food, ammo and misc items. Extra utility slots. Quick slots. Custom slots API. Player inventory resize. Gamepad friendly. Slot obtaining progression.

Preferred version: 1.2.16

README

RUNIC FOOD GUARD

KEEP YOUR PROVISIONS PACKED

Unload the haul. Keep your next meal.

Back at base, one Quick Stack should put away your gathered materials without sending your travel food into a chest. Runic Food Guard connects RunicStorage with ExtraSlots so the stacks in your three dedicated food slots stay with you. Spare food in your regular inventory can still be stashed.

Compatibility / v0.1.3
Built against Valheim 1.0.16 with BepInExPack Valheim 5.4.2351. Requires RunicStorage 1.3.9 and ExtraSlots 1.2.13 or 1.2.14. These versions are checked exactly. Install on each player client; the dedicated server does not need it.

Support me on Ko-fi

SUPPORT ME ON KO-FI

If this saves you a trip back to the pantry, buy me a coffee. Your support helps me spend more time on compatibility fixes and small improvements for modded games. A tip is optional and appreciated. Vercadi


PROVISIONS / WHAT STAYS WITH YOU

  • All three ExtraSlots food-slot stacks stay carried during RunicStorage Quick Stack.
  • Spare stacks of the same food in regular inventory remain eligible for storage.
  • Your chosen shortcuts still work. This follows the food slots, regardless of their bindings. Quick Stack uses your RunicStorage binding, normally Left Alt+Q.
  • Existing RunicStorage protections remain in place, including its configured hotbar and equipped-item rules.

The protection also covers Quick Stack's controller action and deferred retries. It adds no new keybind, item, inventory slot, recipe or world data.

This applies to Quick Stack only. Store All (normally Alt+A), restocking, consolidation, crafting, recycling, manual transfers and other mods' storage actions keep their normal behavior.

PACK FOR THE ROAD / INSTALLATION

  1. Close Valheim.
  2. In your mod manager, select the profile you play with and install RunicFoodGuard with the dependency versions listed above.
  3. Launch the modded game. Put food in ExtraSlots' dedicated food slots and use RunicStorage Quick Stack as usual.

Each friend needs the add-on on their own client to protect their own food. It introduces no server requirement, and you can keep your existing character and world.

Manual installation: install the required dependencies first. Extract this package's plugins/RunicFoodGuard folder into your active BepInEx/plugins directory, so the DLL is at BepInEx/plugins/RunicFoodGuard/RunicFoodGuard.dll.

Coming from the local test package? With Valheim closed, remove the locally imported Runic Food Guard entry before installing the Thunderstore package. Keep only one copy of RunicFoodGuard.dll. Back up its config first if you changed it.

Removal: close the game and uninstall this add-on through your manager, or remove its DLL from a manual installation. Its config file can also be removed. Food slots themselves belong to ExtraSlots and remain unchanged.

YOUR SETTINGS

The first launch creates BepInEx/config/compat.runicstorage.extraslots.foodguard.cfg:

[General]
Enabled = true
DebugLogging = false

Enabled turns this protection on or off. DebugLogging records the number of protected food stacks per Quick Stack attempt; leave it off unless investigating a problem. Edit the file with Valheim closed, or use a compatible in-game configuration manager.

FIELD NOTES / IF SOMETHING GOES WRONG

Food is still being stashed: confirm you used Quick Stack, the food was in the dedicated food slots, and the mod is installed in the profile you launched. In BepInEx/LogOutput.log, look for:

Food-slot Quick Stack protection installed. RunicStorage 1.3.9 / ExtraSlots 1.2.14. Enabled=True.

After a dependency update: unsupported versions or changed hooks leave the add-on inactive. Its startup error includes FOOD PROTECTION NOT ACTIVE; normal RunicStorage behavior then continues without this extra protection. Missing or older dependencies may instead produce a BepInEx dependency error. Check versions before relying on the protection again.

A Quick Stack attempt is skipped: if the active add-on cannot read the food slots, it cancels that attempt before transferring items and shows a message. Include the full BepInEx log, mod versions and the action you used in a bug report.

CREDITS

Created by Vercadi as an independent compatibility add-on. Thanks to Chazman for RunicStorage and shudnal for ExtraSlots. This is not an official release from either author; their binaries and Valheim assemblies are not included.

The original code and package icon use the included MIT license. Development used AI assistance. The linked Ko-fi button is Ko-fi's brand artwork.


Enjoying my work? Buy me a coffee on Ko-fi. A useful bug report helps too.

CHANGELOG

Changelog

0.1.7

  • Migrates food-slot protection to RunicStorage 2.3.0’s synchronous native Quick Stack path.
  • Verifies that both full and single-stack shortcuts reach the protected action.
  • Preserves upstream protection, spare-food transfers and existing settings.

0.1.6

  • Support ExtraSlots 1.2.16 with RunicStorage 1.4.1 after checking the Quick Stack call path.
  • Preserve food-slot stacks during whole-inventory and single-stack Quick Stack.

0.1.5

  • Support RunicStorage 1.4.1 and ExtraSlots 1.2.15, including whole-inventory and single-stack Quick Stack.
  • Keep food-slot protection scoped to Quick Stack. SmartSort and Inventory Trash are not intercepted by this helper.

0.1.4

Support RunicStorage 1.3.12 with ExtraSlots 1.2.13 or 1.2.14. Food-slot protection also applies to the new single-stack Quick Stack shortcut and its delayed retries.

0.1.3

  • Keeps ExtraSlots food-slot stacks protected with RunicStorage 1.3.9, including Quick Stack retries.

0.1.2

  • Restored food-slot Quick Stack protection with ExtraSlots 1.2.14.
  • Retained compatibility with ExtraSlots 1.2.13.

0.1.1

  • Updated compatibility with RunicStorage 1.3.8 and ExtraSlots 1.2.13.
  • Kept all three food-slot stacks protected during Quick Stack, including delayed retries.

0.1.0

  • Initial release for RunicStorage 1.3.4 and ExtraSlots 1.2.12.
  • Protected the three ExtraSlots food-slot stacks during RunicStorage Quick Stack.
  • Allowed spare food stacks to be stashed while respecting existing RunicStorage protections.
  • Added optional diagnostic logging and startup compatibility checks.