From 1c496fb25587ce749974593982996707c363a7c0 Mon Sep 17 00:00:00 2001 From: Casey Link Date: Thu, 27 Nov 2014 14:49:16 +0100 Subject: [PATCH] add savestock and loadstock to NEWS and Readme.rst --- NEWS | 3 +++ Readme.rst | 44 +++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 46 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 5bd968839..656951320 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,9 @@ DFHack Future Internals: Fixes: New plugins: + - savestock and loadstock: two commands for saving and loading + stockpile settings to a file. They can be used to migrate stockpile + settings between worlds and saves. New scripts: Misc improvements: diff --git a/Readme.rst b/Readme.rst index cd0b677b1..a4965d54b 100644 --- a/Readme.rst +++ b/Readme.rst @@ -308,12 +308,54 @@ twaterlvl --------- Toggle between displaying/not displaying liquid depth as numbers. +stockpile settings management +----------------------------- + 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 +~~~~~~~~~ + +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 saves or +players. + +example: + +``` +savestock food_settings.dfstock +``` + +loadstock +~~~~~~~~~ + +Loads a saved stockpile settings file and applies it to the currently selected +stockpile. + +example: + +``` +loadstock food_settings.dfstock +``` + +To use savestock and loadstock, use the 'q' command to highlight a stockpile. +Then run savestock giving it a descriptive filename. Then, in a different (or +same!) gameworld, you can highlight any stockpile with 'q' then execute the +'loadstock' command passing it the name of that file. The settings will be +applied to that stockpile. + +**Notes:** It saves and loads files relative to the DF folder, so put your files +there or in a subfolder for easy access. Filenames should not have spaces. + +**Limitations:** Generated materials, divine metals, etc are not saved as they +are different in every world. + + rename ------ Allows renaming various things.