2022-07-10 00:01:46 -06:00
|
|
|
autohauler
|
|
|
|
==========
|
2022-07-20 00:11:02 -06:00
|
|
|
|
2022-08-09 23:37:24 -06:00
|
|
|
.. dfhack-tool::
|
|
|
|
:summary: Automatically manage hauling labors.
|
|
|
|
:tags: fort auto labors
|
|
|
|
|
|
|
|
Similar to `autolabor`, but instead of managing all labors, ``autohauler`` only
|
|
|
|
addresses hauling labors, leaving the assignment of skilled labors entirely up
|
|
|
|
to you. You can use the in-game `manipulator` UI or an external tool like Dwarf
|
|
|
|
Therapist to do so.
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-07-18 15:33:24 -06:00
|
|
|
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 removed. This is to encourage every dwarf to do their assigned skilled
|
|
|
|
labors whenever possible, but resort to hauling when those jobs are not
|
|
|
|
available. This also implies that the user will have a very tight skill
|
|
|
|
assignment, with most skilled labors only being assigned to just a few dwarves
|
|
|
|
and almost every non-military dwarf having at least one skilled labor assigned.
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-07-18 15:33:24 -06:00
|
|
|
Autohauler allows a skill to be used as a flag to exempt a dwarf from
|
|
|
|
``autohauler``'s effects. By default, this is the unused ALCHEMIST labor, but it
|
|
|
|
can be changed by the user.
|
|
|
|
|
|
|
|
Usage:
|
|
|
|
|
2022-07-23 17:03:40 -06:00
|
|
|
``enable autohauler``
|
2022-07-18 15:53:06 -06:00
|
|
|
Start managing hauling labors. This is normally all you need to do.
|
|
|
|
Autohauler works well on default settings.
|
2022-07-23 17:03:40 -06:00
|
|
|
``autohauler status``
|
2022-07-18 15:33:24 -06:00
|
|
|
Show autohauler status and status of fort dwarves.
|
2022-07-23 17:03:40 -06:00
|
|
|
``autohauler <labor> haulers``
|
2022-07-18 15:33:24 -06:00
|
|
|
Set whether a particular labor should be assigned to haulers.
|
2022-07-23 17:03:40 -06:00
|
|
|
``autohauler <labor> allow|forbid``
|
2022-07-18 15:33:24 -06:00
|
|
|
Set whether a particular labor should mark a dwarf as exempt from hauling.
|
|
|
|
By default, only the ``ALCHEMIST`` labor is set to ``forbid``.
|
2022-07-23 17:03:40 -06:00
|
|
|
``autohauler reset-all|<labor> reset``
|
2022-07-18 15:33:24 -06:00
|
|
|
Reset a particular labor (or all labors) to their default
|
|
|
|
haulers/allow/forbid state.
|
2022-07-23 17:03:40 -06:00
|
|
|
``autohauler list``
|
2022-07-18 15:33:24 -06:00
|
|
|
Show the active configuration for all labors.
|
2022-07-23 17:03:40 -06:00
|
|
|
``autohauler frameskip <number>``
|
2022-07-18 15:33:24 -06:00
|
|
|
Set the number of frames between runs of autohauler.
|
2022-07-23 17:03:40 -06:00
|
|
|
``autohauler debug``
|
2022-07-18 15:33:24 -06:00
|
|
|
In the next cycle, output the state of every dwarf.
|
|
|
|
|
2022-07-20 00:11:02 -06:00
|
|
|
Examples
|
|
|
|
--------
|
2022-07-18 17:20:43 -06:00
|
|
|
|
2022-07-23 17:03:40 -06:00
|
|
|
``autohauler HAUL_STONE haulers``
|
2022-07-18 15:33:24 -06:00
|
|
|
Set stone hauling as a hauling labor (this is already the default).
|
2022-07-23 17:03:40 -06:00
|
|
|
``autohauler RECOVER_WOUNDED allow``
|
2022-07-18 15:33:24 -06:00
|
|
|
Allow the "Recover wounded" labor to be manually assigned by the player. By
|
|
|
|
default it is automatically given to haulers.
|
2022-07-23 17:03:40 -06:00
|
|
|
``autohauler MINE forbid``
|
2022-07-18 15:33:24 -06:00
|
|
|
Don't assign hauling labors to dwarves with the Mining labor enabled.
|