Skip to content
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions docs/gui/tooltips.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
gui/tooltips
============

.. dfhack-tool::
:summary: Show name and job tooltips near units on map.
:tags: fort inspection

**IMPORTANT NOTE**: the tooltips will show over any vanilla UI elements!


This script shows "tooltips" in two optional modes:

* following the mouse, when a unit is underneath the cursor;
* following units on the map.

Information shown includes happiness indicator, name, and current job.

Copy link
Copy Markdown
Member

@myk002 myk002 Jan 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs disclaimer that tooltips will show over any vanilla UI elements:
image

The dig ascii overlays suffer from the same problem. I don't know of any good solution here. I'm not saying that any behavior needs to change -- just needs to be documented.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added an **IMPORTANT NOTE** at the beginning of the description text

Usage
-----

::

gui/tooltips
Loading