document extended zone configuration syntax

develop
Myk Taylor 2020-10-17 22:20:39 -07:00
parent 09fbaba726
commit 6c3bac2d6c
1 changed files with 37 additions and 16 deletions

@ -96,6 +96,7 @@ Features
created stockpiles created stockpiles
- Automatic splitting of stockpiles and zones that exceed maximum dimension - Automatic splitting of stockpiles and zones that exceed maximum dimension
limits limits
- Full access to all zone settings, such as hospital supply counts
- Query mode - Query mode
@ -478,37 +479,57 @@ It is very common to have stockpiles that accept multiple categories of items or
zones that permit more than one activity. Although it is perfectly valid to zones that permit more than one activity. Although it is perfectly valid to
declare a single-purpose stockpile or zone and then modify it with a ``#query`` declare a single-purpose stockpile or zone and then modify it with a ``#query``
blueprint, quickfort also supports directly declaring all the types on the blueprint, quickfort also supports directly declaring all the types on the
``#place`` and ``#zone`` blueprints. For example, to declare a 10x10 area that ``#place`` and ``#zone`` blueprints. For example, to declare a 20x10 stockpile
is a pasture, a fruit picking area, and a meeting area all at once, you could that accepts both corpses and refuse, you could write:
write:
::
#place refuse heap
yr(20x10)
And similarly, to declare a zone that is a pasture, a fruit picking area, and a
meeting area all at once:
:: ::
#zone main pasture and picnic area #zone main pasture and picnic area
nmg(10x10) nmg(10x10)
And similarly, to declare a stockpile that accepts both corpses and refuse, you The order of the individual letters doesn't matter.
could write:
Detailed configuration for zones, such as the pit/pond toggle, can also be set
by mimicking the hotkeys used to set them. Note that gather flags default to
true, so specifying them in a blueprint will turn the toggles off. If you need
to set configuration from multiple zone subscreens, separate the key sections
with ``^``. Note the special syntax for setting hospital supply levels, which
have no in-game hotkeys:
:: ::
#place refuse heap #zone a combination hospital and shrub (but not fruit) gathering zone
yr(20x10) gGtf^hH{hospital buckets=5 splints=20}(10x10)
The order of the individual letters doesn't matter. The valid hospital settings (and their maximum values) are:
::
thread (1500000)
cloth (1000000)
splints (100)
crutches (100)
powder (15000)
buckets (100)
soap (15000)
To toggle the ``active`` flag for zones, add an ``a`` character to the string. To toggle the ``active`` flag for zones, add an ``a`` character to the string.
For example, to create a *disabled* pit zone (that you later intend to turn into For example, to create a *disabled* pond zone (that you later intend to
a pond and carefully fill to 3-depth water): carefully fill with 3-depth water for a dwarven bathtub):
:: ::
#zone disabled future pond zone #zone disabled pond zone
pa(1x3) apPf(1x3)
Note that while this notation covers most use cases, tweaking low-level zone
parameters, like hospital supply levels or converting between pits and ponds,
must still be done manually or with a ``#query`` blueprint.
Minecart tracks Minecart tracks
~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~