update docs for regrass

develop
myk002 2022-07-28 23:20:24 -07:00
parent 1270cf3f0a
commit e513253d8d
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
2 changed files with 16 additions and 3 deletions

@ -1,3 +1,14 @@
regrass regrass
======= =======
Regrows all the grass. Not much to it ;) Tags:
:dfhack-keybind:`regrass`
Regrows all the grass. Use this command if your grazers have eaten everything
down to the dirt.
Usage::
regrass [max]
Specify the 'max' option to pack more grass onto a tile than what the game
normally allows to give your grazers extra chewing time.

@ -29,8 +29,10 @@ command_result df_regrass (color_ostream &out, vector <string> & parameters);
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("regrass", "Regrows surface grass.", df_regrass, false, commands.push_back(PluginCommand(
"Specify parameter 'max' to set all grass types to full density, otherwise only one type of grass will be restored per tile.\n")); "regrass",
"Regrows surface grass.",
df_regrass));
return CR_OK; return CR_OK;
} }