2022-07-10 00:01:46 -06:00
|
|
|
dwarfmonitor
|
|
|
|
============
|
|
|
|
|
2022-08-09 23:37:24 -06:00
|
|
|
.. dfhack-tool::
|
2022-11-11 18:42:18 -07:00
|
|
|
:summary: Report on dwarf preferences and efficiency.
|
2023-10-14 14:24:50 -06:00
|
|
|
:tags: unavailable
|
2022-08-09 23:37:24 -06:00
|
|
|
|
|
|
|
It can also show heads-up display widgets with live fort statistics.
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-08-17 23:42:02 -06:00
|
|
|
Usage
|
|
|
|
-----
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-07-25 11:22:42 -06:00
|
|
|
``enable dwarfmonitor``
|
2022-11-11 18:42:18 -07:00
|
|
|
Enable tracking of job efficiency for display on the ``dwarfmonitor stats``
|
|
|
|
screen.
|
2022-07-25 00:08:44 -06:00
|
|
|
``dwarfmonitor stats``
|
2022-11-11 18:42:18 -07:00
|
|
|
Show statistics and efficiency summary.
|
2022-07-25 00:08:44 -06:00
|
|
|
``dwarfmonitor prefs``
|
2022-11-11 18:42:18 -07:00
|
|
|
Show a summary of preferences for dwarves in your fort.
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-07-25 00:08:44 -06:00
|
|
|
Widget configuration
|
|
|
|
--------------------
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-11-11 18:42:18 -07:00
|
|
|
The following widgets are registered for display on the main fortress mode
|
|
|
|
screen with the `overlay` framework:
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-11-11 18:42:18 -07:00
|
|
|
``dwarfmonitor.cursor``
|
|
|
|
Show the current keyboard and mouse cursor positions.
|
|
|
|
``dwarfmonitor.date``
|
2022-07-25 00:08:44 -06:00
|
|
|
Show the in-game date.
|
2022-11-11 18:42:18 -07:00
|
|
|
``dwarfmonitor.misery``
|
|
|
|
Show overall happiness levels of all dwarves.
|
|
|
|
``dwarfmonitor.weather``
|
2022-07-25 00:08:44 -06:00
|
|
|
Show current weather (e.g. rain/snow).
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-11-11 18:42:18 -07:00
|
|
|
They can be enabled or disable via the `overlay` command.
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-11-30 22:19:16 -07:00
|
|
|
The :file:`dfhack-config/dwarfmonitor.json` file can be edited to change widget
|
|
|
|
configuration with any of the following fields:
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-11-30 22:19:16 -07:00
|
|
|
* ``date_format`` (string): format for the ``dwarfmonitor.date`` widget:
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-11-30 22:19:16 -07:00
|
|
|
* ``Y`` or ``y``: The current year
|
|
|
|
* ``M``: The current month, zero-padded if necessary
|
|
|
|
* ``m``: The current month, *not* zero-padded
|
|
|
|
* ``D``: The current day, zero-padded if necessary
|
|
|
|
* ``d``: The current day, *not* zero-padded
|
|
|
|
|
|
|
|
The default date format is ``Y-M-D``, per the ISO8601_ standard.
|
|
|
|
|
|
|
|
* ``coords_type`` (string): the coordinate type to show in the ``dwarfmonitor.cursor`` widget:
|
|
|
|
|
|
|
|
* ``all`` (the default): show all of the coordinate types listed here
|
|
|
|
* ``mouse_ui``: the X/Y UI coordinates of the tile the mouse is positioned over
|
|
|
|
* ``mouse_map``: the X/Y/Z map coordinates of the tile the mouse is
|
|
|
|
positioned over (only if over the map)
|
|
|
|
* ``keyboard_map``: the X/Y/Z map coordinates of the tile selected by the
|
|
|
|
keyboard-controlled ``X`` cursor in DF (if active)
|
|
|
|
|
|
|
|
* ``coords_short`` (boolean, default: ``false``): if ``true``, hides explanatory
|
|
|
|
text from the ``dwarfmonitor.cursor`` widget, and only shows coordinates as
|
|
|
|
``(X,Y,Z)``
|
|
|
|
|
|
|
|
Example configuration file:
|
|
|
|
|
|
|
|
.. code-block:: json
|
|
|
|
|
|
|
|
{
|
|
|
|
"date_format": "m/d/y",
|
|
|
|
"coords_type": "mouse_map",
|
|
|
|
"coords_short": false
|
|
|
|
}
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-11-11 18:42:18 -07:00
|
|
|
.. _ISO8601: https://en.wikipedia.org/wiki/ISO_8601
|