dfhack/library/modules
lethosor 2aeac718cc workflow: Account for job postings correctly and fix existing issues
Without removing postings correctly, it was possible to end up with
multiple workers assigned to a job that workflow had suspended
multiple times, which caused crashes if more than one worker was
assigned to the same job by DF.

This adds an additional command, fix-job-postings, that runs
automatically when loading a world and fixes:
- Multiple job postings that point to the same job
- Job postings that point to a job where posting_index == -1
  (i.e. jobs that should have no posting assigned)

Fixes #741
2015-11-25 20:33:13 -05:00
..
Buildings.cpp Fix some Lua things 2015-01-29 19:56:50 -05:00
Burrows.cpp Update license, add contributors file, bump release number 2012-09-30 04:03:37 +02:00
Constructions.cpp Fix GCC compile error 2015-11-06 20:05:14 -05:00
Engravings.cpp Update license, add contributors file, bump release number 2012-09-30 04:03:37 +02:00
EventManager.cpp Fix whitespace issues 2015-02-14 22:53:06 -05:00
Filesystem.cpp Make Filesystem::is* functions handle nonexistent paths properly 2015-09-19 17:34:58 -04:00
Graphic.cpp Digging Invaders: merged eventManager and recent. 2013-01-02 11:26:30 -05:00
Gui.cpp Add hooks for getDwarfmodeViewDims and getDepthAt (new) 2015-11-15 11:54:34 -05:00
Items.cpp Add 'undisturbed' flag to job item checks 2015-10-26 02:19:41 +01:00
Job.cpp workflow: Account for job postings correctly and fix existing issues 2015-11-25 20:33:13 -05:00
MapCache.cpp Fix MapCache compiling error on Windows 2015-01-05 17:28:42 -05:00
Maps.cpp Fix whitespace issues 2015-02-14 22:53:06 -05:00
Materials.cpp Add 'undisturbed' flag to job item checks 2015-10-26 02:19:41 +01:00
Notes.cpp Make it build and run on linux (no stonesense, df2mc, dfusion) 2012-02-09 03:07:26 +01:00
Once.cpp New module: Once. Intended to help prevent debug error message spam. 2013-03-23 22:38:33 -04:00
Random.cpp Add missing import/export info for MersenneRNG::unitvector<> 2014-03-25 13:30:21 -05:00
Renderer.cpp Add Renderer module - safer way to install custom renderers 2015-10-21 17:18:39 -04:00
Screen.cpp Add hooks for getDwarfmodeViewDims and getDepthAt (new) 2015-11-15 11:54:34 -05:00
Translation.cpp Made DFHack buildable. Also added plant proto definitions 2014-07-23 19:57:47 +05:30
Units.cpp Add isValidLabor() to Units module 2015-10-30 18:41:09 -04:00
Vermin.cpp Get rid of Simple namespace, Gui module is now a namespace. 2012-03-03 14:38:24 +01:00
Windows.cpp Update license, add contributors file, bump release number 2012-09-30 04:03:37 +02:00
World.cpp Add gametype checks to World.cpp 2015-03-09 20:08:21 -04:00
kitchen.cpp Merge further changes (???) 2012-09-10 09:19:21 -04:00