2022-07-25 07:08:59 -06:00
|
|
|
.. _revflood:
|
|
|
|
|
2022-07-10 00:01:46 -06:00
|
|
|
reveal
|
|
|
|
======
|
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/inspection`, `tag/armok`, `tag/map`
|
2022-07-29 18:12:15 -06:00
|
|
|
:dfhack-keybind:`reveal`
|
|
|
|
:dfhack-keybind:`unreveal`
|
|
|
|
:dfhack-keybind:`revforget`
|
|
|
|
:dfhack-keybind:`revtoggle`
|
|
|
|
:dfhack-keybind:`revflood`
|
|
|
|
:dfhack-keybind:`nopause`
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-07-29 18:12:15 -06:00
|
|
|
Reveals the map. This reveals all z-layers in fort mode. It also works in
|
|
|
|
adventure mode, but any of its effects are negated once you move. When you use
|
|
|
|
it this way, you don't need to run ``unreveal`` to hide the map again.
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-07-29 18:12:15 -06:00
|
|
|
Usage:
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-07-29 18:12:15 -06:00
|
|
|
``reveal [hell|demon]``
|
|
|
|
Reveal the whole map. If ``hell`` is specified, also reveal HFS areas, but
|
|
|
|
you are required to run ``unreveal`` before unpausing is allowed in order
|
|
|
|
to prevent the demons from spawning. If you really want to unpause with hell
|
|
|
|
revealed, specify ``demon`` instead of ``hell``.
|
|
|
|
``unreveal``
|
|
|
|
Reverts the effects of ``reveal``.
|
|
|
|
``revtoggle``
|
|
|
|
Switches between ``reveal`` and ``unreveal``. Convenient to bind to a
|
|
|
|
hotkey.
|
|
|
|
``revforget``
|
|
|
|
Discard info about what was visible before revealing the map. Only useful
|
|
|
|
where (for example) you abandoned with the fort revealed and no longer need
|
|
|
|
the saved map data when you load a new fort.
|
|
|
|
``revflood``
|
|
|
|
Hide everything, then reveal tiles with a path to the cursor. This allows
|
|
|
|
reparing maps that you accidentally saved while they were revealed. Note
|
|
|
|
that tiles behind constructed walls are also revealed as a workaround for
|
|
|
|
:bug:`1871`.
|
|
|
|
``nopause 1|0``
|
|
|
|
Disables pausing (both manual and automatic) with the exception of the pause
|
|
|
|
forced by `reveal` ``hell``. This is nice for digging under rivers. Use
|
|
|
|
``nopause 1`` to prevent pausing and ``nopause 0`` to allow pausing like
|
|
|
|
normal.
|