2022-07-10 00:01:46 -06:00
|
|
|
dig-now
|
|
|
|
=======
|
2022-07-22 18:46:33 -06:00
|
|
|
Tags:
|
|
|
|
:dfhack-keybind:`dig-now`
|
|
|
|
|
|
|
|
:index:`Instantly complete dig designations.
|
|
|
|
<dig-now; Instantly complete dig designations.>` This tool will magically
|
|
|
|
complete non-marker dig designations, modifying tile 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.
|
2022-07-10 00:01:46 -06:00
|
|
|
|
|
|
|
Note that no units will get mining or engraving experience for the dug/engraved
|
|
|
|
tiles.
|
|
|
|
|
|
|
|
Trees and roots are not currently handled by this plugin and will be skipped.
|
|
|
|
Requests for engravings are also skipped since they would depend on the skill
|
|
|
|
and creative choices of individual engravers. Other types of engraving (i.e.
|
|
|
|
smoothing and track carving) are handled.
|
|
|
|
|
|
|
|
Usage::
|
|
|
|
|
|
|
|
dig-now [<pos> [<pos>]] [<options>]
|
|
|
|
|
|
|
|
Where the optional ``<pos>`` pair can be used to specify the coordinate bounds
|
|
|
|
within which ``dig-now`` will operate. If they are not specified, ``dig-now``
|
|
|
|
will scan the entire map. If only one ``<pos>`` is specified, only the tile at
|
|
|
|
that coordinate is processed.
|
|
|
|
|
|
|
|
Any ``<pos>`` parameters can either be an ``<x>,<y>,<z>`` triple (e.g.
|
|
|
|
``35,12,150``) or the string ``here``, which means the position of the active
|
2022-07-22 18:46:33 -06:00
|
|
|
game cursor should be used. You can use the `position` command to get the
|
|
|
|
current cursor position if you need it.
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-07-23 22:55:49 -06:00
|
|
|
Examples
|
|
|
|
--------
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-07-23 22:55:49 -06:00
|
|
|
``dig-now``
|
2022-07-10 00:01:46 -06:00
|
|
|
Dig designated tiles according to standard game rules.
|
2022-07-23 22:55:49 -06:00
|
|
|
``dig-now --clean``
|
2022-07-22 18:46:33 -06:00
|
|
|
Dig all designated tiles, but don't generate any boulders, ores, or gems.
|
2022-07-23 22:55:49 -06:00
|
|
|
``dig-now --dump here``
|
2022-07-22 18:46:33 -06:00
|
|
|
Dig tiles and teleport all generated boulders, ores, and gems to the tile
|
|
|
|
under the game cursor.
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-07-23 22:55:49 -06:00
|
|
|
Options
|
|
|
|
-------
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-07-23 22:55:49 -06:00
|
|
|
``-c``, ``--clean``
|
2022-07-10 00:01:46 -06:00
|
|
|
Don't generate any boulders, ores, or gems. Equivalent to
|
|
|
|
``--percentages 0,0,0,0``.
|
2022-07-23 22:55:49 -06:00
|
|
|
``-d``, ``--dump <pos>``
|
2022-07-10 00:01:46 -06:00
|
|
|
Dump any generated items at the specified coordinates. If the tile at those
|
|
|
|
coordinates is open space or is a wall, items will be generated on the
|
|
|
|
closest walkable tile below.
|
2022-07-23 22:55:49 -06:00
|
|
|
``-e``, ``--everywhere``
|
2022-07-10 00:01:46 -06:00
|
|
|
Generate a boulder, ore, or gem for every tile that can produce one.
|
|
|
|
Equivalent to ``--percentages 100,100,100,100``.
|
2022-07-23 22:55:49 -06:00
|
|
|
``-p``, ``--percentages <layer>,<vein>,<small cluster>,<deep>``
|
2022-07-10 00:01:46 -06:00
|
|
|
Set item generation percentages for each of the tile categories. The
|
|
|
|
``vein`` category includes both the large oval clusters and the long stringy
|
|
|
|
mineral veins. Default is ``25,33,100,100``.
|
2022-07-23 22:55:49 -06:00
|
|
|
``-z``, ``--cur-zlevel``
|
2022-07-10 00:01:46 -06:00
|
|
|
Restricts the bounds to the currently visible z-level.
|