v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "40d:Shrub"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m
m (exact logic from 40d)
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
To collect plants, find green, healthy bushes – {{tile|"|2:0:0}} – rather than the dead or dried up brown ones – {{tile|"|6:0:0}} – and {{Key|d}}esignate them for {{Key|p}}lant gathering. Dwarves with the herbalist labor enabled and little else to do will rush out and start trying to gather plants. When a herbalist attempts to collect plants from an aboveground shrub, there is an 80% probability that he or she will fail to glean anything usable from it, regardless of their skill; underground shrubs, however, will always yield usable plants. There is usually plenty of available vegetation however, so designate a wide area and leave them to it.   
 
To collect plants, find green, healthy bushes – {{tile|"|2:0:0}} – rather than the dead or dried up brown ones – {{tile|"|6:0:0}} – and {{Key|d}}esignate them for {{Key|p}}lant gathering. Dwarves with the herbalist labor enabled and little else to do will rush out and start trying to gather plants. When a herbalist attempts to collect plants from an aboveground shrub, there is an 80% probability that he or she will fail to glean anything usable from it, regardless of their skill; underground shrubs, however, will always yield usable plants. There is usually plenty of available vegetation however, so designate a wide area and leave them to it.   
  
Most plants collected from bushes can be brewed or cooked, and some can be used as [[dye]]s. Brewing or eating (but not cooking) plants will produce seeds, which can then be planted on outdoor farms in the proper [[biome]]. A [[stockpile]] should be created for storing the collected plants, or they will just be left outside to shrivel up in the sun. A general food stockpile will do, but a custom [[stockpile]] for specific plants will prevent the stockpile filling up with other junk.
+
Most plants collected from bushes can be brewed or cooked, and some can be used as [[dye]]s. Brewing or eating (but not cooking) plants will produce seeds, which can then be planted on outdoor farms in the proper [[biome]].
 +
 
 +
A [[stockpile]] should be created for storing the collected plants, or they will just be left outside to shrivel up in the sun. A general food stockpile will do, but a custom [[stockpile]] for specific plants will prevent the stockpile filling up with other junk. On the other hand, ensuring that all gathered plants can be stockpiled will result in a severe performance penalty as the herbalists run all the way back to the stockpiles after every successful harvest. In fortresses with a small number of herbalists and many haulers, a useful technique is to temporarily disable Food Hauling in the {{k|o}}rders menu during the harvest (so that they drop the plants at their feet and immediately run to the next shrub), then turn it back on afterwards so the haulers can quickly gather everything.
  
 
==Extra information==
 
==Extra information==
Line 14: Line 16:
  
 
In [[Dwarf Fortress mode|fortress mode]], it is not possible to know what type of plant a shrub will produce until it has been harvested.  In [[adventure mode]], however, all shrubs are clearly identifiable upon examination.
 
In [[Dwarf Fortress mode|fortress mode]], it is not possible to know what type of plant a shrub will produce until it has been harvested.  In [[adventure mode]], however, all shrubs are clearly identifiable upon examination.
 +
 +
Yields from herbalism are determined in a manner very similar to that of [[Item quality#The math behind the curtain|item quality]], varying based on the shrub's [[Plant token|CLUSTERSIZE]].
 +
 +
In all cases, the stack size starts at 0 and increments based on random numbers compared to the dwarf's ''uncapped'' [[Herbalism]] skill.
 +
* For plants with CLUSTERSIZE 1 (e.g. [[kobold bulb]]s and [[valley herb]]s):
 +
** If d15 < skill level, stack size is incremented to 1.
 +
* For plants with CLUSTERSIZE 2 (modded plants only):
 +
** If d5 == 0, stack size is incremented to 1.
 +
** If d5 < skill level, stack size is incremented.
 +
** If d15 < skill level, stack size is incremented.
 +
** If d25 < skill level and d3 == 0, stack size is incremented.
 +
*For plants with CLUSTERSIZE 3 (modded plants only):
 +
** If d2 == 0, stack size is incremented to 1.
 +
** If d5 < skill level, stack size is incremented.
 +
** If d15 < skill level, stack size is incremented.
 +
** If d25 < skill level and d3 == 0, stack size is incremented.
 +
*For plants with CLUSTERSIZE 4 or higher (all other vanilla plants):
 +
** If d2 == 0, stack size is incremented to 1.
 +
** If d5 < skill level, stack size is incremented.
 +
** If d10 < skill level, stack size is incremented.
 +
** If d15 < skill level, stack size is incremented.
 +
** If d20 < skill level, stack size is incremented.
 +
** If d25 < skill level and d3 == 0, stack size is incremented.
 +
 +
The resulting stack size is then capped at the plant's CLUSTERSIZE.
  
 
==See Also==
 
==See Also==

Latest revision as of 00:33, 14 May 2024

This article is about an older version of DF.

A shrub is a small plant that grows naturally, as opposed to a domesticated farm crop. They can be found all over the world in grassy areas, savannas, forests, and deserts. They will also sprout on soil and muddy stone underground if there are "spores" in the air from an underground river or pool. Shrubs are instrumental for plant gathering, and in environments with a significant amount of vegetation they can be an excellent supply of food. Gathering shrubs also serves to provide a supply of seeds for use in planting surface crops, such as longland grass and wild strawberry.

Harvesting[edit]

Shrubs can be collected by dwarves with the herbalist labor enabled in order to produce plant items. Early on, shrubs are an important source of seeds for growing an above ground farm plot. Harvesting subterranean shrubs grown on a smoothed floor will make the floor rough.

To collect plants, find green, healthy bushes – " – rather than the dead or dried up brown ones – " – and designate them for plant gathering. Dwarves with the herbalist labor enabled and little else to do will rush out and start trying to gather plants. When a herbalist attempts to collect plants from an aboveground shrub, there is an 80% probability that he or she will fail to glean anything usable from it, regardless of their skill; underground shrubs, however, will always yield usable plants. There is usually plenty of available vegetation however, so designate a wide area and leave them to it.

Most plants collected from bushes can be brewed or cooked, and some can be used as dyes. Brewing or eating (but not cooking) plants will produce seeds, which can then be planted on outdoor farms in the proper biome.

A stockpile should be created for storing the collected plants, or they will just be left outside to shrivel up in the sun. A general food stockpile will do, but a custom stockpile for specific plants will prevent the stockpile filling up with other junk. On the other hand, ensuring that all gathered plants can be stockpiled will result in a severe performance penalty as the herbalists run all the way back to the stockpiles after every successful harvest. In fortresses with a small number of herbalists and many haulers, a useful technique is to temporarily disable Food Hauling in the orders menu during the harvest (so that they drop the plants at their feet and immediately run to the next shrub), then turn it back on afterwards so the haulers can quickly gather everything.

Extra information[edit]

A shrub is a type of map tile, similar to trees and walls in that they are a state that can be designated for action, such as to be dug out or removed. They only occur naturally but tend to grow up very frequently during the year.

In fortress mode, it is not possible to know what type of plant a shrub will produce until it has been harvested. In adventure mode, however, all shrubs are clearly identifiable upon examination.

Yields from herbalism are determined in a manner very similar to that of item quality, varying based on the shrub's CLUSTERSIZE.

In all cases, the stack size starts at 0 and increments based on random numbers compared to the dwarf's uncapped Herbalism skill.

  • For plants with CLUSTERSIZE 1 (e.g. kobold bulbs and valley herbs):
    • If d15 < skill level, stack size is incremented to 1.
  • For plants with CLUSTERSIZE 2 (modded plants only):
    • If d5 == 0, stack size is incremented to 1.
    • If d5 < skill level, stack size is incremented.
    • If d15 < skill level, stack size is incremented.
    • If d25 < skill level and d3 == 0, stack size is incremented.
  • For plants with CLUSTERSIZE 3 (modded plants only):
    • If d2 == 0, stack size is incremented to 1.
    • If d5 < skill level, stack size is incremented.
    • If d15 < skill level, stack size is incremented.
    • If d25 < skill level and d3 == 0, stack size is incremented.
  • For plants with CLUSTERSIZE 4 or higher (all other vanilla plants):
    • If d2 == 0, stack size is incremented to 1.
    • If d5 < skill level, stack size is incremented.
    • If d10 < skill level, stack size is incremented.
    • If d15 < skill level, stack size is incremented.
    • If d20 < skill level, stack size is incremented.
    • If d25 < skill level and d3 == 0, stack size is incremented.

The resulting stack size is then capped at the plant's CLUSTERSIZE.

See Also[edit]