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:Farming"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Fixing quality template tags (205/690))
 
(9 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
{{Quality|Exceptional}}
 
{{Quality|Exceptional}}
 
[[Image:Df-crops-diagram.png|thumb|200px|General farming flowchart.]]
 
[[Image:Df-crops-diagram.png|thumb|200px|General farming flowchart.]]
'''Farming''' is the most universal source of {{L|food}} in Dwarf Fortress. On maps with plentiful {{L|shrub}}s, {{L|animal}}s or bodies of {{L|water}}, {{L|plant gathering}}, {{L|hunting}} or {{L|fishing}} can also produce a lot of food; however, these practices often do not scale to the level needed to feed a full-sized fortress. Farming is a highly efficient, reliable, renewable and scalable source of food -- and, after {{L|cooking}}, of compact but valuable trade goods. {{L|Plants}} are also the only source of {{L|alcohol}} and {{L|dye}} other than {{L|trading}}. Some can be turned into {{L|clothing}}.
+
'''Farming''' is the most universal source of [[food]] in Dwarf Fortress. On maps with plentiful [[shrub]]s, [[animal]]s or bodies of [[water]], [[plant gathering]], [[hunting]] or [[fishing]] can also produce a lot of food; however, these practices often do not scale to the level needed to feed a full-sized fortress. Farming is a highly efficient, reliable, renewable and scalable source of food -- and, after [[cooking]], of compact but valuable trade goods. [[Plant]]s are also the only source of [[alcohol]] and [[dye]] other than [[trading]]. Some can be turned into [[clothing]].
  
 
== Finding farmland ==
 
== Finding farmland ==
You cannot plant {{L|seed}}s on a bare rock floor, only on {{L|mud}} or {{L|soil}}. The easiest way to farm, by far, is to find some soil, which may be found on the surface or by digging into a layer of soil underground ''if'' there was a soil {{L|layer}} present on embark in one of the {{L|biome}}s. If soil is unavailable, you will need to set up an {{L|irrigation}} scheme to deposit {{L|water}} on the bare rock to create mud, which can then have {{L|farm plot}}s placed upon it.  
+
You cannot plant [[seed]]s on a bare rock floor, only on [[mud]] or [[soil]]. The easiest way to farm, by far, is to find some soil, which may be found on the surface or by digging into a layer of soil underground ''if'' there was a soil [[layer]] present on embark in one of the [[biome]]s. If soil is unavailable, you will need to set up an [[irrigation]] scheme to deposit [[water]] on the bare rock to create mud, which can then have [[farm plot]]s placed upon it.  
  
However, muddying rock for farming only works {{L|underground}}; above ground, it is deceptive (and may be considered a bug).  Above-ground rock floors ''can'' be muddied, and {{L|farm plot}}s ''can'' be built on them - also, if the farmplot overlaps even one tile of soil, they can even have seeds designated for planting - '''but''' the farmplot will ''never actually get planted with seeds'', and so will never become productive.
+
However, muddying rock for farming only works [[underground]]; above ground, it is deceptive (and may be considered a bug).  Above-ground rock floors ''can'' be muddied, and [[farm plot]]s ''can'' be built on them - also, if the farmplot overlaps even one tile of soil, they can even have seeds designated for planting - '''but''' the farmplot will ''never actually get planted with seeds'', and so will never become productive.
  
 
== Aboveground or underground? ==
 
== Aboveground or underground? ==
You can plant either underground or aboveground, depending on the type of {{L|plant}}s you want to grow. The starting {{L|seed}}s your dwarves may bring with them can only be planted underground. If you want to farm aboveground, you will need to gather seeds from outdoor {{L|shrub}}s, which can then be planted. {{L|Caravan}}s will also usually bring additional bags of seeds.
+
You can plant either underground or aboveground, depending on the type of [[plant]]s you want to grow. The starting [[seed]]s your dwarves may bring with them can only be planted underground. If you want to farm aboveground, you will need to gather seeds from outdoor [[shrub]]s, which can then be planted. [[Caravan]]s will also usually bring additional bags of seeds.
  
 
The farm plot should be either entirely above ground or entirely subterranean. A mixed-class farm plot will allow you to choose any crop for planting, but the chosen crop will be planted only on tiles capable of growing it. Worse, planters will not skip over the infertile tiles, leaving the rest of the plot fallow whether it can support the crop or not.
 
The farm plot should be either entirely above ground or entirely subterranean. A mixed-class farm plot will allow you to choose any crop for planting, but the chosen crop will be planted only on tiles capable of growing it. Worse, planters will not skip over the infertile tiles, leaving the rest of the plot fallow whether it can support the crop or not.
  
Also, some biomes such as {{L|mountain}}s will not support outdoor farming, even when irrigated. You can build a farm on muddy ground, but no seed types will be available for planting there. If you wish to dig a secure outdoor farming area into your underground fort, make sure it's on a biome that supports outdoor farming.  
+
Also, some biomes such as [[mountain]]s will not support outdoor farming, even when irrigated. You can build a farm on muddy ground, but no seed types will be available for planting there. If you wish to dig a secure outdoor farming area into your underground fort, make sure it's on a biome that supports outdoor farming.  
  
 
=== Greenhouse ===
 
=== Greenhouse ===
If you want a secure way to farm outdoor plants, consider building a greenhouse. This can be done by {{L|channel}}ing out a square area (or using a drained {{L|pond}}) and building {{L|floor}} tiles above it, preferably from {{L|glass}} {{L|block}}s (though any material will work, even raw stone, this is considered by many to be a bug). Alternatively, you can construct {{L|wall}}s around (and floors above) a section of any {{L|soil}} and create a secure farming area above ground, either built next to a cavern (and accessible via tunnel) or built in the middle of a plain (and accessible from beneath via {{L|stairs}}).
+
If you want a secure way to farm outdoor plants, consider building a greenhouse. This can be done by [[channel]]ing out a square area (or using a drained [[pond]]) and building [[floor]] tiles above it, preferably from [[glass]] [[block]]s (though any material will work, even raw stone, this is considered by many to be a bug). Alternatively, you can construct [[wall]]s around (and floors above) a section of any [[soil]] and create a secure farming area above ground, either built next to a cavern (and accessible via tunnel) or built in the middle of a plain (and accessible from beneath via [[stairs]]).
  
 
== Defining the farm plot ==
 
== Defining the farm plot ==
  
Once you have a suitable location for farming you can have your farmer(s) prepare a {{L|farm plot}}. That's the actual bit of soil to be tilled.
+
Once you have a suitable location for farming you can have your farmer(s) prepare a [[farm plot]]. That's the actual bit of soil to be tilled.
  
 
Enter the {{k|b}}uild menu and place farm {{k|p}}lots. Use {{k|u}} and {{k|k}} to increase the size of the plot, and {{k|m}} and {{k|h}} to decrease it. When the plot is sized and positioned correctly, pressing {{k|Enter}} will place it. Your grower(s) will now rush in and prepare the field, clearing out rubble and other impediments when necessary.
 
Enter the {{k|b}}uild menu and place farm {{k|p}}lots. Use {{k|u}} and {{k|k}} to increase the size of the plot, and {{k|m}} and {{k|h}} to decrease it. When the plot is sized and positioned correctly, pressing {{k|Enter}} will place it. Your grower(s) will now rush in and prepare the field, clearing out rubble and other impediments when necessary.
  
How much farm space do you need? Surprisingly little. A 5x5 plot manned by dabbling {{L|farmer}}s will provide enough food to feed and <s>water</s> booze 30 dwarves. The use of {{L|Exploit#Cooking_alcohol|boozecooking}} will stretch this to 75 dwarves. If you have decently skilled farmers, the same 5x5 plot (with boozecooking) will feed over 200 dwarves! However, you may wish to increase food production way beyond anything your dwarves could ever consume to create large amounts of valuable trade goods or stock up for {{L|goblin}} {{L|siege}}s.
+
How much farm space do you need? Surprisingly little. A 5x5 plot manned by dabbling [[farmer]]s will provide enough food to feed and <s>water</s> booze 30 dwarves. The use of [[Exploit#Cooking_alcohol|boozecooking]] will stretch this to 75 dwarves. If you have decently skilled farmers, the same 5x5 plot (with boozecooking) will feed over 200 dwarves! However, you may wish to increase food production way beyond anything your dwarves could ever consume to create large amounts of valuable trade goods or stock up for [[goblin]] [[siege]]s.
  
 
== Planting ==
 
== Planting ==
  
Once a farmer builds the plots, it's time to plant. Go into the plot's {{k|q}} menu and select the type of seed to plant. Your farmers will then take care of the rest. Note that your farmers will not work the plot the whole year without being told to do so: you must designate a crop for ''each'' {{L|season}}. You can designate each season ahead of time by using {{k|a}}, {{k|b}}, {{k|c}}, {{k|d}} from the plot selection screen. You do not have to plant the same thing each season and can change planting orders at anytime, even mid-season. The already planted seeds will mature normally and the rest of the plot will be planted with the newly designated crop. Some underground plants can only be planted during certain seasons.
+
Once a farmer builds the plots, it's time to plant. Go into the plot's {{k|q}} menu and select the type of seed to plant. Your farmers will then take care of the rest. Note that your farmers will not work the plot the whole year without being told to do so: you must designate a crop for ''each'' [[season]]. You can designate each season ahead of time by using {{k|a}}, {{k|b}}, {{k|c}}, {{k|d}} from the plot selection screen. You do not have to plant the same thing each season and can change planting orders at anytime, even mid-season. The already planted seeds will mature normally and the rest of the plot will be planted with the newly designated crop. Some underground plants can only be planted during certain seasons.
  
 
On a farm that is built but not planted, each tile will appear as "≈". Once a square has been planted, its appearance will change to "═". Once the square has been harvested, it will return to "≈".
 
On a farm that is built but not planted, each tile will appear as "≈". Once a square has been planted, its appearance will change to "═". Once the square has been harvested, it will return to "≈".
  
In the first year, you may want to focus your production on berries aboveground, or {{L|plump helmets}} underground, because they can be brewed and eaten both raw or cooked. Plump helmets are also one of the 2 fast growing plants ({{L|Pig tail}}s being the other but they can only be brewed, not eaten). {{L|Quarry bush}}es, {{L|cave wheat}} and {{L|sweet pod}}s require processing before they can be eaten and take longer to grow. {{L|Pig tail}}s and {{L|dimple cup}}s can produce cloth and dye respectively, so grow these later. {{L|Dimple cup}}s are the only underground crop that can neither be brewed nor otherwise processed into food (except for its seed, which can be cooked). Consider processing and cooking (and adjusted farming) as soon as possible since it adds {{L|quality}} levels to your food and in the case of quarry bushes and sweet pods quintuples the amount of food. Also, if you want to cater for the preferences of your dwarves, you will likely grow all types of crops sooner or later.  
+
In the first year, you may want to focus your production on berries aboveground, or [[plump helmet]]s underground, because they can be brewed and eaten both raw or cooked. Plump helmets are also one of the 2 fast growing plants ([[Pig tail]]s being the other but they can only be brewed, not eaten). [[Quarry bush]]es, [[cave wheat]] and [[sweet pod]]s require processing before they can be eaten and take longer to grow. [[Pig tail]]s and [[dimple cup]]s can produce cloth and dye respectively, so grow these later. [[Dimple cup]]s are the only underground crop that can neither be brewed nor otherwise processed into food (except for its seed, which can be cooked). Consider processing and cooking (and adjusted farming) as soon as possible since it adds [[quality]] levels to your food and in the case of quarry bushes and sweet pods quintuples the amount of food. Also, if you want to cater for the preferences of your dwarves, you will likely grow all types of crops sooner or later.  
  
As mentioned {{L|plump helmets}} and {{L|pig tail}}s grow faster, maturing in about 25 days, all other crops take about 42 days. Since a month has 28 days, you need to get your seeds in really quick to have 2 harvests per season of a slow growing crop, while 3 harvests of plump helmets per season are easier to manage. But don't worry too much if you fail - the seeds and "grow time" will even be carried over to the next season ''if'' the crop can grow in that season. Skill, {{L|Fertilizer|fertilizing}} or any other factor does not influence grow time, but will increase stack size instead.
+
As mentioned [[plump helmet]]s and [[pig tail]]s grow faster, maturing in about 25 days, all other crops take about 42 days. Since a month has 28 days, you need to get your seeds in really quick to have 2 harvests per season of a slow growing crop, while 3 harvests of plump helmets per season are easier to manage. But don't worry too much if you fail - the seeds and "grow time" will even be carried over to the next season ''if'' the crop can grow in that season. Skill, [[Fertilizer|fertilizing]] or any other factor does not influence grow time, but will increase stack size instead.
  
You cannot buy outdoor seeds upon embarking. If you choose to plant outdoor crops, designate a dwarf with {{L|plant gathering}} to gather plants outside until you get some suitable plants, then brew them (or allow them to be eaten) to get the seeds. You may also {{L|trading|trade}} for outdoor seeds directly from a non-dwarven {{L|caravan}}, which can be a very effective way of getting a lot very quickly. <s>Hippies</s> {{L|Elves}} are very good trading partner if you need above ground seeds, they even might trade you some of the more rare varietys. The biome the farm plot is in does not have an effect on the plants permitted in the plot.
+
You cannot buy outdoor seeds upon embarking. If you choose to plant outdoor crops, designate a dwarf with [[plant gathering]] to gather plants outside until you get some suitable plants, then brew them (or allow them to be eaten) to get the seeds. You may also [[trading|trade]] for outdoor seeds directly from a non-dwarven [[caravan]], which can be a very effective way of getting a lot very quickly. <s>Hippies</s> [[Elves]] are very good trading partner if you need above ground seeds, they even might trade you some of the more rare varietys. The biome the farm plot is in does not have an effect on the plants permitted in the plot.
  
Should you wish to plant nothing for a season, you can select {{k|z}} "'''fallow'''" from the farm plot menu; this is useful when your larder is overful. If you possess {{L|potash}}, you can fertilize the field to increase yield (see below).
+
Should you wish to plant nothing for a season, you can select {{k|z}} "'''fallow'''" from the farm plot menu; this is useful when your larder is overful. If you possess [[potash]], you can fertilize the field to increase yield (see below).
  
 
== Increasing yield ==
 
== Increasing yield ==
  
Any crop may bear more or less fruit, or (as is sometimes the case with unskilled growers) it may even bear no fruit at all, thus wasting the seed. A higher yield will have many benefits along the whole assembly line of further food processing: workers will always work on one "stack" at a time &ndash; if (for example) a brewer has "sweet pod [5]" to work with, he will produce "dwarven rum [25]" and squeeze it all into a single {{L|barrel}}.  
+
Any crop may bear more or less fruit, or (as is sometimes the case with unskilled growers) it may even bear no fruit at all, thus wasting the seed. A higher yield will have many benefits along the whole assembly line of further food processing: workers will always work on one "stack" at a time &ndash; if (for example) a brewer has "sweet pod [5]" to work with, he will produce "dwarven rum [25]" and squeeze it all into a single [[barrel]].  
  
The yield from a single seed depends on the farmers' {{L|skill}} and, if above ground, on whether the plot was fertilized.
+
The yield from a single seed depends on the farmers' [[skill]] and, if above ground, on whether the plot was fertilized.
  
* '''Skill''': no particular skill is checked when harvesting. Only the {{L|grower}} skill of the farmer who '''planted''' the seed is taken into account. Dabbling planters will frequently produce stacks of only one, and sometimes even zero plants. Legendary growers will often produce "plant name [5]" and rarely even "plant name [6]" stacks from a single seed on a non fertilized field.
+
* '''Skill''': no particular skill is checked when harvesting. Only the [[grower]] skill of the farmer who '''planted''' the seed is taken into account. Dabbling planters will frequently produce stacks of only one, and sometimes even zero plants. Legendary growers will often produce "plant name [5]" and rarely even "plant name [6]" stacks from a single seed on a non fertilized field.
 
+
*'''Fertilization''': fertilization increases yield significantly, potentially boosting stack size by up to 4 (50% chance of +1 per 25% of fertilization applied). The amount of [[potash]] needed to fully fertilize a field depends on its size. Using {{k|q}} to view the farm plot, look for the field that looks like "Ft ''n''/''N''" - ''n'' is the amount of fertilizer applied so far, while ''N'' is the maximum amount that may be applied. To fertilize the field, choose the {{k|f}}'''ertilize''' command. The {{k|s}}'''eas Fert''' option tells your dwarves to automatically fertilize a field after each season change. The amount of potash required for a plot of a given size is:
*'''Fertilization''': fertilization increases yield significantly, potentially doubling output. The amount of [[potash]] needed to fully fertilize a field depends on its size. Using {{k|q}} to view the farm plot, look for the field that looks like "''n''/''N'' ft." ''n'' is the amount of fertilizer applied so far, while ''N'' is the maximum amount that may be applied. To fertilize the field choose the {{k|f}}'''ertilize''' command. The {{k|s}}'''eas Fert''' option tells your dwarves to automatically fertilize a field after each season change. Underground farm plots cannot be fertilized unless they have first been [[irrigation|irrigated]]. The amount of potash required for a plot of a given size is:
 
 
:: '''(Size/4, rounded down) + 1'''*
 
:: '''(Size/4, rounded down) + 1'''*
 
:::''(* which means that plots of size 1-3 use 1, size 4-7 use 2, size 8-11 use 3, etc.)''
 
:::''(* which means that plots of size 1-3 use 1, size 4-7 use 2, size 8-11 use 3, etc.)''
 
::Given this formula, the ratio of tiles fertilized per unit of potash approaches 4, but never reaches it.  The larger the plot, the better the ratio; and if the plot's size is one less than a multiple of 4 (11, 15, etc.) you get very high potash efficiency.
 
::Given this formula, the ratio of tiles fertilized per unit of potash approaches 4, but never reaches it.  The larger the plot, the better the ratio; and if the plot's size is one less than a multiple of 4 (11, 15, etc.) you get very high potash efficiency.
 
In a discussion concerning the chances to get stacks of 6 plants, [[Toady]] has mentioned:
 
:''"...Yeah, even a novice farmer will get 6 of them once out of every 12,000,000 attempts.  I think the most you can get is 11 with full fertilization and good farming skill rolls (and some luck)..."''
 
  
 
== Harvesting ==
 
== Harvesting ==
  
A few weeks after planting a seed, a crop will sprout on that spot. Crops must be harvested within another few weeks or they will wither. By default, all dwarves will harvest, including [[children]] and even [[nobles]]. This may or may not be desirable: on the one hand, it makes sure that no crops will wither; on the other, it may lead to far away dwarves interrupting their work and running a long way in order to harvest a single plant and less skill gains for your planters.
+
A few weeks after planting a seed, a crop will sprout on that spot. Crops must be harvested within another few weeks or they will wither. By default, all dwarves will harvest, including [[children]] and even [[noble]]s. This may or may not be desirable: on the one hand, it makes sure that no crops will wither; on the other, it may lead to far away dwarves interrupting their work and running a long way in order to harvest a single plant and less skill gains for your planters.
  
 
Harvesting plants earns dwarves [[experience]] in the "growing" [[skill]], so do not be surprised if all your dwarves soon become "dabbling" (or better) growers. Because of that, peasants with no other occupation become farmers almost automatically. Do not be afraid that they might trample your fields: the skill is of no importance during harvest, and no matter how much skill they earn they will still only plant crops if you allow them to in their individual "labor" menu.
 
Harvesting plants earns dwarves [[experience]] in the "growing" [[skill]], so do not be surprised if all your dwarves soon become "dabbling" (or better) growers. Because of that, peasants with no other occupation become farmers almost automatically. Do not be afraid that they might trample your fields: the skill is of no importance during harvest, and no matter how much skill they earn they will still only plant crops if you allow them to in their individual "labor" menu.
  
If you chose to turn off "All dwarves harvest" in your {{k|o}}rders menu, only dwarves with the "Farming (Fields)" labor enabled will harvest. However, they will often choose to plant new seeds instead of reaping the existing crop, so you risk that some amount may wither. After harvesting a plant (plucking it out of the ground), dwarves will carry it to the nearest {{L|stockpile}}, even if they do not have the "food hauling" labor enabled, unless you have "Dwarves ignore food" set in your {{k|o}}rders menu, in which case they will leave the plant blinking on the field. If not moved to a stockpile within a few weeks, it will wither.
+
If you chose to turn off "All dwarves harvest" in your {{k|o}}rders menu, only dwarves with the "Farming (Fields)" labor enabled will harvest. However, they will often choose to plant new seeds instead of reaping the existing crop, so you risk that some amount may wither. After harvesting a plant (plucking it out of the ground), dwarves will carry it to the nearest [[stockpile]], even if they do not have the "food hauling" labor enabled, unless you have "Dwarves ignore food" set in your {{k|o}}rders menu, in which case they will leave the plant blinking on the field. If not moved to a stockpile within a few weeks, it will wither.
  
 
== Caveats (warnings) ==
 
== Caveats (warnings) ==
Line 69: Line 65:
 
=== Food hauling ===
 
=== Food hauling ===
  
If you manage to get large-scale farming up and running, you will need to employ many food haulers in order for the food produced on your farms to be edible, even if it has already been harvested. This is because in the current version of the game, items tagged for pending tasks (including Move to Stockpile and Store in Barrel) are unavailable for any other use -- such as eating. An entire fortress of dwarves can {{L|fun|starve}} while they wait for somebody to ''move the food''.
+
If you manage to get large-scale farming up and running, you will need to employ many food haulers in order for the food produced on your farms to be edible, even if it has already been harvested. This is because in the current version of the game, items tagged for pending tasks (including Move to Stockpile and Store in Barrel) are unavailable for any other use -- such as eating. An entire fortress of dwarves can [[fun|starve]] while they wait for somebody to ''move the food''.
  
One way to deal with this problem (at least during the heavy farming/harvesting seasons) is to disable hauling of both {{L|stone}} and {{L|wood}} in the top-level {{k|o}}rders menu. This way, most of those jobs will clear out of the job queue, and you will be left mostly with "Store in Barrel" type jobs. You can also increase the number of dedicated food haulers.
+
One way to deal with this problem (at least during the heavy farming/harvesting seasons) is to disable hauling of both [[stone]] and [[wood]] in the top-level {{k|o}}rders menu. This way, most of those jobs will clear out of the job queue, and you will be left mostly with "Store in Barrel" type jobs. You can also increase the number of dedicated food haulers.
  
 
=== Storage ===  
 
=== Storage ===  
  
It can be difficult to manage barrels to store food and drink, and {{L|bag}}s to store seeds and processed foods. Combat this by {{L|Cooking|cooking}} food to consolidate it into larger stacks that won't rot outside of a barrel (it just needs to be indoors on a food stockpile). In the {{k|p}} menu, you can also reserve some empty barrels that will not be used for food storage; instead, they will only be used for brewing and syrup processing tasks. {{L|Quarry bush|Leaves}}, {{L|sugar}}, and {{L|flour}} are not edible; to use them up and free their bags, you must cook. You can also cook excess seeds (albeit only up to 4 at a time), to reclaim the bags they occupy. Make sure not to cook your last crop seed!
+
It can be difficult to manage barrels to store food and drink, and [[bag]]s to store seeds and processed foods. Combat this by [[Cooking|cooking]] food to consolidate it into larger stacks that won't rot outside of a barrel (it just needs to be indoors on a food stockpile). In the {{k|p}} menu, you can also reserve some empty barrels that will not be used for food storage; instead, they will only be used for brewing and syrup processing tasks. [[Quarry bush|Leaves]], [[sugar]], and [[flour]] are not edible; to use them up and free their bags, you must cook. You can also cook excess seeds (albeit only up to 4 at a time), to reclaim the bags they occupy. Make sure not to cook your last crop seed!
  
 
=== Red crops ===
 
=== Red crops ===
Crops will sometimes be displayed as red in the field listing. This is believed to mean:
+
Crops will sometimes be displayed as red in the field listing. This means that planting the crop would be fruitless, as it will not survive long enough to be harvested (due to it not being plantable during the next season). Note that this will only happen if your dwarves actually '''know''' that the crop will die, which will be learned either by observation (i.e. having the seeds die during a season transition) or by being planted by a sufficiently skilled Farmer.
* Your farmers do have the required seeds to plant this, ''but''
+
 
* There is not enough time left this season for the crop to grow before next season, ''and''
+
Due to a bug, ''all'' crops will be displayed in red at the end of Winter, even if they can be planted in the Spring as well. The following patch for version 0.28.181.40d for Windows fixes this:
** This crop can not be grown next season, ''or''
+
 
** It is winter, because crops don't wrap around year to year.
+
{{spoil small|<nowiki>0x59719 : 3C 03 7D 0A -> FE C0 24 03
See [[Talk:Farming#Red_crops |the discussion on the talk page]] for more details.
+
0x59723 : 0D -> 0C</nowiki>|Binary Patch Enclosed}}
  
 
== See also ==
 
== See also ==
  
* {{L|Crops}}
+
* [[Crop]]s
* {{L|Irrigation}}
+
* [[Irrigation]]
* {{L|Grower}}
+
* [[Grower]]
  
 
{{Category|Agriculture}}
 
{{Category|Agriculture}}

Latest revision as of 03:32, 2 July 2024

This article is about an older version of DF.
General farming flowchart.

Farming is the most universal source of food in Dwarf Fortress. On maps with plentiful shrubs, animals or bodies of water, plant gathering, hunting or fishing can also produce a lot of food; however, these practices often do not scale to the level needed to feed a full-sized fortress. Farming is a highly efficient, reliable, renewable and scalable source of food -- and, after cooking, of compact but valuable trade goods. Plants are also the only source of alcohol and dye other than trading. Some can be turned into clothing.

Finding farmland[edit]

You cannot plant seeds on a bare rock floor, only on mud or soil. The easiest way to farm, by far, is to find some soil, which may be found on the surface or by digging into a layer of soil underground if there was a soil layer present on embark in one of the biomes. If soil is unavailable, you will need to set up an irrigation scheme to deposit water on the bare rock to create mud, which can then have farm plots placed upon it.

However, muddying rock for farming only works underground; above ground, it is deceptive (and may be considered a bug). Above-ground rock floors can be muddied, and farm plots can be built on them - also, if the farmplot overlaps even one tile of soil, they can even have seeds designated for planting - but the farmplot will never actually get planted with seeds, and so will never become productive.

Aboveground or underground?[edit]

You can plant either underground or aboveground, depending on the type of plants you want to grow. The starting seeds your dwarves may bring with them can only be planted underground. If you want to farm aboveground, you will need to gather seeds from outdoor shrubs, which can then be planted. Caravans will also usually bring additional bags of seeds.

The farm plot should be either entirely above ground or entirely subterranean. A mixed-class farm plot will allow you to choose any crop for planting, but the chosen crop will be planted only on tiles capable of growing it. Worse, planters will not skip over the infertile tiles, leaving the rest of the plot fallow whether it can support the crop or not.

Also, some biomes such as mountains will not support outdoor farming, even when irrigated. You can build a farm on muddy ground, but no seed types will be available for planting there. If you wish to dig a secure outdoor farming area into your underground fort, make sure it's on a biome that supports outdoor farming.

Greenhouse[edit]

If you want a secure way to farm outdoor plants, consider building a greenhouse. This can be done by channeling out a square area (or using a drained pond) and building floor tiles above it, preferably from glass blocks (though any material will work, even raw stone, this is considered by many to be a bug). Alternatively, you can construct walls around (and floors above) a section of any soil and create a secure farming area above ground, either built next to a cavern (and accessible via tunnel) or built in the middle of a plain (and accessible from beneath via stairs).

Defining the farm plot[edit]

Once you have a suitable location for farming you can have your farmer(s) prepare a farm plot. That's the actual bit of soil to be tilled.

Enter the build menu and place farm plots. Use u and k to increase the size of the plot, and m and h to decrease it. When the plot is sized and positioned correctly, pressing Enter will place it. Your grower(s) will now rush in and prepare the field, clearing out rubble and other impediments when necessary.

How much farm space do you need? Surprisingly little. A 5x5 plot manned by dabbling farmers will provide enough food to feed and water booze 30 dwarves. The use of boozecooking will stretch this to 75 dwarves. If you have decently skilled farmers, the same 5x5 plot (with boozecooking) will feed over 200 dwarves! However, you may wish to increase food production way beyond anything your dwarves could ever consume to create large amounts of valuable trade goods or stock up for goblin sieges.

Planting[edit]

Once a farmer builds the plots, it's time to plant. Go into the plot's q menu and select the type of seed to plant. Your farmers will then take care of the rest. Note that your farmers will not work the plot the whole year without being told to do so: you must designate a crop for each season. You can designate each season ahead of time by using a, b, c, d from the plot selection screen. You do not have to plant the same thing each season and can change planting orders at anytime, even mid-season. The already planted seeds will mature normally and the rest of the plot will be planted with the newly designated crop. Some underground plants can only be planted during certain seasons.

On a farm that is built but not planted, each tile will appear as "≈". Once a square has been planted, its appearance will change to "═". Once the square has been harvested, it will return to "≈".

In the first year, you may want to focus your production on berries aboveground, or plump helmets underground, because they can be brewed and eaten both raw or cooked. Plump helmets are also one of the 2 fast growing plants (Pig tails being the other but they can only be brewed, not eaten). Quarry bushes, cave wheat and sweet pods require processing before they can be eaten and take longer to grow. Pig tails and dimple cups can produce cloth and dye respectively, so grow these later. Dimple cups are the only underground crop that can neither be brewed nor otherwise processed into food (except for its seed, which can be cooked). Consider processing and cooking (and adjusted farming) as soon as possible since it adds quality levels to your food and in the case of quarry bushes and sweet pods quintuples the amount of food. Also, if you want to cater for the preferences of your dwarves, you will likely grow all types of crops sooner or later.

As mentioned plump helmets and pig tails grow faster, maturing in about 25 days, all other crops take about 42 days. Since a month has 28 days, you need to get your seeds in really quick to have 2 harvests per season of a slow growing crop, while 3 harvests of plump helmets per season are easier to manage. But don't worry too much if you fail - the seeds and "grow time" will even be carried over to the next season if the crop can grow in that season. Skill, fertilizing or any other factor does not influence grow time, but will increase stack size instead.

You cannot buy outdoor seeds upon embarking. If you choose to plant outdoor crops, designate a dwarf with plant gathering to gather plants outside until you get some suitable plants, then brew them (or allow them to be eaten) to get the seeds. You may also trade for outdoor seeds directly from a non-dwarven caravan, which can be a very effective way of getting a lot very quickly. Hippies Elves are very good trading partner if you need above ground seeds, they even might trade you some of the more rare varietys. The biome the farm plot is in does not have an effect on the plants permitted in the plot.

Should you wish to plant nothing for a season, you can select z "fallow" from the farm plot menu; this is useful when your larder is overful. If you possess potash, you can fertilize the field to increase yield (see below).

Increasing yield[edit]

Any crop may bear more or less fruit, or (as is sometimes the case with unskilled growers) it may even bear no fruit at all, thus wasting the seed. A higher yield will have many benefits along the whole assembly line of further food processing: workers will always work on one "stack" at a time – if (for example) a brewer has "sweet pod [5]" to work with, he will produce "dwarven rum [25]" and squeeze it all into a single barrel.

The yield from a single seed depends on the farmers' skill and, if above ground, on whether the plot was fertilized.

  • Skill: no particular skill is checked when harvesting. Only the grower skill of the farmer who planted the seed is taken into account. Dabbling planters will frequently produce stacks of only one, and sometimes even zero plants. Legendary growers will often produce "plant name [5]" and rarely even "plant name [6]" stacks from a single seed on a non fertilized field.
  • Fertilization: fertilization increases yield significantly, potentially boosting stack size by up to 4 (50% chance of +1 per 25% of fertilization applied). The amount of potash needed to fully fertilize a field depends on its size. Using q to view the farm plot, look for the field that looks like "Ft n/N" - n is the amount of fertilizer applied so far, while N is the maximum amount that may be applied. To fertilize the field, choose the fertilize command. The seas Fert option tells your dwarves to automatically fertilize a field after each season change. The amount of potash required for a plot of a given size is:
(Size/4, rounded down) + 1*
(* which means that plots of size 1-3 use 1, size 4-7 use 2, size 8-11 use 3, etc.)
Given this formula, the ratio of tiles fertilized per unit of potash approaches 4, but never reaches it. The larger the plot, the better the ratio; and if the plot's size is one less than a multiple of 4 (11, 15, etc.) you get very high potash efficiency.

Harvesting[edit]

A few weeks after planting a seed, a crop will sprout on that spot. Crops must be harvested within another few weeks or they will wither. By default, all dwarves will harvest, including children and even nobles. This may or may not be desirable: on the one hand, it makes sure that no crops will wither; on the other, it may lead to far away dwarves interrupting their work and running a long way in order to harvest a single plant and less skill gains for your planters.

Harvesting plants earns dwarves experience in the "growing" skill, so do not be surprised if all your dwarves soon become "dabbling" (or better) growers. Because of that, peasants with no other occupation become farmers almost automatically. Do not be afraid that they might trample your fields: the skill is of no importance during harvest, and no matter how much skill they earn they will still only plant crops if you allow them to in their individual "labor" menu.

If you chose to turn off "All dwarves harvest" in your orders menu, only dwarves with the "Farming (Fields)" labor enabled will harvest. However, they will often choose to plant new seeds instead of reaping the existing crop, so you risk that some amount may wither. After harvesting a plant (plucking it out of the ground), dwarves will carry it to the nearest stockpile, even if they do not have the "food hauling" labor enabled, unless you have "Dwarves ignore food" set in your orders menu, in which case they will leave the plant blinking on the field. If not moved to a stockpile within a few weeks, it will wither.

Caveats (warnings)[edit]

Food hauling[edit]

If you manage to get large-scale farming up and running, you will need to employ many food haulers in order for the food produced on your farms to be edible, even if it has already been harvested. This is because in the current version of the game, items tagged for pending tasks (including Move to Stockpile and Store in Barrel) are unavailable for any other use -- such as eating. An entire fortress of dwarves can starve while they wait for somebody to move the food.

One way to deal with this problem (at least during the heavy farming/harvesting seasons) is to disable hauling of both stone and wood in the top-level orders menu. This way, most of those jobs will clear out of the job queue, and you will be left mostly with "Store in Barrel" type jobs. You can also increase the number of dedicated food haulers.

Storage[edit]

It can be difficult to manage barrels to store food and drink, and bags to store seeds and processed foods. Combat this by cooking food to consolidate it into larger stacks that won't rot outside of a barrel (it just needs to be indoors on a food stockpile). In the p menu, you can also reserve some empty barrels that will not be used for food storage; instead, they will only be used for brewing and syrup processing tasks. Leaves, sugar, and flour are not edible; to use them up and free their bags, you must cook. You can also cook excess seeds (albeit only up to 4 at a time), to reclaim the bags they occupy. Make sure not to cook your last crop seed!

Red crops[edit]

Crops will sometimes be displayed as red in the field listing. This means that planting the crop would be fruitless, as it will not survive long enough to be harvested (due to it not being plantable during the next season). Note that this will only happen if your dwarves actually know that the crop will die, which will be learned either by observation (i.e. having the seeds die during a season transition) or by being planted by a sufficiently skilled Farmer.

Due to a bug, all crops will be displayed in red at the end of Winter, even if they can be planted in the Spring as well. The following patch for version 0.28.181.40d for Windows fixes this:


See also[edit]