|
|
|
@ -141,9 +141,18 @@ command_result df_seedwatch(color_ostream &out, vector<string>& parameters)
|
|
|
|
|
return CR_WRONG_USAGE;
|
|
|
|
|
}
|
|
|
|
|
else if(par == "start")
|
|
|
|
|
{
|
|
|
|
|
if(Core::getInstance().isWorldLoaded())
|
|
|
|
|
{
|
|
|
|
|
running = true;
|
|
|
|
|
out.print("seedwatch supervision started.\n");
|
|
|
|
|
} else {
|
|
|
|
|
out.printerr(
|
|
|
|
|
"This plugin needs a fortress to be loaded and will deactivate automatically otherwise.\n"
|
|
|
|
|
"Activate with 'seedwatch start' after you load the game.\n"
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
else if(par == "stop")
|
|
|
|
|
{
|
|
|
|
|