Widgets Inventory - drizztdourden08/relic-of-the-past GitHub Wiki

Inventory Widget

A live grid of the items Link currently owns. Items show up as you collect them.

  • View modes let you pick between different grid sizes and groupings.
  • Sprites are pulled straight from your ROM, so they match the game (Sprite Tools).
  • It's handy for tracking completion and planning routes.

Data source

The widget polls the live inventory each frame through the tracker bridge (WasmGetInventoryState and WasmGetGameUIState); see the Inventory & Progress hooks. State lives in stores/game-ui-store.ts.