Commit Graph

8 Commits (a386228f0ede21bdd4a72cea9c9b5d9b3008c0b3)

Author SHA1 Message Date
Kelly Kinkade a386228f0e labormanager: add StoreItemInLocation labor, reduce tool churn
Note: this commit requires updated df-structures (77968973b28d0e828f880d119a700abb079f3521 or later)
2016-07-05 13:16:34 -05:00
Kelly Kinkade d8f4d79b97 labormanager: significant restructuring to use job posting list
Updated here to get potential jobs off the job posting lists, which is
apparently where certain map-designated live after being designated but
before they move to the actual job list. Also changes to how tools are
handled, and lever pulling is assigned by default to all idle dwarfs.
2016-06-30 23:58:56 -05:00
Kelly Kinkade 857058752b labormanager: rework for better behavior with 43.03
The main thing here is that the process loop exits if the DF process_job
or process_dig flags are set since if these are set the job list is
going to change soon anyway. The plugin also sets these flags when it
changes any labors, which has the side effect of effectively disabling
the process loop while DF is paused, which prevents flapping  while
editing job preferences in-game, and also allows changing job
preferences in game (although such changes may not last when the clock
starts up again).
2016-06-29 14:54:03 -05:00
Kelly Kinkade b45fb7c564 labormanager: fix stupid 2016-06-28 23:28:44 -05:00
Kelly Kinkade 1927eda6f3 labormanager: whitespace
MSVC is evil.
2016-06-28 22:57:12 -05:00
Kelly Kinkade b516c8e0dc labormanager: more tweaks to bring up to date
This update fixes some labors and attempts to address changes in the way
DF maintains the job list.
2016-06-28 22:36:45 -05:00
Kelly Kinkade 61bcfd4bf3 labormanager improvements
Add some debugging facilities. Change some hauling, construction, and
deconstruction labors to reflect changes in DF since 34.11.
2016-06-27 20:58:38 -05:00
Kelly Kinkade 2072dcc38d Rename autolabor2 to labormanager and bring up to date with current 2016-06-27 12:04:51 -05:00