update docs for embark-assistant

develop
myk002 2022-07-24 23:39:13 -07:00
parent 32e2ac2103
commit d94fef36ff
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
2 changed files with 22 additions and 17 deletions

@ -1,9 +1,22 @@
embark-assistant embark-assistant
================ ================
Tags:
:dfhack-keybind:`embark-assistant`
This plugin provides embark site selection help. It has to be run with the :index:`Embark site selection support.
``embark-assistant`` command while the pre-embark screen is displayed and shows <embark-assistant; Embark site selection support.>` Run this command while the
extended (and correct(?)) resource information for the embark rectangle as well pre-embark screen is displayed to show extended (and correct(?)) resource
as normally undisplayed sites in the current embark region. It also has a site information for the embark rectangle as well as normally undisplayed sites in
selection tool with more options than DF's vanilla search tool. For detailed the current embark region. You will also have access to a site selection tool
help invoke the in game info screen. with far more options than DF's vanilla search tool.
If you enable the plugin, you'll also be able to invoke ``embark-assistant``
with the :kdb:`A` key on the pre-embark screen.
Usage::
enable embark-assistant
embark-assistant
Note the site selection tool requires a display height of at least 46 lines to
display properly.

@ -178,17 +178,9 @@ IMPLEMENT_VMETHOD_INTERPOSE(start_site_hook, feed);
DFhackCExport command_result plugin_init (color_ostream &out, std::vector <PluginCommand> &commands) DFhackCExport command_result plugin_init (color_ostream &out, std::vector <PluginCommand> &commands)
{ {
commands.push_back(PluginCommand( commands.push_back(PluginCommand(
"embark-assistant", "Embark site selection support.", "embark-assistant",
embark_assistant, false, /* false means that the command can be used from non-interactive user interface */ "Embark site selection support.",
// Extended help string. Used by CR_WRONG_USAGE and the help command: embark_assistant));
" This command starts the embark-assist plugin that provides embark site\n"
" selection help. It has to be called while the pre-embark screen is\n"
" displayed and shows extended (and correct(?)) resource information for\n"
" the embark rectangle as well as normally undisplayed sites in the\n"
" current embark region. It also has a site selection tool with more\n"
" options than DF's vanilla search tool. For detailed help invoke the\n"
" in game info screen. Prefers 46 lines to display properly.\n"
));
return CR_OK; return CR_OK;
} }