dfhack/docs/plugins/dwarfmonitor.rst

50 lines
1.4 KiB
ReStructuredText

dwarfmonitor
============
.. dfhack-tool::
2022-11-11 18:42:18 -07:00
:summary: Report on dwarf preferences and efficiency.
2022-08-12 00:34:37 -06:00
:tags: fort inspection jobs units
It can also show heads-up display widgets with live fort statistics.
2022-08-17 23:42:02 -06:00
Usage
-----
``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-25 00:08:44 -06:00
Widget configuration
--------------------
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-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-11-11 18:42:18 -07:00
They can be enabled or disable via the `overlay` command.
2022-11-11 18:42:18 -07:00
The :file:`dfhack-config/dwarfmonitor.json` file can be edited to specify the
format for the ``dwarfmonitor.date`` widget:
2022-11-11 18:42:18 -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
2022-11-11 18:42:18 -07:00
The default date format is ``Y-M-D``, per the ISO8601_ standard.
2022-11-11 18:42:18 -07:00
.. _ISO8601: https://en.wikipedia.org/wiki/ISO_8601