74f5df99db
Job remove eliminates a job's worker & holder references, if any, puts the worker on cd, if appropriate, removes the job's postings, eliminates the job from the global linked list, and then finally deletes it. This code was tested by incorporating it into autochop and it does make the plugin work. However, chop jobs don't have holder building references, and anyway, with DF being 90% edge case by volume, this could use a heck of a lot more testing. I saw elsewhere code that prevented worker removal if the job was a special job, and that made me feel funny so I made the job remove method not work if the job is a special job. |
||
---|---|---|
CMake/Modules | ||
build | ||
depends | ||
dfhack-config | ||
docs | ||
library | ||
package | ||
plugins | ||
reversing | ||
scripts@b9f223612b | ||
travis | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
.ycm_extra_conf.py | ||
CMakeLists.txt | ||
Contributing.rst | ||
LICENSE.rst | ||
NEWS.rst | ||
README.html | ||
README.md | ||
conf.py | ||
dfhack.init-example | ||
index.rst |
README.md
#DFHack Readme
[] (https://travis-ci.org/DFHack/dfhack) [] (https://dfhack.readthedocs.org) [] (https://en.wikipedia.org/wiki/Zlib_License) [] (https://github.com/DFHack/dfhack/issues) [] (https://github.com/DFHack/dfhack/pulls)
DFHack is a Dwarf Fortress memory access library, distributed with scripts and plugins implementing a wide variety of useful functions and tools.
The full documentation is available online here,
from the README.html page in the DFHack distribution, or as raw text in the ./docs
folder.
If you're an end-user, modder, or interested in contributing to DFHack -
go read those docs.
If that's unclear or you need more help, try [the Bay12 forums thread] (http://www.bay12forums.com/smf/index.php?topic=139553) or the #dfhack IRC channel on freenode.