2022-07-10 00:01:46 -06:00
|
|
|
cursecheck
|
|
|
|
==========
|
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/system`, `tag/interface`
|
2022-07-22 17:42:36 -06:00
|
|
|
:dfhack-keybind:`cursecheck`
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-07-22 17:42:36 -06:00
|
|
|
:index:`Check for cursed creatures. <cursecheck; Check for cursed creatures.>`
|
|
|
|
This command checks a single map tile (or the whole map/world) for cursed
|
|
|
|
creatures (ghosts, vampires, necromancers, werebeasts, zombies, etc.).
|
|
|
|
|
|
|
|
With an active in-game cursor, only the selected tile will be checked. Without a
|
|
|
|
cursor, the whole map will be checked.
|
|
|
|
|
|
|
|
By default, you will just see the count of cursed creatures in case you just
|
|
|
|
want to find out if you have any of them running around in your fort. Dead and
|
|
|
|
passive creatures (ghosts who were put to rest, killed vampires, etc.) are
|
|
|
|
ignored. Undead skeletons, corpses, bodyparts and the like are all thrown into
|
|
|
|
the curse category "zombie". Anonymous zombies and resurrected body parts will
|
|
|
|
show as "unnamed creature".
|
|
|
|
|
|
|
|
Usage::
|
|
|
|
|
|
|
|
cursecheck [<options>]
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-07-23 17:03:40 -06:00
|
|
|
Examples
|
|
|
|
--------
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-07-22 17:42:36 -06:00
|
|
|
- ``cursecheck``
|
|
|
|
Display a count of cursed creatures on the map (or under the cursor).
|
|
|
|
- ``cursecheck detail all``
|
|
|
|
Give detailed info about all cursed creatures including deceased ones.
|
|
|
|
- ``cursecheck nick``
|
|
|
|
Give a nickname all living/active cursed creatures.
|
2022-07-10 00:01:46 -06:00
|
|
|
|
|
|
|
.. note::
|
|
|
|
|
|
|
|
If you do a full search (with the option "all") former ghosts will show up
|
|
|
|
with the cursetype "unknown" because their ghostly flag is not set.
|
|
|
|
|
2022-07-22 17:42:36 -06:00
|
|
|
If you see any living/active creatures with a cursetype of "unknown", then
|
|
|
|
it is most likely a new type of curse introduced by a mod.
|
2022-07-23 17:03:40 -06:00
|
|
|
|
|
|
|
Options
|
|
|
|
-------
|
|
|
|
|
|
|
|
``detail``
|
|
|
|
Print full name, date of birth, date of curse, and some status info (some
|
|
|
|
vampires might use fake identities in-game, though).
|
|
|
|
``nick``
|
|
|
|
Set the type of curse as nickname (does not always show up in-game; some
|
|
|
|
vamps don't like nicknames).
|
|
|
|
``ids``
|
|
|
|
Print the creature and race IDs.
|
|
|
|
``all``
|
|
|
|
Include dead and passive cursed creatures (this can result in quite a long
|
|
|
|
list after having !!FUN!! with necromancers).
|
|
|
|
``verbose``
|
|
|
|
Print all curse tags (if you really want to know it all).
|