2022-07-22 18:51:48 -06:00
|
|
|
.. _clean:
|
|
|
|
.. _spotclean:
|
|
|
|
|
2022-07-22 17:42:36 -06:00
|
|
|
cleaners
|
|
|
|
========
|
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/adventure`, `tag/fort`, `tag/fps`, `tag/items`, `tag/map`, `tag/units`
|
2022-07-22 17:42:36 -06:00
|
|
|
:dfhack-keybind:`clean`
|
|
|
|
:dfhack-keybind:`spotclean`
|
|
|
|
|
2022-07-28 06:41:29 -06:00
|
|
|
:index:`Removes contaminants. <clean; Removes contaminants.>` More
|
|
|
|
specifically, it cleans all the splatter that get scattered all over the map and
|
|
|
|
that clings to your items and units. In an old fortress, cleaning with this tool
|
|
|
|
can significantly reduce FPS lag. It can also spoil your !!FUN!!, so think
|
|
|
|
before you use it.
|
2022-07-22 17:42:36 -06:00
|
|
|
|
|
|
|
Usage::
|
|
|
|
|
|
|
|
clean all|map|items|units|plants [<options>]
|
|
|
|
spotclean
|
|
|
|
|
|
|
|
By default, cleaning the map leaves mud and snow alone. Note that cleaning units
|
|
|
|
includes hostiles, and that cleaning items removes poisons from weapons.
|
|
|
|
|
|
|
|
``spotclean`` works like ``clean map snow mud``,
|
|
|
|
:index:`removing all contaminants from the tile under the cursor.
|
|
|
|
<clean; Remove all contaminants from the tile under the cursor.>` This is ideal
|
|
|
|
if you just want to clean a specific tile but don't want the `clean` command to
|
|
|
|
remove all the glorious blood from your entranceway.
|
|
|
|
|
2022-07-23 17:03:40 -06:00
|
|
|
Examples
|
|
|
|
--------
|
|
|
|
|
|
|
|
``clean all``
|
|
|
|
Clean everything that can be cleaned (except mud and snow).
|
|
|
|
``clean all mud item snow``
|
|
|
|
Removes all spatter, including mud, leaves, and snow from map tiles.
|
|
|
|
|
2022-07-22 17:42:36 -06:00
|
|
|
Options
|
|
|
|
-------
|
|
|
|
|
|
|
|
When cleaning the map, you can specify extra options for extra cleaning:
|
|
|
|
|
2022-07-23 17:03:40 -06:00
|
|
|
``mud``
|
2022-07-22 17:42:36 -06:00
|
|
|
Also remove mud.
|
2022-07-23 17:03:40 -06:00
|
|
|
``item``
|
2022-07-22 17:42:36 -06:00
|
|
|
Also remove item spatter, like fallen leaves and flowers.
|
2022-07-23 17:03:40 -06:00
|
|
|
``snow``
|
2022-07-22 17:42:36 -06:00
|
|
|
Also remove snow coverings.
|