peterix/dfhack — pull request #148 by wjrogers (2012-04-11 00:48:18+00:00)
Title: Add SetUnitLabors and additional optional data to ListUnits

This adds a new protobuf API, SetUnitLabors, that takes a list of unit/labor/state tuples and sets the appropriate values in the game. It also adds a fourth mask to ListUnits, misc_traits, that toggles inclusion of the unit_misc_trait vector.