dfhack/docs/plugins/digFlood.rst

39 lines
1.3 KiB
ReStructuredText

digFlood
========
**Tags:** `tag/fort`, `tag/auto`, `tag/map`
2022-07-24 18:01:50 -06:00
:dfhack-keybind:`digFlood`
:index:`Digs out veins as they are discovered.
<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
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:
2022-07-24 18:01:50 -06:00
``enable digflood``
Enable the plugin.
``digflood 1 <vein type> [<vein type> ...]``
Start monitoring for the specified vein types.
``digFlood 0 <vein type> [<vein type> ...] 1``
Stop monitoring for the specified vein types. Note the required ``1`` at the
end.
``digFlood CLEAR``
Remove all inorganics from monitoring.
``digFlood digAll1``
Ignore the monitor list and dig any vein.
``digFlood digAll0``
Disable digAll mode.
You can get the list of valid vein types with this command::
lua "for i,mat in ipairs(df.global.world.raws.inorganics) do if mat.material.flags.IS_STONE and not mat.material.flags.NO_STONE_STOCKPILE then print(i, mat.id) end end"
Examples
--------
``digFlood 1 MICROCLINE COAL_BITUMINOUS``
Automatically dig microcline and bituminous coal veins.
``digFlood 0 MICROCLINE 1``
Stop automatically digging microcline.