dfhack/plugins
Kelly Kinkade a6067c20c1 (labormanager) only assign valid labors (fix #1142)
Add a number of tests to ensure that only assignable labors are assigned
to units, and that only units that are eligible to be assigned labors
are considered at all.

I borrowed logic from Dwarf Manipulator to identify units eligible to be
assigned labors.

This should prevent pets., ghosts, visitors, or any other noneligible
entities from being assigned labors by labormanager, and should thus fix
#1142.
2018-07-30 22:36:59 -05:00
..
devel Improve kittens thread safety and shutdown with core 2018-06-30 21:53:12 +03:00
diggingInvaders Merge remote-tracking branch 'PatrikLundell/dead_plugins' into develop 2018-06-20 16:18:07 -04:00
embark-assistant embark-assistant: fix x=16, y=16 dimensions 2018-07-19 14:48:28 -04:00
isoworld@fbbf9e4645 Partial preparation for 0.44.07-alpha1. 2018-03-13 15:49:42 -05:00
labormanager (labormanager) only assign valid labors (fix #1142) 2018-07-30 22:36:59 -05:00
lua Merge remote-tracking branch 'KlonZK/patch-1' into develop 2018-07-20 23:16:28 -04:00
proto Fix typo 2018-07-03 18:17:04 -05:00
raw Fix reaction errors, make quantities more consistent 2014-02-13 11:37:04 -06:00
remotefortressreader Merge pull request #1252 from JapaMala/remote_reader 2018-05-17 07:48:18 +05:30
rendermax Merge remote-tracking branch 'PatrikLundell/dead_plugins' into develop 2018-06-20 16:18:07 -04:00
ruby Fix memory return calling convention in ruby bindings 2018-07-04 23:46:23 +03:00
skeleton Remove $(NOINHERIT) which was inexplicably included in a bunch of plugins. 2018-05-14 00:12:22 -05:00
stockpiles stockpiles: Fix unusable and usable loading for weapon and armor 2018-06-14 22:22:51 +03:00
stonesense@4a1953f27c Update docs for dfhack/stonesense#57 2018-07-08 00:19:58 -04:00
tweak Rename unit_flags1.dead to killed, update submodules/changelog 2018-06-21 11:17:09 -04:00
.keep Making ready for adding plugins. Fixes all over the place, more removal of obsolete parts. 2011-06-20 01:12:07 +02:00
3dveins.cpp Fix printf format warnings 2018-06-11 19:57:06 +03:00
Brushes.h Allow canceling lineedit with ctrl+c 2018-07-04 15:21:25 +03:00
CMakeLists.txt Ignore CMakeLists.custom.txt and create it if it does not exist during cmake. 2018-07-18 14:00:40 -05:00
Plugins.cmake Avoid clearing CMAKE_CXX_FLAGS for plugins 2018-07-19 15:32:08 -04:00
add-spatter.cpp Many build fixes 2018-03-10 16:53:45 -05:00
advtools.cpp dead flag -> !isActive 2018-06-14 12:29:48 +02:00
autochop.cpp Fix unlikely memory leaks if Screen::show fails 2018-06-19 16:41:31 +03:00
autodump.cpp Fix periodic events in several plugins 2018-05-29 23:24:02 -04:00
autogems.cpp fix-unit-occupancy, autogems: stop running while embarking 2018-06-21 16:16:54 -04:00
autohauler.cpp Fix fencepost error in autolabor/autohauler/labormanager. 2018-04-10 13:29:00 -05:00
autolabor.cpp Fix printf format warnings 2018-06-11 19:57:06 +03:00
automaterial.cpp Fix warnings in supported plugins. 2018-04-06 01:25:21 -05:00
automelt.cpp Fix periodic events in several plugins 2018-05-29 23:24:02 -04:00
autotrade.cpp Fix periodic events in several plugins 2018-05-29 23:24:02 -04:00
blueprint.cpp this allows the blueprint plugin to be called from lua 2018-05-08 11:42:41 -07:00
building-hacks.cpp Fix warnings in supported plugins. 2018-04-06 01:25:21 -05:00
buildingplan-lib.cpp Adapted to changed Units functions 2018-06-14 10:30:35 -04:00
buildingplan-lib.h Use two keys for min/max 2018-05-20 20:50:42 -07:00
buildingplan.cpp Fix unlikely memory leaks if Screen::show fails 2018-06-19 16:41:31 +03:00
burrows.cpp Fix printf format warnings 2018-06-11 19:57:06 +03:00
changeitem.cpp Fix whitespace issues 2015-02-14 22:53:06 -05:00
changelayer.cpp Fix printf format warnings 2018-06-11 19:57:06 +03:00
changevein.cpp Replace many includes with forward declarations in modules/Maps.h 2016-08-13 21:44:01 -04:00
cleanconst.cpp Update some plugins to use REQUIRE_GLOBAL 2014-12-03 23:26:54 -05:00
cleaners.cpp Replace many includes with forward declarations in modules/Maps.h 2016-08-13 21:44:01 -04:00
cleanowned.cpp Fix printf format warnings 2018-06-11 19:57:06 +03:00
command-prompt.cpp Merge remote-tracking branch 'suokko/spotclean_ui_state_fix_1194' into develop 2018-07-07 18:08:53 -04:00
confirm.cpp Fix multiple issues with the confirm plugin 2017-05-27 00:26:14 -04:00
createitem.cpp Fix warnings in supported plugins. 2018-04-06 01:25:21 -05:00
cursecheck.cpp Merge remote-tracking branch 'PatrikLundell/dead_plugins' into develop 2018-06-20 16:18:07 -04:00
cxxrandom.cpp cxxrandom: remove pragmas, fix format warnings, misc. cleanup 2018-06-21 12:00:04 -04:00
deramp.cpp Add designation job check to deramp 2018-06-20 15:54:31 +03:00
dfstream.cpp Replace translate_socket_error() implementations with DescribeError() 2015-10-03 10:37:48 -04:00
dig.cpp Fix warnings in supported plugins. 2018-04-06 01:25:21 -05:00
digFlood.cpp Fix warnings in supported plugins. 2018-04-06 01:25:21 -05:00
dwarfmonitor.cpp Add stress cutoffs to Units module, fix dwarfmonitor/manipulator 2018-07-09 15:59:12 -04:00
dwarfvet.cpp Merge remote-tracking branch 'PatrikLundell/dead_plugins' into develop 2018-06-20 16:18:07 -04:00
embark-tools.cpp Fix unlikely memory leaks if Screen::show fails 2018-06-19 16:41:31 +03:00
eventful.cpp Fix warnings in supported plugins. 2018-04-06 01:25:21 -05:00
fastdwarf.cpp Fix warnings in supported plugins. 2018-04-06 01:25:21 -05:00
filltraffic.cpp Fix warnings in supported plugins. 2018-04-06 01:25:21 -05:00
fix-armory.cpp Merge ui_area_map_width into ui_menu_width, now a 2-byte array 2017-12-03 20:34:59 -06:00
fix-unit-occupancy.cpp fix-unit-occupancy, autogems: stop running while embarking 2018-06-21 16:16:54 -04:00
fixveins.cpp Replace many includes with forward declarations in modules/Maps.h 2016-08-13 21:44:01 -04:00
flows.cpp Update remaining plugins to use REQUIRE_GLOBAL 2014-12-06 19:30:05 -05:00
follow.cpp Fix printf format warnings 2018-06-11 19:57:06 +03:00
forceequip.cpp Fix printf format warnings 2018-06-11 19:57:06 +03:00
fortplan.cpp Fix printf format warnings 2018-06-11 19:57:06 +03:00
generated-creature-renamer.cpp Fix printf format warnings 2018-06-11 19:57:06 +03:00
getplants.cpp Update getplants to use Designations module 2017-05-06 00:11:07 -04:00
hotkeys.cpp Fix unlikely memory leaks if Screen::show fails 2018-06-19 16:41:31 +03:00
infiniteSky.cpp Shorten "ls" help for plugins 2016-04-15 16:28:41 +10:00
isoworldremote.cpp Fix warnings in supported plugins. 2018-04-06 01:25:21 -05:00
jobutils.cpp Fix printf format warnings 2018-06-11 19:57:06 +03:00
lair.cpp Replace many includes with forward declarations in modules/Maps.h 2016-08-13 21:44:01 -04:00
liquids.cpp Allow canceling lineedit with ctrl+c 2018-07-04 15:21:25 +03:00
listcolumn.h Fix warnings in supported plugins. 2018-04-06 01:25:21 -05:00
luasocket.cpp Fix warnings in supported plugins. 2018-04-06 01:25:21 -05:00
manipulator.cpp Add stress cutoffs to Units module, fix dwarfmonitor/manipulator 2018-07-09 15:59:12 -04:00
misery.cpp Adapted to changed Units functions 2018-06-14 10:30:35 -04:00
mode.cpp Allow canceling lineedit with ctrl+c 2018-07-04 15:21:25 +03:00
mousequery.cpp Rename unit_flags1.dead to killed, update submodules/changelog 2018-06-21 11:17:09 -04:00
orders.cpp Use jsoncpp 1.8.4 as a submodule 2018-06-14 21:20:46 +03:00
pathable.cpp Add new "pathable" plugin 2017-07-05 23:54:55 -04:00
petcapRemover.cpp dead flag -> !isInactive 2018-06-14 12:33:18 +02:00
plants.cpp Replace many includes with forward declarations in modules/Maps.h 2016-08-13 21:44:01 -04:00
power-meter.cpp Replace many includes with forward declarations in modules/Maps.h 2016-08-13 21:44:01 -04:00
probe.cpp Fix printf format warnings 2018-06-11 19:57:06 +03:00
prospector.cpp Fix prospector out-of-bounds crash and improve checking 2018-07-21 00:27:11 -04:00
regrass.cpp Fix whitespace issues 2015-02-14 22:53:06 -05:00
rename.cpp Update remaining plugins to use REQUIRE_GLOBAL 2014-12-06 19:30:05 -05:00
resume.cpp resume: use map y dimension and fix off-by-one error 2017-06-03 11:24:23 -04:00
reveal.cpp Fix revflood bug, was revealing some tiles from below inappropriately 2018-06-09 14:19:52 -06:00
search.cpp New tweak: kitchen-prefs-all 2018-05-17 19:47:56 -04:00
seedwatch.cpp Remove execute permission on files that are not executables. 2018-07-03 15:37:16 -05:00
showmood.cpp Make df2console only call df2utf if the output stream is a console 2018-07-09 11:00:28 -04:00
siege-engine.cpp dead flag -> !isActive 2018-06-14 12:35:17 +02:00
sort.cpp Fix printf format warnings 2018-06-11 19:57:06 +03:00
steam-engine.cpp Replace many includes with forward declarations in modules/Maps.h 2016-08-13 21:44:01 -04:00
stockflow.cpp Fix periodic events in several plugins 2018-05-29 23:24:02 -04:00
stocks.cpp Fix unlikely memory leaks if Screen::show fails 2018-06-19 16:41:31 +03:00
strangemood.cpp Fix warnings in supported plugins. 2018-04-06 01:25:21 -05:00
tiletypes.cpp Allow canceling lineedit with ctrl+c 2018-07-04 15:21:25 +03:00
title-folder.cpp title-folder: fix SDL path on OS X 2017-03-18 00:31:25 -04:00
title-version.cpp Add support for DFHACK_BUILD_ID 2018-07-11 11:47:55 -04:00
trackstop.cpp Add "DFHack" indicator to trackstop menus 2015-02-17 14:13:53 -05:00
tubefill.cpp Fix printf format warnings 2018-06-11 19:57:06 +03:00
uicommon.h Fix stockpile inventory not to include inventory items 2018-06-19 18:06:28 +03:00
versionosd.cpp Tweaks! 2012-03-29 18:37:22 +02:00
workNow.cpp Shorten "ls" help for plugins 2016-04-15 16:28:41 +10:00
workflow.cpp Fix printf format warnings 2018-06-11 19:57:06 +03:00
zone.cpp Adapted to changed Units functions 2018-06-14 10:30:35 -04:00