2022-07-10 00:01:46 -06:00
|
|
|
autodump
|
|
|
|
========
|
sync tags spreadsheet to git
spreadsheet - https://docs.google.com/spreadsheets/d/1hiDlo8M_bB_1jE-5HRs2RrrA_VZ4cRu9VXaTctX_nwk/edit#gid=170388995
sync command - for fname in *rst; do name=$(echo $fname | sed 's/[.]rst//'); tagline=$(egrep ",$name," ~/Downloads/DFHack\ taxonomy\ -\ Tool\ tags.csv | ~/Downloads/csvtotags.sh); sed -ri "s;[*]*Tags:.*;$tagline;" $fname; done
contents of csvtotags.sh -
fgrep . | sed -r 's/^[^,]+,([^,]+),[^.]+[.]"?,/\1,/' | awk -F, '
function tag(idx, tagname) {
if ($idx == "TRUE") {
if (hastag == 1) {printf(", ")}
printf("`tag/%s`", tagname)
hastag = 1
}
}
{
printf("%s", "**Tags:** ")
hastag = 0
tag(2, "adventure")
tag(3, "fort")
tag(4, "legends")
tag(5, "embark")
tag(6, "system")
tag(7, "dev")
tag(8, "auto")
tag(9, "productivity")
tag(10, "inspection")
tag(11, "design")
tag(12, "quickfort")
tag(13, "interface")
tag(14, "fps")
tag(15, "fix")
tag(16, "mod")
tag(17, "armok")
tag(18, "animals")
tag(19, "buildings")
tag(20, "items")
tag(21, "jobs")
tag(22, "map")
tag(23, "labors")
tag(24, "units")
tag(25, "stockpiles")
tag(26, "trees")
printf("\n")
}
'
2022-08-05 18:55:33 -06:00
|
|
|
**Tags:** `tag/fort`, `tag/auto`, `tag/fps`, `tag/items`, `tag/stockpiles`
|
2022-07-20 00:11:02 -06:00
|
|
|
:dfhack-keybind:`autodump`
|
2022-07-22 01:05:53 -06:00
|
|
|
:dfhack-keybind:`autodump-destroy-here`
|
|
|
|
:dfhack-keybind:`autodump-destroy-item`
|
2022-07-20 00:11:02 -06:00
|
|
|
|
2022-07-22 11:14:50 -06:00
|
|
|
:index:`Automatically set items in a stockpile to be dumped.
|
|
|
|
<autodump (plugin); Automatically set items in a stockpile to be dumped.>` When
|
|
|
|
`enabled <enable>`, this plugin adds an option to the :kbd:`q` menu for
|
|
|
|
stockpiles. When the ``autodump`` option is selected for the stockpile, any
|
|
|
|
items placed in the stockpile will automatically be designated to be dumped.
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-07-22 01:05:53 -06:00
|
|
|
When invoked as a command, it can instantly move all unforbidden items marked
|
|
|
|
for dumping to the tile under the cursor. After moving the items, the dump flag
|
|
|
|
is unset and the forbid flag is set, just as if it had been dumped normally. Be
|
2022-07-18 14:28:16 -06:00
|
|
|
aware that dwarves that are en route to pick up the item for dumping may still
|
|
|
|
come and move the item to your dump zone.
|
|
|
|
|
|
|
|
The cursor must be placed on a floor tile so the items can be dumped there.
|
|
|
|
|
|
|
|
Usage::
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-07-18 14:28:16 -06:00
|
|
|
enable autodump
|
|
|
|
autodump [<options>]
|
2022-07-22 01:05:53 -06:00
|
|
|
autodump-destroy-here
|
|
|
|
autodump-destroy-item
|
|
|
|
|
|
|
|
``autodump-destroy-here`` is an alias for ``autodump destroy-here`` and is
|
|
|
|
intended for use as a keybinding.
|
|
|
|
|
|
|
|
``autodump-destroy-item`` destroys only the selected item. The item may be
|
|
|
|
selected in the :kbd:`k` list or in the container item list. If called again
|
|
|
|
before the game is resumed, cancels destruction of the item.
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-07-20 00:11:02 -06:00
|
|
|
Options
|
|
|
|
-------
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-07-23 17:03:40 -06:00
|
|
|
``destroy``
|
2022-07-18 14:28:16 -06:00
|
|
|
Destroy instead of dumping. Doesn't require a cursor. If ``autodump`` is
|
|
|
|
called again with this option before the game is resumed, it cancels
|
2022-07-22 01:05:53 -06:00
|
|
|
pending destroy actions.
|
2022-07-23 17:03:40 -06:00
|
|
|
``destroy-here``
|
2022-07-22 01:05:53 -06:00
|
|
|
:index:`Destroy items marked for dumping under the cursor.
|
|
|
|
<autodump-destroy-here; Destroy items marked for dumping under the cursor.>`
|
2022-07-23 17:03:40 -06:00
|
|
|
``visible``
|
2022-07-18 14:28:16 -06:00
|
|
|
Only process items that are not hidden.
|
2022-07-23 17:03:40 -06:00
|
|
|
``hidden``
|
2022-07-18 14:28:16 -06:00
|
|
|
Only process hidden items.
|
2022-07-23 17:03:40 -06:00
|
|
|
``forbidden``
|
2022-07-18 14:28:16 -06:00
|
|
|
Only process forbidden items (default: only unforbidden).
|
|
|
|
|
2022-07-20 00:11:02 -06:00
|
|
|
Examples
|
|
|
|
--------
|
2022-07-18 14:28:16 -06:00
|
|
|
|
2022-07-23 17:03:40 -06:00
|
|
|
``autodump``
|
2022-07-22 01:05:53 -06:00
|
|
|
:index:`Teleports items marked for dumping to the cursor position.
|
|
|
|
<autodump; Teleports items marked for dumping to the cursor position.>`
|
2022-07-23 17:03:40 -06:00
|
|
|
``autodump destroy``
|
2022-07-18 14:28:16 -06:00
|
|
|
Destroys all unforbidden items marked for dumping
|
2022-07-23 17:03:40 -06:00
|
|
|
``autodump-destroy-item``
|
2022-07-22 01:05:53 -06:00
|
|
|
:index:`Destroys the selected item.
|
|
|
|
<autodump-destroy-item; Destroys the selected item.>`
|