ExtraFoodZenUIBridge
Bridge for ExtraFoodSlot and ZenUI: applies ZenUI's colored food bars to the 4th food slot added by ExtraFoodSlot. Needs both mods.ExtraFood ZenUI Bridge
A tiny bridge between ExtraFoodSlot (nick008) and ZenUI (ZenDragon).
The problem
ZenUI colors the food slots of the HUD by food type (health, stamina, eitr, balanced). ExtraFoodSlot adds a 4th food slot to the HUD, but ZenUI does not know about it, so the 4th slot never gets a color.
What this mod does
It adds the background of the 4th food slot to ZenUI's own list of food backgrounds. ZenUI then colors it with exactly the same logic and the same colors as the other three slots. Nothing from ZenUI's code is copied.
It does not include or modify any file of the other mods. It only needs them installed.
Requirements
- ZenUI 1.9.3 or newer, with Colored Food Bars enabled in its config
- ExtraFoodSlot 1.0.8 or newer
Setup
- Install this mod with your mod manager (the requirements are installed automatically).
- In the BepInEx log you should see:
Listo: ZenUI coloreara tambien el cuarto slot de comida.at startup andFondo del cuarto slot enlazado a ZenUI.after entering a world.
Compatibility
- Client side only.
- Works with the vanilla Valheim HUD. It does nothing when ZenUI runs in its AugaLite mode.
- If a future ZenUI or ExtraFoodSlot update changes what this mod relies on, it turns itself off and writes a warning to the BepInEx log instead of breaking anything.
Check out my other mod
Using Food Bag? Try FoodBag ExtraFood Bridge. It lets Food Bag's auto eat use the 4th food slot added by ExtraFoodSlot.
Credits
ZenUI by ZenDragon and ExtraFoodSlot by nick008 do all the real work; this is only the glue between them. This mod was written with AI assistance (Claude).
