Alnerius12-ExtraFoodZenUIBridge icon

ExtraFoodZenUIBridge

Bridge for ExtraFoodSlot and ZenUI: applies ZenUI's colored food bars to the 4th food slot added by ExtraFoodSlot. Needs both mods.

Last updated 4 days ago
Total downloads 25
Total rating 0 
Categories AI Generated Client-side
Dependency string Alnerius12-ExtraFoodZenUIBridge-1.0.0
Dependants 0 other packages depend on this package

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
ZenDragon-ZenUI-1.9.3 icon
ZenDragon-ZenUI

Crafting panel icons, grouping, sorting, and searching. Colored durability bars. Colored food bars. Ammo remaining. Hide status effect icons. Biome notifications. Disable slide anim. Auto open skills. Disable shout capitalization. First-person camera

Preferred version: 1.9.3

README

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

  1. Install this mod with your mod manager (the requirements are installed automatically).
  2. In the BepInEx log you should see: Listo: ZenUI coloreara tambien el cuarto slot de comida. at startup and Fondo 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).