2022-07-10 00:01:46 -06:00
|
|
|
orders
|
|
|
|
======
|
sync tags spreadsheet to git
spreadsheet - https://docs.google.com/spreadsheets/d/1hiDlo8M_bB_1jE-5HRs2RrrA_VZ4cRu9VXaTctX_nwk/edit#gid=170388995
sync command - for fname in *rst; do name=$(echo $fname | sed 's/[.]rst//'); tagline=$(egrep ",$name," ~/Downloads/DFHack\ taxonomy\ -\ Tool\ tags.csv | ~/Downloads/csvtotags.sh); sed -ri "s;[*]*Tags:.*;$tagline;" $fname; done
contents of csvtotags.sh -
fgrep . | sed -r 's/^[^,]+,([^,]+),[^.]+[.]"?,/\1,/' | awk -F, '
function tag(idx, tagname) {
if ($idx == "TRUE") {
if (hastag == 1) {printf(", ")}
printf("`tag/%s`", tagname)
hastag = 1
}
}
{
printf("%s", "**Tags:** ")
hastag = 0
tag(2, "adventure")
tag(3, "fort")
tag(4, "legends")
tag(5, "embark")
tag(6, "system")
tag(7, "dev")
tag(8, "auto")
tag(9, "productivity")
tag(10, "inspection")
tag(11, "design")
tag(12, "quickfort")
tag(13, "interface")
tag(14, "fps")
tag(15, "fix")
tag(16, "mod")
tag(17, "armok")
tag(18, "animals")
tag(19, "buildings")
tag(20, "items")
tag(21, "jobs")
tag(22, "map")
tag(23, "labors")
tag(24, "units")
tag(25, "stockpiles")
tag(26, "trees")
printf("\n")
}
'
2022-08-05 18:55:33 -06:00
|
|
|
**Tags:** `tag/fort`, `tag/productivity`, `tag/jobs`
|
2022-07-28 04:48:27 -06:00
|
|
|
:dfhack-keybind:`orders`
|
|
|
|
|
|
|
|
Manage manager orders.
|
|
|
|
|
|
|
|
Usage:
|
|
|
|
|
|
|
|
``orders orders list``
|
|
|
|
Shows the list of previously exported orders, including the orders library.
|
|
|
|
``orders export <name>``
|
|
|
|
Saves all the current manager orders in a file.
|
|
|
|
``orders import <name>``
|
|
|
|
Imports the specified manager orders. Note this adds to your current set of
|
|
|
|
manager orders. It will not clear the orders that already exist.
|
|
|
|
``orders clear``
|
|
|
|
Deletes all manager orders in the current embark.
|
|
|
|
``orders sort``
|
|
|
|
Sorts current manager orders by repeat frequency so repeating orders don't
|
|
|
|
prevent one-time orders from ever being completed. The sorting order is:
|
|
|
|
one-time orders first, then yearly, seasonally, monthly, and finally, daily.
|
2022-07-10 00:01:46 -06:00
|
|
|
|
|
|
|
You can keep your orders automatically sorted by adding the following command to
|
|
|
|
your ``onMapLoad.init`` file::
|
|
|
|
|
|
|
|
repeat -name orders-sort -time 1 -timeUnits days -command [ orders sort ]
|
|
|
|
|
2022-07-28 04:48:27 -06:00
|
|
|
Exported orders are saved in the ``dfhack-config/orders`` directory, where you
|
|
|
|
can view, edit, and delete them, if desired.
|
|
|
|
|
|
|
|
Examples
|
|
|
|
--------
|
|
|
|
|
|
|
|
``orders export myorders``
|
|
|
|
Export the current manager orders to a file named
|
|
|
|
``dfhack-config/orders/myorders.json``.
|
|
|
|
``orders import library/basic``
|
|
|
|
Import manager orders from the library that keep your fort stocked with
|
|
|
|
basic essentials.
|
2022-07-10 00:01:46 -06:00
|
|
|
|
|
|
|
The orders library
|
|
|
|
------------------
|
|
|
|
|
|
|
|
DFHack comes with a library of useful manager orders that are ready for import:
|
|
|
|
|
2022-07-28 04:48:27 -06:00
|
|
|
:source:`library/basic <data/orders/basic.json>`
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2022-07-10 00:01:46 -06:00
|
|
|
|
|
|
|
This collection of orders handles basic fort necessities:
|
|
|
|
|
|
|
|
- prepared meals and food products (and by-products like oil)
|
|
|
|
- booze/mead
|
|
|
|
- thread/cloth/dye
|
|
|
|
- pots/jugs/buckets/mugs
|
|
|
|
- bags of leather, cloth, silk, and yarn
|
|
|
|
- crafts and totems from otherwise unusable by-products
|
|
|
|
- mechanisms/cages
|
|
|
|
- splints/crutches
|
|
|
|
- lye/soap
|
|
|
|
- ash/potash
|
|
|
|
- beds/wheelbarrows/minecarts
|
|
|
|
- scrolls
|
|
|
|
|
|
|
|
You should import it as soon as you have enough dwarves to perform the tasks.
|
|
|
|
Right after the first migration wave is usually a good time.
|
|
|
|
|
2022-07-28 04:48:27 -06:00
|
|
|
:source:`library/furnace <data/orders/furnace.json>`
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2022-07-10 00:01:46 -06:00
|
|
|
|
|
|
|
This collection creates basic items that require heat. It is separated out from
|
2022-07-28 04:48:27 -06:00
|
|
|
``library/basic`` to give players the opportunity to set up magma furnaces first
|
|
|
|
in order to save resources. It handles:
|
2022-07-10 00:01:46 -06:00
|
|
|
|
|
|
|
- charcoal (including smelting of bituminous coal and lignite)
|
|
|
|
- pearlash
|
|
|
|
- sand
|
|
|
|
- green/clear/crystal glass
|
|
|
|
- adamantine processing
|
|
|
|
- item melting
|
|
|
|
|
|
|
|
Orders are missing for plaster powder until DF :bug:`11803` is fixed.
|
|
|
|
|
2022-07-28 04:48:27 -06:00
|
|
|
:source:`library/military <data/orders/military.json>`
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2022-07-10 00:01:46 -06:00
|
|
|
|
|
|
|
This collection adds high-volume smelting jobs for military-grade metal ores and
|
|
|
|
produces weapons and armor:
|
|
|
|
|
|
|
|
- leather backpacks/waterskins/cloaks/quivers/armor
|
|
|
|
- bone/wooden bolts
|
|
|
|
- smelting for platinum, silver, steel, bronze, bismuth bronze, and copper (and
|
|
|
|
their dependencies)
|
|
|
|
- bronze/bismuth bronze/copper bolts
|
|
|
|
- platinum/silver/steel/iron/bismuth bronze/bronze/copper weapons and armor,
|
|
|
|
with checks to ensure only the best available materials are being used
|
|
|
|
|
|
|
|
If you set a stockpile to take weapons and armor of less than masterwork quality
|
|
|
|
and turn on `automelt` (like what `dreamfort` provides on its industry level),
|
|
|
|
these orders will automatically upgrade your military equipment to masterwork.
|
|
|
|
Make sure you have a lot of fuel (or magma forges and furnaces) before you turn
|
|
|
|
``automelt`` on, though!
|
|
|
|
|
|
|
|
This file should only be imported, of course, if you need to equip a military.
|
|
|
|
|
2022-07-28 04:48:27 -06:00
|
|
|
:source:`library/smelting <data/orders/smelting.json>`
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2022-07-10 00:01:46 -06:00
|
|
|
|
|
|
|
This collection adds smelting jobs for all ores. It includes handling the ores
|
2022-07-28 04:48:27 -06:00
|
|
|
already managed by ``library/military``, but has lower limits. This ensures all
|
|
|
|
ores will be covered if a player imports ``library/smelting`` but not
|
|
|
|
``library/military``, but the higher-volume ``library/military`` orders will
|
|
|
|
take priority if both are imported.
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-07-28 04:48:27 -06:00
|
|
|
:source:`library/rockstock <data/orders/rockstock.json>`
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2022-07-10 00:01:46 -06:00
|
|
|
|
|
|
|
This collection of orders keeps a small stock of all types of rock furniture.
|
|
|
|
This allows you to do ad-hoc furnishings of guildhalls, libraries, temples, or
|
|
|
|
other rooms with `buildingplan` and your masons will make sure there is always
|
|
|
|
stock on hand to fulfill the plans.
|
|
|
|
|
2022-07-28 04:48:27 -06:00
|
|
|
:source:`library/glassstock <data/orders/glassstock.json>`
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-07-28 04:48:27 -06:00
|
|
|
Similar to ``library/rockstock`` above, this collection keeps a small stock of
|
|
|
|
all types of glass furniture. If you have a functioning glass industry, this is
|
|
|
|
more sustainable than ``library/rockstock`` since you can never run out of sand.
|
|
|
|
If you have plenty of rock and just want the variety, you can import both
|
|
|
|
``library/rockstock`` and ``library/glassstock`` to get a mixture of rock and
|
|
|
|
glass furnishings in your fort.
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-07-28 04:48:27 -06:00
|
|
|
There are a few items that ``library/glassstock`` produces that
|
|
|
|
``library/rockstock`` does not, since there are some items that can not be made
|
|
|
|
out of rock, for example:
|
2022-07-10 00:01:46 -06:00
|
|
|
|
|
|
|
- tubes and corkscrews for building magma-safe screw pumps
|
|
|
|
- windows
|
|
|
|
- terrariums (as an alternative to wooden cages)
|