update docs for cleanconst

develop
myk002 2022-07-20 13:26:30 -07:00
parent d3dd12c38f
commit 1f3c4cdd18
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
2 changed files with 14 additions and 10 deletions

@ -1,7 +1,14 @@
cleanconst
==========
Cleans up construction materials.
This utility alters all constructions on the map so that they spawn their
building component when they are disassembled, allowing their actual
build items to be safely deleted. This can improve FPS in extreme situations.
Tags:
:dfhack-keybind:
Cleans up construction materials. This tool alters all constructions on the map
so that they spawn their building component when they are disassembled, allowing
their actual build items to be safely deleted. This can improve FPS when you
have many constructions on the map.
Usage::
cleanconst

@ -71,12 +71,9 @@ command_result df_cleanconst(color_ostream &out, vector <string> & parameters)
DFhackCExport command_result plugin_init ( color_ostream &out, vector <PluginCommand> &commands)
{
commands.push_back(PluginCommand(
"cleanconst", "Cleans up construction materials.",
df_cleanconst, false,
" This utility alters all constructions on the map so that they spawn their\n"
" building component when they are disassembled, allowing their actual\n"
" build items to be safely deleted.\n"
));
"cleanconst",
"Cleans up construction materials.",
df_cleanconst));
return CR_OK;
}