dfhack/docs/plugins/seedwatch.rst

46 lines
1.6 KiB
ReStructuredText

seedwatch
=========
.. dfhack-tool::
:summary: Manages seed and plant cooking based on seed stock levels.
2022-08-12 00:34:37 -06:00
:tags: fort auto plants
2022-07-31 14:28:29 -06:00
Each seed type can be assigned a target. If the number of seeds of that type
falls below that target, then the plants and seeds of that type will be excluded
from cookery. If the number rises above the target + 20, then cooking will be
allowed.
2022-07-31 14:28:29 -06:00
The plugin needs a fortress to be loaded and will deactivate automatically
otherwise. You have to reactivate with ``enable seedwatch`` after you load a
fort.
2022-07-31 14:28:29 -06:00
Usage:
2022-07-31 14:28:29 -06:00
``enable seedwatch``
Start managing seed and plant cooking. By default, no types are watched.
You have to add them with further ``seedwatch`` commands.
``seedwatch <type> <target>``
Adds the specifiied type to the watchlist (if it's not already there) and
sets the target number of seeds to the specified number. You can pass the
keyword ``all`` instead of a specific type to set the target for all types.
``seedwatch <type>``
Removes the specified type from the watch list.
``seedwatch clear``
Clears all types from the watch list.
``seedwatch info``
Display whether seedwatch is enabled and prints out the watch list.
To print out a list of all plant types, you can run this command::
devel/query --table df.global.world.raws.plants.all --search ^id --maxdepth 1
Examples
--------
``seedwatch all 30``
2022-07-31 14:28:29 -06:00
Adds all seeds to the watch list and sets the targets to 30.
``seedwatch MUSHROOM_HELMET_PLUMP 50``
Add Plump Helmets to the watch list and sets the target to 50.
``seedwatch MUSHROOM_HELMET_PLUMP``
removes Plump Helmets from the watch list.