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 fix-armory
========== ==========
`This plugin requires a binpatch <binpatches/needs-patch>`, which has not Tags:
been available since DF 0.34.11 :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) DFhackCExport command_result plugin_init (color_ostream &out, std::vector <PluginCommand> &commands)
{ {
commands.push_back(PluginCommand( commands.push_back(PluginCommand(
"fix-armory", "Enables or disables the fix-armory plugin.", fix_armory, false, "fix-armory",
" fix-armory enable\n" "Enables or disables the fix-armory plugin.",
" Enables the tweaks.\n" fix_armory));
" fix-armory disable\n"
" Disables the tweaks. All equipment will be hauled off to stockpiles.\n"
));
if (Core::getInstance().isMapLoaded()) if (Core::getInstance().isMapLoaded())
plugin_onstatechange(out, SC_MAP_LOADED); plugin_onstatechange(out, SC_MAP_LOADED);