
You are viewing a potentially older version of this package. View Latest Version
FoodBagExtraFoodBridge
Bridge for Food Bag and ExtraFoodSlot: lets Food Bag's auto eat use the 4th food slot added by ExtraFoodSlot. Needs both mods.FoodBag ExtraFood Bridge
A tiny bridge between Food Bag (ValheimLiteni) and ExtraFoodSlot (nick008).
The problem
ExtraFoodSlot raises the game's active food limit from 3 to 4, but Food Bag's auto eat only eats a new food while fewer than 3 foods are active. So even with 4 slots in the bag, the 4th food is never eaten.
What this mod does
It changes that built-in limit of 3 to 4 inside Food Bag's auto-eat check, at runtime (Harmony transpiler). With it, Food Bag's auto eat keeps all four active food slots filled.
It does not include or modify any file of the other mods. It only needs them installed.
Requirements
- Food_Bag 1.1.0 or newer
- ExtraFoodSlot 1.0.8 or newer
- One of the inventory mods Food Bag works with (AzuExtendedPlayerInventory or Equipment and Quick Slots)
Setup
- Install this mod with your mod manager (the requirements above are installed automatically, except the inventory mod you choose for Food Bag).
- In
BepInEx/config/ValheimLiteni.FoodBag.cfg, set Slots to4(section "2 - Food bag", range 1-6) and restart the game. - In the BepInEx log you should see:
Listo: FoodBag ahora come hasta 4 comidas activas.
Compatibility
- Client side only.
- If a future Food Bag update changes the code this mod patches, the patch is skipped and a warning is written to the BepInEx log instead of breaking anything.
- May conflict with other mods that also change Food Bag's auto eat.
Credits
Food Bag by ValheimLiteni and ExtraFoodSlot by nick008 do all the real work; this is only the glue between them. This mod was written with AI assistance (Claude).