dfhack/plugins
lethosor 1390e724b6
nestboxes: avoid forbidding non-eggs
The rewrite in #2773 introduced a bug (identified by KMFrench on Discord) where
nestboxes themselves would be forbidden, which prevents egglaying citizens from
using them since the nestboxes would be claimed before use. The previous version
of the plugin handled this by skipping the first item in `contained_items`,
which is the building material (in this case, the nestbox).

This fix limits the `forbid` flag manipulation to egg items only, which should
be a reasonable limitation that still allows the plugin to serve its purpose.
2023-02-10 22:52:01 -05:00
..
autolabor link autolabor to lua for the overlay 2023-02-02 15:37:36 -06:00
buildingplan rename globals according to structures update 2023-01-05 17:11:01 -08:00
channel-safely Implements plugin: channel-safely v1.2.3 2023-02-08 12:03:40 -08:00
devel rename globals according to structures update 2023-01-05 17:11:01 -08:00
diggingInvaders rename globals according to structures update 2023-01-05 17:11:01 -08:00
embark-assistant getbiometype naming, docs 2023-01-21 20:33:40 +00:00
examples update auto plugin example, use new best practices 2023-02-06 04:02:18 -08:00
external Adds plugins/external/ and auto-populates the cmake within upon creation (#2095) 2022-04-27 19:53:05 -07:00
isoworld@3630c816df Auto-update submodules 2022-05-15 07:17:46 +00:00
lua Merge pull request #2852 from myk002/myk_misery 2023-02-08 14:22:33 -08:00
proto explicitly declare namespaces and proto versions 2022-12-10 18:06:53 -08:00
raw Apply initial pre-commit config 2022-04-12 14:48:19 -04:00
remotefortressreader update fortress reader for structures change 2023-01-13 11:48:07 +00:00
rendermax update to new save directory structure 2023-01-15 23:13:58 -08:00
spectate rename globals according to structures update 2023-01-05 17:11:01 -08:00
stockpiles fix overzealous "ui" -> "plotinfo" replacement 2023-01-05 17:46:30 -08:00
stonesense@6570fe0108 Update stonesense, changelog for dfhack/stonesense#97 2023-02-10 12:57:08 -05:00
tweak update to new save directory structure 2023-01-15 23:13:58 -08:00
.gitignore rename globals according to structures update 2023-01-05 17:11:01 -08: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 update docs for 3dveins 2022-07-18 11:34:58 -07:00
Brushes.h Allow canceling lineedit with ctrl+c 2018-07-04 15:21:25 +03:00
CMakeLists.txt Merge pull request #2852 from myk002/myk_misery 2023-02-08 14:22:33 -08:00
Plugins.cmake Revert "update google protobuf to 3.21.10" 2022-12-07 11:59:48 -08:00
add-spatter.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
autobutcher.cpp tweak defaults, load initial races immediately 2023-02-06 03:28:19 -08:00
autochop.cpp Apply suggestions from code review 2023-02-08 15:44:55 -05:00
autoclothing.cpp Update plugins/autoclothing.cpp 2023-02-02 13:33:30 -08:00
autodump.cpp set up some keybindings that are ready to go 2023-02-06 01:23:52 -08:00
autofarm.cpp getbiometype naming, docs 2023-01-21 20:33:40 +00:00
autogems.cpp update to new save directory structure 2023-01-15 23:13:58 -08:00
automaterial.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
automelt.cpp Apply suggestions from code review 2023-02-08 15:44:55 -05:00
autonestbox.cpp reset the saved frame counter on new world 2023-02-03 00:08:38 -08:00
autoslab.cpp Cleanup 2023-02-09 08:30:09 -05:00
autotrade.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
blueprint.cpp add blueprint back to the build (dig and build phases only) 2023-01-13 12:36:16 -08:00
building-hacks.cpp The great de-anon-ification 2022-06-29 07:54:04 -07:00
buildingplan.cpp reset the saved frame counter on new world 2023-02-03 00:08:38 -08:00
burrows.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
changeitem.cpp update docs for changeitem 2022-07-20 13:00:27 -07:00
changelayer.cpp update docs for "c" plugins 2022-07-22 16:42:36 -07:00
changevein.cpp update docs for "c" plugins 2022-07-22 16:42:36 -07:00
cleanconst.cpp update docs for cleanconst 2022-07-20 13:26:30 -07:00
cleaners.cpp update docs for "c" plugins 2022-07-22 16:42:36 -07:00
cleanowned.cpp don't print out how many items there are in the world 2023-02-06 02:58:11 -08:00
confirm.cpp implement some Gui module hotkey guards 2023-02-06 00:58:57 -08:00
createitem.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
cursecheck.cpp update docs for "c" plugins 2022-07-22 16:42:36 -07:00
cxxrandom.cpp Adds cxxrandom unit test and fixes interface problems (#2099) 2022-04-30 21:46:47 -07:00
debug.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
deramp.cpp update deramp docs 2022-07-22 17:46:22 -07:00
dig-now.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
dig.cpp Fix dig plugin and enable building it 2023-01-28 10:06:48 -05:00
digFlood.cpp update docs for digFlood 2022-07-24 17:01:50 -07:00
dwarfmonitor.cpp fixup unnecessary changes, remove unnecessary stuff 2023-02-05 19:04:21 -05:00
dwarfvet.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
embark-tools.cpp fixup unnecessary changes, remove unnecessary stuff 2023-02-05 19:04:21 -05:00
eventful.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
fastdwarf.cpp Rename [xyz]CategoryActionTimers to [xyz]GroupActionTimers in action timer API 2022-12-01 23:24:04 +00:00
filltraffic.cpp update docs for filltraffic 2022-07-25 10:23:05 -07:00
fix-unit-occupancy.cpp migrate string fns from uicommon to MiscUtils 2022-11-07 15:36:16 -08:00
fixveins.cpp update docs for fixveins 2022-07-25 10:54:11 -07:00
flows.cpp update docs for flows 2022-07-25 10:55:04 -07:00
follow.cpp update docs for follow 2022-07-25 10:55:31 -07:00
forceequip.cpp fix typos in forceequip cpp/docs 2022-07-25 16:57:08 -07:00
generated-creature-renamer.cpp migrate string fns from uicommon to MiscUtils 2022-11-07 15:36:16 -08:00
getplants.cpp issue #2043 - `designate` now marks trees (regardless of if ripe). 2023-01-27 14:48:24 +00:00
hotkeys.cpp Remove newline in debug 2023-02-05 19:04:21 -05:00
infiniteSky.cpp typo fix in infiniteSky docs 2022-09-16 15:24:18 -07:00
isoworldremote.cpp Fix warnings in supported plugins. 2018-04-06 01:25:21 -05:00
jobutils.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
lair.cpp update docs for lair 2022-07-27 17:14:30 -07:00
liquids.cpp move liquids.history to dfhack-config/liquids.history 2022-08-02 22:46:04 -07:00
listcolumn.h [manipulator] add the professions library (#2234) 2022-07-06 07:21:26 -07:00
luasocket.cpp Fix warnings in supported plugins. 2018-04-06 01:25:21 -05:00
manipulator.cpp fixup unnecessary changes, remove unnecessary stuff 2023-02-05 19:04:21 -05:00
map-render.cpp Update map-render.cpp 2018-12-06 15:21:19 +02:00
misery.cpp update misery; persist state 2023-02-08 14:02:44 -08:00
mode.cpp update docs for mode 2022-07-28 02:50:37 -07:00
mousequery.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
nestboxes.cpp nestboxes: avoid forbidding non-eggs 2023-02-10 22:52:01 -05:00
orders.cpp restore orders library functionality 2023-01-17 21:26:33 -08:00
overlay.cpp add new viewscreens to overlay 2022-12-20 20:18:00 -08:00
pathable.cpp use new icons in pathable 2023-01-29 00:35:34 -08:00
petcapRemover.cpp update docs for petcapRemover 2022-07-28 16:46:10 -07:00
plants.cpp update docs for plants 2022-07-28 22:51:17 -07:00
power-meter.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
probe.cpp Enabled probe, and fixed the one thing preventing it from compiling. 2023-01-07 21:06:47 -08:00
prospector.cpp update docs for prospector 2022-07-28 23:12:11 -07:00
regrass.cpp update docs for regrass 2022-07-28 23:20:24 -07:00
rename.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
reveal.cpp fix stupid typo in reveal 2023-01-08 15:57:38 -06:00
search.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
seedwatch.cpp update auto plugin example, use new best practices 2023-02-06 04:02:18 -08:00
showmood.cpp update docs for showmood 2022-07-31 13:41:28 -07:00
siege-engine.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
sort.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
steam-engine.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
stockflow.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
stocks.cpp fixup unnecessary changes, remove unnecessary stuff 2023-02-05 19:04:21 -05:00
strangemood.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
tailor.cpp make gcc happy 2023-02-08 14:16:11 -08:00
tiletypes.cpp expose tiletype setting to Lua 2023-01-27 13:38:49 -08:00
title-folder.cpp Don't print an error about not being able to get the SDL title in text mode. 2020-01-15 16:07:41 -06:00
title-version.cpp Add support for DFHACK_BUILD_ID 2018-07-11 11:47:55 -04:00
trackstop.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
tubefill.cpp update docs for tubefill 2022-07-31 13:41:30 -07:00
uicommon.h WIP 2023-02-05 19:04:21 -05:00
workNow.cpp update docs for workNow 2022-07-31 13:41:30 -07:00
workflow.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00
xlsxreader.cpp Fix warning (#1796) 2021-03-27 00:11:50 -04:00
zone.cpp rename globals according to structures update 2023-01-05 17:11:01 -08:00