summaryrefslogtreecommitdiff
path: root/plugins/autolabor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup autolabor+cleanowned, fix depends/clsocketQuietust2012-09-131-189/+160
|
* One more autolabor cleanupValentin Ochs2012-08-081-7/+3
|
* Don't disable autolabor when you input "autolabor 1|enable" and it'sValentin Ochs2012-08-081-1/+1
| | | | already enabled.
* fix autolabor compilation errorjj2012-08-031-1/+1
|
* Merge https://github.com/ab9rf/dfhackQuietust2012-08-021-181/+506
|\ | | | | | | | | Conflicts: plugins/autolabor.cpp
| * Autolabor: dwarves who are scheduled for a meeting are automatically cleared ↵Kelly Martin2012-07-221-184/+457
| | | | | | | | | | | | | | of all labors. Labor to skill map is now generated at plugin start rather than with every iteration. Also partially refactored the code; no behavioral changes from that.
| * * Autolabor: really exclude the broker from all labors when trader requestedKelly Martin2012-07-111-2/+20
| | | | | | | | | | | | * Autolabor: add 'haulpct' config option to control percentage of non-idle dwarfs assigned to hauling labors (default is 33) * Zones: allow nontamed birds to be nestboxes. warning: does not check for 'hostile to civilization' birds, so if you try to tame a hostile elk bird, !!fun!! will happen * Stripcaged: changed default behavior to keep armor, reduced noisiness
| * Merge remote-tracking branch 'jjyg/master'Kelly Martin2012-07-051-1/+1
| |\
| * | Autolabor: allow setting the nonidle hauler percentage at runtime.Kelly Martin2012-07-051-4/+33
| | | | | | | | | | | | Stripcaged: add keeparmor option
* | | Make indentation consistent (spaces), only display "not enabled" error if ↵Quietust2012-07-171-884/+896
| |/ |/| | | | | you actually try to do something
* | update xml, fix autolabor with new trade depot flags namejj2012-07-041-1/+1
|/
* Don't crash if world is undefinedQuietust2012-05-231-1/+1
|
* Add new PUSH_HAUL_VEHICLES labor to autolabor.Kelly Martin2012-05-151-2/+3
| | | | This commit will only work with 0.34.08 (or later).
* Add dwarf state table entries for the new jobs from .34.7 and .34.8. Also ↵Kelly Martin2012-05-141-3/+13
| | | | | | add a warning message for a dwarf who is doing an unknown job (instead of just reading random nonsense from off the end of the dwarf_states array). This code is backward-compatible (the extra job entries will simply be unused in pre-.8).
* Merge remote-tracking branch 'upstream/master'Kelly Martin2012-05-121-1/+1
|\
| * Merge remote-tracking branch 'ab9rf/master'Alexander Gavrilov2012-05-051-47/+95
| |\
| * | Update dfhack for specific_ref.Alexander Gavrilov2012-05-031-1/+1
| | |
* | | Set default beekeeper max to 1 in autolabor (see ↵Kelly Martin2012-05-121-1/+1
| |/ |/| | | | | http://www.bay12games.com/dwarves/mantisbt/view.php?id=3981)
* | Also exclude trader from hauling when requested at depot.Kelly Martin2012-04-301-0/+2
| |
* | Autolabor will exclude the trade broker from all labors if the "trader ↵Kelly Martin2012-04-261-3/+16
| | | | | | | | requested" flag is on at the trade depot.
* | Actually write the noble penalty to the dwarf_info structure....Kelly Martin2012-04-261-0/+1
| |
* | Autolabor: Instead of guessing who the nobles are based on noble skills, ↵Kelly Martin2012-04-261-46/+78
|/ | | | | | actually find out who they are and behave appropriately. Certain responsibilities are assigned various penalties to increase their holders' availability to perform noble functions. Also, holders of the "manage health" responsibility are always assigned the diagnose labor. The responsibility penalties are first-approximation and will likely need tuning.
* Better config persistence.RossM2012-04-051-13/+13
|
* Persist autolabor config in the savefile.RossM2012-04-041-35/+227
|
* Fix detection of military dwarves. Add overview comments explaining whyRossM2012-04-031-3/+42
| | | | autolabor works how it does.
* Autolabor tweaks.RossM2012-04-031-3/+13
|
* Tweak autolabor.RossM2012-04-021-3/+7
|
* Limit number of dwarves assigned when idle dwarves are available.RossM2012-04-021-0/+3
|
* Add commands to change how autolabor handles specific jobs, and toRossM2012-04-021-127/+202
| | | | | list the current settings. Changes are not saved with the current world (yet).
* Large change to how autolabor assigns labors. Military dwarves andRossM2012-04-021-118/+159
| | | | | children/nobles will never be assigned labors. Labor assignments are more understandable.
* Tweaks!Petr Mrázek2012-04-011-4/+7
| | | | | Check map presence in autolabor and fastdwarf onupdate() functions Game state tracking in kittens plugin now respects on/off switch
* Merge https://github.com/RossM/dfhackPetr Mrázek2012-03-301-1/+2
|\
| * Don't try to give labors to merchant guards or dead dwarves.RossM2012-03-301-1/+2
| |
* | Remove random bad assertsPetr Mrázek2012-03-291-0/+12
| |
* | Turn sorting lambdas into functors in autolabor.Petr Mrázek2012-03-291-14/+42
| |
* | Merge remote-tracking branch 'upstream/master'Kelly Martin2012-03-281-11/+8
|\ \
| * | More fixesPetr Mrázek2012-03-291-11/+8
| | | | | | | | | | | | | | | | | | Include unistd.h in linux process file Fix assert in autolabor Don't print 'script missing' error on DF start
* | | autolabor: set reequip flag when appropriate. also tweaked scoring to ↵Kelly Martin2012-03-281-2/+6
|/ / | | | | | | reduce job clumping.
* | Make autolabor accept "enable" and "disable" as well as "0" or "1".Kelly Martin2012-03-281-4/+29
| | | | | | | | Add ability to set target number of miners in autolabor with "autolabor miners".
* | Fix crash in autolabor that happens when all dorfs decide to tipple at the ↵unknown2012-03-271-3/+5
|/ | | | same time
* autolabor fixagePetr Mrázek2012-03-241-15/+12
|
* Move autolabor to main plugin folderPetr Mrázek2012-03-241-0/+877