From 69fc2bec6df2b1246bd81cabe776264411d2e607 Mon Sep 17 00:00:00 2001 From: Quietust Date: Fri, 27 Dec 2013 13:01:34 -0600 Subject: [PATCH] A bit of cleanup --- plugins/createitem.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/plugins/createitem.cpp b/plugins/createitem.cpp index 6e9cd6ea1..e75e82584 100644 --- a/plugins/createitem.cpp +++ b/plugins/createitem.cpp @@ -23,7 +23,6 @@ #include "df/creature_raw.h" #include "df/caste_raw.h" #include "df/reaction_reagent.h" -#include "df/reaction_reagent_itemst.h" #include "df/reaction_product_itemst.h" using namespace std; @@ -50,11 +49,13 @@ DFhackCExport command_result plugin_init (color_ostream &out, std::vector\n" - " - Where to put subsequently created items.\n" - " Valid values are 'floor', 'item', and 'building'.\n" + "To use this command, you must select which unit will create the items.\n" + "By default, items created will be placed at that unit's feet.\n" + "To change this, type 'createitem '.\n" + "Valid destinations:\n" + "* floor - Place items on floor beneath maker's feet.\n" + "* item - Place items inside selected container.\n" + "* building - Place items inside selected building.\n" )); return CR_OK; } @@ -74,7 +75,6 @@ bool makeItem (df::reaction_product_itemst *prod, df::unit *unit, bool second_it df::item *container = NULL; df::building *building = NULL; - df::reaction_reagent_itemst *reagent = NULL; if (dest_container != -1) container = df::item::find(dest_container); if (dest_building != -1)