peterix/dfhack — pull request #139 by RossM (2012-03-20 01:50:18+00:00)
Title: Add autolabor module

Adds an "autolabor" module that frequently scans your dwarves and enables/disables labors to try to keep everyone busy. It ensures there is at least 1 dwarf assigned to every labor, and tries to get dwarves to do the things they're skilled at.

There are certainly bugs but it's capable of getting a fortress through at least the first full year with no manual labor changes. I haven't tested much with longer fortresses.

I'm a bit rusty at C++ so please point out any coding style issues.