update docs for spectate

develop
myk002 2022-07-31 13:29:18 -07:00
parent 7261914826
commit af0631cbd9
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
2 changed files with 11 additions and 9 deletions

@ -1,5 +1,12 @@
spectate
========
Simple plugin to automate following random dwarves. Most of the time things will
be weighted towards z-levels with the highest job activity. Simply enter the
``spectate`` command to toggle the plugin's state.
Tags:
Automatically follow exciting dwarves.
Usage::
enable spectate
The plugin will automatically switch which dwarf is being followed periodically,
preferring dwarves on z-levels with the highest job activity.

@ -42,12 +42,7 @@ command_result spectate (color_ostream &out, std::vector <std::string> & paramet
DFhackCExport command_result plugin_init (color_ostream &out, std::vector <PluginCommand> &commands) {
commands.push_back(PluginCommand("spectate",
"Automated spectator mode.",
spectate,
false,
""
" spectate\n"
" toggles spectator mode\n"
"\n"));
spectate));
return CR_OK;
}