dfhack/docs/plugins/channel-safely.rst

77 lines
3.2 KiB
ReStructuredText

2022-11-06 01:12:35 -06:00
channel-safely
==============
.. dfhack-tool::
:summary: Auto-manage channel designations to keep dwarves safe.
2022-11-06 01:12:35 -06:00
:tags: fort auto
Multi-level channel projects can be dangerous, and managing the safety of your
dwarves throughout the completion of such projects can be difficult and time
consuming. This plugin keeps your dwarves safe (at least while channeling) so you don't
2022-11-06 01:12:35 -06:00
have to. Now you can focus on designing your dwarven cities with the deep chasms
they were meant to have.
Usage
-----
::
2022-11-22 14:28:27 -07:00
2022-11-06 01:12:35 -06:00
enable channel-safely
channel-safely set <setting> <value>
channel-safely enable|disable <feature>
channel-safely <command>
2022-11-06 01:12:35 -06:00
When enabled the map will be scanned for channel designations which will be grouped
together based on adjacency and z-level. These groups will then be analyzed for safety
and designations deemed unsafe will be put into :wiki:`Marker Mode <Designations_menu#Marker_Mode>`.
Each time a channel designation is completed its group status is checked, and if the group
is complete pending groups below are made active again.
2022-11-23 12:39:04 -07:00
Features and settings once set will persist until you change them, even if you save and reload your game.
2022-11-23 11:37:33 -07:00
2022-11-06 01:12:35 -06:00
Examples
--------
``channel-safely``
The plugin reports its configured status.
``channel-safely runonce``
2022-11-06 01:12:35 -06:00
Runs the safety procedures once. You can use this if you prefer initiating scans manually.
``channel-safely disable require-vision``
Allows the plugin to read all tiles, including the ones your dwarves know nothing about.
``channel-safely enable monitor``
2022-11-06 01:12:35 -06:00
Enables monitoring active channel digging jobs. Meaning that if another unit it present
or the tile below becomes open space the job will be paused or canceled (respectively).
``channel-safely set ignore-threshold 3``
Configures the plugin to ignore designations equal to or above priority 3 designations.
Commands
--------
:runonce: Run the safety procedures once to set the marker mode of designations.
:rebuild: Rebuild the designation group data. Intended for to be used in the event
the marker mode isn't being set correctly (mostly for debugging).
2022-11-06 01:12:35 -06:00
Features
--------
2022-11-06 01:12:35 -06:00
:require-vision: Toggle whether the dwarves need vision of a tile before channeling to it can be deemed unsafe. (default: enabled)
2022-11-07 15:54:39 -07:00
:monitor: Toggle whether to monitor the conditions of active digs. (default: disabled)
:resurrect: Toggle whether to resurrect units involved in cave-ins, and if monitor is enabled
units who die while digging. (default: disabled)
2022-11-07 15:54:39 -07:00
:insta-dig: Toggle whether to use insta-digging on unreachable designations.
Runs on the refresh cycles. (default: disabled)
2022-11-06 01:12:35 -06:00
Settings
--------
2022-11-06 01:12:35 -06:00
:refresh-freq: The rate at which full refreshes are performed.
This can be expensive if you're undertaking many mega projects. (default:600, twice a day)
2022-11-06 14:16:27 -07:00
:monitor-freq: The rate at which active jobs are monitored. (default:1)
2022-11-06 01:12:35 -06:00
:ignore-threshold: Sets the priority threshold below which designations are processed. You can set to 1 or 0 to
2022-11-06 14:16:27 -07:00
effectively disable the scanning. (default: 5)
2022-11-06 01:12:35 -06:00
:fall-threshold: Sets the fall threshold beyond which is considered unsafe. (default: 1)