migrate all docs to the new directives

add a summary option for tools and commands so we can output them with
their tags and keybindings at the top of the file.
develop
myk002 2022-08-09 22:37:24 -07:00
parent 4f799a152a
commit f9930b313a
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
122 changed files with 913 additions and 665 deletions

@ -1,13 +1,13 @@
alias alias
===== =====
**Tags:** `tag/system`
:dfhack-keybind:`alias` .. dfhack-tool::
:summary: Configure helper aliases for other DFHack commands.
:index:`Configure helper aliases for other DFHack commands. :tags: system
<alias; Configure helper aliases for other DFHack commands.>` Aliases are
resolved immediately after built-in commands, which means that an alias cannot Aliases are resolved immediately after built-in commands, which means that an
override a built-in command, but can override a command implemented by a plugin alias cannot override a built-in command, but can override a command implemented
or script. by a plugin or script.
Usage: Usage:

@ -1,8 +1,13 @@
cls cls
=== ===
**Tags:** `tag/system`
:dfhack-keybind:`cls`
:index:`Clear the terminal screen. <cls; Clear the terminal screen.>` Can also .. dfhack-tool::
be invoked as ``clear``. Note that this command does not delete command history. :summary: Clear the terminal screen.
It just clears the text on the screen. :tags: system
Can also be invoked as ``clear``. Note that this command does not delete command
history. It just clears the text on the screen.
Usage::
cls

@ -1,10 +1,11 @@
devel/dump-rpc devel/dump-rpc
============== ==============
Tags: `tag/system`
:dfhack-keybind:`devel/dump-rpc`
:index:`Write RPC endpoint information to the specified file. .. dfhack-tool::
<devel/dump-rpc; Writes RPC endpoint information to the specified file.>` :summary: Dump RPC endpoint info.
:tags: dev
Write RPC endpoint information to the specified file.
Usage:: Usage::

@ -1,7 +1,12 @@
die die
=== ===
**Tags:** `tag/system`
:dfhack-keybind:`die`
:index:`Instantly exit DF without saving. .. dfhack-tool::
<die; Instantly exit DF without saving.>` :summary: Instantly exit DF without saving.
:tags: system
Use to exit DF quickly and safely.
Usage::
die

@ -1,11 +1,11 @@
disable disable
======= =======
**Tags:** `tag/system`
:dfhack-keybind:`disable`
:index:`Deactivate a DFHack tool that has some persistent effect. .. dfhack-tool::
<disable; Deactivate a DFHack tool that has some persistent effect.>` See the :summary: Deactivate a DFHack tool that has some persistent effect.
`enable` command for more info. :tags: system
See the `enable` command for more info.
Usage:: Usage::

@ -1,14 +1,14 @@
enable enable
====== ======
**Tags:** `tag/system`
:dfhack-keybind:`enable`
:index:`Activate a DFHack tool that has some persistent effect. .. dfhack-tool::
<enable; Activate a DFHack tool that has some persistent effect.>` Many plugins :summary: Activate a DFHack tool that has some persistent effect.
and scripts can be in a distinct enabled or disabled state. Some of them :tags: system
activate and deactivate automatically depending on the contents of the world
raws. Others store their state in world data. However a number of them have to Many plugins and scripts can be in a distinct enabled or disabled state. Some
be enabled globally, and the init file is the right place to do it. of them activate and deactivate automatically depending on the contents of the
world raws. Others store their state in world data. However a number of them
have to be enabled globally, and the init file is the right place to do it.
Most such plugins or scripts support the built-in ``enable`` and `disable` Most such plugins or scripts support the built-in ``enable`` and `disable`
commands. Calling them at any time without arguments prints a list of enabled commands. Calling them at any time without arguments prints a list of enabled

@ -1,10 +1,11 @@
fpause fpause
====== ======
**Tags:** `tag/system`
:dfhack-keybind:`fpause`
:index:`Forces DF to pause. <fpause; Forces DF to pause.>` This is useful when .. dfhack-tool::
your FPS drops below 1 and you lose control of the game. :summary: Forces DF to pause.
:tags: system
This is useful when your FPS drops below 1 and you lose control of the game.
Usage:: Usage::

@ -1,11 +1,11 @@
help help
==== ====
**Tags:** `tag/system`
:dfhack-keybind:`help`
:index:`Display help about a command or plugin. .. dfhack-tool::
<help; Display help about a command or plugin.>` Can also be invoked as ``?`` :summary: Display help about a command or plugin.
or ``man`` (short for "manual"). :tags: system
Can also be invoked as ``?`` or ``man`` (short for "manual").
Usage:: Usage::

@ -1,12 +1,12 @@
hide hide
==== ====
**Tags:** `tag/system`
:dfhack-keybind:`hide`
:index:`Hide the DFHack terminal window. .. dfhack-tool::
<hide; Hide the DFHack terminal window.>` You can show it again with the `show` :summary: Hide the DFHack terminal window.
command, though you'll need to use it from a `keybinding` set beforehand or the :tags: system
in-game `command-prompt`.
You can show it again with the `show` command, though you'll need to use it from
a `keybinding` set beforehand or the in-game `command-prompt`.
Only available on Windows. Only available on Windows.

@ -1,12 +1,13 @@
keybinding keybinding
========== ==========
**Tags:** `tag/system`
:dfhack-keybind:`keybinding`
:index:`Create hotkeys that will run DFHack commands. .. dfhack-tool::
<keybinding; Create hotkeys that will run DFHack commands.>` Like any other :summary: Create hotkeys that will run DFHack commands.
command, it can be used at any time from the console, but bindings are not :tags: system
remembered between runs of the game unless re-created in `dfhack.init`.
Like any other command, it can be used at any time from the console, but
bindings are not remembered between runs of the game unless re-created in
`dfhack.init`.
Hotkeys can be any combinations of Ctrl/Alt/Shift with A-Z, 0-9, F1-F12, or Hotkeys can be any combinations of Ctrl/Alt/Shift with A-Z, 0-9, F1-F12, or
``\``` (the key below the ``Esc`` key. ``\``` (the key below the ``Esc`` key.

@ -1,11 +1,11 @@
kill-lua kill-lua
======== ========
**Tags:** `tag/system`
:dfhack-keybind:`kill-lua`
:index:`Gracefully stops any currently-running Lua scripts. .. dfhack-tool::
<kill-lua; Gracefully stops any currently-running Lua scripts.>` Use this :summary: Gracefully stop any currently-running Lua scripts.
command to stop a misbehaving script that appears to be stuck. :tags: system
Use this command to stop a misbehaving script that appears to be stuck.
Usage:: Usage::

@ -1,11 +1,11 @@
load load
==== ====
**Tags:** `tag/system`
:dfhack-keybind:`load`
:index:`Load and register a plugin library. .. dfhack-tool::
<load; Load and register a plugin library.>` Also see `unload` and `reload` for :summary: Load and register a plugin library.
related actions. :tags: system
Also see `unload` and `reload` for related actions.
Usage:: Usage::

@ -1,9 +1,10 @@
ls ls
== ==
**Tags:** `tag/system`
:dfhack-keybind:`ls`
:index:`List available DFHack commands. <ls; List available DFHack commands.>` .. dfhack-tool::
:summary: List available DFHack commands.
:tags: system
In order to group related commands, each command is associated with a list of In order to group related commands, each command is associated with a list of
tags. You can filter the listed commands by a tag or a substring of the tags. You can filter the listed commands by a tag or a substring of the
command name. Can also be invoked as ``dir``. command name. Can also be invoked as ``dir``.

@ -1,14 +1,13 @@
plug plug
==== ====
**Tags:** `tag/system`
:dfhack-keybind:`plug`
:index:`List available plugins and whether they are enabled. .. dfhack-tool::
<plug; List available plugins and whether they are enabled.>` :summary: List available plugins and whether they are enabled.
:tags: system
Usage: Usage::
``plug`` plug [<plugin> [<plugin> ...]]
Lists available plugins and whether they are enabled.
``plug <plugin> [<plugin> ...]`` If run with parameters, it lists only the named plugins. Otherwise it will list
Lists only the named plugins. all available plugins.

@ -1,11 +1,12 @@
reload reload
====== ======
**Tags:** `tag/system`
:dfhack-keybind:`reload`
:index:`Reload a loaded plugin. <reload; Reload a loaded plugin.>` Developers .. dfhack-tool::
use this command to reload a plugin that they are actively modifying. Also see :summary: Reload a loaded plugin.
`load` and `unload` for related actions. :tags: system
Developers use this command to reload a plugin that they are actively modifying.
Also see `load` and `unload` for related actions.
Usage:: Usage::

@ -1,12 +1,12 @@
sc-script sc-script
========= =========
**Tags:** `tag/system`
:dfhack-keybind:`sc-script`
:index:`Run commands when game state changes occur. .. dfhack-tool::
<sc-script; Run commands when game state changes occur.>` This is similar to :summary: Run commands when game state changes occur.
the static `init-files` but is slightly more flexible since it can be set :tags: system
dynamically.
This is similar to the static `init-files` but is slightly more flexible since
it can be set dynamically.
Usage: Usage:

@ -1,12 +1,12 @@
script script
====== ======
**Tags:** `tag/system`
:dfhack-keybind:`script`
:index:`Execute a batch file of DFHack commands. .. dfhack-tool::
<script; Execute a batch file of DFHack commands.>` It reads a text file and :summary: Execute a batch file of DFHack commands.
runs each line as a DFHack command as if it had been typed in by the user -- :tags: system
treating the input like `an init file <init-files>`.
It reads a text file and runs each line as a DFHack command as if it had been
typed in by the user -- treating the input like `an init file <init-files>`.
Some other tools, such as `autobutcher` and `workflow`, export their settings as Some other tools, such as `autobutcher` and `workflow`, export their settings as
the commands to create them - which can later be reloaded with ``script``. the commands to create them - which can later be reloaded with ``script``.

@ -1,13 +1,13 @@
show show
==== ====
**Tags:** `tag/system`
:dfhack-keybind:`show`
:index:`Unhides the DFHack terminal window. .. dfhack-tool::
<show; Unhides the DFHack terminal window.>` Useful if you have hidden the :summary: Unhides the DFHack terminal window.
terminal with `hide` and you want it back. Since the terminal window won't be :tags: system
available to run this command, you'll need to use it from a `keybinding` set
beforehand or the in-game `command-prompt`. Useful if you have hidden the terminal with `hide` and you want it back. Since
the terminal window won't be available to run this command, you'll need to use
it from a `keybinding` set beforehand or the in-game `command-prompt`.
Only available on Windows. Only available on Windows.

@ -1,11 +1,12 @@
tags tags
==== ====
**Tags:** `tag/system`
:dfhack-keybind:`tags`
:index:`List the strings that DFHack tools can be tagged with. .. dfhack-tool::
<tags; List the strings that DFHack tools can be tagged with.>` You can find :summary: List the strings that DFHack tools can be tagged with.
groups of related tools by passing the tag name to the `ls` command. :tags: system
You can find groups of related tools by passing the tag name to the `ls`
command.
Usage:: Usage::

@ -1,12 +1,13 @@
type type
==== ====
**Tags:** `tag/system`
:dfhack-keybind:`type`
:index:`Describe how a command is implemented. .. dfhack-tool::
<type; Describe how a command is implemented.>` DFHack commands can be provided :summary: Describe how a command is implemented.
by plugins, scripts, or by the core library itself. The ``type`` command can :tags: system
tell you which is the source of a particular command.
DFHack commands can be provided by plugins, scripts, or by the core library
itself. The ``type`` command can tell you which is the source of a particular
command.
Usage:: Usage::

@ -1,9 +1,10 @@
unload unload
====== ======
**Tags:** `tag/system`
:dfhack-keybind:`unload`
:index:`Unload a plugin from memory. <unload; Unload a plugin from memory.>` .. dfhack-tool::
:summary: Unload a plugin from memory.
:tags: system
Also see `load` and `reload` for related actions. Also see `load` and `reload` for related actions.
Usage:: Usage::

@ -2,13 +2,12 @@
======= =======
.. dfhack-tool:: .. dfhack-tool::
:summary: Rewrite layer veins to expand in 3D space.
:tags: fort mod map :tags: fort mod map
:index:`Rewrite layer veins to expand in 3D space. Existing, flat veins are removed and new 3D veins that naturally span z-levels
<3dveins; Rewrite layer veins to expand in 3D space.>` Existing, flat veins are generated in their place. The transformation preserves the mineral counts
are removed and new 3D veins that naturally span z-levels are generated in reported by `prospect`.
their place. The transformation preserves the mineral counts reported by
`prospect`.
Usage:: Usage::

@ -1,12 +1,19 @@
RemoteFortressReader RemoteFortressReader
==================== ====================
**Tags:** `tag/dev`
:dfhack-keybind:`RemoteFortressReader_version`
:dfhack-keybind:`load-art-image-chunk`
:index:`Backend for Armok Vision. .. dfhack-tool::
<RemoteFortressReader; Backend for Armok Vision.>` Provides an API for realtime :summary: Backend for Armok Vision.
remote fortress visualization. See :forums:`Armok Vision <146473>`. :tags: dev
:no-command:
.. dfhack-command:: RemoteFortressReader_version
:summary: Print the loaded RemoteFortressReader version.
.. dfhack-command:: load-art-image-chunk
:summary: Gets an art image chunk by index.
This plugin provides an API for realtime remote fortress visualization. See
:forums:`Armok Vision <146473>`.
Usage: Usage:

@ -1,11 +1,14 @@
add-spatter add-spatter
=========== ===========
**Tags:** `tag/adventure`, `tag/fort`, `tag/mod`, `tag/items`
:index:`Make tagged reactions produce contaminants. .. dfhack-tool::
<add-spatter; Make tagged reactions produce contaminants.>` Give some use to all :summary: Make tagged reactions produce contaminants.
those poisons that can be bought from caravans! The plugin automatically enables :tags: adventure fort mod items
itself when you load a world with reactions that include names starting with :no-command:
``SPATTER_ADD_``. These reactions will then produce contaminants on items
instead of improvements. The contaminants are immune to being washed away by Give some use to all those poisons that can be bought from caravans! The plugin
water or destroyed by `clean`. automatically enables itself when you load a world with reactions that include
names starting with ``SPATTER_ADD_``, so there are no commands to run to use it.
These reactions will then produce contaminants on items instead of improvements.
The contaminants are immune to being washed away by water or destroyed by
`clean`.

@ -1,12 +1,13 @@
autobutcher autobutcher
=========== ===========
**Tags:** `tag/fort`, `tag/auto`, `tag/fps`, `tag/animals`
:dfhack-keybind:`autobutcher`
Automatically butcher excess livestock. This plugin monitors how many pets you .. dfhack-tool::
have of each gender and age and assigns excess lifestock for slaughter. Requires :summary: Automatically butcher excess livestock.
that you add the target race(s) to a watch list. Units will be ignored if they :tags: fort auto fps animals
are:
This plugin monitors how many pets you have of each gender and age and assigns
excess lifestock for slaughter. It requires that you add the target race(s) to a
watch list. Units will be ignored if they are:
* Untamed * Untamed
* Nicknamed (for custom protection; you can use the `rename` ``unit`` tool * Nicknamed (for custom protection; you can use the `rename` ``unit`` tool

@ -1,10 +1,12 @@
autochop autochop
======== ========
**Tags:** `tag/fort`, `tag/auto`
:index:`Auto-harvest trees when low on stockpiled logs. .. dfhack-tool::
<autochop; Auto-harvest trees when low on stockpiled logs.>` This plugin can :summary: Auto-harvest trees when low on stockpiled logs.
designate trees for chopping when your stocks are low on logs. :tags: fort auto
:no-command:
This plugin can designate trees for chopping when your stocks are low on logs.
Usage:: Usage::

@ -1,11 +1,12 @@
autoclothing autoclothing
============ ============
**Tags:** `tag/fort`, `tag/auto`, `tag/jobs`
:dfhack-keybind:`autoclothing`
:index:`Automatically manage clothing work orders. .. dfhack-tool::
<autoclothing; Automatically manage clothing work orders.>` It allows you to :summary: Automatically manage clothing work orders.
set how many of each clothing type every citizen should have. :tags: fort auto jobs
This command allows you to set how many of each clothing type every citizen
should have.
Usage:: Usage::

@ -2,15 +2,20 @@ autodump
======== ========
.. dfhack-tool:: .. dfhack-tool::
:summary: Automatically set items in a stockpile to be dumped.
:tags: fort auto fps items stockpiles :tags: fort auto fps items stockpiles
:no-command:
.. dfhack-command:: autodump
:summary: Teleports items marked for dumping to the cursor position.
.. dfhack-command:: autodump-destroy-here .. dfhack-command:: autodump-destroy-here
:summary: Destroy items marked for dumping under the cursor.
.. dfhack-command:: autodump-destroy-item .. dfhack-command:: autodump-destroy-item
:summary: Destroys the selected item.
:index:`Automatically set items in a stockpile to be dumped. When `enabled <enable>`, this plugin adds an option to the :kbd:`q` menu for
<autodump (plugin); Automatically set items in a stockpile to be dumped.>` When
`enabled <enable>`, this plugin adds an option to the :kbd:`q` menu for
stockpiles. When the ``autodump`` option is selected for the stockpile, any stockpiles. When the ``autodump`` option is selected for the stockpile, any
items placed in the stockpile will automatically be designated to be dumped. items placed in the stockpile will automatically be designated to be dumped.
@ -44,8 +49,7 @@ Options
called again with this option before the game is resumed, it cancels called again with this option before the game is resumed, it cancels
pending destroy actions. pending destroy actions.
``destroy-here`` ``destroy-here``
:index:`Destroy items marked for dumping under the cursor. Destroy items marked for dumping under the cursor.
<autodump-destroy-here; Destroy items marked for dumping under the cursor.>`
``visible`` ``visible``
Only process items that are not hidden. Only process items that are not hidden.
``hidden`` ``hidden``
@ -57,10 +61,8 @@ Examples
-------- --------
``autodump`` ``autodump``
:index:`Teleports items marked for dumping to the cursor position. Teleports items marked for dumping to the cursor position.
<autodump; Teleports items marked for dumping to the cursor position.>`
``autodump destroy`` ``autodump destroy``
Destroys all unforbidden items marked for dumping Destroys all unforbidden items marked for dumping
``autodump-destroy-item`` ``autodump-destroy-item``
:index:`Destroys the selected item. Destroys the selected item.
<autodump-destroy-item; Destroys the selected item.>`

@ -1,13 +1,13 @@
autofarm autofarm
======== ========
**Tags:** `tag/fort`, `tag/auto`, `tag/buildings`
:dfhack-keybind:`autofarm` .. dfhack-tool::
:summary: Automatically manage farm crop selection.
:index:`Automatically manage farm crop selection. :tags: fort auto buildings
<autofarm; Automatically manage farm crop selection.>` This plugin periodically
scans your plant stocks and assigns crops to your farm plots based on which Periodically scan your plant stocks and assign crops to your farm plots based on
plant stocks are low (as long as you have the appropriate seeds). The target which plant stocks are low (as long as you have the appropriate seeds). The
threshold for each crop type is configurable. target threshold for each crop type is configurable.
Usage: Usage:

@ -1,15 +1,16 @@
autogems autogems
======== ========
.. dfhack-tool:: autogems .. dfhack-tool::
:summary: Automatically cut rough gems.
:tags: fort auto jobs :tags: fort auto jobs
:no-command: :no-command:
.. dfhack-command:: autogems-reload .. dfhack-command:: autogems-reload
:summary: Reloads the autogems configuration file.
:index:`Automatically cut rough gems. <autogems; Automatically cut rough gems.>` Automatically cut rough gems. This plugin periodically scans your stocks of
This plugin periodically scans your stocks of rough gems and creates manager rough gems and creates manager orders for cutting them at a Jeweler's Workshop.
orders for cutting them at a Jeweler's Workshop.
Usage: Usage:
@ -17,10 +18,8 @@ Usage:
Enables the plugin and starts autocutting gems according to its Enables the plugin and starts autocutting gems according to its
configuration. configuration.
``autogems-reload`` ``autogems-reload``
:index:`Reloads the autogems configuration file. Reloads the autogems configuration file. You might need to do this if you
<autogems-reload; Reloads the autogems configuration file.>` You might need have manually modified the contents while the game is running.
to do this if you have manually modified the contents while the game is
running.
Run `gui/autogems` for a configuration UI, or access the ``Auto Cut Gems`` Run `gui/autogems` for a configuration UI, or access the ``Auto Cut Gems``
option from the Current Workshop Orders screen (:kbd:`o`-:kbd:`W`). option from the Current Workshop Orders screen (:kbd:`o`-:kbd:`W`).

@ -1,13 +1,14 @@
autohauler autohauler
========== ==========
**Tags:** `tag/fort`, `tag/auto`, `tag/labors`
:dfhack-keybind:`autohauler` .. dfhack-tool::
:summary: Automatically manage hauling labors.
:index:`Automatically manage hauling labors. :tags: fort auto labors
<autohauler; Automatically manage hauling labors.>` Similar to `autolabor`, but
instead of managing all labors, ``autohauler`` only addresses hauling labors, Similar to `autolabor`, but instead of managing all labors, ``autohauler`` only
leaving the assignment of skilled labors entirely up to you. You can use the addresses hauling labors, leaving the assignment of skilled labors entirely up
in-game `manipulator` UI or an external tool like Dwarf Therapist to do so. to you. You can use the in-game `manipulator` UI or an external tool like Dwarf
Therapist to do so.
Idle dwarves who are not on active military duty will be assigned the hauling Idle dwarves who are not on active military duty will be assigned the hauling
labors; everyone else (including those currently hauling) will have the hauling labors; everyone else (including those currently hauling) will have the hauling

@ -1,12 +1,12 @@
autolabor autolabor
========= =========
**Tags:** `tag/fort`, `tag/auto`, `tag/labors`
:dfhack-keybind:`autolabor`
:index:`Automatically manage dwarf labors. .. dfhack-tool::
<autolabor; Automatically manage dwarf labors.>` Autolabor attempts to keep as :summary: Automatically manage dwarf labors.
many dwarves as possible busy while allowing dwarves to specialize in specific :tags: fort auto labors
skills.
Autolabor attempts to keep as many dwarves as possible busy while allowing
dwarves to specialize in specific skills.
Autolabor frequently checks how many jobs of each type are available and sets Autolabor frequently checks how many jobs of each type are available and sets
labors proportionally in order to get them all done quickly. Labors with labors proportionally in order to get them all done quickly. Labors with

@ -1,11 +1,14 @@
automaterial automaterial
============ ============
**Tags:** `tag/fort`, `tag/productivity`, `tag/design`, `tag/buildings`, `tag/map`
:index:`Sorts building materials by recent usage. .. dfhack-tool::
<automaterial; Sorts building materials by recent usage.>` This makes building :summary: Sorts building materials by recent usage.
constructions (walls, floors, fortifications, etc) much easier by saving you :tags: fort productivity design buildings map
from having to trawl through long lists of materials each time you place one. :no-command:
This plugin makes building constructions (walls, floors, fortifications, etc)
much easier by saving you from having to trawl through long lists of materials
each time you place one.
It moves the last used material for a given construction type to the top of the It moves the last used material for a given construction type to the top of the
list, if there are any left. So if you build a wall with chalk blocks, the next list, if there are any left. So if you build a wall with chalk blocks, the next

@ -2,14 +2,13 @@ automelt
======== ========
.. dfhack-tool:: .. dfhack-tool::
:summary: Quickly designate items to be melted.
:tags: fort auto items stockpiles :tags: fort auto items stockpiles
:no-command: :no-command:
:index:`Quickly designate items to be melted. When `enabled <enable>`, this plugin adds an option to the :kbd:`q` menu for
<automelt; Quickly designate items to be melted.>` When `enabled <enable>`, this stockpiles. When the ``automelt`` option is selected for the stockpile, any
plugin adds an option to the :kbd:`q` menu for stockpiles. When the ``automelt`` items placed in the stockpile will automatically be designated to be melted.
option is selected for the stockpile, any items placed in the stockpile will
automatically be designated to be melted.
Usage:: Usage::

@ -1,16 +1,21 @@
autonestbox autonestbox
=========== ===========
**Tags:** `tag/fort`, `tag/auto`, `tag/animals`
:dfhack-keybind:`autonestbox`
Auto-assign egg-laying female pets to nestbox zones. Requires that you create .. dfhack-tool::
pen/pasture zones above nestboxes. If the pen is bigger than 1x1, the nestbox :summary: Auto-assign egg-laying female pets to nestbox zones.
must be in the top left corner. Only 1 unit will be assigned per pen, regardless :tags: fort auto animals
of the size. The age of the units is currently not checked since most birds grow
up quite fast. Egg layers who are also grazers will be ignored, since confining To use this feature, you must create pen/pasture zones above nestboxes. If the
them to a 1x1 pasture is not a good idea. Only tame and domesticated own units pen is bigger than 1x1, the nestbox must be in the top left corner. Only 1 unit
are processed since pasturing half-trained wild egg layers could destroy your will be assigned per pen, regardless of the size. Egg layers who are also
neat nestbox zones when they revert to wild. grazers will be ignored, since confining them to a 1x1 pasture is not a good
idea. Only tame and domesticated own units are processed since pasturing
half-trained wild egg layers could destroy your neat nestbox zones when they
revert to wild.
Note that the age of the units is not checked, so you might get some egg-laying
kids assigned to the nestbox zones. Most birds grow up quite fast, though, so
they should be adults and laying eggs soon enough.
Usage: Usage:

@ -1,12 +1,14 @@
autotrade autotrade
========= =========
**Tags:** `tag/fort`, `tag/auto`, `tag/items`, `tag/stockpiles`
:index:`Quickly designate items to be traded. .. dfhack-tool::
<autotrade; Quickly designate items to be traded.>` When `enabled <enable>`, :summary: Quickly designate items to be traded.
this plugin adds an option to the :kbd:`q` menu for stockpiles. When the :tags: fort auto items stockpiles
``autotrade`` option is selected for the stockpile, any items placed in the :no-command:
stockpile will automatically be designated to be traded.
When `enabled <enable>`, this plugin adds an option to the :kbd:`q` menu for
stockpiles. When the ``autotrade`` option is selected for the stockpile, any
items placed in the stockpile will automatically be designated to be traded.
Usage:: Usage::

@ -1,12 +1,13 @@
blueprint blueprint
========= =========
**Tags:** `tag/fort`, `tag/design`, `tag/quickfort`, `tag/map`
:dfhack-keybind:`blueprint`
:index:`Record a live game map in a quickfort blueprint. .. dfhack-tool::
<blueprint; Record a live game map in a quickfort blueprint.>` With :summary: Record a live game map in a quickfort blueprint.
``blueprint``, you can export the structure of a portion of your fortress in a :tags: fort design quickfort map
blueprint file that you (or anyone else) can later play back with `quickfort`.
With ``blueprint``, you can export the structure of a portion of your fortress
in a blueprint file that you (or anyone else) can later play back with
`quickfort`.
Blueprints are ``.csv`` or ``.xlsx`` files created in the ``blueprints`` Blueprints are ``.csv`` or ``.xlsx`` files created in the ``blueprints``
subdirectory of your DF folder. The map area to turn into a blueprint is either subdirectory of your DF folder. The map area to turn into a blueprint is either

@ -1,7 +1,9 @@
building-hacks building-hacks
============== ==============
**Tags:** `tag/fort`, `tag/mod`, `tag/buildings`
Provides a Lua API for creating powered workshops. .. dfhack-tool::
:summary: Provides a Lua API for creating powered workshops.
:tags: fort mod buildings
:no-command:
See `building-hacks-api` for more details. See `building-hacks-api` for more details.

@ -1,11 +1,11 @@
buildingplan buildingplan
============ ============
**Tags:** `tag/fort`, `tag/design`, `tag/quickfort`, `tag/buildings`, `tag/map`
:dfhack-keybind:`buildingplan`
:index:`Plan building construction before you have materials. .. dfhack-tool::
<buildingplan; Plan building construction before you have materials.>` This :summary: Plan building construction before you have materials.
plugin adds a planning mode for building placement. You can then place :tags: fort design quickfort buildings map
This plugin adds a planning mode for building placement. You can then place
furniture, constructions, and other buildings before the required materials are furniture, constructions, and other buildings before the required materials are
available, and they will be created in a suspended state. Buildingplan will available, and they will be created in a suspended state. Buildingplan will
periodically scan for appropriate items, and the jobs will be unsuspended when periodically scan for appropriate items, and the jobs will be unsuspended when

@ -1,24 +1,23 @@
burrows burrows
======= =======
**Tags:** `tag/fort`, `tag/auto`, `tag/productivity`, `tag/units`
:dfhack-keybind:`burrow`
:index:`Auto-expand burrows as you dig. .. dfhack-tool::
<burrows (plugin); Auto-expand burrows as you dig.>` When a wall inside a burrow :summary: Auto-expand burrows as you dig.
with a name ending in ``+`` is dug out, the burrow will be extended to :tags: fort auto productivity units
newly-revealed adjacent walls. Note that digging 1-wide corridors with the miner :no-command:
inside the burrow is **SLOW**.
You can also use the ``burrow`` command to .. dfhack-command:: burrow
:index:`quickly add units/tiles to burrows. :summary: Quickly add units/tiles to burrows.
<burrow; Quickly add units/tiles to burrows.>`
When a wall inside a burrow with a name ending in ``+`` is dug out, the burrow
will be extended to newly-revealed adjacent walls.
Usage: Usage:
``burrow enable auto-grow`` ``burrow enable auto-grow``
When a wall inside a burrow with a name ending in '+' is dug out, the burrow When a wall inside a burrow with a name ending in '+' is dug out, the burrow
will be extended to newly-revealed adjacent walls. This final '+' may be will be extended to newly-revealed adjacent walls. This final '+' may be
omitted in burrow name args of other ``burrows`` commands. Note that digging omitted in burrow name args of other ``burrow`` commands. Note that digging
1-wide corridors with the miner inside the burrow is SLOW. 1-wide corridors with the miner inside the burrow is SLOW.
``burrow disable auto-grow`` ``burrow disable auto-grow``
Disables auto-grow processing. Disables auto-grow processing.

@ -1,15 +1,15 @@
changeitem changeitem
========== ==========
**Tags:** `tag/adventure`, `tag/fort`, `tag/armok`, `tag/items`
:dfhack-keybind:`changeitem` .. dfhack-tool::
:summary: Change item material or base quality.
:index:`Change item material and base quality. :tags: adventure fort armok items
<changeitem; Change item material and base quality.>` By default, a change is
only allowed if the existing and desired item materials are of the same subtype By default, a change is only allowed if the existing and desired item materials
(for example wood -> wood, stone -> stone, etc). But since some transformations are of the same subtype (for example wood -> wood, stone -> stone, etc). But
work pretty well and may be desired you can override this with ``force``. Note since some transformations work pretty well and may be desired you can override
that forced changes can possibly result in items that crafters and haulers this with ``force``. Note that forced changes can possibly result in items that
refuse to touch. crafters and haulers refuse to touch.
Usage: Usage:

@ -1,13 +1,14 @@
changelayer changelayer
=========== ===========
**Tags:** `tag/fort`, `tag/armok`, `tag/map`
:dfhack-keybind:`changelayer`
:index:`Change the material of an entire geology layer. .. dfhack-tool::
<changelayer; Change the material of an entire geology layer.>` Note that one :summary: Change the material of an entire geology layer.
layer can stretch across many z-levels, and changes to the geology layer will :tags: fort armok map
affect all surrounding regions, not just your embark! Mineral veins and gem
clusters will not be affected. Use `changevein` if you want to modify those. Note that one layer can stretch across many z-levels, and changes to the geology
layer will affect all surrounding regions, not just your embark! Mineral veins
and gem clusters will not be affected. Use `changevein` if you want to modify
those.
tl;dr: You will end up with changing large areas in one go, especially if you tl;dr: You will end up with changing large areas in one go, especially if you
use it in lower z levels. Use this command with care! use it in lower z levels. Use this command with care!

@ -1,13 +1,13 @@
changevein changevein
========== ==========
**Tags:** `tag/fort`, `tag/armok`, `tag/map`
:dfhack-keybind:`changevein`
:index:`Change the material of a mineral inclusion. .. dfhack-tool::
<changevein; Change the material of a mineral inclusion.>` You can change it to :summary: Change the material of a mineral inclusion.
any incorganic material RAW id. Note that this command only affects tiles within :tags: fort armok map
the current 16x16 block - for large veins and clusters, you will need to use
this command multiple times. You can change a vein to any incorganic material RAW id. Note that this command
only affects tiles within the current 16x16 block - for large veins and
clusters, you will need to use this command multiple times.
You can use the `probe` command to discover the material RAW ids for existing You can use the `probe` command to discover the material RAW ids for existing
veins that you want to duplicate. veins that you want to duplicate.

@ -1,13 +1,14 @@
cleanconst cleanconst
========== ==========
**Tags:** `tag/fort`, `tag/fps`, `tag/map`
:dfhack-keybind:`cleanconst` .. dfhack-tool::
:summary: Cleans up construction materials.
:index:`Cleans up construction materials. :tags: fort fps map
<cleanconst; Cleans up construction materials.>` This tool alters all
constructions on the map so that they spawn their building component when they This tool alters all constructions on the map so that they spawn their building
are disassembled, allowing their actual build items to be safely deleted. This component when they are disassembled, allowing their actual build items to be
can improve FPS when you have many constructions on the map. safely deleted. This can improve FPS when you have many constructions on the
map.
Usage:: Usage::

@ -3,15 +3,22 @@
cleaners cleaners
======== ========
**Tags:** `tag/adventure`, `tag/fort`, `tag/fps`, `tag/items`, `tag/map`, `tag/units`
:dfhack-keybind:`clean`
:dfhack-keybind:`spotclean`
:index:`Removes contaminants. <clean; Removes contaminants.>` More .. dfhack-tool::
specifically, it cleans all the splatter that get scattered all over the map and :summary: Provides commands for cleaning spatter from the map.
that clings to your items and units. In an old fortress, cleaning with this tool :tags: adventure fort fps items map units
can significantly reduce FPS lag. It can also spoil your !!FUN!!, so think :no-command:
before you use it.
.. dfhack-command:: clean
:summary: Removes contaminants.
.. dfhack-command:: spotclean
:summary: Remove all contaminants from the tile under the cursor.
This plugin provides commands that clean the splatter that get scattered all
over the map and that clings to your items and units. In an old fortress,
cleaning with this tool can significantly reduce FPS lag! It can also spoil your
!!FUN!!, so think before you use it.
Usage:: Usage::
@ -21,11 +28,10 @@ Usage::
By default, cleaning the map leaves mud and snow alone. Note that cleaning units By default, cleaning the map leaves mud and snow alone. Note that cleaning units
includes hostiles, and that cleaning items removes poisons from weapons. includes hostiles, and that cleaning items removes poisons from weapons.
``spotclean`` works like ``clean map snow mud``, ``spotclean`` works like ``clean map snow mud``, removing all contaminants from
:index:`removing all contaminants from the tile under the cursor. the tile under the cursor. This is ideal if you just want to clean a specific
<clean; Remove all contaminants from the tile under the cursor.>` This is ideal tile but don't want the `clean` command to remove all the glorious blood from
if you just want to clean a specific tile but don't want the `clean` command to your entranceway.
remove all the glorious blood from your entranceway.
Examples Examples
-------- --------

@ -1,13 +1,14 @@
cleanowned cleanowned
========== ==========
**Tags:** `tag/fort`, `tag/productivity`, `tag/items`
:dfhack-keybind:`cleanowned` .. dfhack-tool::
:summary: Confiscates and dumps garbage owned by dwarves.
:index:`Confiscates and dumps garbage owned by dwarves. :tags: fort productivity items
<cleanowned; Confiscates and dumps garbage owned by dwarves.>` This tool gets
dwarves to give up ownership of scattered items and items with heavy wear and This tool gets dwarves to give up ownership of scattered items and items with
then marks those items for dumping. Now you can finally get your dwarves to give heavy wear and then marks those items for dumping. Now you can finally get your
up their rotten food and tattered loincloths and go get new ones! dwarves to give up their rotten food and tattered loincloths and go get new
ones!
Usage:: Usage::

@ -1,10 +1,9 @@
command-prompt command-prompt
============== ==============
**Tags:** `tag/system`
:dfhack-keybind:`command-prompt`
:index:`An in-game DFHack terminal where you can enter other commands. .. dfhack-tool::
<command-prompt; An in-game DFHack terminal where you can enter other commands.>` :summary: An in-game DFHack terminal where you can run other commands.
:tags: system
Usage:: Usage::

@ -1,12 +1,12 @@
confirm confirm
======= =======
**Tags:** `tag/fort`, `tag/interface`
:dfhack-keybind:`confirm`
:index:`Adds confirmation dialogs for destructive actions. .. dfhack-tool::
<confirm; Adds confirmation dialogs for destructive actions.>` Now you can get :summary: Adds confirmation dialogs for destructive actions.
the chance to avoid seizing goods from traders or deleting a hauling route in :tags: fort interface
case you hit the key accidentally.
Now you can get the chance to avoid seizing goods from traders or deleting a
hauling route in case you hit the key accidentally.
Usage: Usage:

@ -1,12 +1,13 @@
createitem createitem
========== ==========
**Tags:** `tag/adventure`, `tag/fort`, `tag/armok`, `tag/items`
:dfhack-keybind:`createitem`
:index:`Create arbitrary items. <createitem; Create arbitrary items.>` You can .. dfhack-tool::
create new items of any type and made of any material. A unit must be selected :summary: Create arbitrary items.
in-game to use this command. By default, items created are spawned at the feet :tags: adventure fort armok items
of the selected unit.
You can create new items of any type and made of any material. A unit must be
selected in-game to use this command. By default, items created are spawned at
the feet of the selected unit.
Specify the item and material information as you would indicate them in custom Specify the item and material information as you would indicate them in custom
reaction raws, with the following differences: reaction raws, with the following differences:

@ -1,9 +1,10 @@
cursecheck cursecheck
========== ==========
**Tags:** `tag/system`, `tag/interface`
:dfhack-keybind:`cursecheck`
:index:`Check for cursed creatures. <cursecheck; Check for cursed creatures.>` .. dfhack-tool::
:summary: Check for cursed creatures.
:tags: system interface
This command checks a single map tile (or the whole map/world) for cursed This command checks a single map tile (or the whole map/world) for cursed
creatures (ghosts, vampires, necromancers, werebeasts, zombies, etc.). creatures (ghosts, vampires, necromancers, werebeasts, zombies, etc.).

@ -1,7 +1,9 @@
cxxrandom cxxrandom
========= =========
**Tags:** `tag/dev`
Provides a Lua API for random distributions. .. dfhack-tool::
:summary: Provides a Lua API for random distributions.
:tags: dev
:no-command:
See `cxxrandom-api` for details. See `cxxrandom-api` for details.

@ -1,11 +1,15 @@
debug debug
===== =====
**Tags:** `tag/dev`
:dfhack-keybind:`debugfilter`
:index:`Configure verbosity of DFHack debug output. .. dfhack-tool::
<debugfilter; Configure verbosity of DFHack debug output.>` Debug output is :summary: Provides commands for controlling debug log verbosity.
grouped by plugin name, category name, and verbosity level. :tags: dev
:no-command:
.. dfhack-command:: debugfilter
:summary: Configure verbosity of DFHack debug output.
Debug output is grouped by plugin name, category name, and verbosity level.
The verbosity levels are: The verbosity levels are:

@ -1,11 +1,11 @@
deramp deramp
====== ======
**Tags:** `tag/fort`, `tag/armok`, `tag/map`
:dfhack-keybind:`deramp`
:index:`Removes all ramps designated for removal from the map. .. dfhack-tool::
<deramp; Removes all ramps designated for removal from the map.>` It also :summary: Removes all ramps designated for removal from the map.
removes any "floating" down ramps that can remain after a cave-in. :tags: fort armok map
It also removes any "floating" down ramps that can remain after a cave-in.
Usage:: Usage::

@ -1,14 +1,14 @@
dig-now dig-now
======= =======
**Tags:** `tag/fort`, `tag/armok`, `tag/map`
:dfhack-keybind:`dig-now`
:index:`Instantly complete dig designations. .. dfhack-tool::
<dig-now; Instantly complete dig designations.>` This tool will magically :summary: Instantly complete dig designations.
complete non-marker dig designations, modifying tile shapes and creating :tags: fort armok map
boulders, ores, and gems as if a miner were doing the mining or engraving. By
default, the entire map is processed and boulder generation follows standard This tool will magically complete non-marker dig designations, modifying tile
game rules, but the behavior is configurable. shapes and creating boulders, ores, and gems as if a miner were doing the mining
or engraving. By default, the entire map is processed and boulder generation
follows standard game rules, but the behavior is configurable.
Note that no units will get mining or engraving experience for the dug/engraved Note that no units will get mining or engraving experience for the dug/engraved
tiles. tiles.

@ -3,47 +3,58 @@
dig dig
=== ===
**Tags:** `tag/fort`, `tag/productivity`, `tag/design`, `tag/map`
:dfhack-keybind:`digv`
:dfhack-keybind:`digvx`
:dfhack-keybind:`digl`
:dfhack-keybind:`diglx`
:dfhack-keybind:`digcircle`
:dfhack-keybind:`digtype`
:dfhack-keybind:`digexp`
Make complicated dig patterns easy. .. dfhack-tool::
:summary: Provides commands for designating tiles for digging.
:tags: fort productivity design map
:no-command:
.. dfhack-command:: digv
:summary: Designate all of the selected vein for digging.
.. dfhack-command:: digvx
:summary: Dig a vein across z-levels, digging stairs as needed.
.. dfhack-command:: digl
:summary: Dig all of the selected layer stone.
.. dfhack-command:: diglx
:summary: Dig layer stone across z-levels, digging stairs as needed.
.. dfhack-command:: digcircle
:summary: Designate circles.
.. dfhack-command:: digtype
:summary: Designate all vein tiles of the selected type.
.. dfhack-command:: digexp
:summary: Designate dig patterns for exploratory mining.
This plugin provides commands to make complicated dig patterns easy.
Usage: Usage:
``digv [x] [-p<number>]`` ``digv [x] [-p<number>]``
:index:`Designate all of the selected vein for digging. Designate all of the selected vein for digging.
<digv; Designate all of the selected vein for digging.>`
``digvx [-p<number>]`` ``digvx [-p<number>]``
:index:`Dig a vein across z-levels, digging stairs as needed. Dig a vein across z-levels, digging stairs as needed. This is an alias for
<digvx; Dig a vein across z-levels, digging stairs as needed.>` ``digv x``.
This is an alias for ``digv x``.
``digl [x] [undo] [-p<number>]`` ``digl [x] [undo] [-p<number>]``
:index:`Dig all of the selected layer stone. Dig all of the selected layer stone. If ``undo`` is specified, removes the
<digl; Dig all of the selected layer stone.>` If ``undo`` is specified, designation instead (for if you accidentally set 50 levels at once).
removes the designation instead (for if you accidentally set 50 levels at
once).
``diglx [-p<number>]`` ``diglx [-p<number>]``
:index:`Dig layer stone across z-levels, digging stairs as needed. Dig layer stone across z-levels, digging stairs as needed. This is an alias
<diglx; Dig layer stone across z-levels, digging stairs as needed.>` This for ``digl x``.
is an alias for ``digl x``.
``digcircle [<diameter>] [<solidity>] [<action>] [<designation>] [-p<number>]`` ``digcircle [<diameter>] [<solidity>] [<action>] [<designation>] [-p<number>]``
:index:`Designate circles. <digcircles; Designate circles.>` The diameter Designate circles. The diameter is the number of tiles across the center of
is the number of tiles across the center of the circle that you want to dig. the circle that you want to dig. See the `digcircle`_ section below for
See the `digcircle`_ section below for options. options.
``digtype [<designation>] [-p<number>]`` ``digtype [<designation>] [-p<number>]``
:index:`Designate all vein tiles of the selected type. Designate all vein tiles of the selected type. See the `digtype`_ section
<digtype; Designate all vein tiles of the selected type.>` See the `digtype`_ below for options.
section below for options.
``digexp [<pattern>] [<filter>] [-p<number>]`` ``digexp [<pattern>] [<filter>] [-p<number>]``
:index:`Designate dig patterns for exploratory mining. Designate dig patterns for exploratory mining. See the `digexp`_ section
<digexp; Designate dig patterns for exploratory mining.>` See the `digexp`_ below for options.
section below for options
All commands support specifying the priority of the dig designations with All commands support specifying the priority of the dig designations with
``-p<number>``, where the number is from 1 to 7. If a priority is not specified, ``-p<number>``, where the number is from 1 to 7. If a priority is not specified,

@ -1,13 +1,16 @@
digFlood digFlood
======== ========
**Tags:** `tag/fort`, `tag/auto`, `tag/map`
:dfhack-keybind:`digFlood` .. dfhack-tool::
:summary: Digs out veins as they are discovered.
:index:`Digs out veins as they are discovered. :tags: fort auto map
<digFlood; Digs out veins as they are discovered.>` It will only dig out
appropriate tiles that are adjacent to a just-finished dig job, so if you want Once you register specific vein types, this tool will automatically designate
to autodig a vein that has already been discovered, you may need to manually tiles of those types of veins for digging as your miners complete adjacent
designate one tile of the tile for digging to get started. mining jobs. Note that it will *only* dig out tiles that are adjacent to a
just-finished dig job, so if you want to autodig a vein that has already been
discovered, you may need to manually designate one tile of the tile for digging
to get started.
Usage: Usage:

@ -1,10 +1,9 @@
diggingInvaders diggingInvaders
=============== ===============
**Tags:** `tag/fort`, `tag/mod`, `tag/map`
:dfhack-keybind:`diggingInvaders`
:index:`Invaders dig and destroy to get to your dwarves. .. dfhack-tool::
<diggingInvaders; Invaders dig and destroy to get to your dwarves.>` :summary: Invaders dig and destroy to get to your dwarves.
:tags: fort mod map
Usage: Usage:

@ -1,11 +1,11 @@
dwarfmonitor dwarfmonitor
============ ============
**Tags:** `tag/fort`, `tag/inspection`, `tag/units`
:dfhack-keybind:`dwarfmonitor`
:index:`Measure fort happiness and efficiency. .. dfhack-tool::
<dwarfmonitor; Measure fort happiness and efficiency.>` Also show heads-up :summary: Measure fort happiness and efficiency.
display widgets with live fort statistics. :tags: fort inspection units
It can also show heads-up display widgets with live fort statistics.
Usage: Usage:

@ -1,10 +1,9 @@
dwarfvet dwarfvet
======== ========
**Tags:** `tag/fort`, `tag/mod`, `tag/animals`
:dfhack-keybind:`dwarfvet`
:index:`Allows animals to be treated at animal hospitals. .. dfhack-tool::
<dwarfvet; Allows animals to be treated at animal hospitals.>` :summary: Allows animals to be treated at animal hospitals.
:tags: fort mod animals
Annoyed your dragons become useless after a minor injury? Well, with dwarfvet, Annoyed your dragons become useless after a minor injury? Well, with dwarfvet,
injured animals will be treated at an animal hospital, which is simply a hospital injured animals will be treated at an animal hospital, which is simply a hospital

@ -1,14 +1,15 @@
embark-assistant embark-assistant
================ ================
**Tags:** `tag/fort`, `tag/embark`, `tag/interface`
:dfhack-keybind:`embark-assistant`
:index:`Embark site selection support. .. dfhack-tool::
<embark-assistant; Embark site selection support.>` Run this command while the :summary: Embark site selection support.
pre-embark screen is displayed to show extended (and correct(?)) resource :tags: fort embark interface
information for the embark rectangle as well as normally undisplayed sites in
the current embark region. You will also have access to a site selection tool Run this command while the pre-embark screen is displayed to show extended (and
with far more options than DF's vanilla search tool. reasonably correct) resource information for the embark rectangle as well as
normally undisplayed sites in the current embark region. You will also have
access to a site selection tool with far more options than DF's vanilla search
tool.
If you enable the plugin, you'll also be able to invoke ``embark-assistant`` If you enable the plugin, you'll also be able to invoke ``embark-assistant``
with the :kbd:`A` key on the pre-embark screen. with the :kbd:`A` key on the pre-embark screen.

@ -1,10 +1,9 @@
embark-tools embark-tools
============ ============
**Tags:** `tag/fort`, `tag/embark`, `tag/interface`
:dfhack-keybind:`embark-tools`
:index:`Extend the embark screen functionality. .. dfhack-tool::
<embark-tools; Extend the embark screen functionality.>` :summary: Extend the embark screen functionality.
:tags: fort embark interface
Usage:: Usage::

@ -1,7 +1,9 @@
eventful eventful
======== ========
**Tags:** `tag/dev`, `tag/mod`
Provides a Lua API for reacting to in-game events. .. dfhack-tool::
:summary: Provides a Lua API for reacting to in-game events.
:tags: dev mod
:no-command:
See `eventful-api` for details. See `eventful-api` for details.

@ -1,9 +1,9 @@
fastdwarf fastdwarf
========= =========
**Tags:** `tag/fort`, `tag/armok`, `tag/units`
:dfhack-keybind:`fastdwarf`
Dwarves teleport and/or finish jobs instantly. .. dfhack-tool::
:summary: Dwarves teleport and/or finish jobs instantly.
:tags: fort armok units
Usage:: Usage::

@ -3,24 +3,28 @@
filltraffic filltraffic
=========== ===========
**Tags:** `tag/fort`, `tag/productivity`, `tag/design`, `tag/map`
:dfhack-keybind:`filltraffic` .. dfhack-tool::
:dfhack-keybind:`alltraffic` :summary: Set traffic designations using flood-fill starting at the cursor.
:dfhack-keybind:`restrictice` :tags: fort productivity design map
:dfhack-keybind:`restrictliquids`
.. dfhack-command:: alltraffic
Usage: :summary: Set traffic designations for every single tile of the map.
``filltraffic <designation> [<options>]`` .. dfhack-command:: restrictice
Set traffic designations using flood-fill starting at the cursor. Flood :summary: Restrict traffic on all tiles on top of visible ice.
filling stops at walls and doors.
``alltraffic <designation>`` .. dfhack-command:: restrictliquids
Set traffic designations for every single tile of the map - useful for :summary: Restrict traffic on all visible tiles with liquid.
resetting traffic designations.
``restrictice`` Usage::
Restrict traffic on all tiles on top of visible ice.
``restrictliquids`` filltraffic <designation> [<options>]
Restrict traffic on all visible tiles with liquid. alltraffic <designation>
restrictice
restrictliquids
For ``filltraffic``, flood filling stops at walls and doors.
Examples Examples
-------- --------

@ -1,10 +1,12 @@
fix-unit-occupancy fix-unit-occupancy
================== ==================
**Tags:** `tag/fort`, `tag/fix`, `tag/map`
:dfhack-keybind:``
Fix phantom unit occupancy issues. For example, if you see "unit blocking tile" .. dfhack-tool::
messages that you can't account for (:bug:`3499`), this tool can help. :summary: Fix phantom unit occupancy issues.
:tags: fort fix map
If you see "unit blocking tile" messages that you can't account for
(:bug:`3499`), this tool can help.
Usage:: Usage::

@ -1,10 +1,12 @@
fixveins fixveins
======== ========
**Tags:** `tag/fort`, `tag/fix`, `tag/map`
:dfhack-keybind:`fixveins`
Restore missing mineral inclusions. This tool can also remove invalid references .. dfhack-tool::
to mineral inclusions if you broke your embark with tools like `tiletypes`. :summary: Restore missing mineral inclusions.
:tags: fort fix map
This tool can also remove invalid references to mineral inclusions if you broke
your embark with tools like `tiletypes`.
Usage:: Usage::

@ -1,10 +1,12 @@
flows flows
===== =====
**Tags:** `tag/fort`, `tag/inspection`, `tag/map`
:dfhack-keybind:`flows`
Counts map blocks with flowing liquids.. If you suspect that your magma sea .. dfhack-tool::
leaks into HFS, you can use this tool to be sure without revealing the map. :summary: Counts map blocks with flowing liquids.
:tags: fort inspection map
If you suspect that your magma sea leaks into HFS, you can use this tool to be
sure without revealing the map.
Usage:: Usage::

@ -1,11 +1,13 @@
follow follow
====== ======
**Tags:** `tag/fort`, `tag/interface`, `tag/units`
:dfhack-keybind:`follow`
Make the screen follow the selected unit. Once you exit from the current menu or .. dfhack-tool::
cursor mode, the screen will stay centered on the unit. Handy for watching :summary: Make the screen follow the selected unit.
dwarves running around. Deactivated by moving the cursor manually. :tags: fort interface units
Once you exit from the current menu or cursor mode, the screen will stay
centered on the unit. Handy for watching dwarves running around. Deactivated by
moving the cursor manually.
Usage:: Usage::

@ -1,14 +1,15 @@
forceequip forceequip
========== ==========
**Tags:** `tag/adventure`, `tag/fort`, `tag/items`, `tag/units`
:dfhack-keybind:`forceequip`
Move items into a unit's inventory. This tool is typically used to equip .. dfhack-tool::
specific clothing/armor items onto a dwarf, but can also be used to put armor :summary: Move items into a unit's inventory.
onto a war animal or to add unusual items (such as crowns) to any unit. Make :tags: adventure fort items units
sure the unit you want to equip is standing on the target items, which must be
on the ground and be unforbidden. If multiple units are standing on the same This tool is typically used to equip specific clothing/armor items onto a dwarf,
tile, the first one will be equipped. but can also be used to put armor onto a war animal or to add unusual items
(such as crowns) to any unit. Make sure the unit you want to equip is standing
on the target items, which must be on the ground and be unforbidden. If multiple
units are standing on the same tile, the first one will be equipped.
The most reliable way to set up the environment for this command is to pile The most reliable way to set up the environment for this command is to pile
target items on a tile of floor with a garbage dump activity zone or the target items on a tile of floor with a garbage dump activity zone or the

@ -1,12 +1,20 @@
generated-creature-renamer generated-creature-renamer
========================== ==========================
**Tags:** `tag/adventure`, `tag/fort`, `tag/legends`, `tag/units`
:dfhack-keybind:`list-generated`
:dfhack-keybind:`save-generated-raws`
Automatically renames generated creatures. Now, forgotten beasts, titans, .. dfhack-tool::
necromancer experiments, etc. will have raw token names that match the :summary: Automatically renames generated creatures.
description given in-game instead of unreadable generated strings. :tags: adventure fort legends units
:no-command:
.. dfhack-command:: list-generated
:summary: List the token names of all generated creatures.
.. dfhack-command:: save-generated-raws
:summary: Export a creature graphics file for modding.
Now, forgotten beasts, titans, necromancer experiments, etc. will have raw token
names that match the description given in-game instead of unreadable generated
strings.
Usage: Usage:

@ -1,10 +1,12 @@
getplants getplants
========= =========
**Tags:** `tag/fort`, `tag/productivity`
:dfhack-keybind:`getplants`
Designate trees for chopping and shrubs for gathering. Specify the types of .. dfhack-tool::
trees to cut down and/or shrubs to gather by their plant names. :summary: Designate trees for chopping and shrubs for gathering.
:tags: fort productivity
Specify the types of trees to cut down and/or shrubs to gather by their plant
names.
Usage: Usage:

@ -1,11 +1,12 @@
hotkeys hotkeys
======= =======
**Tags:** `tag/system`, `tag/productivity`, `tag/interface`
:dfhack-keybind:`hotkeys`
Show all dfhack keybindings in current context. The command opens an in-game .. dfhack-tool::
screen showing which DFHack keybindings are active in the current context. :summary: Show all dfhack keybindings for the current context.
See also `hotkey-notes`. :tags: system productivity interface
The command opens an in-game screen showing which DFHack keybindings are active
in the current context. See also `hotkey-notes`.
Usage:: Usage::

@ -1,10 +1,13 @@
infiniteSky infiniteSky
=========== ===========
**Tags:** `tag/fort`, `tag/map`
:dfhack-keybind:`infiniteSky`
Automatically allocates new z-levels of sky at the top of the map as you build .. dfhack-tool::
up, or on request allocates many levels all at once. :summary: Automatically allocates new z-levels of sky
:tags: fort map
If enabled, this plugin will automatically allocate new z-levels of sky at the
top of the map as you build up. Or it can allocate one or many additional levels
at your command.
Usage: Usage:

@ -1,5 +1,9 @@
isoworldremote isoworldremote
============== ==============
**Tags:** `tag/dev`, `tag/mod`
Provides a `remote API <remote>` used by Isoworld. .. dfhack-tool::
:summary: Provides a remote API used by Isoworld.
:tags: dev mod
:no-command:
See `remote` for related remote APIs.

@ -2,12 +2,20 @@
jobutils jobutils
======== ========
**Tags:** `tag/fort`, `tag/inspection`, `tag/jobs`
:dfhack-keybind:`job`
:dfhack-keybind:`job-duplicate`
:dfhack-keybind:`job-material`
Inspect or modify details of workshop jobs. .. dfhack-tool::
:summary: Provides commands for interacting with jobs.
:tags: fort inspection jobs
:no-command:
.. dfhack-command:: job
:summary: Inspect or modify details of workshop jobs.
.. dfhack-command:: job-duplicate
:summary: Duplicates the highlighted job.
.. dfhack-command:: job-material
:summary: Alters the material of the selected job.
Usage: Usage:

@ -1,12 +1,14 @@
labormanager labormanager
============ ============
**Tags:** `tag/fort`, `tag/auto`, `tag/labors`
:dfhack-keybind:`labormanager`
Automatically manage dwarf labors. Labormanager is derived from `autolabor` .. dfhack-tool::
but uses a completely different approach to assigning jobs to dwarves. While :summary: Automatically manage dwarf labors.
autolabor tries to keep as many dwarves busy as possible, labormanager instead :tags: fort auto labors
strives to get jobs done as quickly as possible.
Labormanager is derived from `autolabor` but uses a completely different
approach to assigning jobs to dwarves. While autolabor tries to keep as many
dwarves busy as possible, labormanager instead strives to get jobs done as
quickly as possible.
Labormanager frequently scans the current job list, current list of dwarves, and Labormanager frequently scans the current job list, current list of dwarves, and
the map to determine how many dwarves need to be assigned to what labors in the map to determine how many dwarves need to be assigned to what labors in

@ -1,10 +1,11 @@
lair lair
==== ====
**Tags:** `tag/fort`, `tag/armok`, `tag/map`
:dfhack-keybind:`lair`
Mark the map as a monster lair. This avoids item scatter when the fortress is .. dfhack-tool::
abandoned. :summary: Mark the map as a monster lair.
:tags: fort armok map
This avoids item scatter when the fortress is abandoned.
Usage: Usage:

@ -2,9 +2,13 @@
liquids liquids
======= =======
**Tags:** `tag/adventure`, `tag/fort`, `tag/armok`, `tag/map`
:dfhack-keybind:`liquids` .. dfhack-tool::
:dfhack-keybind:`liquids-here` :summary: Place magma, water or obsidian.
:tags: adventure fort armok map
.. dfhack-command:: liquids-here
:summary: Spawn liquids on the selected tile.
Place magma, water or obsidian. See `gui/liquids` for an in-game interface for Place magma, water or obsidian. See `gui/liquids` for an in-game interface for
this functionality. this functionality.

@ -1,7 +1,9 @@
luasocket luasocket
========= =========
**Tags:** `tag/dev`, `tag/mod`
Provides a Lua API for accessing network sockets. .. dfhack-tool::
:summary: Provides a Lua API for accessing network sockets.
:tags: dev mod
:no-command:
See `luasocket-api` for details. See `luasocket-api` for details.

@ -1,9 +1,12 @@
manipulator manipulator
=========== ===========
**Tags:** `tag/fort`, `tag/productivity`, `tag/interface`, `tag/labors`
An in-game labor management interface. It is equivalent to the popular Dwarf .. dfhack-tool::
Therapist utility. :summary: An in-game labor management interface.
:tags: fort productivity interface labors
:no-command:
It is equivalent to the popular Dwarf Therapist utility.
To activate, open the unit screen and press :kbd:`l`. To activate, open the unit screen and press :kbd:`l`.

@ -1,7 +1,9 @@
map-render map-render
========== ==========
**Tags:** `tag/dev`
Provides a Lua API for rerendering portions of the map. .. dfhack-tool::
:summary: Provides a Lua API for rerendering portions of the map.
:tags: dev
:no-command:
See `map-render-api` for details. See `map-render-api` for details.

@ -1,9 +1,9 @@
misery misery
====== ======
**Tags:** `tag/fort`, `tag/armok`, `tag/units`
:dfhack-keybind:`misery`
Increase the intensity of negative dwarven thoughts. .. dfhack-tool::
:summary: Increase the intensity of negative dwarven thoughts.
:tags: fort armok units
When enabled, negative thoughts that your dwarves have will multiply by the When enabled, negative thoughts that your dwarves have will multiply by the
specified factor. specified factor.

@ -1,9 +1,9 @@
mode mode
==== ====
**Tags:** `tag/dev`
:dfhack-keybind:`mode`
This command lets you see and change the game mode directly. .. dfhack-tool::
:summary: See and change the game mode.
:tags: dev
.. warning:: .. warning::

@ -1,7 +1,9 @@
mousequery mousequery
========== ==========
**Tags:** `tag/fort`, `tag/productivity`, `tag/interface`
:dfhack-keybind:`mousequery` .. dfhack-tool::
:summary: Adds mouse controls to the DF interface.
:tags: fort productivity interface
Adds mouse controls to the DF interface. For example, with ``mousequery`` you Adds mouse controls to the DF interface. For example, with ``mousequery`` you
can click on buildings to configure them, hold the mouse button to draw dig can click on buildings to configure them, hold the mouse button to draw dig

@ -1,11 +1,14 @@
nestboxes nestboxes
========= =========
**Tags:** `tag/fort`, `tag/auto`, `tag/animals`
Protect fertile eggs incubating in a nestbox. This plugin will automatically .. dfhack-tool::
scan for and forbid fertile eggs incubating in a nestbox so that dwarves won't :summary: Protect fertile eggs incubating in a nestbox.
come to collect them for eating. The eggs will hatch normally, even when :tags: fort auto animals
forbidden. :no-command:
This plugin will automatically scan for and forbid fertile eggs incubating in a
nestbox so that dwarves won't come to collect them for eating. The eggs will
hatch normally, even when forbidden.
Usage:: Usage::

@ -1,9 +1,9 @@
orders orders
====== ======
**Tags:** `tag/fort`, `tag/productivity`, `tag/jobs`
:dfhack-keybind:`orders`
Manage manager orders. .. dfhack-tool::
:summary: Manage manager orders.
:tags: fort productivity jobs
Usage: Usage:

@ -1,8 +1,10 @@
pathable pathable
======== ========
**Tags:** `tag/dev`, `tag/inspection`, `tag/interface`, `tag/map`
Marks tiles that are reachable from the cursor. This plugin provides a Lua API, .. dfhack-tool::
but no direct commands. :summary: Marks tiles that are reachable from the cursor.
:tags: dev inspection interface map
:no-command:
See `pathable-api` for details. This plugin provides a Lua API, but no direct commands. See `pathable-api` for
details.

@ -1,16 +1,17 @@
petcapRemover petcapRemover
============= =============
**Tags:** `tag/fort`, `tag/armok`, `tag/animals`
:dfhack-keybind:`petcapRemover`
Modify the pet population cap. In vanilla DF, pets will not reproduce unless the .. dfhack-tool::
population is below 50 and the number of children of that species is below a :summary: Modify the pet population cap.
certain percentage. This plugin allows removing these restrictions and setting :tags: fort armok animals
your own thresholds. Pets still require PET or PET_EXOTIC tags in order to
reproduce. In order to make population more stable and avoid sudden population In vanilla DF, pets will not reproduce unless the population is below 50 and the
booms as you go below the raised population cap, this plugin counts pregnancies number of children of that species is below a certain percentage. This plugin
toward the new population cap. It can still go over, but only in the case of allows removing these restrictions and setting your own thresholds. Pets still
multiple births. require PET or PET_EXOTIC tags in order to reproduce. In order to make
population more stable and avoid sudden population booms as you go below the
raised population cap, this plugin counts pregnancies toward the new population
cap. It can still go over, but only in the case of multiple births.
Usage: Usage:

@ -2,10 +2,14 @@
plants plants
====== ======
**Tags:** `tag/adventure`, `tag/fort`, `tag/armok`, `tag/map`
:dfhack-keybind:`plant`
Grow shrubs or trees. .. dfhack-tool::
:summary: Provides commands that interact with plants.
:tags: adventure fort armok map
:no-command:
.. dfhack-command:: plant
:summary: Create a plant or make an existing plant grow up.
Usage: Usage:

@ -1,7 +1,11 @@
power-meter power-meter
=========== ===========
**Tags:** `tag/fort`, `tag/mod`, `tag/buildings`
Allow presure plates to measure power. If you run `gui/power-meter` while .. dfhack-tool::
building a pressure plate, the pressure plate can be modified to detect power :summary: Allow presure plates to measure power.
being supplied to gear boxes built in the four adjacent N/S/W/E tiles. :tags: fort mod buildings
:no-command:
If you run `gui/power-meter` while building a pressure plate, the pressure
plate can be modified to detect power being supplied to gear boxes built in the
four adjacent N/S/W/E tiles.

@ -1,11 +1,15 @@
probe probe
===== =====
**Tags:** `tag/adventure`, `tag/fort`, `tag/inspection`, `tag/map`
:dfhack-keybind:`probe`
:dfhack-keybind:`bprobe`
:dfhack-keybind:`cprobe`
Display low-level properties of selected objects. .. dfhack-tool::
:summary: Display low-level properties of the selected tile.
:tags: adventure fort inspection map
.. dfhack-command:: bprobe
:summary: Display low-level properties of the selected building.
.. dfhack-command:: cprobe
:summary: Display low-level properties of the selected unit.
Usage: Usage:

@ -2,11 +2,17 @@
prospector prospector
========== ==========
**Tags:** `tag/fort`, `tag/embark`, `tag/inspection`, `tag/map`
:dfhack-keybind:`prospect`
Shows a summary of resources that exist on the map. It can also calculate an .. dfhack-tool::
estimate of resources available in the selected embark area. :summary: Provides commands that help you analyze natural resources.
:tags: fort embark inspection map
:no-command:
.. dfhack-command:: prospect
:summary: Shows a summary of resources that exist on the map.
It can also calculate an estimate of resources available in the selected embark
area.
Usage:: Usage::

@ -1,14 +1,15 @@
regrass regrass
======= =======
**Tags:** `tag/adventure`, `tag/fort`, `tag/armok`, `tag/animals`
:dfhack-keybind:`regrass`
Regrows all the grass. Use this command if your grazers have eaten everything .. dfhack-tool::
down to the dirt. :summary: Regrows all the grass.
:tags: adventure fort armok animals
Use this command if your grazers have eaten everything down to the dirt.
Usage:: Usage::
regrass [max] regrass [max]
Specify the 'max' option to pack more grass onto a tile than what the game Specify the 'max' keyword to pack more grass onto a tile than what the game
normally allows to give your grazers extra chewing time. normally allows to give your grazers extra chewing time.

@ -1,9 +1,11 @@
rename rename
====== ======
**Tags:** `tag/adventure`, `tag/fort`, `tag/productivity`
:dfhack-keybind:`rename`
Easily rename things. Use `gui/rename` for an in-game interface. .. dfhack-tool::
:summary: Easily rename things.
:tags: adventure fort productivity
Use `gui/rename` for an in-game interface.
Usage: Usage:

@ -1,10 +1,12 @@
rendermax rendermax
========= =========
**Tags:** `tag/adventure`, `tag/fort`, `tag/mod`
:dfhack-keybind:`rendermax`
Modify the map lighting. This plugin provides a collection of OpenGL lighting .. dfhack-tool::
filters that affect how the map is drawn to the screen. :summary: Modify the map lighting.
:tags: adventure fort mod
This plugin provides a collection of OpenGL lighting filters that affect how the
map is drawn to the screen.
Usage: Usage:

@ -1,13 +1,18 @@
resume resume
====== ======
**Tags:** `tag/fort`, `tag/productivity`
:dfhack-keybind:`resume` .. dfhack-tool::
:summary: Color planned buildings based on their suspend status.
Color planned buildings based on their suspend status. When enabled, this plugin :tags: fort productivity
will display a colored 'X' over suspended buildings. When run as a command, it :no-command:
can resume all suspended building jobs, allowing you to quickly recover if a
bunch of jobs were suspended due to the workers getting scared off by wildlife .. dfhack-command:: resume
or items temporarily blocking buildling sites. :summary: Resume all suspended building jobs.
When enabled, this plugin will display a colored 'X' over suspended buildings.
When run as a command, it can resume all suspended building jobs, allowing you
to quickly recover if a bunch of jobs were suspended due to the workers getting
scared off by wildlife or items temporarily blocking buildling sites.
Usage:: Usage::

@ -2,17 +2,29 @@
reveal reveal
====== ======
**Tags:** `tag/adventure`, `tag/fort`, `tag/inspection`, `tag/armok`, `tag/map`
:dfhack-keybind:`reveal` .. dfhack-tool::
:dfhack-keybind:`unreveal` :summary: Reveals the map.
:dfhack-keybind:`revforget` :tags: adventure fort inspection armok map
:dfhack-keybind:`revtoggle`
:dfhack-keybind:`revflood` .. dfhack-tool:: unreveal
:dfhack-keybind:`nopause` :summary: Hides previously hidden tiles again.
Reveals the map. This reveals all z-layers in fort mode. It also works in .. dfhack-tool:: revforget
adventure mode, but any of its effects are negated once you move. When you use :summary: Discard records about what was visible before revealing the map.
it this way, you don't need to run ``unreveal`` to hide the map again.
.. dfhack-tool:: revtoggle
:summary: Switch between reveal and unreveal.
.. dfhack-tool:: revflood
:summary: Hide everything, then reveal tiles with a path to the cursor.
.. dfhack-tool:: nopause
:summary: Disable pausing.
This reveals all z-layers in fort mode. It also works in adventure mode, but any
of its effects are negated once you move. When you use it this way, you don't
need to run ``unreveal`` to hide the map again.
Usage: Usage:

@ -2,12 +2,17 @@
ruby ruby
==== ====
**Tags:** `tag/dev`
:dfhack-keybind:`rb`
:dfhack-keybind:`rb_eval`
Allow Ruby scripts to be executed. When invoked as a command, you can Eval() a .. dfhack-tool::
ruby string. :summary: Allow Ruby scripts to be executed as DFHack commands.
:tags: dev
:no-command:
.. dfhack-command:: rb
:summary: Eval() a ruby string.
.. dfhack-command:: rb_eval
:summary: Eval() a ruby string.
Usage:: Usage::

@ -2,12 +2,16 @@
search search
====== ======
**Tags:** `tag/fort`, `tag/productivity`, `tag/interface`
Adds search capabilities to the UI. The Stocks, Animals, Trading, Stockpile, .. dfhack-tool::
Noble (assignment candidates), Military (position candidates), Burrows (unit :summary: Adds search capabilities to the UI.
list), Rooms, Announcements, Job List, and Unit List screens all get hotkeys :tags: fort productivity interface
that allow you to dynamically filter the displayed lists. :no-command:
Search options are added to the Stocks, Animals, Trading, Stockpile, Noble
aassignment candidates), Military (position candidates), Burrows (unit list),
Rooms, Announcements, Job List, and Unit List screens all get hotkeys that allow
you to dynamically filter the displayed lists.
Usage:: Usage::

@ -1,9 +1,9 @@
seedwatch seedwatch
========= =========
**Tags:** `tag/fort`, `tag/auto`
:dfhack-keybind:`seedwatch`
Manages seed and plant cooking based on seed stock levels. .. dfhack-tool::
:summary: Manages seed and plant cooking based on seed stock levels.
:tags: fort auto
Each seed type can be assigned a target. If the number of seeds of that type Each seed type can be assigned a target. If the number of seeds of that type
falls below that target, then the plants and seeds of that type will be excluded falls below that target, then the plants and seeds of that type will be excluded

Some files were not shown because too many files have changed in this diff Show More