From ff3d4c5b3823f02cc5f103fef96064fd15d352ac Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Tue, 5 Sep 2023 00:31:35 -0700 Subject: [PATCH] support creating items inside of bags --- docs/changelog.txt | 1 + plugins/createitem.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/changelog.txt b/docs/changelog.txt index b4447283f..aa03e408d 100644 --- a/docs/changelog.txt +++ b/docs/changelog.txt @@ -74,6 +74,7 @@ Template for new versions: - `autobutcher`: don't mark animals for butchering if they are already marked for some kind of training (war, hunt) - `hotkeys`: don't display DFHack logo in legends mode since it covers up important interface elements. the Ctrl-Shift-C hotkey to bring up the menu and the mouseover hotspot still function, though. - `sort`: animals are now sortable by race on the assignment screens +- `createitem`: support creating items inside of bags ## Documentation diff --git a/plugins/createitem.cpp b/plugins/createitem.cpp index 499814adc..ebc6eb7fe 100644 --- a/plugins/createitem.cpp +++ b/plugins/createitem.cpp @@ -178,6 +178,7 @@ command_result df_createitem (color_ostream &out, vector & parameters) case item_type::BUCKET: case item_type::ANIMALTRAP: case item_type::BOX: + case item_type::BAG: case item_type::BIN: case item_type::BACKPACK: case item_type::QUIVER: