update docs for fix-armory

develop
myk002 2022-07-25 10:21:33 -07:00
parent 38c17b5215
commit 886289d805
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
2 changed files with 13 additions and 8 deletions

@ -1,4 +1,12 @@
fix-armory
==========
`This plugin requires a binpatch <binpatches/needs-patch>`, which has not
been available since DF 0.34.11
Tags:
:dfhack-keybind:`fix-armory`
Allow the military to store equipment in barracks. However,
`this plugin requires a binpatch <binpatches/needs-patch>`, which has not
been available since DF 0.34.11.
Usage::
enable fix-armory

@ -70,12 +70,9 @@ DFhackCExport command_result plugin_onstatechange(color_ostream &out, state_chan
DFhackCExport command_result plugin_init (color_ostream &out, std::vector <PluginCommand> &commands)
{
commands.push_back(PluginCommand(
"fix-armory", "Enables or disables the fix-armory plugin.", fix_armory, false,
" fix-armory enable\n"
" Enables the tweaks.\n"
" fix-armory disable\n"
" Disables the tweaks. All equipment will be hauled off to stockpiles.\n"
));
"fix-armory",
"Enables or disables the fix-armory plugin.",
fix_armory));
if (Core::getInstance().isMapLoaded())
plugin_onstatechange(out, SC_MAP_LOADED);