You are viewing a potentially older version of this package. View all versions.
T3AM-FoodHighlighter-1.0.1 icon

FoodHighlighter

Outlines the best healing, best stamina and best mixed food you haven't eaten - all at once. Outline is the negative of each fork's color. Nothing when all slots are full.

By T3AM
Date uploaded 2 days ago
Version 1.0.1
Download link T3AM-FoodHighlighter-1.0.1.zip
Downloads 9
Dependency string T3AM-FoodHighlighter-1.0.1

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2333 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.2333

README

FoodHighlighter

Never squint at your food bar again. FoodHighlighter draws an outline around the fork icon of the best food you haven't eaten yet - one highlight for each food type - so at a glance you know what to eat next.

The fork icon is the little food-type marker Valheim already shows on food items, colored by type (healing / stamina / eitr / mixed). This mod outlines the best one you haven't eaten in each type.

How it picks

  • Every food is sorted by the same rule Valheim uses to color its fork icon - healing, stamina, eitr, or mixed.
  • In each type it finds the best food (by total value) whose type you don't currently have active and outlines its fork.
  • All three highlights show at once - so your best healing food, best stamina food, and best mixed food are lit at the same time. Got two stamina foods? Only the better one is outlined.
  • Eaten your best of a type already? The outline moves to the next-best of that type you haven't eaten.
  • All 3 food slots full? Nothing is highlighted - there's nothing new to eat.

The outline color is the photo-negative of each fork's own color, so a highlighted fork always contrasts sharply against itself and is easy to spot.

Only your own inventory is highlighted - chests and other containers are left alone.

Config

Config file: BepInEx/config/FoodHighlighter.cfg

  • Enabled (default true) - master switch.
  • OutlineThickness (default 1.5) - outline thickness in pixels.

Notes

Requires BepInEx. Purely visual and client-side - it changes nothing about the game itself, just adds an outline in your inventory UI.

CHANGELOG

Changelog

1.0.2

  • Fixed: eaten foods weren't being detected, so the outline stayed on the food you'd already eaten instead of moving to the next-best. Now, once you eat a food, its type's highlight advances to the next-best food you haven't eaten.

1.0.1

  • Now highlights the best of each food type at once: best healing, best stamina, and best mixed food you haven't eaten - all lit at the same time.
  • Foods are bucketed by the same rule the game uses to color the fork icon (healing / stamina / eitr / mixed), so the buckets match the fork colors you see.
  • Outline color is now the photo-negative of each fork's own color, so a highlight always stands out against it.
  • Thinner default outline (1.5 px).
  • Removed the OutlineColor config (color is now derived automatically).

1.0.0

  • Initial release.
  • Outlines the fork icon of the best not-yet-eaten food in your inventory.
  • Skips foods whose type is already active; highlights nothing when all 3 food slots are full.
  • Config: Enabled, OutlineColor, OutlineThickness.