nestboxes: clean up & update description

develop
Kelly Kinkade 2018-08-16 10:21:44 -05:00
parent e56cb2a25a
commit a404ab3096
1 changed files with 4 additions and 5 deletions

@ -68,9 +68,11 @@ DFhackCExport command_result plugin_init (color_ostream &out, std::vector <Plugi
{ {
if (world && ui) { if (world && ui) {
commands.push_back( commands.push_back(
PluginCommand("nestboxes", "Derp.", PluginCommand("nestboxes", "Automatically scan for and forbid fertile eggs incubating in a nestbox.",
nestboxes, false, nestboxes, false,
"Derp.\n" "To enable: nestboxes enable\n"
"To disable: nestboxes disable\n"
"There is no other configuration.\n"
) )
); );
} }
@ -105,9 +107,6 @@ DFhackCExport command_result plugin_enable(color_ostream &out, bool enable)
static command_result nestboxes(color_ostream &out, vector <string> & parameters) static command_result nestboxes(color_ostream &out, vector <string> & parameters)
{ {
CoreSuspender suspend; CoreSuspender suspend;
bool clean = false;
int dump_count = 0;
int good_egg = 0;
if (parameters.size() == 1) { if (parameters.size() == 1) {
if (parameters[0] == "enable") if (parameters[0] == "enable")