11orders
22======
3-
4- A plugin for manipulating manager orders.
5-
6- Subcommands:
7-
8- :list: Shows the list of previously exported orders, including the orders library.
9- :export NAME: Exports the current list of manager orders to a file named ``dfhack-config/orders/NAME.json ``.
10- :import NAME: Imports manager orders from a file named ``dfhack-config/orders/NAME.json ``.
11- :clear: Deletes all manager orders in the current embark.
12- :sort: Sorts current manager orders by repeat frequency so daily orders don't
13- prevent other orders from ever being completed: one-time orders first, then
14- yearly, seasonally, monthly, then finally daily.
3+ Tags:
4+ :dfhack-keybind: `orders `
5+
6+ Manage manager orders.
7+
8+ Usage:
9+
10+ ``orders orders list ``
11+ Shows the list of previously exported orders, including the orders library.
12+ ``orders export <name> ``
13+ Saves all the current manager orders in a file.
14+ ``orders import <name> ``
15+ Imports the specified manager orders. Note this adds to your current set of
16+ manager orders. It will not clear the orders that already exist.
17+ ``orders clear ``
18+ Deletes all manager orders in the current embark.
19+ ``orders sort ``
20+ Sorts current manager orders by repeat frequency so repeating orders don't
21+ prevent one-time orders from ever being completed. The sorting order is:
22+ one-time orders first, then yearly, seasonally, monthly, and finally, daily.
1523
1624You can keep your orders automatically sorted by adding the following command to
1725your ``onMapLoad.init `` file::
1826
1927 repeat -name orders-sort -time 1 -timeUnits days -command [ orders sort ]
2028
29+ Exported orders are saved in the ``dfhack-config/orders `` directory, where you
30+ can view, edit, and delete them, if desired.
31+
32+ Examples
33+ --------
34+
35+ ``orders export myorders ``
36+ Export the current manager orders to a file named
37+ ``dfhack-config/orders/myorders.json ``.
38+ ``orders import library/basic ``
39+ Import manager orders from the library that keep your fort stocked with
40+ basic essentials.
2141
2242The orders library
2343------------------
2444
2545DFHack comes with a library of useful manager orders that are ready for import:
2646
27- :source: `basic.json <data/orders/basic.json> `
28- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
47+ :source: `library/ basic <data/orders/basic.json> `
48+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2949
3050This collection of orders handles basic fort necessities:
3151
@@ -45,12 +65,12 @@ This collection of orders handles basic fort necessities:
4565You should import it as soon as you have enough dwarves to perform the tasks.
4666Right after the first migration wave is usually a good time.
4767
48- :source: `furnace.json <data/orders/furnace.json> `
49- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68+ :source: `library/ furnace <data/orders/furnace.json> `
69+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5070
5171This collection creates basic items that require heat. It is separated out from
52- ``basic.json `` to give players the opportunity to set up magma furnaces first in
53- order to save resources. It handles:
72+ ``library/ basic `` to give players the opportunity to set up magma furnaces first
73+ in order to save resources. It handles:
5474
5575- charcoal (including smelting of bituminous coal and lignite)
5676- pearlash
@@ -61,8 +81,8 @@ order to save resources. It handles:
6181
6282Orders are missing for plaster powder until DF :bug: `11803 ` is fixed.
6383
64- :source: `military.json <data/orders/military.json> `
65- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
84+ :source: `library/ military <data/orders/military.json> `
85+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6686
6787This collection adds high-volume smelting jobs for military-grade metal ores and
6888produces weapons and armor:
@@ -83,33 +103,36 @@ Make sure you have a lot of fuel (or magma forges and furnaces) before you turn
83103
84104This file should only be imported, of course, if you need to equip a military.
85105
86- :source: `smelting.json <data/orders/smelting.json> `
87- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
106+ :source: `library/ smelting <data/orders/smelting.json> `
107+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
88108
89109This collection adds smelting jobs for all ores. It includes handling the ores
90- already managed by ``military.json ``, but has lower limits. This ensures all
91- ores will be covered if a player imports ``smelting `` but not ``military ``, but
92- the higher-volume ``military `` orders will take priority if both are imported.
110+ already managed by ``library/military ``, but has lower limits. This ensures all
111+ ores will be covered if a player imports ``library/smelting `` but not
112+ ``library/military ``, but the higher-volume ``library/military `` orders will
113+ take priority if both are imported.
93114
94- :source: `rockstock.json <data/orders/rockstock.json> `
95- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
115+ :source: `library/ rockstock <data/orders/rockstock.json> `
116+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
96117
97118This collection of orders keeps a small stock of all types of rock furniture.
98119This allows you to do ad-hoc furnishings of guildhalls, libraries, temples, or
99120other rooms with `buildingplan ` and your masons will make sure there is always
100121stock on hand to fulfill the plans.
101122
102- :source: `glassstock.json <data/orders/glassstock.json> `
103- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
123+ :source: `library/ glassstock <data/orders/glassstock.json> `
124+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
104125
105- Similar to ``rockstock `` above, this collection keeps a small stock of all types
106- of glass furniture. If you have a functioning glass industry, this is more
107- sustainable than ``rockstock `` since you can never run out of sand. If you have
108- plenty of rock and just want the variety, you can import both ``rockstock `` and
109- ``glassstock `` to get a mixture of rock and glass furnishings in your fort.
126+ Similar to ``library/rockstock `` above, this collection keeps a small stock of
127+ all types of glass furniture. If you have a functioning glass industry, this is
128+ more sustainable than ``library/rockstock `` since you can never run out of sand.
129+ If you have plenty of rock and just want the variety, you can import both
130+ ``library/rockstock `` and ``library/glassstock `` to get a mixture of rock and
131+ glass furnishings in your fort.
110132
111- There are a few items that ``glassstock `` produces that ``rockstock `` does not,
112- since there are some items that can not be made out of rock, for example:
133+ There are a few items that ``library/glassstock `` produces that
134+ ``library/rockstock `` does not, since there are some items that can not be made
135+ out of rock, for example:
113136
114137- tubes and corkscrews for building magma-safe screw pumps
115138- windows
0 commit comments