Tooltip

The tooltip is a dynamic info panel that follows the mouse and displays contextual data for any UI element that has hover metadata.
It supports:
Title, description, and key-value fields
Rarity styling
Future keypress-based action hints
Full integration using
on_hoverblocks
Structure
Tooltips are defined on any UI element via the on_hover table:
Attach this block using on_hover key in UI config.
Rarity Themes
Tooltip headers adapt colours based on rarity.
This uses var(--rarity_x) theming for visual identity.
uncommon
--rarity_uncommon
common
--rarity_common
rare
--rarity_rare
epic
--rarity_epic
legendary
--rarity_legendary
Tooltip Sections
Each tooltip supports 4 sections:
title
The main tooltip title with optional rarity label.
description
Array of text lines shown as a paragraph block.
values
Key-value display for stats, attributes, etc.
actions
Shows a list of interactive keypresses.
Last updated