diff options
| author | Kelly Martin | 2012-05-15 13:42:48 -0500 |
|---|---|---|
| committer | Kelly Martin | 2012-05-15 13:42:48 -0500 |
| commit | e77c9dc730fdd94423319b744fb4162bd36e8377 (patch) | |
| tree | 08785f5c272a0df6e78694226db7f7b06efdaf4d /plugins/autolabor.cpp | |
| parent | 27cc2dc92cc7c2c5221a3e3234e8aadca343555e (diff) | |
| download | dfhack-e77c9dc730fdd94423319b744fb4162bd36e8377.tar.gz dfhack-e77c9dc730fdd94423319b744fb4162bd36e8377.tar.bz2 dfhack-e77c9dc730fdd94423319b744fb4162bd36e8377.tar.xz | |
Add new PUSH_HAUL_VEHICLES labor to autolabor.
This commit will only work with 0.34.08 (or later).
Diffstat (limited to 'plugins/autolabor.cpp')
| -rw-r--r-- | plugins/autolabor.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/autolabor.cpp b/plugins/autolabor.cpp index 5a588cdd..d89ddd7c 100644 --- a/plugins/autolabor.cpp +++ b/plugins/autolabor.cpp @@ -458,7 +458,8 @@ static const struct labor_default default_labor_infos[] = { /* GLAZING */ {AUTOMATIC, false, 1, 200, 0}, /* PRESSING */ {AUTOMATIC, false, 1, 200, 0}, /* BEEKEEPING */ {AUTOMATIC, false, 1, 1, 0}, // reduce risk of stuck beekeepers (see http://www.bay12games.com/dwarves/mantisbt/view.php?id=3981) - /* WAX_WORKING */ {AUTOMATIC, false, 1, 200, 0}, + /* WAX_WORKING */ {AUTOMATIC, false, 1, 200, 0}, + /* PUSH_HAUL_VEHICLES */ {HAULERS, false, 1, 200, 0} }; static const int responsibility_penalties[] = { @@ -1271,7 +1272,7 @@ command_result autolabor (color_ostream &out, std::vector <std::string> & parame if (labor == df::enums::unit_labor::NONE) { - out.printerr("Could not find labor %s.", parameters[0].c_str()); + out.printerr("Could not find labor %s.\n", parameters[0].c_str()); return CR_WRONG_USAGE; } |
