diff --git a/plugins/getplants.cpp b/plugins/getplants.cpp index 5fa1c8637..9e9b1dcbc 100644 --- a/plugins/getplants.cpp +++ b/plugins/getplants.cpp @@ -160,7 +160,7 @@ command_result df_getplants (color_ostream &out, vector & parameters) plantSelections[i] = selectability::Unselected; collectionCount[i] = 0; } - + bool anyPlantsSelected = false; for (size_t i = 0; i < parameters.size(); i++) @@ -216,21 +216,17 @@ command_result df_getplants (color_ostream &out, vector & parameters) switch (plantSelections[i]) { case selectability::Grass: - { - out.printerr("%s is a Grass, and those can not be gathered\n", plant->id.c_str()); + out.printerr("%s is a grass and cannot be gathered\n", plant->id.c_str()); break; - } case selectability::Nonselectable: - { out.printerr("%s does not have any parts that can be gathered\n", plant->id.c_str()); break; - } + case selectability::OutOfSeason: - { out.printerr("%s is out of season, with nothing that can be gathered now\n", plant->id.c_str()); break; - } + case selectability::Selectable: break; @@ -360,7 +356,7 @@ DFhackCExport command_result plugin_init ( color_ostream &out, vector