Food Bag
A separate food bag in AzuExtendedPlayerInventory's panel: food-only slots, auto eat when a food runs out, and a quick eat key.
模組介紹 作者原文
Food Bag
A separate food bag for AzuExtendedPlayerInventory:
a few slots in AzuEPI's equipment panel that only take food, and that keep you fed by themselves.
Features
- Food bag slots (Food 1, Food 2, Food 3 by default) next to AzuEPI's equipment and quick slots. They only
accept food - no potions, meads or other items.
- Auto eat from the bag:
- when one of your three food slots is free, a food from the bag that you are not already eating is eaten;
- when a food is about to run out (below Refresh below % of its time, default 5%), the same food is eaten again
if the bag has it - otherwise another food from the bag, if Use another food is on.
- Quick eat key (default Left Alt + F): eat from the bag right now - fills a free food slot or refreshes the
food closest to running out.
- Uses the game's own "eat" (the same as a right click on the food), so every vanilla rule applies: the game only
lets you eat a food again after half of its time.
Configuration
BepInEx/config/ValheimLiteni.FoodBag.cfg (or in game with a configuration manager):
| Section | Setting | Default |
|---|---|---|
| 1 - General | Enabled | true |
| 2 - Food bag | Slots | 3 (1-6, restart the game after changing; empty removed slots first) |
| 2 - Food bag | Slot name | Food |
| 3 - Auto eat | Auto eat | true |
| 3 - Auto eat | Refresh below % | 5 (0 = only when a food has run out) |
| 3 - Auto eat | Use another food | true |
| 4 - Quick eat | Quick eat key | Left Alt + F |
| 4 - Quick eat | Messages | true |
Install
Client side: everyone who wants a food bag installs it. It needs AzuExtendedPlayerInventory (a dependency), which
should be on the server and all clients as usual.
Before removing the mod, move the food out of the bag slots.
Changelog
- 1.0.0 - first version
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: