update docs

develop
Myk Taylor 2023-03-05 16:21:28 -08:00
parent 8f07a03772
commit 23d5607835
No known key found for this signature in database
1 changed files with 9 additions and 21 deletions

@ -5,32 +5,20 @@ stockpiles
.. dfhack-tool:: .. dfhack-tool::
:summary: Import and export stockpile settings. :summary: Import and export stockpile settings.
:tags: untested fort design productivity stockpiles :tags: fort design productivity stockpiles
:no-command: :no-command:
.. dfhack-command:: copystock
:summary: Copies the configuration of the selected stockpile.
.. dfhack-command:: savestock .. dfhack-command:: savestock
:summary: Exports the configuration of the selected stockpile. :summary: Exports the configuration of the selected stockpile.
.. dfhack-command:: loadstock .. dfhack-command:: loadstock
:summary: Imports the configuration of the selected stockpile. :summary: Imports configuration for the selected stockpile.
When the plugin is enabled, the :kbd:`q` menu of each stockpile will have an Select a stockpile in the UI first to use these commands.
option for saving or loading the stockpile settings. See `gui/stockpiles` for
an in-game interface.
Usage Usage
----- -----
``enable stockpiles``
Add a hotkey that you can hit to easily save and load settings from
stockpiles selected in :kbd:`q` mode.
``copystock``
Copies the parameters of the currently highlighted stockpile to the custom
stockpile settings and switches to custom stockpile placement mode,
effectively allowing you to copy/paste stockpiles easily.
``savestock <filename>`` ``savestock <filename>``
Saves the currently highlighted stockpile's settings to a file in your Saves the currently highlighted stockpile's settings to a file in your
Dwarf Fortress folder. This file can be used to copy settings between game Dwarf Fortress folder. This file can be used to copy settings between game
@ -45,9 +33,9 @@ etc. are not saved as they are different in every world.
Examples Examples
-------- --------
``savestock food_settings.dfstock`` ``savestock food``
Export the stockpile settings for the stockpile currently selected in Export the stockpile settings for the currently selected stockpile to a
:kbd:`q` mode to a file named ``food_settings.dfstock``. file named ``food.dfstock``.
``loadstock food_settings.dfstock`` ``loadstock food``
Set the selected stockpile settings to those saved in the Set the selected stockpile settings to those saved in the ``food.dfstock``
``food_settings.dfstock`` file. file.