You are viewing a potentially older version of this package. View all versions.
Alnerius12-FoodBagExtraFoodBridge-1.0.0 icon

FoodBagExtraFoodBridge

Bridge for Food Bag and ExtraFoodSlot: lets Food Bag's auto eat use the 4th food slot added by ExtraFoodSlot. Needs both mods.

Date uploaded 2 weeks ago
Version 1.0.0
Download link Alnerius12-FoodBagExtraFoodBridge-1.0.0.zip
Downloads 34
Dependency string Alnerius12-FoodBagExtraFoodBridge-1.0.0

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
nick008-ExtraFoodSlot-1.0.8 icon
nick008-ExtraFoodSlot

Adds a fourth active food slot to Valheim 1.0, including HUD icon, timer and background. Tested on Valheim 1.0.7. Requires only BepInEx.

Preferred version: 1.0.8
ValheimLiteni-Food_Bag-1.1.0 icon
ValheimLiteni-Food_Bag

A separate food bag in your inventory (AzuExtendedPlayerInventory or Equipment and Quick Slots): food-only slots, auto eat, quick eat key.

Preferred version: 1.1.0

README

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

  1. Install this mod with your mod manager (the requirements above are installed automatically, except the inventory mod you choose for Food Bag).
  2. In BepInEx/config/ValheimLiteni.FoodBag.cfg, set Slots to 4 (section "2 - Food bag", range 1-6) and restart the game.
  3. 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).

CHANGELOG

Changelog

1.1.0

  • Sets Food Bag's Slots to 4 when it is at 3 (its default). Other values are left alone. Can be turned off in the config.

1.0.0

  • First release.