Flatten plugin documentation

The obvious solution to not knowing how to categories plugins well is to
do so a little less.  This commit does not rearrange them though, since
I thought that counterproductive without a better idea of what to do.

- removed many headings that are not commands
- fixed a few links and added some
- clarified stockpiles plugins
develop
PeridexisErrant 2015-11-07 13:52:21 +11:00
parent 1c25f8f1a3
commit 3d801d45c6
2 changed files with 103 additions and 122 deletions

@ -103,7 +103,7 @@ Fixes
- help: now recognizes built-in commands, like "help" - help: now recognizes built-in commands, like "help"
- `manipulator`: fixed crash when selecting custom professions when none are found - `manipulator`: fixed crash when selecting custom professions when none are found
- `remotefortressreader`: fixed crash when attempting to send map info when no map was loaded - `remotefortressreader`: fixed crash when attempting to send map info when no map was loaded
- `search`: fixed crash in unit list after cancelling a job; fixed crash when disabling stockpile category after searching in a subcategory - `search-plugin`: fixed crash in unit list after cancelling a job; fixed crash when disabling stockpile category after searching in a subcategory
- `stockpiles`: now checks/sanitizes filenames when saving - `stockpiles`: now checks/sanitizes filenames when saving
- `stocks`: fixed a crash when right-clicking - `stocks`: fixed a crash when right-clicking
- `steam-engine`: fixed a crash on arena load; number keys (e.g. 2/8) take priority over cursor keys when applicable - `steam-engine`: fixed a crash on arena load; number keys (e.g. 2/8) take priority over cursor keys when applicable
@ -157,7 +157,7 @@ Misc Improvements
- `prospect`: works from within command-prompt - `prospect`: works from within command-prompt
- `quicksave`: Restricted to fortress mode - `quicksave`: Restricted to fortress mode
- `remotefortressreader`: Exposes more information - `remotefortressreader`: Exposes more information
- `search`: - `search-plugin`:
- Supports noble suggestion screen (e.g. suggesting a baron) - Supports noble suggestion screen (e.g. suggesting a baron)
- Supports fortress mode loo[k] menu - Supports fortress mode loo[k] menu
@ -470,8 +470,8 @@ Misc Improvements
- `EventManager`: deals with frame_counter getting reset properly now. - `EventManager`: deals with frame_counter getting reset properly now.
- `modtools/item-trigger`: fixed equip/unequip bug and corrected minor documentation error - `modtools/item-trigger`: fixed equip/unequip bug and corrected minor documentation error
- `teleport`: Updated with proper argument handling and proper unit-at-destination handling. - `teleport`: Updated with proper argument handling and proper unit-at-destination handling.
- `autotrade <Stockpile automation>`: Removed the newly obsolete :guilabel:`Mark all` functionality. - `autotrade`: Removed the newly obsolete :guilabel:`Mark all` functionality.
- `search`: Adapts to the new trade screen column width - `search-plugin`: Adapts to the new trade screen column width
- `tweak fast-trade <tweak>`: Switching the fast-trade keybinding to Shift-Up/Shift-Down, due to Select All conflict - `tweak fast-trade <tweak>`: Switching the fast-trade keybinding to Shift-Up/Shift-Down, due to Select All conflict
@ -486,8 +486,8 @@ Fixes
----- -----
- Stopped duplicate load/unload events when unloading a world - Stopped duplicate load/unload events when unloading a world
- Stopped ``-e`` from being echoed when DFHack quits on Linux - Stopped ``-e`` from being echoed when DFHack quits on Linux
- `automelt <Stockpile automation>`: now uses a faster method to locate items - `automelt`: now uses a faster method to locate items
- `autotrade <Stockpile automation>`: "Mark all" no longer double-marks bin contents - `autotrade`: "Mark all" no longer double-marks bin contents
- `drain-aquifer`: new script replaces the buggy plugin - `drain-aquifer`: new script replaces the buggy plugin
- `embark-tools`: no longer conflicts with keys on the notes screen - `embark-tools`: no longer conflicts with keys on the notes screen
- `fastdwarf`: Fixed problems with combat/attacks - `fastdwarf`: Fixed problems with combat/attacks
@ -537,18 +537,18 @@ Internals
New Plugins New Plugins
----------- -----------
- `hotkeys`: Shows ingame viewscreen with all dfhack keybindings active in current mode. - `hotkeys`: Shows ingame viewscreen with all dfhack keybindings active in current mode.
- `automelt <Stockpile automation>`: allows marking stockpiles so any items placed in them will be designated for melting - `automelt`: allows marking stockpiles so any items placed in them will be designated for melting
Fixes Fixes
----- -----
- possible crash fixed for `gui/hack-wish` - possible crash fixed for `gui/hack-wish`
- `search`: updated to not conflict with BUILDJOB_SUSPEND - `search-plugin`: updated to not conflict with BUILDJOB_SUSPEND
- `workflow`: job_material_category -> dfhack_material_category - `workflow`: job_material_category -> dfhack_material_category
Misc Improvements Misc Improvements
----------------- -----------------
- now you can use ``@`` to print things in interactive Lua with subtley different semantics - now you can use ``@`` to print things in interactive Lua with subtley different semantics
- optimizations for stockpiles for `autotrade <Stockpile automation>` and `stockflow` - optimizations for stockpiles for `autotrade` and `stockflow`
- updated `exportlegends` to work with new maps, dfhack 40.11 r1+ - updated `exportlegends` to work with new maps, dfhack 40.11 r1+
@ -561,7 +561,7 @@ Internals
Fixes Fixes
----- -----
- `3dveins`: should no longer hang/crash on specific maps - `3dveins`: should no longer hang/crash on specific maps
- `autotrade <Stockpile automation>`, `search`: fixed some layout issues - `autotrade`, `search-plugin`: fixed some layout issues
- `deathcause`: updated - `deathcause`: updated
- `gui/hack-wish`: should work now - `gui/hack-wish`: should work now
- `reveal`: no longer allocates data for nonexistent map blocks - `reveal`: no longer allocates data for nonexistent map blocks

@ -12,9 +12,9 @@ hopefully organised in a way you will find useful.
.. contents:: .. contents::
:depth: 3 :depth: 3
=========================== ===============================
Visualizers and data export Data inspection and visualizers
=========================== ===============================
.. _stonesense: .. _stonesense:
@ -64,10 +64,6 @@ An in-development plugin for realtime fortress visualisation.
See :forums:`Armok Vision <146473>`. See :forums:`Armok Vision <146473>`.
==============
Map inspection
==============
cursecheck cursecheck
========== ==========
Checks a single map tile or the whole map/world for cursed creatures (ghosts, Checks a single map tile or the whole map/world for cursed creatures (ghosts,
@ -346,13 +342,26 @@ UI Upgrades
existing DF screens, they deliberately use red instead of green for the key. existing DF screens, they deliberately use red instead of green for the key.
DFHack Interface .. _automelt:
================
automelt
========
When automelt is enabled for a stockpile, any meltable items placed
in it will be designated to be melted.
This plugin adds an option to the :kbd:`q` menu when `enabled <enable>`.
.. _autotrade:
autotrade
=========
When autotrade is enabled for a stockpile, any items placed in it will be
designated to be taken to the Trade Depot whenever merchants are on the map.
This plugin adds an option to the :kbd:`q` menu when `enabled <enable>`.
.. _command-prompt: .. _command-prompt:
command-prompt command-prompt
-------------- ==============
An in-game DFHack terminal, where you can enter other commands. An in-game DFHack terminal, where you can enter other commands.
Best used from a keybinding; by default :kbd:`Ctrl`:kbd:`Shift`:kbd:`P`. Best used from a keybinding; by default :kbd:`Ctrl`:kbd:`Shift`:kbd:`P`.
@ -371,7 +380,7 @@ Otherwise somewhat similar to `gui/quickcmd`.
.. _hotkeys: .. _hotkeys:
hotkeys hotkeys
------- =======
Opens an in-game screen showing which DFHack keybindings are Opens an in-game screen showing which DFHack keybindings are
active in the current context. active in the current context.
@ -384,7 +393,7 @@ keybinding is :kbd:`Ctrl`:kbd:`F1`. See also `hotkey-notes`.
.. _rb_eval: .. _rb_eval:
rb_eval rb_eval
------- =======
Evaluate the following arguments as a ruby string. Best used as Evaluate the following arguments as a ruby string. Best used as
``:rb_eval [string]``, for the special parsing mode. ``:rb_eval [string]``, for the special parsing mode.
@ -443,6 +452,9 @@ The following mouse shortcuts are also available:
Pressing :kbd:`Esc` normally returns to the unit screen, but :kbd:`Shift`:kbd:`Esc` would exit Pressing :kbd:`Esc` normally returns to the unit screen, but :kbd:`Shift`:kbd:`Esc` would exit
directly to the main dwarf mode screen. directly to the main dwarf mode screen.
.. comment - the link target "search" is reserved for the Sphinx search page
.. _search-plugin:
search search
====== ======
The search plugin adds search to the Stocks, Animals, Trading, Stockpile, The search plugin adds search to the Stocks, Animals, Trading, Stockpile,
@ -482,20 +494,17 @@ only fat or tallow by forbidding fats, then searching for fat/tallow, and
using Permit Fats again while the list is filtered. using Permit Fats again while the list is filtered.
Game interface
==============
.. _nopause: .. _nopause:
nopause nopause
------- =======
Disables pausing (both manual and automatic) with the exception of pause forced Disables pausing (both manual and automatic) with the exception of pause forced
by `reveal` ``hell``. This is nice for digging under rivers. by `reveal` ``hell``. This is nice for digging under rivers.
.. _embark-tools: .. _embark-tools:
embark-tools embark-tools
------------ ============
A collection of embark-related tools. Usage and available tools:: A collection of embark-related tools. Usage and available tools::
embark-tools enable/disable tool [tool]... embark-tools enable/disable tool [tool]...
@ -508,7 +517,7 @@ A collection of embark-related tools. Usage and available tools::
:sticky: Maintains the selected local area while navigating the world map :sticky: Maintains the selected local area while navigating the world map
automaterial automaterial
------------ ============
This makes building constructions (walls, floors, fortifications, etc) a little bit This makes building constructions (walls, floors, fortifications, etc) a little bit
easier by saving you from having to trawl through long lists of materials each time easier by saving you from having to trawl through long lists of materials each time
you place one. you place one.
@ -544,7 +553,7 @@ enabled materials, you should be able to place complex constructions more conven
.. _buildingplan: .. _buildingplan:
buildingplan buildingplan
------------ ============
When active (via ``enable buildingplan``), this plugin adds a planning mode for When active (via ``enable buildingplan``), this plugin adds a planning mode for
furniture placement. You can then place furniture and other buildings before furniture placement. You can then place furniture and other buildings before
the required materials are available, and the job will be unsuspended when the required materials are available, and the job will be unsuspended when
@ -558,7 +567,7 @@ with minimal space dedicated to stockpiles.
.. _confirm: .. _confirm:
confirm confirm
------- =======
Implements several confirmation dialogs for potentially destructive actions Implements several confirmation dialogs for potentially destructive actions
(for example, seizing goods from traders or deleting hauling routes). (for example, seizing goods from traders or deleting hauling routes).
@ -571,7 +580,7 @@ Usage:
Enable (or disable) specific confirmation dialogues. Enable (or disable) specific confirmation dialogues.
follow follow
------ ======
Makes the game view follow the currently highlighted unit after you exit from the Makes the game view follow the currently highlighted unit after you exit from the
current menu or cursor mode. Handy for watching dwarves running around. Deactivated current menu or cursor mode. Handy for watching dwarves running around. Deactivated
by moving the view manually. by moving the view manually.
@ -579,7 +588,7 @@ by moving the view manually.
.. _mousequery: .. _mousequery:
mousequery mousequery
---------- ==========
Adds mouse controls to the DF interface, eg click-and-drag designations. Adds mouse controls to the DF interface, eg click-and-drag designations.
Options: Options:
@ -598,41 +607,38 @@ Usage::
.. _resume: .. _resume:
resume resume
------ ======
Allows automatic resumption of suspended constructions, along with colored Allows automatic resumption of suspended constructions, along with colored
UI hints for construction status. UI hints for construction status.
tidlers tidlers
------- =======
Toggle between all possible positions where the idlers count can be placed. Toggle between all possible positions where the idlers count can be placed.
.. _trackstop: .. _trackstop:
trackstop trackstop
--------- =========
Adds a :kbd:`q` menu for track stops, which is completely blank by default. Adds a :kbd:`q` menu for track stops, which is completely blank by default.
This allows you to view and/or change the track stop's friction and dump This allows you to view and/or change the track stop's friction and dump
direction settings, using the keybindings from the track stop building interface. direction settings, using the keybindings from the track stop building interface.
twaterlvl twaterlvl
--------- =========
Toggle between displaying/not displaying liquid depth as numbers. Toggle between displaying/not displaying liquid depth as numbers.
.. _stocks: .. _stocks:
stocks stocks
------ ======
An improved stocks screen. Replaces the DF stocks screen with an improved version.
stockpile management
--------------------
.. _stocksettings: .. _stocksettings:
.. _stockpiles: .. _stockpiles:
import/export stocksettings
~~~~~~~~~~~~~ =============
The following commands allow you to save and load stockpile settings. Offers the following commands to save and load stockpile settings.
See `gui/stockpiles` for an in-game interface. See `gui/stockpiles` for an in-game interface.
:copystock: Copies the parameters of the currently highlighted stockpile to the custom :copystock: Copies the parameters of the currently highlighted stockpile to the custom
@ -656,27 +662,10 @@ Note that files are relative to the DF folder, so put your files there or in a
subfolder for easy access. Filenames should not have spaces. Generated materials, subfolder for easy access. Filenames should not have spaces. Generated materials,
divine metals, etc are not saved as they are different in every world. divine metals, etc are not saved as they are different in every world.
.. _`Stockpile automation`:
Stockpile automation
~~~~~~~~~~~~~~~~~~~~
Enable the autodump, automelt and autotrade plugins in your dfhack.init with::
enable autodump automelt autotrade
When querying a stockpile, options will appear to toggle automation settings for this stockpile.
When automelt is enabled for a stockpile, any meltable items placed in it will be designated
to be melted. When autotrade is enabled for a stockpile, any items placed in it will be
designated to be taken to the Trade Depot whenever merchants are on the map.
When autodump is enabled for a stockpile, any items placed in this stockpile will
automatically be designated to be dumped.
.. _rename: .. _rename:
rename rename
------ ======
Allows renaming various things. Use `gui/rename` for an in-game interface. Allows renaming various things. Use `gui/rename` for an in-game interface.
Options: Options:
@ -698,10 +687,9 @@ Options:
.. _rendermax: .. _rendermax:
rendermax rendermax
--------- =========
A collection of renderer replacing/enhancing filters. For better effect try changing the A collection of renderer replacing/enhancing filters. For better effect try changing the
black color in palette to non totally black. For more info see black color in palette to non totally black. See :forums:`128487` for more info.
`the Bay12 Rendermax thread <http://www.bay12forums.com/smf/index.php?topic=128487>`_.
Options: Options:
@ -798,7 +786,9 @@ Examples:
.. _autohauler: .. _autohauler:
autohauler autohauler
---------- ==========
Autohauler is an autolabor fork.
Rather than the all-of-the-above means of autolabor, autohauler will instead Rather than the all-of-the-above means of autolabor, autohauler will instead
only manage hauling labors and leave skilled labors entirely to the user, who only manage hauling labors and leave skilled labors entirely to the user, who
will probably use Dwarf Therapist to do so. will probably use Dwarf Therapist to do so.
@ -817,13 +807,10 @@ being assigned when the skill is present. By default this is the unused
ALCHEMIST labor but can be changed by the user. ALCHEMIST labor but can be changed by the user.
Job management
==============
.. _job: .. _job:
job job
--- ===
Command for general job query and manipulation. Command for general job query and manipulation.
Options: Options:
@ -839,8 +826,8 @@ Options:
Replace the exact item type id in the job item. Replace the exact item type id in the job item.
job-material job-material
------------ ============
Alter the material of the selected job. Alter the material of the selected job. Similar to ``job item-material ...``
Invoked as:: Invoked as::
@ -855,19 +842,19 @@ Intended to be used as a keybinding:
over the first available choice with the matching material. over the first available choice with the matching material.
job-duplicate job-duplicate
------------- =============
Duplicate the selected job in a workshop: In :kbd:`q` mode, when a job is highlighted within a workshop or furnace
building, calling ``job-duplicate`` instantly duplicates the job.
* In :kbd:`q` mode, when a job is highlighted within a workshop or furnace building,
instantly duplicates the job.
.. _stockflow: .. _stockflow:
stockflow stockflow
--------- =========
Allows the fortress bookkeeper to queue jobs through the manager, Allows the fortress bookkeeper to queue jobs through the manager,
based on space or items available in stockpiles. based on space or items available in stockpiles.
Inspired by `workflow`.
Usage: Usage:
``stockflow enable`` ``stockflow enable``
@ -896,11 +883,9 @@ waiting for the bookkeeper.
.. _workflow: .. _workflow:
workflow workflow
-------- ========
Manage control of repeat jobs. Manage control of repeat jobs. `gui/workflow` provides a simple
front-end integrated in the game UI.
Check out `gui/workflow` for a simple front-end integrated
in the game UI.
Usage: Usage:
@ -928,7 +913,7 @@ Usage:
Delete all constraints. Delete all constraints.
Function Function
~~~~~~~~ --------
When the plugin is enabled, it protects all repeat jobs from removal. When the plugin is enabled, it protects all repeat jobs from removal.
If they do disappear due to any cause, they are immediately re-added to their If they do disappear due to any cause, they are immediately re-added to their
workshop and suspended. workshop and suspended.
@ -940,15 +925,14 @@ the amount has to drop before jobs are resumed; this is intended to reduce
the frequency of jobs being toggled. the frequency of jobs being toggled.
Constraint format Constraint format
~~~~~~~~~~~~~~~~~ -----------------
The constraint spec consists of 4 parts, separated with ``/`` characters:: The constraint spec consists of 4 parts, separated with ``/`` characters::
ITEM[:SUBTYPE]/[GENERIC_MAT,...]/[SPECIFIC_MAT:...]/[LOCAL,<quality>] ITEM[:SUBTYPE]/[GENERIC_MAT,...]/[SPECIFIC_MAT:...]/[LOCAL,<quality>]
The first part is mandatory and specifies the item type and subtype, The first part is mandatory and specifies the item type and subtype,
using the raw tokens for items, in the same syntax you would e.g. use using the raw tokens for items (the same syntax used custom reaction inputs).
for a custom reaction input. For more information, see For more information, see :wiki:`this wiki page <Material_token>`.
`this page. <http://dwarffortresswiki.org/index.php/Material_token>`_
The subsequent parts are optional: The subsequent parts are optional:
@ -967,7 +951,7 @@ The subsequent parts are optional:
be used to ignore imported items or items below a certain quality. be used to ignore imported items or items below a certain quality.
Constraint examples Constraint examples
~~~~~~~~~~~~~~~~~~~ -------------------
Keep metal bolts within 900-1000, and wood/bone within 150-200:: Keep metal bolts within 900-1000, and wood/bone within 150-200::
workflow amount AMMO:ITEM_AMMO_BOLTS/METAL 1000 100 workflow amount AMMO:ITEM_AMMO_BOLTS/METAL 1000 100
@ -1005,7 +989,7 @@ Make sure there are always 80-100 units of dimple dye::
.. note:: .. note::
In order for this to work, you have to set the material of the PLANT input In order for this to work, you have to set the material of the PLANT input
on the Mill Plants job to MUSHROOM_CUP_DIMPLE using the `job` ``item-material`` on the Mill Plants job to MUSHROOM_CUP_DIMPLE using the `job item-material <job>`
command. Otherwise the plugin won't be able to deduce the output material. command. Otherwise the plugin won't be able to deduce the output material.
Maintain 10-100 locally-made crafts of exceptional quality:: Maintain 10-100 locally-made crafts of exceptional quality::
@ -1013,13 +997,10 @@ Maintain 10-100 locally-made crafts of exceptional quality::
workflow count CRAFTS///LOCAL,EXCEPTIONAL 100 90 workflow count CRAFTS///LOCAL,EXCEPTIONAL 100 90
Cleanup and garbage disposal
============================
.. _clean: .. _clean:
clean clean
----- =====
Cleans all the splatter that get scattered all over the map, items and Cleans all the splatter that get scattered all over the map, items and
creatures. In an old fortress, this can significantly reduce FPS lag. It can creatures. In an old fortress, this can significantly reduce FPS lag. It can
also spoil your !!FUN!!, so think before you use it. also spoil your !!FUN!!, so think before you use it.
@ -1036,15 +1017,19 @@ Extra options for ``map``:
:snow: Also remove snow coverings. :snow: Also remove snow coverings.
spotclean spotclean
--------- =========
Works like ``clean map snow mud``, but only for the tile under the cursor. Ideal Works like ``clean map snow mud``, but only for the tile under the cursor. Ideal
if you want to keep that bloody entrance ``clean map`` would clean up. if you want to keep that bloody entrance ``clean map`` would clean up.
.. _autodump: .. _autodump:
autodump autodump
-------- ========
This utility lets you quickly move all items designated to be dumped. This plugin adds an option to the :kbd:`q` menu for stckpiles when `enabled <enable>`.
When autodump is enabled for a stockpile, any items placed in the stockpile will
automatically be designated to be dumped.
ALternatively, you can use it to quickly move all items designated to be dumped.
Items are instantly moved to the cursor position, the dump flag is unset, Items are instantly moved to the cursor position, the dump flag is unset,
and the forbid flag is set, as if it had been dumped normally. and the forbid flag is set, as if it had been dumped normally.
Be aware that any active dump item tasks still point at the item. Be aware that any active dump item tasks still point at the item.
@ -1054,18 +1039,17 @@ Cursor must be placed on a floor tile so the items can be dumped there.
Options: Options:
:destroy: Destroy instead of dumping. Doesn't require a cursor. :destroy: Destroy instead of dumping. Doesn't require a cursor.
:destroy-here: Destroy items only under the cursor. Alias ``autodump-destroy-here``, for keybindings. If called again before the game is resumed, cancels destroy.
:destroy-here: As ``destroy``, but only the selected item in the :kbd:`k` list,
or inside a container.
Alias ``autodump-destroy-here``, for keybindings.
:visible: Only process items that are not hidden. :visible: Only process items that are not hidden.
:hidden: Only process hidden items. :hidden: Only process hidden items.
:forbidden: Only process forbidden items (default: only unforbidden). :forbidden: Only process forbidden items (default: only unforbidden).
autodump-destroy-item
~~~~~~~~~~~~~~~~~~~~~
Destroy the selected item. The item may be selected in the :kbd:`k` list, or inside
a container. If called again before the game is resumed, cancels destroy.
cleanowned cleanowned
---------- ==========
Confiscates items owned by dwarfs. By default, owned food on the floor Confiscates items owned by dwarfs. By default, owned food on the floor
and rotten items are confistacted and dumped. and rotten items are confistacted and dumped.
@ -1085,13 +1069,10 @@ Example:
worn items with 'X' damage and above. worn items with 'X' damage and above.
Fortress activity management
============================
.. _dwarfmonitor: .. _dwarfmonitor:
dwarfmonitor dwarfmonitor
------------ ============
Records dwarf activity to measure fort efficiency. Records dwarf activity to measure fort efficiency.
Options: Options:
@ -1164,13 +1145,13 @@ Some widgets support additional options:
nothing will be displayed. nothing will be displayed.
workNow workNow
------- =======
Force all dwarves to look for a job immediately, or as soon as the game is unpaused. Force all dwarves to look for a job immediately, or as soon as the game is unpaused.
.. _seedwatch: .. _seedwatch:
seedwatch seedwatch
--------- =========
Watches the numbers of seeds available and enables/disables seed and plant cooking. Watches the numbers of seeds available and enables/disables seed and plant cooking.
Each plant type can be assigned a limit. If their number falls below that limit, Each plant type can be assigned a limit. If their number falls below that limit,
@ -1200,7 +1181,7 @@ Examples:
.. _zone: .. _zone:
zone zone
---- ====
Helps a bit with managing activity zones (pens, pastures and pits) and cages. Helps a bit with managing activity zones (pens, pastures and pits) and cages.
Options: Options:
@ -1256,7 +1237,7 @@ Filters:
:milkable: Race is milkable. Negatable. :milkable: Race is milkable. Negatable.
Usage with single units Usage with single units
~~~~~~~~~~~~~~~~~~~~~~~ -----------------------
One convenient way to use the zone tool is to bind the command 'zone assign' to One convenient way to use the zone tool is to bind the command 'zone assign' to
a hotkey, maybe also the command 'zone set'. Place the in-game cursor over a hotkey, maybe also the command 'zone set'. Place the in-game cursor over
a pen/pasture or pit, use 'zone set' to mark it. Then you can select units a pen/pasture or pit, use 'zone set' to mark it. Then you can select units
@ -1265,7 +1246,7 @@ and use 'zone assign' to assign them to their new home. Allows pitting your
own dwarves, by the way. own dwarves, by the way.
Usage with filters Usage with filters
~~~~~~~~~~~~~~~~~~ ------------------
All filters can be used together with the 'assign' command. All filters can be used together with the 'assign' command.
Restrictions: It's not possible to assign units who are inside built cages Restrictions: It's not possible to assign units who are inside built cages
@ -1286,14 +1267,14 @@ are not properly added to your own stocks; slaughtering them should work).
Most filters can be negated (e.g. 'not grazer' -> race is not a grazer). Most filters can be negated (e.g. 'not grazer' -> race is not a grazer).
Mass-renaming Mass-renaming
~~~~~~~~~~~~~ -------------
Using the 'nick' command you can set the same nickname for multiple units. Using the 'nick' command you can set the same nickname for multiple units.
If used without 'assign', 'all' or 'count' it will rename all units in the If used without 'assign', 'all' or 'count' it will rename all units in the
current default target zone. Combined with 'assign', 'all' or 'count' (and current default target zone. Combined with 'assign', 'all' or 'count' (and
further optional filters) it will rename units matching the filter conditions. further optional filters) it will rename units matching the filter conditions.
Cage zones Cage zones
~~~~~~~~~~ ----------
Using the 'tocages' command you can assign units to a set of cages, for example Using the 'tocages' command you can assign units to a set of cages, for example
a room next to your butcher shop(s). They will be spread evenly among available a room next to your butcher shop(s). They will be spread evenly among available
cages to optimize hauling to and butchering from them. For this to work you need cages to optimize hauling to and butchering from them. For this to work you need
@ -1304,7 +1285,7 @@ would make no sense, but can be used together with 'nick' or 'remnick' and all
the usual filters. the usual filters.
Examples Examples
~~~~~~~~ --------
``zone assign all own ALPACA minage 3 maxage 10`` ``zone assign all own ALPACA minage 3 maxage 10``
Assign all own alpacas who are between 3 and 10 years old to the selected Assign all own alpacas who are between 3 and 10 years old to the selected
pasture. pasture.
@ -1327,7 +1308,7 @@ Examples
on the current default zone. on the current default zone.
autonestbox autonestbox
----------- ===========
Assigns unpastured female egg-layers to nestbox zones. Requires that you create Assigns unpastured female egg-layers to nestbox zones. Requires that you create
pen/pasture zones above nestboxes. If the pen is bigger than 1x1 the nestbox pen/pasture zones above nestboxes. If the pen is bigger than 1x1 the nestbox
must be in the top left corner. Only 1 unit will be assigned per pen, regardless must be in the top left corner. Only 1 unit will be assigned per pen, regardless
@ -1349,7 +1330,7 @@ Options:
.. _autobutcher: .. _autobutcher:
autobutcher autobutcher
----------- ===========
Assigns lifestock for slaughter once it reaches a specific count. Requires that Assigns lifestock for slaughter once it reaches a specific count. Requires that
you add the target race(s) to a watch list. Only tame units will be processed. you add the target race(s) to a watch list. Only tame units will be processed.
@ -1441,7 +1422,7 @@ add some new races with 'watch'. If you simply want to stop it completely use
autobutcher unwatch ALPACA CAT autobutcher unwatch ALPACA CAT
autochop autochop
--------- ========
Automatically manage tree cutting designation to keep available logs withing given Automatically manage tree cutting designation to keep available logs withing given
quotas. quotas.
@ -1674,7 +1655,7 @@ Basic commands:
:diglx: Also cross z-levels, digging stairs as needed. Alias for ``digl x``. :diglx: Also cross z-levels, digging stairs as needed. Alias for ``digl x``.
digexp digexp
------ ======
This command is for :wiki:`exploratory mining <Exploratory_mining>`. This command is for :wiki:`exploratory mining <Exploratory_mining>`.
There are two variables that can be set: pattern and filter. There are two variables that can be set: pattern and filter.
@ -1706,7 +1687,7 @@ Examples:
Take current designations and replace them with the ladder pattern Take current designations and replace them with the ladder pattern
digcircle digcircle
--------- =========
A command for easy designation of filled and hollow circles. A command for easy designation of filled and hollow circles.
It has several types of options. It has several types of options.
@ -1742,7 +1723,7 @@ Examples:
Do it again. Do it again.
digtype digtype
------- =======
For every tile on the map of the same vein type as the selected tile, For every tile on the map of the same vein type as the selected tile,
this command designates it to have the same designation as the this command designates it to have the same designation as the
selected tile. If the selected tile has no designation, they will be selected tile. If the selected tile has no designation, they will be