<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dwarffortresswiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Auto+Slaughter</id>
	<title>Dwarf Fortress Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://dwarffortresswiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Auto+Slaughter"/>
	<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php/Special:Contributions/Auto_Slaughter"/>
	<updated>2026-04-07T04:58:10Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.11</generator>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.31:Malachite&amp;diff=135147</id>
		<title>v0.31:Malachite</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.31:Malachite&amp;diff=135147"/>
		<updated>2011-01-20T16:55:21Z</updated>

		<summary type="html">&lt;p&gt;Auto Slaughter: /* In Real Life */ + img&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{stonelookup/0}}{{av}}{{Quality|Exceptional|22:48, 8 June 2010 (UTC)}}&lt;br /&gt;
&lt;br /&gt;
'''Malachite''' is one of several ores of {{l|copper}}. It is found as veins, and is rare compared to other copper ores.&lt;br /&gt;
&lt;br /&gt;
Other copper ores include {{l|native copper}} and {{l|tetrahedrite}}.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Malachite&amp;quot; is the name of the 5th month of the Dwarven {{L|calendar}}, covering mid Summer.&lt;br /&gt;
&lt;br /&gt;
==In Real Life==&lt;br /&gt;
Malachite is a hydrated copper carbonate (Cu&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;(CO&amp;lt;sub&amp;gt;3&amp;lt;/sub&amp;gt;)(OH)&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;) that forms as a result of the weathering of preexisting copper deposits. Malachite is known to form alongside both {{L|Chrysocolla}}, and Azurite (which is not present in Dwarf Fortress) which it commonly pseudomorphs from.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:9135 - Milano - Museo storia naturale - Malachite - Foto Giovanni Dall'Orto 22-Apr-2007.jpg|Malachite&lt;br /&gt;
File:Malachit getupft.jpg|Smooth malachite&lt;br /&gt;
File:Ermitáž (32).jpg|Malachite vase&lt;br /&gt;
File:Malachite, Zaire.jpg|Malachite&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{gamedata}}&lt;br /&gt;
{{stones}}&lt;br /&gt;
{{Category|Ore}}&lt;br /&gt;
{{Category|Economic Stone}}&lt;/div&gt;</summary>
		<author><name>Auto Slaughter</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.31:Legendary_artifact&amp;diff=129873</id>
		<title>v0.31:Legendary artifact</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.31:Legendary_artifact&amp;diff=129873"/>
		<updated>2010-10-20T00:23:10Z</updated>

		<summary type="html">&lt;p&gt;Auto Slaughter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{av}}&lt;br /&gt;
{{Quality|Fine}}&lt;br /&gt;
&lt;br /&gt;
Dwarves in {{L|strange mood|strange moods}} will create '''legendary artifacts''', unique, &amp;quot;named&amp;quot; items which are of unsurpassable quality (and often {{L|value}} as well). An artifact is the ultimate expression of a {{L|dwarf|dwarf's}} desires, fears, memories and hopes in art form, and each dwarf will produce at most only one in their lives (or {{L|insanity|die}} trying).  Dwarves that create an artifact immediately gain enough {{L|experience}} to boost them to {{L|legendary}} level in the affected {{L|Strange_mood#Skills_and_workshops|skill}} unless they were {{L|Strange_mood#Possessed|possessed}}.&lt;br /&gt;
 &lt;br /&gt;
Dwarves drop artifacts in the {{L|workshop}} as soon as they are made. They cannot be traded, but most can be used just like any item of its type.  A list of all artifacts that the fortress has created can be seen by pressing {{k|l}}.&lt;br /&gt;
&lt;br /&gt;
Sometimes dwarves will grow particularly attached to weapons and armor, and if they become attached enough, they will name their armor/weapons. The armor/weapon will then be listed as an artifact. What causes dwarves to name their weapons is unknown - time alone will suffice (though it may take a very long time), but slaying an important historical figure such as a {{L|forgotten beast}} will often be enough.&lt;br /&gt;
&lt;br /&gt;
Artifacts can be stolen by thieves.  This does not appear to affect the happiness of the artifact's creator.&lt;/div&gt;</summary>
		<author><name>Auto Slaughter</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=40d:Ice&amp;diff=129769</id>
		<title>40d:Ice</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=40d:Ice&amp;diff=129769"/>
		<updated>2010-10-17T20:45:23Z</updated>

		<summary type="html">&lt;p&gt;Auto Slaughter: /* &amp;quot;Melting&amp;quot; ice without magma */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{av}}&lt;br /&gt;
'''Ice''' is {{L|water}} that has been frozen by cold seasons. Any water that is {{L|above ground}} will freeze during the cold time, but it will stay wet if it is on {{L|subterranean}} tiles.&lt;br /&gt;
&lt;br /&gt;
A tile of water with a depth of 1 will freeze to create an '''ice floor'''. A water tile with a depth of 2 or more will freeze into an '''ice wall''' and will additionally create an ice floor one [[Z-level]] above it. The ice wall will be the same no matter how deep the water is. As there is no thin ice, the floor can be walked on freely. Ice walls can be [[mine]]d like any other natural wall. The ice wall will melt into water of depth 7 [http://www.dwarffortresswiki.net/index.php/Talk:Water] when warmer temperatures arrive, which can keep ponds full if rain only fills them up to 2/7. An ice floor will also melt, leaving 1 water if it was smoothed or engraved.&lt;br /&gt;
&lt;br /&gt;
Ice can be mined out, creating {{L|Ice#Ice as a stone|stones}} of ice that melt into thin air come spring. This makes winter an ideal time to get rid of any {{L|lake}}s that are in the way.&lt;br /&gt;
&lt;br /&gt;
Entire water supplies can become completely frozen upon winter in colder areas. This can depopulate an entire fortress with rapidity in the first winter if they're unprepared. To counter this, make a {{L|cistern}} inside beforehand or brew enough {{L|alcohol}}.&lt;br /&gt;
&lt;br /&gt;
== Ice as a stone ==&lt;br /&gt;
&lt;br /&gt;
Ice appears as a light blue stone which can be found by mining through an ice wall. Ice can be used to build {{L|construction}}s and {{L|workshops}}. Ice boulders and objects made of ice will melt when exposed to warmer temperatures (such as inside a fortress), giving it rather limited use. Nevertheless, workshops made of ice have a certain novelty to them, and it's even possible to make {{L|furnace}}s out of ice, as counter-intuitive as that sounds.&lt;br /&gt;
&lt;br /&gt;
The game refers to ice boulders as &amp;quot;water.&amp;quot; It does not appear in any stockpile options or the manager, so it cannot be moved by designating a stockpile, although it does appear under the &amp;quot;stones&amp;quot; section of the {{L|Stocks}} menu.  Ice can be moved by {{L|dump}}ing it.&lt;br /&gt;
&lt;br /&gt;
It is possible to sell ice to merchants.&lt;br /&gt;
&lt;br /&gt;
== Icy constructions ==&lt;br /&gt;
&lt;br /&gt;
All constructions are entirely indestructible. Entire fortresses can be built of ice in temperate climates equally impervious to catapults, the summer sun, or a thousand tons of boiling lava. If constructions of ice are dismantled during the warm season, they will melt into thin air.&lt;br /&gt;
&lt;br /&gt;
== Ice as hazard ==&lt;br /&gt;
&lt;br /&gt;
Watch out when digging through ice into ({{L|subterranean}}) unfrozen water resorts. The space cleared by the miner will freeze solid again instantly, encasing the advancing miner into a wall of ice. This means not only the loss of a valuable {{L|dwarf}}, but also of his now inaccessible equipment.&lt;br /&gt;
&lt;br /&gt;
Additionally, surface ponds which go through a freeze/thaw cycle (on Temperate and Cold maps) can be hazardous, as your dwarves will treat the ice as a normal surface when moving about. Spring thaws happen suddenly and without warning, and dwarves in the midst of crossing a frozen pond will find themselves suddenly swimming in depth 7 water. You can avoid this by marking restricted traffic zones over ponds in high traffic areas.&lt;br /&gt;
&lt;br /&gt;
== Melting outdoor ice ==&lt;br /&gt;
&lt;br /&gt;
It can be very important to be able to extract water from permanently-frozen ice (for instance on cold northern maps) in order to give water to the wounded. This can be done with [[magma]]. Dig out a tunnel one z-level below the ice sheet and fill it with magma. The ice on the above z-level will melt. You can see this happening here: http://mkv25.net/dfma/movie-153-meltingwateronglacier. Stationary magma below surface water does not effect the freezing of the water. However any change in the amount of magma in the tile below the ice will melt the ice (which will soon freeze again), so flowing magma will keep surface water mostly usable in biomes with a cold winter.&lt;br /&gt;
&lt;br /&gt;
If you would like to transport magma to heat a frozen {{L|brook}} or other such feature that is very far away from the magma pipe, try to use a magma duct that is nearly as wide as the area you intend to fill. Otherwise, magma will tend to evaporate as it disperses from a narrow duct to a wider area. &lt;br /&gt;
&lt;br /&gt;
==&amp;quot;Melting&amp;quot; ice without magma ==&lt;br /&gt;
&lt;br /&gt;
It is also possible to get water from ice without actually melting the ice, though this method is hazardous and destructive.  First, dig down to a non-ice layer beneath ice layers and dig out a room.  In the layers directly above the room, dig rooms out of the ice with the same dimensions as the first room.  Dig channels in the ice floors around the entire perimeter of the room EXCEPT for one square right next to the hallway (this is important; if you don't leave the last square accessible from outside the room, you will likely kill or injure the miner doing the channeling during the last step).&lt;br /&gt;
&lt;br /&gt;
When you channel out the last bit of ice, the entire ice floor will cave in down to the the area you already cleared out.  Depending on the stupidity level of the channeling miner, he may simply be stunned or also plummet to his doom.  The broken ice will melt at the bottom level, but the floor will also be destroyed, leaving nothing but &amp;quot;Open Space&amp;quot; with water floating on top of it[http://www.bay12games.com/forum/index.php?topic=7227.0].  The newly-melted water must then be redirected to another location (one square of broken ice floor yields roughly one level of water wherever it lands) - to avoid drying out, multiple ice floors must be dropped in order to achieve sufficient water depth.&lt;br /&gt;
&lt;br /&gt;
Don't expect to create farmland in the original room.  Since the dropped floors destroy ground tiles on impact, water must be redirected to an area with intact floor tiles. Floor tiles must be constructed within the caved-in region in order for the area to be used for other activities.&lt;br /&gt;
&lt;br /&gt;
Alternatively, by clearing out an additional Z-level, you can drop entire ice '''walls''' into the bottom room, instantly filling it to 7/7 depth. However, in this case, the underground chamber should be several Z-levels below the ice, or the cave-in will cause water to splash up into the ice area, freeze, then cave-in into the water, beginning a potentially endless chain of cave-ins[http://www.bay12games.com/forum/index.php?topic=7227.0].{{version|0.28.181.40d}}&lt;br /&gt;
&lt;br /&gt;
Also note that if there is empty space underneath the destination floor (other rooms, hallways, etc.), the falling ice will crash through that floor as well.  Obviously, this can be dangerous.  While a dining room full of hungry dwarves will certainly appreciate new farmland despite the frozen wastes above ground, those hungry dwarves will also end up angry, wet, and dead when several tons of ice come crashing through the ceiling.  On the upside, fewer mouths to feed.&lt;br /&gt;
&lt;br /&gt;
A [[support]] with a linked [[lever]] can be used to mitigate the risks of this method of melting ice.&lt;br /&gt;
&lt;br /&gt;
{{Water FAQ}}&lt;br /&gt;
{{Category|Materials}}&lt;br /&gt;
[[Category:Map tiles]]&lt;/div&gt;</summary>
		<author><name>Auto Slaughter</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=40d:Ice&amp;diff=129694</id>
		<title>40d:Ice</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=40d:Ice&amp;diff=129694"/>
		<updated>2010-10-17T04:55:57Z</updated>

		<summary type="html">&lt;p&gt;Auto Slaughter: /* Ice as a stone */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{av}}&lt;br /&gt;
'''Ice''' is {{L|water}} that has been frozen by cold seasons. Any water that is {{L|above ground}} will freeze during the cold time, but it will stay wet if it is on {{L|subterranean}} tiles.&lt;br /&gt;
&lt;br /&gt;
A tile of water with a depth of 1 will freeze to create an '''ice floor'''. A water tile with a depth of 2 or more will freeze into an '''ice wall''' and will additionally create an ice floor one [[Z-level]] above it. The ice wall will be the same no matter how deep the water is. As there is no thin ice, the floor can be walked on freely. Ice walls can be [[mine]]d like any other natural wall. The ice wall will melt into water of depth 7 [http://www.dwarffortresswiki.net/index.php/Talk:Water] when warmer temperatures arrive, which can keep ponds full if rain only fills them up to 2/7. An ice floor will also melt, leaving 1 water if it was smoothed or engraved.&lt;br /&gt;
&lt;br /&gt;
Ice can be mined out, creating {{L|Ice#Ice as a stone|stones}} of ice that melt into thin air come spring. This makes winter an ideal time to get rid of any {{L|lake}}s that are in the way.&lt;br /&gt;
&lt;br /&gt;
Entire water supplies can become completely frozen upon winter in colder areas. This can depopulate an entire fortress with rapidity in the first winter if they're unprepared. To counter this, make a {{L|cistern}} inside beforehand or brew enough {{L|alcohol}}.&lt;br /&gt;
&lt;br /&gt;
== Ice as a stone ==&lt;br /&gt;
&lt;br /&gt;
Ice appears as a light blue stone which can be found by mining through an ice wall. Ice can be used to build {{L|construction}}s and {{L|workshops}}. Ice boulders and objects made of ice will melt when exposed to warmer temperatures (such as inside a fortress), giving it rather limited use. Nevertheless, workshops made of ice have a certain novelty to them, and it's even possible to make {{L|furnace}}s out of ice, as counter-intuitive as that sounds.&lt;br /&gt;
&lt;br /&gt;
The game refers to ice boulders as &amp;quot;water.&amp;quot; It does not appear in any stockpile options or the manager, so it cannot be moved by designating a stockpile, although it does appear under the &amp;quot;stones&amp;quot; section of the {{L|Stocks}} menu.  Ice can be moved by {{L|dump}}ing it.&lt;br /&gt;
&lt;br /&gt;
It is possible to sell ice to merchants.&lt;br /&gt;
&lt;br /&gt;
== Icy constructions ==&lt;br /&gt;
&lt;br /&gt;
All constructions are entirely indestructible. Entire fortresses can be built of ice in temperate climates equally impervious to catapults, the summer sun, or a thousand tons of boiling lava. If constructions of ice are dismantled during the warm season, they will melt into thin air.&lt;br /&gt;
&lt;br /&gt;
== Ice as hazard ==&lt;br /&gt;
&lt;br /&gt;
Watch out when digging through ice into ({{L|subterranean}}) unfrozen water resorts. The space cleared by the miner will freeze solid again instantly, encasing the advancing miner into a wall of ice. This means not only the loss of a valuable {{L|dwarf}}, but also of his now inaccessible equipment.&lt;br /&gt;
&lt;br /&gt;
Additionally, surface ponds which go through a freeze/thaw cycle (on Temperate and Cold maps) can be hazardous, as your dwarves will treat the ice as a normal surface when moving about. Spring thaws happen suddenly and without warning, and dwarves in the midst of crossing a frozen pond will find themselves suddenly swimming in depth 7 water. You can avoid this by marking restricted traffic zones over ponds in high traffic areas.&lt;br /&gt;
&lt;br /&gt;
== Melting outdoor ice ==&lt;br /&gt;
&lt;br /&gt;
It can be very important to be able to extract water from permanently-frozen ice (for instance on cold northern maps) in order to give water to the wounded. This can be done with [[magma]]. Dig out a tunnel one z-level below the ice sheet and fill it with magma. The ice on the above z-level will melt. You can see this happening here: http://mkv25.net/dfma/movie-153-meltingwateronglacier. Stationary magma below surface water does not effect the freezing of the water. However any change in the amount of magma in the tile below the ice will melt the ice (which will soon freeze again), so flowing magma will keep surface water mostly usable in biomes with a cold winter.&lt;br /&gt;
&lt;br /&gt;
If you would like to transport magma to heat a frozen {{L|brook}} or other such feature that is very far away from the magma pipe, try to use a magma duct that is nearly as wide as the area you intend to fill. Otherwise, magma will tend to evaporate as it disperses from a narrow duct to a wider area. &lt;br /&gt;
&lt;br /&gt;
==&amp;quot;Melting&amp;quot; ice without magma ==&lt;br /&gt;
&lt;br /&gt;
It is also possible to get water from ice without actually melting the ice, though this method is hazardous and destructive.  First, dig down to a non-ice layer beneath ice layers and dig out a room.  In the layers directly above the room, dig rooms out of the ice with the same dimensions as the first room.  Dig channels in the ice floors around the entire perimeter of the room EXCEPT for one square right next to the hallway (this is important; if you don't leave the last square accessible from outside the room, you will likely kill or injure the miner doing the channeling during the last step).&lt;br /&gt;
&lt;br /&gt;
When you channel out the last bit of ice, the entire ice floor will cave in down to the the area you already cleared out.  Depending on the stupidity level of the channeling miner, he may simply be stunned or also plummet to his doom.  The broken ice will melt at the bottom level, but the floor will also be destroyed, leaving nothing but &amp;quot;Open Space&amp;quot; with water floating on top of it[http://www.bay12games.com/forum/index.php?topic=7227.0].  The newly-melted water must then be redirected to another location (one square of broken ice floor yields roughly one level of water wherever it lands) - to avoid drying out, multiple ice floors must be dropped in order to achieve sufficient water depth.&lt;br /&gt;
&lt;br /&gt;
Don't expect to create farmland in the original room.  Since the dropped floors destroy ground tiles on impact, water must be redirected to an area with intact floor tiles. Floor tiles must be constructed within the caved-in region in order for the area to be used for other activities.&lt;br /&gt;
&lt;br /&gt;
Alternatively, by clearing out an additional Z-level, you can drop entire ice '''walls''' into the bottom room, instantly filling it to 7/7 depth. However, in this case, the underground chamber should be several Z-levels below the ice, or the cave-in will cause water to splash up into the ice area, freeze, then cave-in into the water, beginning a potentially endless chain of cave-ins[http://www.bay12games.com/forum/index.php?topic=7227.0].{{version|0.28.181.40d}}&lt;br /&gt;
&lt;br /&gt;
Also note that if there is empty space underneath the destination floor (other rooms, hallways, etc.), the falling ice will crash through that floor as well.  Obviously, this can be dangerous.  While a dining room full of hungry dwarves will certainly appreciate new farmland despite the frozen wastes above ground, those hungry dwarves will also end up angry, wet, and dead when several tons of ice come crashing through the ceiling.  On the upside, fewer mouths to feed.&lt;br /&gt;
&lt;br /&gt;
{{Water FAQ}}&lt;br /&gt;
{{Category|Materials}}&lt;br /&gt;
[[Category:Map tiles]]&lt;/div&gt;</summary>
		<author><name>Auto Slaughter</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.31:Screw_pump&amp;diff=129679</id>
		<title>v0.31:Screw pump</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.31:Screw_pump&amp;diff=129679"/>
		<updated>2010-10-16T22:12:33Z</updated>

		<summary type="html">&lt;p&gt;Auto Slaughter: /* Notes */ wording&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{quality|Masterwork|08:00, 22 May 2010 (UTC)}}{{av}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Machine_component|name=Screw pump|key=s|job=[[40d:Pump operator|Pump operator]]&lt;br /&gt;
|construction=&lt;br /&gt;
* {{L|Trap component#Enormous corkscrew|Enormous corkscrew}}&lt;br /&gt;
* {{L|Pipe section}}&lt;br /&gt;
* {{L|Block}}&lt;br /&gt;
|construction_job=&lt;br /&gt;
* {{L|Architecture}}&lt;br /&gt;
* 1 of&lt;br /&gt;
** {{L|Carpentry}}&lt;br /&gt;
** {{L|Masonry}}&lt;br /&gt;
** {{L|Metalsmithing}}&lt;br /&gt;
|power=Needs 10 power.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
A '''screw pump''' is a small {{L|building}} that can lift liquids ({{L|water}} or {{L|magma}}) from one level below onto the same {{L|Z-level}} as the pump. It is two tiles by one tile in size, and it can be either manually operated by a {{L|dwarf}} with the {{L|pump operator}} job or by being {{L|power}}ed by {{L|water wheel}}s and/or {{L|windmill}}s. &lt;br /&gt;
&lt;br /&gt;
The direction you want the fluid to travel must be chosen at the time of construction.  Pumping only occurs in a straight line, and involves a total of 4 tiles in a row - the liquid source, two for the pump, and the output. The &amp;quot;rise&amp;quot; in levels occurs on the first tile, the intake side, from one level below up to the level of the pump*.  Pumped fluids can and will flow immediately after being pumped, as normal for that fluid.  Pumped fluids will have a {{L|pressure}} equal to the exit {{L|z-level}} - a pump never &amp;quot;forces&amp;quot; water to a higher {{L|z-level}} than the output tile.&lt;br /&gt;
&lt;br /&gt;
:''(* A DF pump can best be imagined as a simple [http://en.wikipedia.org/wiki/Archimedes%27_screw archimedes screw].)''&lt;br /&gt;
&lt;br /&gt;
Salt water pumped through a pump will desalinate and become drinkable. However if the water then touches any natural water or tiles, smoothed or not, it will immediately be undrinkable again. So it is important to pump into a reservoir that is made entirely of constructed material. Please note that the block/tile underneath the reservoir-side of the pump also needs to be a construction.&lt;br /&gt;
&lt;br /&gt;
''For a basic overview of how the different machine parts work and work together, see {{L|machinery}}.''&lt;br /&gt;
&lt;br /&gt;
== Construction ==&lt;br /&gt;
&lt;br /&gt;
Building a screw pump requires an {{L|Trap component#Enormous corkscrew|enormous corkscrew}}, a {{L|block}}, and a {{L|pipe section}}. The construction itself is completed in two stages. First a dwarf with the {{L|architect}} labor must design it. Then a dwarf (the same or a different one) with the appropriate labor must complete the building. This could be {{L|carpentry}}, {{L|metalsmithing}}, or {{L|masonry}}, depending on the material of the block.&lt;br /&gt;
&lt;br /&gt;
To select pump, use keys {{k|b}}-{{k|M}}-{{k|s}}. It's important to choose the proper orientation for your pump, where it will draw water from and where it will deliver the water.  This is determined before placement with the {{k|u}}, {{k|k}}, {{k|m}}, or {{k|h}} keys, and the text at the top of the sub-menu will change to confirm your choice.  The default (as shown above in the sidebar), &amp;quot;pumps from the north&amp;quot; (top).  The ''light'' green X must be next to the liquid source and the ''dark'' green X is where the liquid exits the pump.&lt;br /&gt;
&lt;br /&gt;
[[Image:Small pump.jpg|thumb|right|300px|'''Basic Side View of a Pump'''. &amp;lt;br /&amp;gt; This pump &amp;quot;pumps from the west&amp;quot;, from left to right.  The area to the right may fill to the top of that level, but no more  (See {{L|pressure}}; see {{L|Screw pump#Pump Stack|Pump stack}}). Note that the entire space required is 4 tiles long by 1 tile wide, not including any retaining walls for the outflow.   If pumped manually, the {{L|pump operator}} stands in the light-colored area, as the dark-colored is impassable to both fluid and movement.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;''(Although the &amp;quot;liquid&amp;quot; is shown as blue, this can work for {{L|magma|magma}} as well, with the {{L|magma-safe|appropriate precautions}}.)'']]&lt;br /&gt;
&lt;br /&gt;
The example shown in the infobox above &amp;quot;pumps from the north&amp;quot; (top) to the south (bottom).  If pumped manually, the dwarf stands on the light-colored tile, as the dark-colored is impassable.&lt;br /&gt;
&lt;br /&gt;
The orientation is visible after placement by using {{k|q}}uery over or near that pump or during placement, using UMKH to select the direction of input.  Orientation of a pump cannot be changed after being constructed, but, as with any building, it can be deconstructed into its component parts and rebuilt as and where desired.&lt;br /&gt;
&lt;br /&gt;
Having specified the direction of travel, you must ensure that the source side of the pump is placed adjacent to and above (in the {{L|z-axis}}) a liquid. The screw pump will draw the liquid up from below its level, and distribute it out of the other side of the pump.&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
* The source of the pump must be directionally adjacent to &amp;quot;Open Space&amp;quot; that is directly above a source of liquid. The adjacent space cannot be a floor, stairway or wall suspended over water. Screw pumps can pull water through a {{L|grate}}, floor {{L|bars}}, or a {{L|construction|constructed}} {{L|fortification}} on the Z-level below.&lt;br /&gt;
* The light pump tile is where a pump operator will stand (if the pump is not powered mechanically).  Liquids to be pumped must be 1 level below the (empty) area adjacent to this tile.  &lt;br /&gt;
* Dwarves must be able to access and stand on the light tile of the pump in order to build the pump and then to be able to operate the pump manually.&lt;br /&gt;
* The dark pump tile is on the output side.  Liquids will appear in the tile adjacent to this.&lt;br /&gt;
* The dark pump tile blocks liquids flow and creature movement, and can be built into a wall to create a solid barrier.  The light tile of the pump does not block flow or movement.&lt;br /&gt;
* Pumps can also be used in conjunction with a {{L|water wheel}} or a {{L|windmill}} to become self-powered.&lt;br /&gt;
* Active mechanisms connected to the pump will automatically start the pump; to prevent this either restrict liquid flow using floodgates or hatches, or put in a {{L|gear assembly}} linked to a {{L|lever}} to disconnect the {{L|power}}.&lt;br /&gt;
* Adjacent pumps ''automatically'' transfer mechanical power to any other adjacent pump(s), no {{L|axle}} or {{L|mechanism}} is required.  If too many pumps are adjacent, there may be insufficient power to power them.&lt;br /&gt;
* A hatch above the input tile (on the same level as the pump) that is linked to a trigger (a {{L|lever}} or {{L|pressure plate}}) makes an effective on/off switch for that pump.&lt;br /&gt;
* In order to build pumps in a &amp;quot;hanging&amp;quot; state, as in the stacked screw pump example (below), one of its tiles must be able to connect to a nearby machine, either already existing or designated to be built. If, when the screw pump's construction is completed, the supporting mechanism has not yet been completed, it will promptly collapse into its component parts.&lt;br /&gt;
* Pumps do '''not''' push liquids '''up''' additional Z-levels above them.  They only deliver water to their own level.  That is, if you direct the output of a screw pump into a 1-square space surrounded by walls, the water will not &amp;quot;overflow&amp;quot; the walls. Consequently, a pump will refuse to move liquid if the level it is pumping to is completely filled.  Higher levels can be achieved using a &amp;quot;pump stack&amp;quot; (below). (See {{L|Pressure}})&lt;br /&gt;
* In order to safely pump magma, you must use {{L|magma-safe}} materials, though magma-unsafe metals have been observed to be safe unless the open tile is going to be submerged in magma. Wooden parts will burst into flames the instant the pump is activated, and magma-unsafe stone {{L|block}}s melt after a short time.&lt;br /&gt;
* Magma, which normally has no pressure, will behave as though pressurized when pumped. For example, when pumped into an U-turn, magma will come out at the other end. Normal (non-pumped) magma would just pool at the lowest level. This may be either very useful (can be used to build pressure towers for magma) or deadly (forge level flooded with magma, because someone tried to pump magma into a volcano).&lt;br /&gt;
* Pump's pseudo-pressure doesn't work across diagonals. If there is a diagonal-only passage in your tunnel, liquids will seep slowly through it, instead of bursting through above their normal maximal speed, like they would if there was good passage.&lt;br /&gt;
* Pumps do not pump up 1/7 liquid.&lt;br /&gt;
* If a pump's intake tile on the z-level below the pump becomes blocked (as with a cave-in or magma cooling into obsidian) the pump will still run but not pump any fluid.&lt;br /&gt;
&lt;br /&gt;
====Common mistakes====&lt;br /&gt;
* Orienting a pump incorrectly, and/or not having a proper open liquid source.&lt;br /&gt;
* Pumping water into an area with a path to other parts of your fortress. (The pump may work perfectly - the fortress quickly [[40d:flood|flood]]s.)&lt;br /&gt;
* Expecting water to rise up above the same level of a pump.&lt;br /&gt;
* Building a wall attached only to the light tile - this leaves a diagonal leak between the wall and the dark tile unless sealed there.  (If that's not a problem, don't worry about it.)&lt;br /&gt;
* Having stairs as input tile. Stairs block input tile, thus rendering the pump useless, even though liquids usually ignore stairs. Output tile can be any liquid-passable tile.&lt;br /&gt;
* Not channeling below the impassable tile of an individual pump in a pump stack.  This is how power is transmitted to the pump below.&lt;br /&gt;
* Pumping magma into a lower z-level (same as the source) and then being surprised it is forced back up to the same z-level further down the line (where you were planning your magma forges, for example.)&lt;br /&gt;
&lt;br /&gt;
== Example layouts ==&lt;br /&gt;
=== Single pump ===&lt;br /&gt;
&lt;br /&gt;
[[Image:jt_screwpump.png|frame|left|A screw pump delivers from the level below to the tile in front. This pump pumps from the right to the left.  The &amp;quot;dark tile&amp;quot; would be on the left - that entire tile is impassible to movement and fluids.]]&amp;lt;br style=&amp;quot;clear: both&amp;quot;/&amp;gt;&lt;br /&gt;
=== Pump stack ===&lt;br /&gt;
[[File:PumpStack2010.png|thumb|right|300px|'''Illustrated Side View of a Pump Stack.''']]&lt;br /&gt;
[[File:PumpStackTopView.png|thumb|right|300px|'''Illustrated Top View of a Pump Stack Layer.''']]&lt;br /&gt;
[[File:Pumpstack.gif|thumb|right|'''Animation showing the general construction using an isometric projection.''']]&lt;br /&gt;
&lt;br /&gt;
A Pump stack is a method used to draw water or magma vertically across multiple z-levels requiring a minimum of parts. The basic functionality is possible because the Output (dark) side of the pump can be built over open space with a machine component located directly below, in this case another Screw Pump. Note that for power to properly transfer the intake (light) side of the pump must line up with the output (dark) side of the pump on the floor above it through a space in the floor, as in the illustration.&lt;br /&gt;
&lt;br /&gt;
A pump stack minimizes the amount of machinery required to lift water or magma by allowing for power to be supplied directly to only the most accessible pump (typically the topmost) which in turn allows the player to operate a stack limited only by how many windmills/water wheels they can fit into the area.  The price of optimal parts density is fragility: each pump relies on the pump below it for support.  If [[forgotten beast|anything]] breaks a pump in your stack, every pump above it will be disassembled.  This means that a single pump accidentally assembled with non-magma-safe parts can cause an entire magma pump stack to spontaneously disassemble.&lt;br /&gt;
&lt;br /&gt;
Typical applications for a pump stack include moving magma from a lower level (often the {{L|magma sea}}) up to a convenient level for forges and furnaces, extracting water from a flooded fort, raising water for a decorative {{l|waterfall}} (and extracting it afterwards), or any other purpose that requires water/magma on a z-level significantly above its current location.  &lt;br /&gt;
&lt;br /&gt;
The Illustrated Top View of a Pump Stack Layer shows a basic section of a pump stack. Only the door (or a floodgate) on the Containment side is strictly necessary in order to prevent flooding. Two doorways are used here, each lining up with the solid ground within the pump assembly, in order to prevent workers from trapping themselves after digging channels or assembling the pump.&lt;br /&gt;
&lt;br /&gt;
Be warned: pump stacks move water '''fast.''' If you are pumping from a large reservoir into an open area, be prepared for a huge outflow, roughly akin to the kind of water dump you'd get if the whole reservoir was balanced above the pump output and then released. If you are using pumps to empty a large underground reservoir (or, say, a flooded fortress) onto open land, use an aqueduct or some other method to make sure the pump system outlet is a good distance away from anything you wouldn't want to get drenched.&lt;br /&gt;
&lt;br /&gt;
As an alternative to a large reservoir, it is also possible to combine a Dwarven Atom-Smasher with the top layer of the Pump Stack to create a &amp;quot;vaccuum cleaner&amp;quot; of sorts.&lt;br /&gt;
&lt;br /&gt;
{{buildings}}&lt;/div&gt;</summary>
		<author><name>Auto Slaughter</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.31:Activity_zone&amp;diff=129367</id>
		<title>v0.31:Activity zone</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.31:Activity_zone&amp;diff=129367"/>
		<updated>2010-10-14T00:22:28Z</updated>

		<summary type="html">&lt;p&gt;Auto Slaughter: /* Meeting Area */ doesn't seem true; arriving migrants stop at the edge of the map if they have no job&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{quality|Fine|08:37, 14 September 2010 (UTC)}}{{AV}}&lt;br /&gt;
&lt;br /&gt;
'''Activity zones''' are areas in which {{l|dwarf|dwarves}} are instructed to perform specific tasks, such as {{l|fishing}}, dumping objects, or collecting {{l|water}}. While activity zones are optional for the performance of certain tasks (fishing, collecting water) and obligatory for certain others (dumping), they can also be used to help keep dwarves out of {{l|fun|danger}}.&lt;br /&gt;
&lt;br /&gt;
Activity zones can be placed in any {{l|revealed tile}}, including in {{l|open space}} or over a {{l|river}} or on top of a {{l|building}} or {{l|stockpile}}. They are placed in one of three ways: rectangular, flow, or floor flow. From within the Zones {{l|menu}}, ({{K|i}})Pressing {{K|e}} in the Zones menu cycles through each method, and pressing {{K|Enter}} begins designation. Rectangular zones are placed in the same manner as stockpiles, specifying two corners of the rectangle. Flow and floor flow are placed similarly to designating rooms from pieces of furniture using {{K|+}}/{{K|-}} to adjust the size (floor flow excludes walls). After that the zone has to be assigned to one of the listed tasks to become functional, by pressing the proper key. In some cases ({{l|healthcare|hospital}}, pit/pond) additional orders can then be set from the same menu.&lt;br /&gt;
&lt;br /&gt;
The location of a zone is only visible while in the Zones menu, and any object lying on the ground will hide the presence of a zone tile.&lt;br /&gt;
&lt;br /&gt;
Meeting area zones are zones in which idle dwarves and animals will congregate, similar to meeting halls. Note that the {{l|wagon (embark)|wagon}} you {{l|embark|arrive with}} constitutes a meeting area until you designate the first meeting area of your own. If you start in hostile surroundings it is important to get your dwarves and animals out of danger quickly.&lt;br /&gt;
&lt;br /&gt;
== Water Source ==&lt;br /&gt;
:Shortcut {{k|w}} &lt;br /&gt;
In order for your dwarves to use this zone correctly, some part of this zone must include the solid ground that is next to the water. For example, make half of your zone cover a brook and the other half cover the bank next to the brook.&lt;br /&gt;
&lt;br /&gt;
== Fishing ==&lt;br /&gt;
:Shortcut {{k|f}}&lt;br /&gt;
The same above advice for '''water source''' zones is applicable to fishing zones. You cannot fish through a {{L|grate}} or {{L|well}}, it must be an open source of water.&lt;br /&gt;
&lt;br /&gt;
== Garbage Dump ==&lt;br /&gt;
:Shortcut {{k|g}}&lt;br /&gt;
&lt;br /&gt;
Garbage dump zones are areas in which dwarves will throw items specifically designated by using {{k|k}} then {{k|d}} for single items at a time, or {{key|d}}, {{key|b}}, {{key|d}} to designate a larger area to be dumped (or use the mouse to point and click). Garbage dumps are not the same as {{l|Refuse#Refuse|refuse}} stockpiles, which can be designated to accept any specific type(s) of refuse-type item, such as animal {{l|corpse}}s or {{l|bones}}, and then are randomly filled by haulers as the items become available on the map.&lt;br /&gt;
&lt;br /&gt;
Garbage dumps:&lt;br /&gt;
:* Only accept items that have been marked for dumping.&lt;br /&gt;
:* Require dwarfs to have {{L|refuse hauling}} {{L|labor}} enabled.&lt;br /&gt;
::* Are subject to refuse orders (''{{k|o}}: Set Orders and Options -&amp;gt; {{k|r}}: Refuse Orders''). Most notably, dwarves will not dump items that are outside unless you allow them to ({{k|o}}-&amp;gt;{{k|r}}-&amp;gt;{{k|o}}).&lt;br /&gt;
&lt;br /&gt;
To place a garbage dump, trace a zone on either a relatively empty plot of land or adjacent to a cliff face or hole. If a garbage zone is designated beside a {{L|cliff}} or hole (both natural or dwarf made) garbage will be thrown off/in the z-space. Each ground tile within that zone is considered a garbage dump tile; thus, if you want to place a single-tile zone, place the zone onto a ground tile (optionally adjacent to a cliff or {{L|pit}}), not onto an {{L|open space}}. &lt;br /&gt;
Items dumped into {{L|magma}} (provided they are not {{L|magma safe}}) will disappear permanently.  Otherwise a single tile (either a dump zone, or the ground below the open space) will hold any number of dumped objects.&lt;br /&gt;
&lt;br /&gt;
Once items are dumped they are automatically marked as &amp;quot;{{l|forbid}}den&amp;quot; however they will not dump items that are also forbidden.  If you wish to use dumped items, you need to reclaim them.  Press {{k|k}} to view the item and {{k|f}} to toggle forbid status.  You may also use the reclaim {{L|designation}} to reclaim simultaneously all of the items dumped by using {{key|d}}, {{key|b}}, {{key|c}} and tracing the designation over top of the objects.&lt;br /&gt;
&lt;br /&gt;
If a garbage dump is located next to open space, dwarves will always stand on a garbage dump square when throwing ''into that open space'', even if it could potentially be done more efficiently.  If a garbage dump is located next to multiple tiles of open space, they seem to prefer the one farthest to the northwest.  If a tile to the north and a tile to the west are the only tiles available, they will throw to the west.  Since falling objects do not hurt dwarves, such garbage dumps can be a very efficient method of moving materials to the lower levels of your fortress.&lt;br /&gt;
&lt;br /&gt;
Dwarves seem to throw dumped items in the nearest available garbage dump, although this is probably not reliable given that they don't always use the nearest available item to make things at workshops.  If a nearer zone becomes available as they are traveling to a zone they will ignore it.  Also, they seem to prefer dumps that allow them to throw things in to open space regardless of how far away they are.&lt;br /&gt;
&lt;br /&gt;
Probably due to a bug, dwarves periodically ignore items that are meant to be dumped.  Viewing the item by pressing {{k|k}} then toggling forbid and dump status on, then off again {{k|f}}-&amp;gt;{{k|f}}-&amp;gt;{{k|d}}-&amp;gt;{{k|d}} seems to correct this problem.&lt;br /&gt;
&lt;br /&gt;
== Pit/Pond ==&lt;br /&gt;
:Shortcut {{k|p}}&lt;br /&gt;
&lt;br /&gt;
A Pit/Pond requires a {{L|ramp}} or hole with adjacent flooring on which a dwarf can stand.  Designate the zone from the top of the ramp or hole.  By default, the zone will be a pit.  To change it to a pond, press {{k|P}} then {{k|f}}.  It can be changed back to a pit the same way.&lt;br /&gt;
&lt;br /&gt;
Animals can be assigned to a pit through the {{k|P}} menu.  A dwarf will lead the beast to the pit and leave it there. (If the pit is a ramp rather than a hole, the animal will then wander off)&lt;br /&gt;
&lt;br /&gt;
Dwarves will attempt to fill a pond with {{L|water}}, carried by {{L|bucket}} from a water-gathering zone.  They will stand on the floor adjacent to the top of the ramp or hole, and toss the water onto the ramp or into the hole.  Each bucketful increases the depth of the water in the pond by 1/7.  Once the water is dumped from the bucket, the dwarf will either drop the bucket and perform a different task, or choose to fill a pond zone tile again using the bucket (s)he currently holds.&lt;br /&gt;
&lt;br /&gt;
Dwarves will stop scheduling the Fill Pond job when the water depth reaches 6/7.&lt;br /&gt;
&lt;br /&gt;
*bug notified .35* : to fill a large pond fast, you can create a zone on each tiles as a pond (or several zones overlapping the same area), so one dwarf will be filling one pond tile, but if you select the ponds as watersource, the dwarves will endlessly fill the ponds with the other adjacent ponds water, making a loop of useless duty.&lt;br /&gt;
&lt;br /&gt;
== Sand Collection ==&lt;br /&gt;
:Shortcut {{k|s}}&lt;br /&gt;
&lt;br /&gt;
Sand collection zones are important in the {{L|glass industry}}. They may be placed anywhere, but are only useful when actually placed on {{L|sand}}.&lt;br /&gt;
&lt;br /&gt;
== Meeting Area ==&lt;br /&gt;
:Shortcut {{k|m}}&lt;br /&gt;
Meeting area zones are areas in which dwarves and animals will congregate on their free time, similar to meeting halls.  Additionally, immigrants will collect here until their &amp;quot;migrant&amp;quot; status wears off. It is a good idea to have at least one Meeting Area, of one form or another: it allows you to make off-duty dwarves and animals gather in an area where they are not vulnerable, such as within the fortress.&lt;br /&gt;
&lt;br /&gt;
There are several ways to designate a meeting hall. The preferred method is to use an Activity zone; type i, set up a zone, and mark it both &amp;quot;active&amp;quot; and &amp;quot;meeting&amp;quot;. Statue gardens and zoos are intrinsically meeting halls, as are rooms defined from a well. However, you can also create a Meeting Hall.&lt;br /&gt;
&lt;br /&gt;
A meeting area filled with dwarves increases the social skills of idlers.  It makes idle dwarves a little less idle, and makes selecting a replacement broker easier.  Because almost every dwarf visits a meeting hall at least occasionally, it's an ideal place to site valuable objects and buildings.  A meeting hall exposed to sunlight will prevent dwarves from becoming cave-adapted.&lt;br /&gt;
&lt;br /&gt;
Be warned that having dwarves socialize will often result in them becoming [[friends]] (or forming a [[grudge]]).&lt;br /&gt;
&lt;br /&gt;
== Hospital ==&lt;br /&gt;
:Shortcut {{k|h}}&lt;br /&gt;
&lt;br /&gt;
A Hospital zone is an area designated for the {{L|Healthcare|care and treatment}} of sick and {{L|Wound|wounded}} dwarves. &lt;br /&gt;
&lt;br /&gt;
===Setting up a Hospital===&lt;br /&gt;
&lt;br /&gt;
While there are no particular restrictions on the areas that can be set as hospital zones, a hospital requires certain {{l|furniture}} and supplies to function properly:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Furniture&lt;br /&gt;
! Function&lt;br /&gt;
|-&lt;br /&gt;
| {{L|Bed|Beds}}&lt;br /&gt;
| Allow sick dwarves to {{L|Rest|rest}}&lt;br /&gt;
|-&lt;br /&gt;
| {{L|Table|Tables}}&lt;br /&gt;
| Used in surgery{{Verify}}&lt;br /&gt;
|-&lt;br /&gt;
| {{L|Traction bench|Traction benches}}&lt;br /&gt;
| Immobilize dwarves who need to stay still to heal&lt;br /&gt;
|-&lt;br /&gt;
| {{L|Container|Boxes/Bags}}&lt;br /&gt;
| Storage for medical supplies&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Medical equipment&lt;br /&gt;
! Function&lt;br /&gt;
! Unit quantity*&lt;br /&gt;
|-&lt;br /&gt;
| {{L|Thread}}&lt;br /&gt;
| Required for suturing wounds &lt;br /&gt;
| 15000&lt;br /&gt;
|-&lt;br /&gt;
| {{L|Cloth}} &lt;br /&gt;
| Required for bandages &lt;br /&gt;
| 10000&lt;br /&gt;
|-&lt;br /&gt;
| {{L|Splint|Splints}} &lt;br /&gt;
| Used to bind broken bones{{verify}} &lt;br /&gt;
| 1&lt;br /&gt;
|-&lt;br /&gt;
| {{L|Crutch|Crutches}}&lt;br /&gt;
| Walking aid for dwarves with leg injuries &lt;br /&gt;
| 1&lt;br /&gt;
|-&lt;br /&gt;
| {{L|Gypsum plaster|Powder for casts}} &lt;br /&gt;
| Used to make plaster casts for setting bones{{Verify}}&lt;br /&gt;
| 150{{Verify}}&lt;br /&gt;
|-&lt;br /&gt;
| {{L|Bucket|Buckets }}&lt;br /&gt;
| &lt;br /&gt;
*Used by doctors to carry water for cleaning patients&lt;br /&gt;
*Used by dwarves with the Feed Patients/Prisoners labor to water patients&lt;br /&gt;
| 1&lt;br /&gt;
|-&lt;br /&gt;
| {{L|Soap }}&lt;br /&gt;
| Used to reduce infections when washing patients &lt;br /&gt;
| 150{{verify}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''*The unit quantity is the quantity of each item that appears in the Hospital Information screen when one object of that type is stored. For example, if one bolt of cloth is stored in the hospital zone, the hospital will report that it contains 10000 cloth.''&lt;br /&gt;
&lt;br /&gt;
In addition to furniture and medical supplies, a {{L|Water|source of water}} is more or less mandatory, as sick dwarves need it for drinking as well as cleaning. The water source need not be in the hospital zone, although the shorter the distance between the two the better.&lt;br /&gt;
&lt;br /&gt;
When the Zones menu ({{k|i}}) is open and the cursor is in a hospital zone, {{k|H}} will bring up the Hospital Information screen.  This screen shows the quantity of each type of furniture piece and medical equipment present in the Hospital, and allows you to set the desired quantity of each type of equipment. Note that you must have boxes or bags constructed in the hospital zone for supplies to be stored for medical use; items in a stockpile do not count for the hospital, even if the stockpile is in the hospital zone.&lt;br /&gt;
&lt;br /&gt;
===Hospital Beds===&lt;br /&gt;
&lt;br /&gt;
When a dwarf becomes sick or {{l|wound}}ed, he will be carried to a {{l|bed}} in a hospital zone by a dwarf with the Recovering Wounded labor set, assuming such a bed is available; otherwise, he may be carried to a bed in a {{L|barracks}} or {{L|dormitory}}, or to an unassigned bed.  If an injured dwarf is resting in a bed outside a hospital zone, he will remain there even if hospital beds become available.  Deconstructing the sick dwarf's bed may cause him to be move to a hospital bed, however, and it may be possible for doctors to treat patients who are resting outside of a hospital zone, so long as adequate supplies are available.{{verify}}&lt;/div&gt;</summary>
		<author><name>Auto Slaughter</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.31:Cage&amp;diff=128770</id>
		<title>v0.31:Cage</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.31:Cage&amp;diff=128770"/>
		<updated>2010-10-05T02:32:16Z</updated>

		<summary type="html">&lt;p&gt;Auto Slaughter: /* Creature containment */ pregnancy thing doesn't appear to be true in .16, I just had a merchant-bought elephant in a cage give birth&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{quality|Exceptional|08:00, 22 May 2010 (UTC)}}{{av}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{furniture|name=Cage&lt;br /&gt;
|tile=‼|col=0:6:0&lt;br /&gt;
|wood=y&lt;br /&gt;
|metal=y&lt;br /&gt;
|glass=y&lt;br /&gt;
|rooms=&lt;br /&gt;
* {{L|Jail}} (if metal)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
'''Cages''' are used in {{L|cage trap}}s, {{L|jail}}s, and zoos, {{L|pit}}s and aquariums.&lt;br /&gt;
&lt;br /&gt;
A glass cage is called a terrarium or, if filled with water for holding {{L|Captured live fish|captured}} live {{L|fish}}, an aquarium.&lt;br /&gt;
&lt;br /&gt;
Cages are stored on the Animal Stockpile.&lt;br /&gt;
&lt;br /&gt;
==Building and using a cage==&lt;br /&gt;
Cages can be constructed from {{L|wood}} at a {{L|carpenter's workshop}}, from {{L|metal}} at a {{L|metalsmith's forge}}, and from {{L|glass}} at a {{L|glass furnace}}.&lt;br /&gt;
&lt;br /&gt;
You can then either build them to a tile via {{k|b}} - {{k|j}} (this is needed for linking a lever to them, or assigning a pet to it) or simply keep them stockpiled so they can be used to load cage {{L|trap}}s.&lt;br /&gt;
&lt;br /&gt;
===Creature containment===&lt;br /&gt;
&lt;br /&gt;
To assign creatures to a cage, press {{k|q}} and move the cursor over the cage. Use {{k|+}} and {{k|-}} to scroll up and down the list of {{L|creatures}}, and {{k|Enter}} to assign them to the cage.&lt;br /&gt;
&lt;br /&gt;
Multiple creatures can be assigned to the same cage with no penalty. It is completely possible to fit hundreds of {{L|dog|puppies}} in a cage with dozens of {{L|blind cave ogre}}s with no ill effects, leading some players to conclude that cages include some sort of hidden &amp;quot;cage space&amp;quot; that allows infinitely tight packing of creatures.&lt;br /&gt;
&lt;br /&gt;
There is no particular labor for releasing creatures in cages.  Use {{k|q}} to examine the cage, {{k|a}} to assign, and then use {{k|enter}} to toggle the animal(s) currently inside (animals assigned to the cage will have a green &amp;quot; + &amp;quot; next to them). Any available dwarf will perform the job, so beware of pitting untamed or hostile creatures with a weak dwarf. For more information, see {{L|captured creatures}}.&lt;br /&gt;
&lt;br /&gt;
Cages are the infinite stone stockpiles of the animal world, you can hold a {{L|dragon}}, a thousand cats plus more.&lt;br /&gt;
&lt;br /&gt;
===Prisons===&lt;br /&gt;
&lt;br /&gt;
To set a cage as a {{L|jail}}, {{k|q}}uery the cage, designate it as a {{k|r}}oom, and then set it to be used for {{k|j}}ustice. Only {{L|metal}} cages may be used in this way, despite {{L|wood}}en cages being strong enough to hold {{L|dragon}}s.&lt;br /&gt;
&lt;br /&gt;
Dwarves in cages must be fed by other dwarves.&lt;br /&gt;
&lt;br /&gt;
===Remotely Opening Cages===&lt;br /&gt;
&lt;br /&gt;
A built cage can be linked to a {{L|lever}} to remotely open it.  When the cage opens, the occupant(s) inside are released and the cage and {{L|mechanism}} deconstruct and can be returned to their respective stockpiles. Note that you have to use a &amp;quot;built&amp;quot; cage as described above, it won't work with cages on your stockpile.&lt;br /&gt;
&lt;br /&gt;
===Alternate way of Opening Cages===&lt;br /&gt;
&lt;br /&gt;
When traders are around, you can select &amp;quot;move good to trading depot&amp;quot; and select the cage of choice.&lt;br /&gt;
When a hauler takes the cage, the creature inside will be released. be sure to disarm the creature beforehand...&lt;br /&gt;
&lt;br /&gt;
===Cages and Fluids===&lt;br /&gt;
&lt;br /&gt;
A cage will protect a creature inside it from {{L|swimmer|drowning}}, so if you want to drown a creature in a cage, you must open it remotely, as explained in the above section. However, built cages will not protect caged creatures from {{L|magma}}, making this a somewhat faster option, as it doesn't require linking each cage to a lever. Cages which are not {{L|magma-safe}} will be degraded and/or destroyed by this process, and cages which are made of flammable materials (such as wood) may be set on {{L|fire}}. Any items the creature had equipped will teleport to wherever the creature was caged, typically a tile with a {{L|cage trap}} on it. These items may or may not be on fire; no case of teleporting !!large cave spider silk sock!!s have yet been observed, but this doesn't prove it can't happen. Exercise caution.&lt;br /&gt;
&lt;br /&gt;
===Buying Cages ===&lt;br /&gt;
Traders may bring cages for sale. If these cages contain a {{L|tame}}d {{L|creature}}, the item will be listed as (creature) cage, and will not describe the material the cage is made out of. However, the cage may contain a tamed {{L|vermin}}, in which case it will be listed in the trading dialogue as by the material the cage is made out of. In such cases, the expanded cage description will list the contents of the cage.&lt;br /&gt;
&lt;br /&gt;
{{buildings}}&lt;br /&gt;
&lt;br /&gt;
==Bugs==&lt;br /&gt;
&lt;br /&gt;
Creatures in cages that come from dead merchants cannot be freed. They can only be transferred between cages.&lt;/div&gt;</summary>
		<author><name>Auto Slaughter</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.31:Braies&amp;diff=128740</id>
		<title>v0.31:Braies</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.31:Braies&amp;diff=128740"/>
		<updated>2010-10-04T17:18:53Z</updated>

		<summary type="html">&lt;p&gt;Auto Slaughter: Created page with 'From Wikipedia: &amp;quot;Braies are a type of undergarment worn by men in 13th - 14th century Europe which resemble long, loose shorts. It was usually made with linen.&amp;quot;'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;From Wikipedia: &amp;quot;Braies are a type of undergarment worn by men in 13th - 14th century Europe which resemble long, loose shorts. It was usually made with linen.&amp;quot;&lt;/div&gt;</summary>
		<author><name>Auto Slaughter</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.31:Wound&amp;diff=128315</id>
		<title>v0.31:Wound</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.31:Wound&amp;diff=128315"/>
		<updated>2010-09-28T06:01:40Z</updated>

		<summary type="html">&lt;p&gt;Auto Slaughter: Oops, no, that was from complete functional loss&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{quality|Fine|08:00, 22 May 2010 (UTC)}}{{av}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are five different levels of injury in the game, ranging from none to complete part loss.&lt;br /&gt;
Shown using the default* colors, they are:&lt;br /&gt;
&amp;lt;!--THESE TERMS AND DEFINITIONS ARE COPIED, WORD FOR WORD, FROM INIT.TXT.&lt;br /&gt;
So no more &amp;quot;mangled&amp;quot; - RED is now &amp;quot;broken&amp;quot;, and the old &amp;quot;broken&amp;quot; is now &amp;quot;inhibited&amp;quot; - don't fight it, just go with it. :\ &lt;br /&gt;
&lt;br /&gt;
Also note - no more light grey &amp;quot;lightly wounded&amp;quot; - apparently, if it's not worth worrying about, it's not shown.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:{| border=0 cellpadding=0 cellspacing=1 style=&amp;quot;background: black&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;font color=&amp;quot;#ffffff&amp;quot;&amp;gt; '''NONE: No recorded active wounds on the part.'''&amp;lt;/font&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;font color=&amp;quot;#808000&amp;quot;&amp;gt; '''MINOR: Any damage that doesn't have functional/structural consequences (might be heavy bleeding, though).'''&amp;lt;/font&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;font color=&amp;quot;#ffff00&amp;quot;&amp;gt; '''INHIBITED: Any muscular, structural, or functional damage, without total loss.'''&amp;lt;/font&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;font color=&amp;quot;#00ffff&amp;quot;&amp;gt; '''FUNCTION LOSS: An important function of the part is completely lost, but the part is structurally sound (or, at least partially intact). '''&amp;lt;/font&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;font color=&amp;quot;#ff0000&amp;quot;&amp;gt; '''BROKEN: The part has lost all structural integrity or muscular ability.'''&amp;lt;/font&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;font color=&amp;quot;#808080&amp;quot;&amp;gt; '''MISSING: The part is completely gone. '''&amp;lt;/font&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:''(* The [[color]] of wounds can be changed in {{L|Init.txt}}.)''&lt;br /&gt;
&lt;br /&gt;
== Missing limb ==&lt;br /&gt;
&lt;br /&gt;
As the name implies, this signals that a limb has been completely severed. Dwarves with severed limbs frequently either die of blood loss or linger in the hospital permanently. Those who recover may find themselves unable to perform the same tasks as they had in the past.&lt;br /&gt;
&lt;br /&gt;
Dwarves without arms are unable to {{L|haul}} items, but are still able to gather crops or work in a workshop. Once created/gathered, the items simply remain where they are until another dwarf comes along to move them. They are also unable to equip armor/clothing, but this won't stop them from biting/kicking in combat. Armless dwarves are unable to operate {{L|screw pump}}s.&lt;br /&gt;
&lt;br /&gt;
== Function loss ==&lt;br /&gt;
&lt;br /&gt;
The new cyan &amp;quot;Function loss&amp;quot; appears to be impairment of an organ for which &amp;quot;broken&amp;quot; or &amp;quot;bruised&amp;quot; would not make sense. Internal organs and eyes have been observed to turn cyan, signalling failures of sight, liver function, and other maladies.&lt;br /&gt;
&lt;br /&gt;
A dwarf can also suffer nervous damage to sensory and/or motor nerves. For example, motor nerve damage to a leg means that the dwarf will never be able to stand up again, which will show as &amp;quot;Ability to stand lost&amp;quot; in the specific dwarf's personal health screen, in addition to nervous damage information. Sensory nerve damage causes pain to disappear and is thought to make a creatures' attacks weaker. &lt;br /&gt;
&lt;br /&gt;
If you want your dwarves to heal nerve damage, go into the raw, find the tissue_template_default and set [HEALING_RATE:100] to the NERVE_TEMPLATE.&lt;br /&gt;
&lt;br /&gt;
== Scarring ==&lt;br /&gt;
&lt;br /&gt;
Dwarfs who sustain major injuries may never fully heal - the part will always remain listed in their Wounds section as &amp;quot;Minor&amp;quot; or &amp;quot;Inhibited&amp;quot;, and the dwarf's description in his Thoughts and Preferences screen will note that he bears scars. This may result in notes in the {{L|Health screen}} such as &amp;quot;Ability to grasp somewhat impaired&amp;quot;. It is unknown what effect this has.  &amp;lt;!-- More likely to lose a weapon stuck in an enemy? --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Auto Slaughter</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.31:Aquifer&amp;diff=128275</id>
		<title>v0.31:Aquifer</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.31:Aquifer&amp;diff=128275"/>
		<updated>2010-09-27T08:41:51Z</updated>

		<summary type="html">&lt;p&gt;Auto Slaughter: /* Going around */ brief note on how to distinguish biome regions&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{quality|Masterwork|08:00, 22 May 2010 (UTC)}}{{av}}&lt;br /&gt;
An '''aquifer''' is a subterranean layer of {{l|water|groundwater}}-bearing rock or {{l|soil}}. Attempts to mine through the layer will result in the mined-out squares immediately filling with {{l|water}}, effectively halting excavation at or below their level. This, in conjunction with the fact that they are often located in areas rich in {{l|loam}}, and {{l|sand}}, makes it difficult to find great quantities of {{l|stone}} in areas with aquifers, making for more challenging gameplay.&lt;br /&gt;
&lt;br /&gt;
Aquifers can't be drained - the groundwater is limitless. {{l|stone detailing|Smoothed}} aquifer stone stops producing water. Aquifers located in {{l|water#Salt_Water|saltwater}} areas will produce salty water. Aquifers do not only produce water - if the incoming water is pressurized, an aquifer tile may instead absorb it. Just like with water production, this ability will not be disabled no matter how much water it absorbs. &lt;br /&gt;
&lt;br /&gt;
== Where they are found ==&lt;br /&gt;
Aquifers are found in most {{L|soil}} layers and some porous rock layers. They often span several rock layers.  They are recognizable at the embark screen by the {{Tile|≈≈≈≈≈|1:0:1}} to the right of that layer.&lt;br /&gt;
&lt;br /&gt;
Layers which CAN contain aquifers:&lt;br /&gt;
*{{L|sandy clay loam}}&lt;br /&gt;
*{{L|silty clay loam}}&lt;br /&gt;
*{{L|loam}}&lt;br /&gt;
*{{L|sandy loam}}&lt;br /&gt;
*{{L|silt loam}}&lt;br /&gt;
*{{L|loamy sand}}&lt;br /&gt;
*{{L|silt}}&lt;br /&gt;
*{{L|sand (tan)|sand}}&lt;br /&gt;
*{{L|yellow sand}}&lt;br /&gt;
*{{L|white sand}}&lt;br /&gt;
*{{L|black sand}}&lt;br /&gt;
*{{L|red sand}}&lt;br /&gt;
*{{L|peat}}&lt;br /&gt;
*{{L|pelagic clay}}&lt;br /&gt;
*{{L|calcareous ooze}}&lt;br /&gt;
*{{L|siliceous ooze}}&lt;br /&gt;
*{{L|sandstone}}&lt;br /&gt;
*{{L|conglomerate}}&lt;br /&gt;
**{{L|puddingstone}}&lt;br /&gt;
Layers which CAN'T contain aquifers, despite their names suggesting otherwise:&lt;br /&gt;
*{{L|clay}}&lt;br /&gt;
*{{L|silty clay}}&lt;br /&gt;
*{{L|sandy clay}}&lt;br /&gt;
*{{L|clay loam}}&lt;br /&gt;
*{{L|siltstone}}&lt;br /&gt;
*{{L|mudstone}}&lt;br /&gt;
&lt;br /&gt;
== Dealing with aquifers ==&lt;br /&gt;
&lt;br /&gt;
===Digging at a change in level===&lt;br /&gt;
&lt;br /&gt;
Though an aquifer seems a daunting obstacle, it ''is'' possible to dig through it, given a ample supply of building material (rock or wood) and any unevenness in the depth of the aquifer.  The basic facts:&lt;br /&gt;
&lt;br /&gt;
* An aquifer layer will ''absorb'' an unlimited amount of water draining in from above.&lt;br /&gt;
&lt;br /&gt;
* With an up/down stairway or channel designation, a dwarf can break through the floor of the cell ''beneath'' him.  That means a dwarf can stand on top of an aquifer layer, dig an up/down stairway, and make it drain into the layer beneath it, if that layer is also an aquifer or has an open path to an aquifer layer nearby.&lt;br /&gt;
&lt;br /&gt;
* A stairway may be swamped to dangerous levels with water draining in from the squares around it, but many stairways in a clump mean that the drainage to the next layer wins out.&lt;br /&gt;
&lt;br /&gt;
* Constructing a wall, up/down stairway, or channel in an aquifer layer prevents any water from originating in that square.  A wall prevents water from draining down into the next layer from any source, while the stairway or channel lets it come in from other squares and drain.&lt;br /&gt;
&lt;br /&gt;
These points support the following method:&lt;br /&gt;
&lt;br /&gt;
# Dig around at the level just above where you encountered the aquifer, placing up/down or down stairways according to your preferred city grid plan.  Training up a few miners in this way will help later.  Spot some points where the next level (as seen from down stairways) varies in wetness from one spot to another.&lt;br /&gt;
# For the following, pause the game after every square dug out and make sure the miners dig both layers at the same rate and redesignate when they cancel your plans automatically.  Dig a 5x5 hollow square of up/down stairways at the change in level, going down as far as you can.  The lower aquifer should accept water from the upper aquifer, allowing you to drain the upper aquifer (at least partway).  Then gradually take on the area in the middle, building walls and/or staircases to fill in and stop the flow as you expand.  Eventually you should get command over the source of flow, and can dig a hole in the center of the bottom-most layer surrounded by a 3x3 ring of impermeable rock.&lt;br /&gt;
&lt;br /&gt;
* ''Caveat: sometimes only the top of the aquifer changes depth, but the bottom stays at the same level.  In this case you will get nowhere.  Sometimes the aquifer is two or more layers thick and it doesn't offset enough to let you all the way through - in this case, sometimes you can use the cave-in method to get through one layer, then use this method to get through the next.  And sometimes you'll just find a hole right through when you investigate the change in level, because you're at a biome boundary and it's not aligned perfectly.&lt;br /&gt;
&lt;br /&gt;
===The ore method===&lt;br /&gt;
On maps where the aquifer is not held in a layer of soil, but instead is held in a {{L|sedimentary layer}} such as sandstone, it may be possible to tunnel down through deposits of ore such as magnetite. For this to work you have to find a spot where there is coincidentally an ore deposit on each Z-level you need to dig through.  This is only possible through tiresome trial and error, or through the use of a utility like reveal.exe.  The trial and error method can be accomplished somewhat more easily by digging up/down stairs to reveal the layer underneath them without actually digging into the underlying layer.  This method is more complicated with aquifers located in layers of {{L|conglomerate}}, as large clusters of {{L|puddingstone}} will support the aquifer and thus cannot be used to provide a path through it.&lt;br /&gt;
&lt;br /&gt;
===The magma/obsidian method===&lt;br /&gt;
If you have access to a supply of magma, you can create your own obsidian caissons. By channeling into the aquifer layer and then filling these channels with magma, it is possible to create a wall of obsidian between your working area and the {{l|water}}-bearing rock or {{l|soil}}. However, changes to world generation with the last version have made this method more difficult than it once was, as it is now harder to find magma vents that extend above the aquifer level.&lt;br /&gt;
&lt;br /&gt;
===The cave-in method===&lt;br /&gt;
If there are enough layers above the aquifer, then letting non aquifer rock fall into the aquifer layer gives an area of diggable rock. This requires at least 2 natural dry layers. If multiple aquifer layers are to be breached, things get more complicated. First {{l| channel}} out the area of aquifer that will be replaced. Then dig out all connecting floors and walls to the block that will fall (build a  support to hold it until you are ready for collision). A {{l| burrow}} may be useful to assign unnecessary dwarves to a safe area. When everyone is clear, de-construct the support with a lever. (If you forgot to bring stone, then you may instead build a constructed floor to support it, designate it to be destroyed, and have a {{l|hospital}} standing ready in case the unlucky one survives.)&lt;br /&gt;
&lt;br /&gt;
After the collapse, do not dig out the outer edge of the fallen rock.&lt;br /&gt;
&lt;br /&gt;
This does not work with {{l| wood}} walls since they deconstruct on cave-in.&lt;br /&gt;
&lt;br /&gt;
If you build many rings inside one another in your top drop layer, you can breach multi-level aquifers with as little as 2 natural layers of dry soil above it.  Drop the rings from the outside to the inside using constructed arms to hold the center rings in place.  Once a ring drops into the water below it, pump out the water in the center and dig down another layer.  When that is complete, drop the next ring and continue the process until you are through.  Since you start dropping rings from the outside it is necessary to know how many levels deep the aquifer is before you begin.&lt;br /&gt;
&lt;br /&gt;
Some might regard this method as cheating, so use it at your own risk.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' There is a bug that may prevent this method from working, collapsed layers may turn into the aquifer layer type that was dug out at that level. So, for example: We have three layers, layer 1 has the caving in section, and is not an aquifer. Layer 2 is a dug out layer that is also not a aquifer. And Layer 3 which is dug out and is an aquifer. Now, the bug, say layer 1's cave-in section lands on layer 3's dug out area, sometimes layer 1's caved in section may change into layer 3's soil type. Making it an aquifer too. Thus making the cave-in method impossible for that area.&lt;br /&gt;
&lt;br /&gt;
===The freezing method===&lt;br /&gt;
&lt;br /&gt;
If you are playing in a freezing or very cold landscape, where it snows in winter and instantly freezes water on the map, you can dig out a 3x3 hole in the ground using {{l|channel}}s, and make it deeper and deeper until you reach the aquifer level. Once you reach the damp rock, tunnel into it with an up/down staircase - the incoming water will freeze after a few moments. The central square of the 3x3 hole should be tunnelable ice, so you can get to the rock beneath. If there are two aquifer levels, for example, you can just make a larger initial hole, and make a smaller one for the level after. &lt;br /&gt;
&lt;br /&gt;
If your fortress is in a zone that gets warm, build walls around the inside of the hole to stop the water coming in once the ice melts.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note&amp;lt;/b&amp;gt;: There is a bug that may prevent this from working, sometimes ice walls don't produce an ice floor tile above them, instead leaving it as &amp;quot;open space&amp;quot; which prevents the player from digging downwards. &lt;br /&gt;
Simplest method is to construct a wooden (or stone, if you have any) floor and then remove it. After the floor is removed, a natural ice floor will remain.&lt;br /&gt;
An alternative means that will work is to set the tile 1 z-level '''ABOVE''' your missing ice floor tile as a {{l|pond}}, and '''FILL IT'''. The first {{l|bucket}} of water that goes on it will create that missing ice floor tile the instant the water is dumped on it, and you will receive a cancellation message that the pond has gone away. Dezone the pond {{l|activity zone}}, and get back to work breaching that ice. Keep in mind that you will need an '''unfrozen water source''' to use to fill your bucket, so have a working {{l|well}} or underground pond ready beforehand for this to work.&lt;br /&gt;
&lt;br /&gt;
===The pump method===&lt;br /&gt;
&lt;br /&gt;
The pumping method uses multiple {{L|screw pump|pumps}} to keep an area dry long enough to smooth or {{l|wall}} off the edges, stopping the flow of water.  It requires no special environment or resources, other than wood and dwarves (and patience).  Most commonly, a moderately sized section of the aquifer layer is channeled out and several screw pumps are built facing it.  Directly behind each of the screw pumps a few tiles are channeled out to receive and dispose of the pumped water.  When the pumps are activated, they should pump water faster than the aquifer can produce it, allowing masons to smooth or build walls around your future staircase.  You ''will'' get job cancellations during this process, as stray 2/7's of water interrupt the building process.  Just unsuspend the construction when this happens, as long a dwarf manages to touch the wall before canceling, it will move incrementally toward completion and eventually finish.  Depending on the availability of screw pumps and dwarves, you may need to wall off one corner or side at a time, then move the pumps and repeat.  When drilling through more than one aquifer layer, be sure to leave yourself enough room to build additional layers of pumps and water disposal channels on lower levels. &lt;br /&gt;
&lt;br /&gt;
Things to consider: &lt;br /&gt;
* Flowing water will cause parents to drop their infants, leading to job cancellations and occasionally [[fun]].&lt;br /&gt;
* Mechanical {{l|power}} may come in handy, but dwarf power works just fine and is much more portable.&lt;br /&gt;
* Channels can sometimes be used in place of walls, causing water produced by by the aquifer on one level to immediately fall and be consumed by the aquifer on the level below.&lt;br /&gt;
* This method may take a while.&lt;br /&gt;
* Aquifers do not create water in diagonal tiles, but do create water in hollow tiles directly below them. Therefore, you will want to dig two z-levels below the lowest aquifer layer before continuing with your fortress.&lt;br /&gt;
&lt;br /&gt;
===The modding method===&lt;br /&gt;
&lt;br /&gt;
By editing the the raws and removing the [AQUIFER] tag from all of the appropriate entries in inorganic_stone_layer.txt and inorganic_stone_soil.txt it is possible to remove all aquifers from the world.  Make sure you do this before creating a new world to play on.  ''(Then again, why not just embark on a place that isn't all aquifer... what are you looking for, [[adamantine]]?)''  Some might regard this method as cheating, so use it at your own risk.&lt;br /&gt;
&lt;br /&gt;
===Breaking through to an existing space===&lt;br /&gt;
&lt;br /&gt;
With a typical double-layer aquifer (with an unsafe layer beneath it that fills from above) it is not easy to push through a stairwell where you'd like, even if you have access to the space beneath.  Start by ensuring 24 building materials (wood or stone) are available close by on the layer above the top aquifer, and that a ''large'' space (at least 25x25 or so, preferably larger) is available on the top safe layer under the aquifer, four layers beneath the first.    Dig or build an up-down stair at the same position on the upper and lower safe levels, and surround the top up-down stair with 8 down-stairs for better access.  Have at least three legendary diggers and half a dozen moderately skilled masons close by and idle.  It also helps to have a stairway or open space leading down from the lower level to relieve water buildup at the point you'll make the hole.&lt;br /&gt;
&lt;br /&gt;
Start by digging an up/down stairway upward from the bottom safe stairway into the bottom (third) layer.  Water will start pouring out into the bottom level.  Designate the next two squares up (on the aquifer levels) as up-down stairs to link the two, and wait until the diggers get started on them.  Then designate a 3x3x3 block around these as up-down stairs on the two aquifer levels and the unsafe level beneath.  Once they're built very large amounts of water will be pouring down into the lower space.  ''Warning:'' unlike in the previous version, diggers now make a habit of canceling designations that they feel they can't get to, such as if the lower level is too flooded for them to approach.  Make sure all 27 up-down stairs are dug out ASAP.  Then wall six squares on the top level (leaving two to be walled once the corners are filled in), and proceed downward from completed walls until you've walled squares on all three levels.  After you finish, I'm not sure if it's technically necessary to construct up-down stairs in the space you dug out by designation in order to stop all water leakage.&lt;br /&gt;
&lt;br /&gt;
===Going around===&lt;br /&gt;
&lt;br /&gt;
If your embark site is covered by multiple biomes, there is a chance the aquifer is not present in every biome.  In some maps this may be indicated by an outcropping of stone in a landscape otherwise composed of soil; in other maps the change in biome might be visible as a change in soil type or vegetation type or density.  You might be able to dig down through a biome that doesn't have an aquifer, to a Z-level below the aquifer, and then (if you wish) tunnel beneath the aquifer to the previously inaccessible region.&lt;br /&gt;
&lt;br /&gt;
Even if all the biomes of your site contain aquifers, they might not all be at the same Z-level.  So you still might be able to dig down in one biome, reaching a Z-level beneath the aquifer in another biome.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{World}}&lt;br /&gt;
&lt;br /&gt;
[[Category:World]]&lt;/div&gt;</summary>
		<author><name>Auto Slaughter</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=40d:Macros_and_keymaps&amp;diff=128253</id>
		<title>40d:Macros and keymaps</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=40d:Macros_and_keymaps&amp;diff=128253"/>
		<updated>2010-09-26T21:28:12Z</updated>

		<summary type="html">&lt;p&gt;Auto Slaughter: /* Stock Screen Dump */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{av}}&lt;br /&gt;
Playing Dwarf Fortress means lots of typing.  Although the game has no internal macro/keymap system (except in alpha version 40d12), using an external program can save you a great deal of time when dumping, rewalling, designating, and so forth.&lt;br /&gt;
&lt;br /&gt;
#  Go to {{L|Utilities#AutoHotKey}} and download AutoHotKey.  Installation is simple and the program uses few system resources.&lt;br /&gt;
#  Write macro scripts (file type .ahk), which may contain any number of commands.  You activate scripts by double-clicking .ahk files and deactivate them by right-clicking the AutoHotKey icon on the task bar.  Both of these can be done at any time - even right in the middle of a game.  AutoHotKey also allows for automated activation of scripts.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting Scripts==&lt;br /&gt;
Users may experience some issues in getting scripts to work, particularly when using looping scripts when experiencing low frame-rates.&lt;br /&gt;
* If experiencing low frame-rates, try adding delays (&amp;quot;Sleep 100&amp;quot; to pause for 100 milliseconds for example) within loops to allow the interface to keep up. If there are nested loops, sometimes adding a pause at the end of an inner loop is all that is needed to flush the keyboard buffer&lt;br /&gt;
* Another way to add delay during and after each simulated key press is to put &amp;lt;B&amp;gt;SetKeyDelay, 40, 40&amp;lt;/B&amp;gt; at the start of the macro.&lt;br /&gt;
* Make sure that Dwarf Fortress maintains focus. IM windows are the enemy! Who needs friends anyhow? You've got Dwarf Fortress.&lt;br /&gt;
* This may go without saying, but most macros assume standard key-mappings. If you're using non-standard ones, you may have to edit the macro to get it to work.&lt;br /&gt;
* Visiting liaisons can bring up screens that eat keystrokes, throwing a long-looping script out-of-phase with where it expects the game to be.  Wait for the farewell screen before running a long script.&lt;br /&gt;
* The &amp;lt;B&amp;gt;SendPlay&amp;lt;/B&amp;gt; function supports keys that the &amp;lt;B&amp;gt;Send&amp;lt;/B&amp;gt; function does not, for example {{key|Shift-Enter}}.  According to the AutoHotKey documentation, &amp;lt;B&amp;gt;SendPlay&amp;lt;/B&amp;gt; may also be better at preventing dropped keystrokes.&lt;br /&gt;
&lt;br /&gt;
== [http://sun2design.com/quickfort/ Quickfort] ==&lt;br /&gt;
&lt;br /&gt;
Quickfort is an AutoHotkey-based utility for Dwarf Fortress that helps you build fortresses from &amp;quot;blueprint&amp;quot; .CSV files (comma separated values). These files are easily created and edited in an app like Excel. Most building-oriented DF commands are supported through the use of multiple .CSV files to describe the different phases of DF construction (designation, building, stockpiles, and making adjustments). Many of the examples below can be reproduced in Quickfort.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Built-in Macros ==&lt;br /&gt;
&lt;br /&gt;
With the release of df_28_181_40d13, Dwarf Fortress supports macros without any outside program. They can be created by hitting escape to access the options menu and choosing the Key Bindings section. Once in the Key Bindings menu hit Shift+Tab to open the macro screen. The macros you create here are saved in the file &amp;quot;\data\init\interface.txt&amp;quot;. Adding the following to the end of that file will create a macro that selects every item on the trade screen when you hit the tilde key (`).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[BIND:MACRO0]&lt;br /&gt;
[SYM:`]&lt;br /&gt;
[MACRO:SELECT:1]&lt;br /&gt;
[MACRO:STANDARDSCROLL_DOWN:1]&lt;br /&gt;
[MACRO:SELECT:1]&lt;br /&gt;
[MACRO:STANDARDSCROLL_DOWN:1]&lt;br /&gt;
[MACRO:SELECT:1]&lt;br /&gt;
[MACRO:STANDARDSCROLL_DOWN:1]&lt;br /&gt;
[MACRO:SELECT:1]&lt;br /&gt;
[MACRO:STANDARDSCROLL_DOWN:1]&lt;br /&gt;
[MACRO:SELECT:1]&lt;br /&gt;
[MACRO:STANDARDSCROLL_DOWN:1]&lt;br /&gt;
[MACRO:SELECT:1]&lt;br /&gt;
[MACRO:STANDARDSCROLL_DOWN:1]&lt;br /&gt;
[MACRO:SELECT:1]&lt;br /&gt;
[MACRO:STANDARDSCROLL_DOWN:1]&lt;br /&gt;
[MACRO:SELECT:1]&lt;br /&gt;
[MACRO:STANDARDSCROLL_DOWN:1]&lt;br /&gt;
[MACRO:SELECT:1]&lt;br /&gt;
[MACRO:STANDARDSCROLL_DOWN:1]&lt;br /&gt;
[MACRO:SELECT:1]&lt;br /&gt;
[MACRO:STANDARDSCROLL_DOWN:1]&lt;br /&gt;
[MACRO:SELECT:1]&lt;br /&gt;
[MACRO:STANDARDSCROLL_DOWN:1]&lt;br /&gt;
[MACRO:SELECT:1]&lt;br /&gt;
[MACRO:STANDARDSCROLL_DOWN:1]&lt;br /&gt;
[MACRO:SELECT:1]&lt;br /&gt;
[MACRO:STANDARDSCROLL_DOWN:1]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Performance can be increased by changing the macro pause, MACRO_MS, from the default 150ms per command to zero.  Most dig macros can be created using combinations of the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[MACRO:CURSOR_UP:1]&lt;br /&gt;
[MACRO:CURSOR_DOWN:1]&lt;br /&gt;
[MACRO:CURSOR_LEFT:1]&lt;br /&gt;
[MACRO:CURSOR_RIGHT:1]&lt;br /&gt;
[MACRO:SELECT:1]&lt;br /&gt;
[MACRO:DESIGNATE_DIG:1]&lt;br /&gt;
[MACRO:DESIGNATE_UNDO:1]&lt;br /&gt;
[MACRO:CURSOR_UP_FAST:1]&lt;br /&gt;
[MACRO:CURSOR_DOWN_FAST:1]&lt;br /&gt;
[MACRO:CURSOR_LEFT_FAST:1]&lt;br /&gt;
[MACRO:CURSOR_RIGHT_FAST:1]&lt;br /&gt;
[MACRO:MACRO123:1]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Most of these should be self-explanatory. Each command is followed with a quantity.  To call other macros, use &amp;lt;pre&amp;gt;[MACRO:MACRO###:1]&amp;lt;/pre&amp;gt; Each new macro begins with a bind command, consisting of BIND, the macro number, and a description:&lt;br /&gt;
&amp;lt;pre&amp;gt;[BIND:MACRO11:dig_round_room]&amp;lt;/pre&amp;gt;  Spaces are not allowed in the description{{verify}}.  To bind this macro to a key, SYM is used.&amp;lt;pre&amp;gt;[SYM:Ctrl+Right]&amp;lt;/pre&amp;gt; Ctrl, Alt, and Shift combinations are allowed, but not chords with more than one{{verify}}, like Ctrl+Shift+Right.  Also, the windows, or meta key, does not appear to be supported{{verify}}. Macros appear to only be terminated by the start of a new macro (BIND command) or the end of the interface.txt file.&lt;br /&gt;
&lt;br /&gt;
Visit this [http://www.bay12games.com/forum/index.php?topic=40751.0 forum post] for additional macros, and discussion on macro creation.&lt;br /&gt;
&lt;br /&gt;
== AutoHotKey Examples ==&lt;br /&gt;
&lt;br /&gt;
===Dumping===&lt;br /&gt;
&lt;br /&gt;
===={{L|GuiDumper.ahk}}====&lt;br /&gt;
This script allows the user to specify a range of squares to dump.&lt;br /&gt;
&lt;br /&gt;
====Stock Screen Dump====&lt;br /&gt;
Taken from an old version of [[User:Jackard|Jackard's user page]].&lt;br /&gt;
&lt;br /&gt;
To use, first have your bookkeeper do enough desk work so you can view individual items in the stocks listing.  Then bring it up and press del to quickly mark stuff.  To adjust the key repeat rate, edit the KEY_HOLD_MS value in \data\init\init.txt.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
del::&lt;br /&gt;
IfWinActive Dwarf Fortress&lt;br /&gt;
{&lt;br /&gt;
  send d{down}&lt;br /&gt;
  return&lt;br /&gt;
}&lt;br /&gt;
else&lt;br /&gt;
{&lt;br /&gt;
  send {del}&lt;br /&gt;
  return&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Designation Dump====&lt;br /&gt;
A dumping script by [[User:Dukederek|Dukederek]]:&lt;br /&gt;
&lt;br /&gt;
This script uses a system similar the commands in the designations menu to mark most of the contents of a large area for dumping. [[User:Dukederek|My talk page]] has more detailed instruction.&lt;br /&gt;
&lt;br /&gt;
Essentially you need to create two text files with the following titles and content. When playing DF it is safe to have blockdumpinit running constantly as long as you dont plan on using the ctrl-d combination for something else.&lt;br /&gt;
&lt;br /&gt;
'''blockdumpinit.ahk'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
^d::&lt;br /&gt;
RunWait, &amp;quot;blockdumpmain.ahk&amp;quot;&lt;br /&gt;
Return&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''blockdumpmain.ahk'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SetKeyDelay 25&lt;br /&gt;
return::&lt;br /&gt;
Send k&lt;br /&gt;
return&lt;br /&gt;
up::&lt;br /&gt;
Send w&lt;br /&gt;
return&lt;br /&gt;
left::&lt;br /&gt;
Send a&lt;br /&gt;
return&lt;br /&gt;
down::&lt;br /&gt;
Send s&lt;br /&gt;
return&lt;br /&gt;
right::&lt;br /&gt;
Send d&lt;br /&gt;
return&lt;br /&gt;
q::&lt;br /&gt;
ExitApp&lt;br /&gt;
return&lt;br /&gt;
shift::&lt;br /&gt;
x := 0&lt;br /&gt;
y := 1&lt;br /&gt;
Loop{&lt;br /&gt;
Input, keypress, B, {esc} , w,a,s,d,k,q&lt;br /&gt;
if keypress = w&lt;br /&gt;
{&lt;br /&gt;
y := --y&lt;br /&gt;
Send {up}&lt;br /&gt;
continue&lt;br /&gt;
}else if keypress = s&lt;br /&gt;
{&lt;br /&gt;
y := ++y&lt;br /&gt;
Send {down}&lt;br /&gt;
continue&lt;br /&gt;
}else if keypress = a&lt;br /&gt;
{&lt;br /&gt;
x := --x&lt;br /&gt;
Send {left}&lt;br /&gt;
continue&lt;br /&gt;
}else if keypress = d&lt;br /&gt;
{&lt;br /&gt;
x := ++x&lt;br /&gt;
Send {right}&lt;br /&gt;
continue&lt;br /&gt;
}else if keypress = k &lt;br /&gt;
{&lt;br /&gt;
break&lt;br /&gt;
}else if keypress = q&lt;br /&gt;
{&lt;br /&gt;
ExitApp&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
y := y / 2&lt;br /&gt;
z := y&lt;br /&gt;
z := Floor(z)&lt;br /&gt;
z := y/z&lt;br /&gt;
Send d{NumpadAdd}d&lt;br /&gt;
If z = 0&lt;br /&gt;
{	&lt;br /&gt;
If x = 0&lt;br /&gt;
ExitApp&lt;br /&gt;
Else{&lt;br /&gt;
Loop %x%{&lt;br /&gt;
Send {left}d&lt;br /&gt;
}ExitApp&lt;br /&gt;
}&lt;br /&gt;
}If z &amp;lt;&amp;gt; 1&lt;br /&gt;
{&lt;br /&gt;
Loop %y%{&lt;br /&gt;
Loop %x%{&lt;br /&gt;
Send {left}d{NumpadAdd}d&lt;br /&gt;
}Send {up}d&lt;br /&gt;
Loop %x%{&lt;br /&gt;
Send {right}d{NumpadAdd}d&lt;br /&gt;
}Send {up}d{NumpadAdd}d&lt;br /&gt;
}Loop %x%{&lt;br /&gt;
Send {left}d{NumpadAdd}d&lt;br /&gt;
}&lt;br /&gt;
}Else If z = 1&lt;br /&gt;
{&lt;br /&gt;
y := y + 0.5&lt;br /&gt;
Loop %y%{&lt;br /&gt;
Loop %x%{&lt;br /&gt;
Send {left}d{NumpadAdd}d&lt;br /&gt;
}Send {up}d&lt;br /&gt;
Loop %x%{&lt;br /&gt;
Send {right}d{NumpadAdd}d&lt;br /&gt;
}Send {up}d{NumpadAdd}d&lt;br /&gt;
}Send d{NumpadSub}d&lt;br /&gt;
}ExitApp&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Rewalling ===&lt;br /&gt;
Taken from [[User:Valdemar|Valdemar's user page]].&lt;br /&gt;
&lt;br /&gt;
This is a macro to aid with rewalling. To use, copy-paste the script into a new .ahk file and run the script with AutoHotkey. Then, in Dwarf Fortress, press b-C-w, move the cursor to where you want to start the wall, and hold Ctrl-Shift-Arrowkey, using the direction you want to rewall in. To build floors, press b-C-f instead, and use Ctrl-Alt-Arrowkey. To stop, just release the keys.&lt;br /&gt;
&lt;br /&gt;
The script will use the first material in the list. I suggest you create a stockpile near the construction site that only accepts the item you wish to build with and temporarily forbid any nearby materials you don't want to build with. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$^+Left:: ProcessEvent(&amp;quot;Left&amp;quot;,&amp;quot;w&amp;quot;)&lt;br /&gt;
$^+Right:: ProcessEvent(&amp;quot;Right&amp;quot;,&amp;quot;w&amp;quot;)&lt;br /&gt;
$^+Up:: ProcessEvent(&amp;quot;Up&amp;quot;,&amp;quot;w&amp;quot;)&lt;br /&gt;
$^+Down:: ProcessEvent(&amp;quot;Down&amp;quot;,&amp;quot;w&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
$^!Left:: ProcessEvent(&amp;quot;Left&amp;quot;,&amp;quot;f&amp;quot;)&lt;br /&gt;
$^!Right:: ProcessEvent(&amp;quot;Right&amp;quot;,&amp;quot;f&amp;quot;)&lt;br /&gt;
$^!Up:: ProcessEvent(&amp;quot;Up&amp;quot;,&amp;quot;f&amp;quot;)&lt;br /&gt;
$^!Down:: ProcessEvent(&amp;quot;Down&amp;quot;,&amp;quot;f&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ProcessEvent(direction, type)&lt;br /&gt;
{   &lt;br /&gt;
    Send {Enter}&lt;br /&gt;
    Sleep 100&lt;br /&gt;
    Send {Enter}&lt;br /&gt;
    Sleep 100&lt;br /&gt;
    Send %type%&lt;br /&gt;
    Sleep 100&lt;br /&gt;
    Send {%direction%}&lt;br /&gt;
    Loop&lt;br /&gt;
    {&lt;br /&gt;
        if not GetKeyState(direction, &amp;quot;P&amp;quot;) &lt;br /&gt;
            break  &lt;br /&gt;
        Send {Enter}&lt;br /&gt;
        Sleep 100&lt;br /&gt;
        Send {Enter}&lt;br /&gt;
        Sleep 100&lt;br /&gt;
        Send %type%&lt;br /&gt;
        Sleep 100&lt;br /&gt;
        Send {%direction%}&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Grid-by-grid designation===&lt;br /&gt;
For easier diagonal and fancy mining.  Assumes that DF is active.  &amp;quot;^!&amp;quot; means ctrl-alt-direction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
^!NumpadEnd::&lt;br /&gt;
send {Enter}{Enter}{NumpadEnd}&lt;br /&gt;
return&lt;br /&gt;
^!NumpadDown::&lt;br /&gt;
send {Enter}{Enter}{NumpadDown}&lt;br /&gt;
return&lt;br /&gt;
^!NumpadPgDn::&lt;br /&gt;
send {Enter}{Enter}{NumpadPgDn}&lt;br /&gt;
return&lt;br /&gt;
^!NumpadLeft::&lt;br /&gt;
send {Enter}{Enter}{NumpadLeft}&lt;br /&gt;
return&lt;br /&gt;
^!NumpadRight::&lt;br /&gt;
send {Enter}{Enter}{NumpadRight}&lt;br /&gt;
return&lt;br /&gt;
^!NumpadHome::&lt;br /&gt;
send {Enter}{Enter}{NumpadHome}&lt;br /&gt;
return&lt;br /&gt;
^!NumpadUp::&lt;br /&gt;
send {Enter}{Enter}{NumpadUp}&lt;br /&gt;
return&lt;br /&gt;
^!NumpadPgUp::&lt;br /&gt;
send {Enter}{Enter}{NumpadPgUp}&lt;br /&gt;
return&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Embark Settings macros===&lt;br /&gt;
These macros are used to ease the setup of skills and supplies before you embark.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Improved Food/Alcohol buying macro====&lt;br /&gt;
This macro buys all the cost-2 food (that I have seen), as well as the four types of alcohol.  Just press ctrl+f on the Items screen.&lt;br /&gt;
It can deal with meat or drink that you already have, or is not currently featured.   By [[User:Redfenix|Redfenix]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
^f::&lt;br /&gt;
&lt;br /&gt;
send ndwarven{SPACE}ale{RIGHT}{ENTER}{F9}&lt;br /&gt;
send ndwarven{SPACE}rum{RIGHT}{ENTER}{F9}&lt;br /&gt;
send ndwarven{SPACE}beer{RIGHT}{ENTER}{F9}&lt;br /&gt;
send ndwarven{SPACE}wine{RIGHT}{ENTER}{F9}&lt;br /&gt;
send ndonkey{SPACE}meat{RIGHT}{ENTER}{F9}&lt;br /&gt;
send nchimpanzee{SPACE}meat{RIGHT}{ENTER}{F9}&lt;br /&gt;
send ngazelle{SPACE}meat{RIGHT}{ENTER}{F9}&lt;br /&gt;
send nbonobo{SPACE}meat{RIGHT}{ENTER}{F9}&lt;br /&gt;
send nmule{SPACE}meat{RIGHT}{ENTER}{F9}&lt;br /&gt;
send ndeer{SPACE}meat{RIGHT}{ENTER}{F9}&lt;br /&gt;
send nraccoon{SPACE}meat{RIGHT}{ENTER}{F9}&lt;br /&gt;
send nfox{SPACE}meat{RIGHT}{ENTER}{F9}&lt;br /&gt;
send nrhesus{SPACE}macaque{SPACE}meat{RIGHT}{ENTER}{F9}&lt;br /&gt;
send nhorse{SPACE}meat{RIGHT}{ENTER}{F9}&lt;br /&gt;
send ngroundhog{SPACE}meat{RIGHT}{ENTER}{F9}&lt;br /&gt;
send nmountain{SPACE}goat{SPACE}meat{RIGHT}{ENTER}{F9}&lt;br /&gt;
send nhoary{SPACE}marmot{SPACE}meat{RIGHT}{ENTER}{F9}&lt;br /&gt;
send ngorilla{SPACE}meat{RIGHT}{ENTER}{F9}&lt;br /&gt;
send norangutan{SPACE}meat{RIGHT}{ENTER}{F9}&lt;br /&gt;
send nsiamang{SPACE}meat{RIGHT}{ENTER}{F9}&lt;br /&gt;
send nbilou{SPACE}meat{RIGHT}{ENTER}{F9}&lt;br /&gt;
send npileated{SPACE}gibbon{SPACE}meat{RIGHT}{ENTER}{F9}&lt;br /&gt;
send nmandrill{SPACE}meat{RIGHT}{ENTER}{F9}&lt;br /&gt;
send nturtle{RIGHT}{ENTER}{F9}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===='First Fortress' setup====&lt;br /&gt;
This macro works with the default setup of DF, and starts you with (almost) the setup suggested in the &amp;quot;Your first fortress&amp;quot; tutorial.  The amounts are adjustable with the variables at the top of the macro.&lt;br /&gt;
&amp;lt;pre&amp;gt;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;br /&gt;
; materialplanner.ahk					  	;&lt;br /&gt;
; this is a ahk script to set up the embark settings roughly as	;&lt;br /&gt;
;suggested in the &amp;quot;your first fortress&amp;quot; tutorial.  Inventory	;&lt;br /&gt;
;can be customized slightly.					;&lt;br /&gt;
; use ctrl+shift+e to run				  	;&lt;br /&gt;
;							  	;&lt;br /&gt;
; NOTEs:						  	;&lt;br /&gt;
; change variables to suit your desires			 	;&lt;br /&gt;
; the fourth guy is a Stonecrafter instead of Herbalist		;&lt;br /&gt;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;br /&gt;
&lt;br /&gt;
;;;;;;;;;;;;;&lt;br /&gt;
;;VARIABLES;;&lt;br /&gt;
;;;;;;;;;;;;;&lt;br /&gt;
&lt;br /&gt;
PICKS = 2	;number of picks to pack&lt;br /&gt;
AXES = 1 	;number of axes to pack&lt;br /&gt;
ANVILS = 0	;number of anvils to pack&lt;br /&gt;
MEATS = 7	;how much meat to take, each buys one of each cheap type (total number depends on locale)&lt;br /&gt;
DRINKS = 26	;how many drinks to take, each one buys 4 drinks, one of each type&lt;br /&gt;
SEEDS = 5	;each increment buys 5 plump helmet spawn, 2 pig tail, and 2 rock nuts&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
SetKeyDelay, 12	;Key delay, to keep Dwarf Fortress from being overwhelmed.&lt;br /&gt;
		;Set higher if you get weird results, or lower to get the&lt;br /&gt;
		;script to run faster&lt;br /&gt;
SLEEPTIME = 12	;same thing, only used in the repeated key press loops though&lt;br /&gt;
&lt;br /&gt;
;;;;;;;;;;;;&lt;br /&gt;
;;The code;;&lt;br /&gt;
;;;;;;;;;;;;&lt;br /&gt;
&lt;br /&gt;
^+e::&lt;br /&gt;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;br /&gt;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
			;remove all of the items&lt;br /&gt;
Send {Tab}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
loop 105{&lt;br /&gt;
	Send {NumpadSub}&lt;br /&gt;
	Sleep %SLEEPTIME%&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
Send {Tab}&lt;br /&gt;
&lt;br /&gt;
			;place the skills&lt;br /&gt;
			;first guy&lt;br /&gt;
			;Proficient Miner&lt;br /&gt;
Send {right}&lt;br /&gt;
loop 5{&lt;br /&gt;
	Send {NumpadAdd}&lt;br /&gt;
	Sleep %SLEEPTIME%&lt;br /&gt;
}&lt;br /&gt;
			;novice appraiser&lt;br /&gt;
Send {PgUp}&lt;br /&gt;
loop 7{&lt;br /&gt;
	Send {Up}&lt;br /&gt;
	Sleep %SLEEPTIME%&lt;br /&gt;
}&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
			;novice Judge of Intent&lt;br /&gt;
Send {Up}&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
			;competent gem setter&lt;br /&gt;
Send {PgUp}&lt;br /&gt;
Send {PgUp}&lt;br /&gt;
loop 7{&lt;br /&gt;
	Send {Up}&lt;br /&gt;
	Sleep %SLEEPTIME%&lt;br /&gt;
}&lt;br /&gt;
loop 3{&lt;br /&gt;
	Send {NumpadAdd}&lt;br /&gt;
	Sleep %SLEEPTIME%&lt;br /&gt;
}&lt;br /&gt;
			;second guy&lt;br /&gt;
Send {Left}&lt;br /&gt;
Send {Down}&lt;br /&gt;
Send {Right}&lt;br /&gt;
Send {PgUp}&lt;br /&gt;
			;Proficient Miner&lt;br /&gt;
loop 5{&lt;br /&gt;
	Send {NumpadAdd}&lt;br /&gt;
	Sleep %SLEEPTIME%&lt;br /&gt;
}&lt;br /&gt;
			;Proficient Mason&lt;br /&gt;
loop 3{&lt;br /&gt;
	Send {Down}&lt;br /&gt;
	Sleep %SLEEPTIME%&lt;br /&gt;
}&lt;br /&gt;
loop 5{&lt;br /&gt;
	Send {NumpadAdd}&lt;br /&gt;
	Sleep %SLEEPTIME%&lt;br /&gt;
}&lt;br /&gt;
			;third guy&lt;br /&gt;
Send {Left}&lt;br /&gt;
Send {Down}&lt;br /&gt;
Send {Right}&lt;br /&gt;
			;Proficient Carpenter&lt;br /&gt;
Send {UP}&lt;br /&gt;
loop 5{&lt;br /&gt;
	Send {NumpadAdd}&lt;br /&gt;
	Sleep %SLEEPTIME%&lt;br /&gt;
}&lt;br /&gt;
			;Proficient Wood Cutter&lt;br /&gt;
Send {UP}&lt;br /&gt;
loop 5{&lt;br /&gt;
	Send {NumpadAdd}&lt;br /&gt;
	Sleep %SLEEPTIME%&lt;br /&gt;
}&lt;br /&gt;
			;fourth guy&lt;br /&gt;
Send {Left}&lt;br /&gt;
Send {Down}&lt;br /&gt;
Send {Right}&lt;br /&gt;
			;Proficient Grower&lt;br /&gt;
Send {PgDn}&lt;br /&gt;
Send {Down}&lt;br /&gt;
Send {Down}&lt;br /&gt;
loop 5{&lt;br /&gt;
	Send {NumpadAdd}&lt;br /&gt;
	Sleep %SLEEPTIME%&lt;br /&gt;
}&lt;br /&gt;
			;Proficient Stone Crafter&lt;br /&gt;
loop 9{&lt;br /&gt;
	Send {Up}&lt;br /&gt;
	Sleep %SLEEPTIME%&lt;br /&gt;
}&lt;br /&gt;
loop 5{&lt;br /&gt;
	Send {NumpadAdd}&lt;br /&gt;
	Sleep %SLEEPTIME%&lt;br /&gt;
}&lt;br /&gt;
			;fifth guy&lt;br /&gt;
Send {Left}&lt;br /&gt;
Send {Down}&lt;br /&gt;
Send {Right}&lt;br /&gt;
			;Proficient Mechanic&lt;br /&gt;
loop 5{&lt;br /&gt;
	Send {Down}&lt;br /&gt;
	Sleep %SLEEPTIME%&lt;br /&gt;
}&lt;br /&gt;
loop 5{&lt;br /&gt;
	Send {NumpadAdd}&lt;br /&gt;
	Sleep %SLEEPTIME%&lt;br /&gt;
}&lt;br /&gt;
			;Proficient Building Designer&lt;br /&gt;
Send {PgUp}&lt;br /&gt;
loop 5{&lt;br /&gt;
	Send {Down}&lt;br /&gt;
	Sleep %SLEEPTIME%&lt;br /&gt;
}&lt;br /&gt;
loop 5{&lt;br /&gt;
	Send {NumpadAdd}&lt;br /&gt;
	Sleep %SLEEPTIME%&lt;br /&gt;
}&lt;br /&gt;
			;sixth guy&lt;br /&gt;
Send {Left}&lt;br /&gt;
Send {Down}&lt;br /&gt;
Send {Right}&lt;br /&gt;
			;Proficient Weaponsmith&lt;br /&gt;
loop 1{&lt;br /&gt;
	Send {Down}&lt;br /&gt;
	Sleep %SLEEPTIME%&lt;br /&gt;
}&lt;br /&gt;
loop 5{&lt;br /&gt;
	Send {NumpadAdd}&lt;br /&gt;
	Sleep %SLEEPTIME%&lt;br /&gt;
}&lt;br /&gt;
			;Proficient Armorsmith&lt;br /&gt;
loop 2{&lt;br /&gt;
	Send {Down}&lt;br /&gt;
	Sleep %SLEEPTIME%&lt;br /&gt;
}&lt;br /&gt;
loop 5{&lt;br /&gt;
	Send {NumpadAdd}&lt;br /&gt;
	Sleep %SLEEPTIME%&lt;br /&gt;
}&lt;br /&gt;
			;seventh guy&lt;br /&gt;
Send {Left}&lt;br /&gt;
Send {Down}&lt;br /&gt;
Send {Right}&lt;br /&gt;
			;Proficient Cook&lt;br /&gt;
Send {PgDn}&lt;br /&gt;
loop 2{&lt;br /&gt;
	Send {Up}&lt;br /&gt;
	Sleep %SLEEPTIME%&lt;br /&gt;
}&lt;br /&gt;
loop 5{&lt;br /&gt;
	Send {NumpadAdd}&lt;br /&gt;
	Sleep %SLEEPTIME%&lt;br /&gt;
}&lt;br /&gt;
			;Proficient Brewer&lt;br /&gt;
loop 1{&lt;br /&gt;
	Send {Up}&lt;br /&gt;
	Sleep %SLEEPTIME%&lt;br /&gt;
}&lt;br /&gt;
loop 5{&lt;br /&gt;
	Send {NumpadAdd}&lt;br /&gt;
	Sleep %SLEEPTIME%&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;br /&gt;
&lt;br /&gt;
			;do the inventory&lt;br /&gt;
Send {Tab}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;br /&gt;
			;Meat&lt;br /&gt;
&lt;br /&gt;
if MEATS &amp;gt; 0&lt;br /&gt;
{&lt;br /&gt;
tmp := MEATS - 1&lt;br /&gt;
send ndonkey{SPACE}meat{RIGHT}{ENTER}&lt;br /&gt;
loop %tmp%{&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
}&lt;br /&gt;
Send {F9}&lt;br /&gt;
send nchimpanzee{SPACE}meat{RIGHT}{ENTER}&lt;br /&gt;
loop %tmp%{&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
}&lt;br /&gt;
Send {F9}&lt;br /&gt;
send ngazelle{SPACE}meat{RIGHT}{ENTER}&lt;br /&gt;
loop %tmp%{&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
}&lt;br /&gt;
Send {F9}&lt;br /&gt;
send nbonobo{SPACE}meat{RIGHT}{ENTER}&lt;br /&gt;
loop %tmp%{&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
}&lt;br /&gt;
Send {F9}&lt;br /&gt;
send nmule{SPACE}meat{RIGHT}{ENTER}&lt;br /&gt;
loop %tmp%{&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
}&lt;br /&gt;
Send {F9}&lt;br /&gt;
send ndeer{SPACE}meat{RIGHT}{ENTER}&lt;br /&gt;
loop %tmp%{&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
}&lt;br /&gt;
Send {F9}&lt;br /&gt;
send nraccoon{SPACE}meat{RIGHT}{ENTER}&lt;br /&gt;
loop %tmp%{&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
}&lt;br /&gt;
Send {F9}&lt;br /&gt;
send nfox{SPACE}meat{RIGHT}{ENTER}&lt;br /&gt;
loop %tmp%{&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
}&lt;br /&gt;
Send {F9}&lt;br /&gt;
send nrhesus{SPACE}macaque{SPACE}meat{RIGHT}{ENTER}&lt;br /&gt;
loop %tmp%{&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
}&lt;br /&gt;
Send {F9}&lt;br /&gt;
send nhorse{SPACE}meat{RIGHT}{ENTER}&lt;br /&gt;
loop %tmp%{&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
}&lt;br /&gt;
Send {F9}&lt;br /&gt;
send ngroundhog{SPACE}meat{RIGHT}{ENTER}&lt;br /&gt;
loop %tmp%{&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
}&lt;br /&gt;
Send {F9}&lt;br /&gt;
send nmountain{SPACE}goat{SPACE}meat{RIGHT}{ENTER}&lt;br /&gt;
loop %tmp%{&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
}&lt;br /&gt;
Send {F9}&lt;br /&gt;
send nhoary{SPACE}marmot{SPACE}meat{RIGHT}{ENTER}&lt;br /&gt;
loop %tmp%{&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
}&lt;br /&gt;
Send {F9}&lt;br /&gt;
send ngorilla{SPACE}meat{RIGHT}{ENTER}&lt;br /&gt;
loop %tmp%{&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
}&lt;br /&gt;
Send {F9}&lt;br /&gt;
send norangutan{SPACE}meat{RIGHT}{ENTER}&lt;br /&gt;
loop %tmp%{&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
}&lt;br /&gt;
Send {F9}&lt;br /&gt;
send nsiamang{SPACE}meat{RIGHT}{ENTER}&lt;br /&gt;
loop %tmp%{&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
}&lt;br /&gt;
Send {F9}&lt;br /&gt;
send nbilou{SPACE}meat{RIGHT}{ENTER}&lt;br /&gt;
loop %tmp%{&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
}&lt;br /&gt;
Send {F9}&lt;br /&gt;
send npileated{SPACE}gibbon{SPACE}meat{RIGHT}{ENTER}&lt;br /&gt;
loop %tmp%{&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
}&lt;br /&gt;
Send {F9}&lt;br /&gt;
send nmandrill{SPACE}meat{RIGHT}{ENTER}&lt;br /&gt;
loop %tmp%{&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
}&lt;br /&gt;
Send {F9}&lt;br /&gt;
send nturtle{RIGHT}{ENTER}&lt;br /&gt;
loop %tmp%{&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
}&lt;br /&gt;
Send {F9}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
			;copper picks&lt;br /&gt;
if PICKS &amp;gt; 0&lt;br /&gt;
{&lt;br /&gt;
Send {n}copper picks{Right}{Enter}&lt;br /&gt;
tmp := PICKS - 1&lt;br /&gt;
loop %tmp%{&lt;br /&gt;
	Send {NumpadAdd}&lt;br /&gt;
	Sleep %SLEEPTIME%&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
			;Axes&lt;br /&gt;
if AXES &amp;gt; 0&lt;br /&gt;
{&lt;br /&gt;
Send {n}steel axes{Right}{Enter}&lt;br /&gt;
tmp := AXES - 1&lt;br /&gt;
loop %tmp%{&lt;br /&gt;
	Send {NumpadAdd}&lt;br /&gt;
	Sleep %SLEEPTIME%&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
			;Seeds&lt;br /&gt;
if SEEDS &amp;gt; 0&lt;br /&gt;
{&lt;br /&gt;
send {n}Rock nuts{Right}{Enter}&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
send {n}plump helmet spawn{Right}{Enter}&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
send {n}Pig tail Seeds{Right}{Enter}&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
&lt;br /&gt;
tmp := SEEDS - 1&lt;br /&gt;
loop %tmp%{&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
}&lt;br /&gt;
Send {up}&lt;br /&gt;
loop %tmp%{&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
}&lt;br /&gt;
Send {up}&lt;br /&gt;
loop %tmp%{&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
			;Anvils&lt;br /&gt;
if ANVILS &amp;gt; 0&lt;br /&gt;
{&lt;br /&gt;
Send {n}iron anvils{Right}{Enter}&lt;br /&gt;
tmp := ANVILS - 1&lt;br /&gt;
loop %tmp%{&lt;br /&gt;
	Send {NumpadAdd}&lt;br /&gt;
	Sleep %SLEEPTIME%&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
			;Drinks&lt;br /&gt;
if DRINKS &amp;gt; 0{&lt;br /&gt;
send {n}Dwarven ale{Right}{Enter}&lt;br /&gt;
send {n}Dwarven beer{Right}{Enter}&lt;br /&gt;
send {n}Dwarven wine{Right}{Enter}&lt;br /&gt;
send {n}Dwarven rum{Right}{Enter}&lt;br /&gt;
&lt;br /&gt;
tmp := DRINKS - 1&lt;br /&gt;
loop 4{&lt;br /&gt;
loop %tmp%{&lt;br /&gt;
Send {NumpadAdd}&lt;br /&gt;
}&lt;br /&gt;
Send {up}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
return&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===A more modular approach===&lt;br /&gt;
Hit WIN+G to go once you are on the empty item screen&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#g::&lt;br /&gt;
;add an anvil&lt;br /&gt;
Additem(&amp;quot;iron anvils&amp;quot;,1)&lt;br /&gt;
;add 31 of the boozes (kind of iffy might end up with dwarven cheese or something if the civilization does not have 4 boozes)&lt;br /&gt;
Additem(&amp;quot;dw&amp;quot;,31)&lt;br /&gt;
Additem(&amp;quot;dw&amp;quot;,31)&lt;br /&gt;
Additem(&amp;quot;dw&amp;quot;,31)&lt;br /&gt;
Additem(&amp;quot;dw&amp;quot;,31)&lt;br /&gt;
;adds copper nuggets &lt;br /&gt;
Additem(&amp;quot;copper n&amp;quot;,5)&lt;br /&gt;
;adds cassiterite&lt;br /&gt;
Additem(&amp;quot;cass&amp;quot;,5)&lt;br /&gt;
;bitumous coal&lt;br /&gt;
Additem(&amp;quot;coal&amp;quot;,5)&lt;br /&gt;
;tower cap logs&lt;br /&gt;
Additem(&amp;quot;logs&amp;quot;,11)&lt;br /&gt;
return&lt;br /&gt;
&lt;br /&gt;
IsCurrentItemThere()&lt;br /&gt;
{&lt;br /&gt;
	;color of text in the new item screen 0xFFFF00(selected) or 0x808000 (unselected)&lt;br /&gt;
	;location of text in the new item screen 305, 150&lt;br /&gt;
	PixelSearch, , , 305, 150, 315, 160, 0x808000, 3,&lt;br /&gt;
	return !ErrorLevel&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
AddItem(name,amount)&lt;br /&gt;
{&lt;br /&gt;
	Sleep 100&lt;br /&gt;
	amount -= 1&lt;br /&gt;
	SetKeyDelay 150&lt;br /&gt;
	SendInput n&lt;br /&gt;
	SendInput %name%&lt;br /&gt;
	;MsgBox Name Check&lt;br /&gt;
	Sleep 200&lt;br /&gt;
	if IsCurrentItemThere() &lt;br /&gt;
	{&lt;br /&gt;
		Sleep 200&lt;br /&gt;
		SendInput {Right}&lt;br /&gt;
		SendInput {Enter}&lt;br /&gt;
		Sleep 200&lt;br /&gt;
		Loop&lt;br /&gt;
		{&lt;br /&gt;
			if amount &amp;lt;= 0 &lt;br /&gt;
			{&lt;br /&gt;
				break&lt;br /&gt;
			}&lt;br /&gt;
			SendInput {NumpadAdd}&lt;br /&gt;
			Sleep 10&lt;br /&gt;
			amount --&lt;br /&gt;
		}&lt;br /&gt;
		;MsgBox Done&lt;br /&gt;
	}&lt;br /&gt;
	else &lt;br /&gt;
	{&lt;br /&gt;
		SendInput {F9}&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Bed Assigning macro===&lt;br /&gt;
This will assign bedrooms to your dwarfs. Press F3 followed by a single digit indicating how many beds to assign. Can repeat the action, as the number of beds assigned is stored in a counter. Room size is default, but easily edited into the script. By [[User:Napsterbater|Napsterbater]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bedcounter = 0&lt;br /&gt;
F3::&lt;br /&gt;
  Input, counter, L1&lt;br /&gt;
  SetKeyDelay, 100&lt;br /&gt;
  loop  %counter% {&lt;br /&gt;
    loop %bedcounter%&lt;br /&gt;
      send {Down}&lt;br /&gt;
    loop % A_Index - 1&lt;br /&gt;
      send {Down}&lt;br /&gt;
    send {q}{r}{Enter}{a}&lt;br /&gt;
    loop %bedcounter%&lt;br /&gt;
      send {NumPadAdd}&lt;br /&gt;
    loop % A_Index - 1&lt;br /&gt;
      send {NumPadAdd}&lt;br /&gt;
    send {NumPadAdd}{Enter}&lt;br /&gt;
    send {space}{r}&lt;br /&gt;
  }&lt;br /&gt;
  bedcounter += counter&lt;br /&gt;
return&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Room-designation macros===&lt;br /&gt;
&lt;br /&gt;
====Valdemar's Designator Macro====&lt;br /&gt;
This macro can read a spreadsheet and designate rooms according to it. [http://www.bay12games.com/forum/index.php?topic=1428.0 Version 1]&lt;br /&gt;
&lt;br /&gt;
Version 2 of this macro apparently only works in versions up to and including 38c {{verify}}, and can be found here: [http://www.bay12games.com/forum/index.php?topic=1890.0 Version 2]&lt;br /&gt;
&lt;br /&gt;
====Fedor's chambered circle====&lt;br /&gt;
A circular room with eight equal-sized chambers, suitable for everything from housing to workshops to a mausoleum.&amp;lt;br&amp;gt;&lt;br /&gt;
[http://mkv25.net/dfma/movie-216-room-designationmacro01 See this macro in action]&amp;lt;br&amp;gt;&lt;br /&gt;
{{L|Macros_and_Keymaps_Examples#Room-designation Macro 01|Macro text}}&lt;br /&gt;
&lt;br /&gt;
====Valdemar's bedroom complex====&lt;br /&gt;
A large fractal bedroom/dining complex, with 56 bedrooms and room for 24 tables.&lt;br /&gt;
&lt;br /&gt;
You can press Alt-B to create a bedroom block, or Alt-C to create a full complex with 4 bedroom blocks and a dining block in the center.&lt;br /&gt;
&lt;br /&gt;
Note - the macro is much faster than the demo movie shows, it is done in under a minute.&lt;br /&gt;
&lt;br /&gt;
[http://mkv25.net/dfma/movie-252 Demo Movie]&lt;br /&gt;
&lt;br /&gt;
[http://www.pindi.us/files/fractalbr.zip Download]&lt;br /&gt;
&lt;br /&gt;
====Tulip's room macros====&lt;br /&gt;
Based on {{L|Bedroom_design|the bedroom designs.}}&lt;br /&gt;
&lt;br /&gt;
^g means alt+g, !g means ctrl+g, and so on.&lt;br /&gt;
Open up the designations window before using these:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; This will make a basic 'x' pattern workshop/room layout&lt;br /&gt;
; and will 'land' back on the same tile it starts on each time,&lt;br /&gt;
; which happens to be the center.&lt;br /&gt;
; It is modified so that you will have 3 staircases, and an extra tile&lt;br /&gt;
; because many workshops do not have corner access.&lt;br /&gt;
!r::&lt;br /&gt;
Send di2{enter}88{enter}4d{enter}4{enter}67{enter}77{enter}66666666&lt;br /&gt;
Send {enter}11{enter}1{enter}6{enter}114{enter}4{enter}2{enter}11{enter}&lt;br /&gt;
Send 66666666{enter}77{enter}7{enter}6{enter}74&lt;br /&gt;
return&lt;br /&gt;
&lt;br /&gt;
; This makes GnomeChomsky's Tessellated Apartments, bedrooms only.&lt;br /&gt;
; Your cursor will be over the left staircase.&lt;br /&gt;
!g::&lt;br /&gt;
Send i999866{enter}{enter}33332{enter}{enter}11114{enter}{enter}&lt;br /&gt;
Send d3{enter}22{enter}4{enter}{enter}&lt;br /&gt;
Send 78{enter}44{enter}8{enter}{enter}&lt;br /&gt;
Send 96{enter}88{enter}6{enter}{enter}	&lt;br /&gt;
Send 32{enter}66{enter}2{enter}{enter}&lt;br /&gt;
Send 96{enter}{enter}6{enter}88{enter}&lt;br /&gt;
Send 96{enter}{enter}8{enter}44{enter}&lt;br /&gt;
Send 1444{enter}{enter}2{enter}66{enter}&lt;br /&gt;
Send 88{enter}88{enter}6{enter}{enter}&lt;br /&gt;
Send 78{enter}{enter}8{enter}44{enter}&lt;br /&gt;
Send 78{enter}{enter}4{enter}22{enter}&lt;br /&gt;
Send 14{enter}{enter}2{enter}66{enter}&lt;br /&gt;
Send 66{enter}22{enter}4{enter}{enter}&lt;br /&gt;
Send 14{enter}{enter}8{enter}44{enter}&lt;br /&gt;
Send 78{enter}{enter}4{enter}22{enter}&lt;br /&gt;
Send 14{enter}{enter}2{enter}66{enter}&lt;br /&gt;
Send 32{enter}{enter}6{enter}88{enter}7i{enter}{enter}&lt;br /&gt;
return&lt;br /&gt;
&lt;br /&gt;
; This makes GnomeChomsky's Tessellated Apartments, bedrooms plus dining.&lt;br /&gt;
; Everything above applies.&lt;br /&gt;
^g::&lt;br /&gt;
Send i{enter}{enter}999866{enter}{enter}33332{enter}{enter}11114{enter}{enter}d&lt;br /&gt;
Send 444{enter}{enter}2{enter}66{enter}&lt;br /&gt;
Send 32{enter}{enter}6{enter}88{enter}&lt;br /&gt;
Send 9966{enter}{enter}6{enter}88{enter}&lt;br /&gt;
Send 96{enter}{enter}8{enter}44{enter}&lt;br /&gt;
Send 7788{enter}{enter}8{enter}44{enter}&lt;br /&gt;
Send 78{enter}{enter}4{enter}22{enter}&lt;br /&gt;
Send 1144{enter}{enter}4{enter}22{enter}&lt;br /&gt;
Send 14{enter}{enter}2{enter}66{enter}&lt;br /&gt;
Send 36{enter}8886666666{enter}&lt;br /&gt;
Send 9{enter}4444444{enter}&lt;br /&gt;
Send 8{enter}6666{enter}744{enter}{enter}&lt;br /&gt;
Send 222222441{enter}6666666{enter}&lt;br /&gt;
Send {enter}22{enter}8{enter}4444{enter}&lt;br /&gt;
Send 7778&lt;br /&gt;
return&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
; This makes THLawrence's Living Pods (the A is for Arabia).&lt;br /&gt;
; Put your cursor where you want the upper left staircase to be.&lt;br /&gt;
; Like my other scripts, it recenters on that tile.&lt;br /&gt;
; Also, thank you THLawrence, this one was really easy write!&lt;br /&gt;
!a::&lt;br /&gt;
Send i{enter}{enter}d7{enter}7{enter}666{enter}3{enter}22{enter}1{enter}44{enter}7{enter}&lt;br /&gt;
Send 96666666&lt;br /&gt;
Send i{enter}{enter}d7{enter}7{enter}666{enter}3{enter}22{enter}1{enter}44{enter}7{enter}&lt;br /&gt;
Send 33222&lt;br /&gt;
Send i{enter}{enter}d7{enter}7{enter}666{enter}3{enter}22{enter}1{enter}44{enter}7{enter}&lt;br /&gt;
Send 7444&lt;br /&gt;
Send i{enter}{enter}d7{enter}7{enter}666{enter}3{enter}22{enter}1{enter}44{enter}7{enter}&lt;br /&gt;
Send 9988888&lt;br /&gt;
return&lt;br /&gt;
&lt;br /&gt;
; This makes the lobby for THLawrence's Living pods.&lt;br /&gt;
^a::&lt;br /&gt;
Send i{enter}{enter}d7{enter}7{enter}666{enter}3{enter}66{enter}9{enter}66{enter}3{enter}41i{enter}{enter}&lt;br /&gt;
Send 36d{enter}1444444{enter}&lt;br /&gt;
Send 74{enter}1{enter}22{enter}3{enter}3i{enter}{enter}d1{enter}1{enter}666{enter}9{enter}&lt;br /&gt;
Send 66{enter}3{enter}66{enter}9{enter}88{enter}7{enter}74{enter}1144{enter}&lt;br /&gt;
Send 36666i{enter}{enter}777777&lt;br /&gt;
return&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====LordGrunt's room macro====&lt;br /&gt;
Based on 1 of the fractal {{L|Bedroom_design|bedroom designs.}}&lt;br /&gt;
&lt;br /&gt;
[http://mkv25.net/dfma/movie-1226-fractalbedrooms Demo Movie]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
;&lt;br /&gt;
; Fractal Apts&lt;br /&gt;
; Start script while in 'dig' mode with cursor on desired position of left up staircase&lt;br /&gt;
;&lt;br /&gt;
; ALT+G to generate,&lt;br /&gt;
; CTRL+ALT+G to erase in case of failure&lt;br /&gt;
;&lt;br /&gt;
     &lt;br /&gt;
!g::&lt;br /&gt;
base_cross()&lt;br /&gt;
sleep 100&lt;br /&gt;
mid_sqr()&lt;br /&gt;
sleep 100&lt;br /&gt;
corridors()&lt;br /&gt;
sleep 100&lt;br /&gt;
all_rooms()&lt;br /&gt;
return&lt;br /&gt;
&lt;br /&gt;
base_cross()&lt;br /&gt;
{&lt;br /&gt;
Send i{ENTER}3{ENTER}&lt;br /&gt;
Send d1{ENTER}6{SHIFT}+2{SHIFT}+2{SHIFT}+2{SHIFT}+28{ENTER}&lt;br /&gt;
Send d{SHIFT}+8{SHIFT}+8{SHIFT}+8{SHIFT}+888{ENTER}4{SHIFT}+8{SHIFT}+8{SHIFT}+8{SHIFT}+82{ENTER}&lt;br /&gt;
Send d{SHIFT}+2{SHIFT}+2{SHIFT}+2{SHIFT}+24{ENTER}2{SHIFT}+4{SHIFT}+4{SHIFT}+4{SHIFT}+46{ENTER}&lt;br /&gt;
Send d{SHIFT}+6{SHIFT}+6{SHIFT}+6{SHIFT}+666{ENTER}8{SHIFT}+6{SHIFT}+6{SHIFT}+6{SHIFT}+64{ENTER}&lt;br /&gt;
Send d{SHIFT}+4{SHIFT}+4{SHIFT}+4{SHIFT}+4474{SHIFT}+8{SHIFT}+888888{ENTER}66666{SHIFT}+2{SHIFT}+2{SHIFT}+2{SHIFT}+2{SHIFT}+2222{ENTER}8&lt;br /&gt;
Send d{SHIFT}+8{SHIFT}+88884488888{SHIFT}+6{SHIFT}+6666666{ENTER}22222{SHIFT}+4{SHIFT}+4{SHIFT}+4{SHIFT}+4{SHIFT}+4444{ENTER}6&lt;br /&gt;
}&lt;br /&gt;
mid_sqr()&lt;br /&gt;
{&lt;br /&gt;
Send d{SHIFT}+3666&lt;br /&gt;
send d{ENTER}{SHIFT}+9{SHIFT}+999999{ENTER}1{ENTER}9999{ENTER}9{ENTER}111{ENTER}&lt;br /&gt;
send d{SHIFT}+1{SHIFT}+1{SHIFT}+1{ENTER}999{ENTER}99{ENTER}1111{ENTER}99&lt;br /&gt;
send d{SHIFT}+8{SHIFT}+8{SHIFT}+8444{ENTER}333{ENTER}33{ENTER}7777{ENTER}&lt;br /&gt;
send d{SHIFT}+3{SHIFT}+3{SHIFT}+37{ENTER}333{ENTER}7{ENTER}7777{ENTER}&lt;br /&gt;
}&lt;br /&gt;
corridors()&lt;br /&gt;
{&lt;br /&gt;
send d{SHIFT}+7{SHIFT}+7{SHIFT}+7999{ENTER}{SHIFT}+6{SHIFT}+6{SHIFT}+66{ENTER}&lt;br /&gt;
send d333333{ENTER}{SHIFT}+2{SHIFT}+2{SHIFT}+22{ENTER}&lt;br /&gt;
send d111111{ENTER}{SHIFT}+4{SHIFT}+4{SHIFT}+44{ENTER}&lt;br /&gt;
send d777777{ENTER}{SHIFT}+8{SHIFT}+8{SHIFT}+88{ENTER}&lt;br /&gt;
sleep 100&lt;br /&gt;
send d3333222{ENTER}{SHIFT}+466{ENTER}&lt;br /&gt;
send d{SHIFT}+2{SHIFT}+2888{ENTER}{SHIFT}+644{ENTER}&lt;br /&gt;
send d{SHIFT}+9{SHIFT}+9{SHIFT}+6{SHIFT}+6333&lt;br /&gt;
send d{ENTER}{SHIFT}+466{ENTER}&lt;br /&gt;
send d{SHIFT}+2{SHIFT}+2888{ENTER}{SHIFT}+644{ENTER}&lt;br /&gt;
sleep 100&lt;br /&gt;
send d{SHIFT}+4{SHIFT}+1966&lt;br /&gt;
send d{ENTER}{SHIFT}+288{ENTER}&lt;br /&gt;
send d{SHIFT}+4{SHIFT}+4666{ENTER}{SHIFT}+822{ENTER}&lt;br /&gt;
sleep 100&lt;br /&gt;
send d{SHIFT}+9{SHIFT}+9{SHIFT}+8{SHIFT}+8777&lt;br /&gt;
send d{ENTER}{SHIFT}+288{ENTER}&lt;br /&gt;
send d{SHIFT}+4{SHIFT}+4666{ENTER}{SHIFT}+822{ENTER}&lt;br /&gt;
sleep 100&lt;br /&gt;
send d999988{ENTER}{SHIFT}+64{ENTER}&lt;br /&gt;
send d{SHIFT}+3{SHIFT}+3{SHIFT}+3777{ENTER}{SHIFT}+28{ENTER}&lt;br /&gt;
send d{SHIFT}+1{SHIFT}+1{SHIFT}+1999{ENTER}{SHIFT}+46{ENTER}&lt;br /&gt;
send d{SHIFT}+7{SHIFT}+7{SHIFT}+7333{ENTER}{SHIFT}+82{ENTER}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
rooms_up()&lt;br /&gt;
{&lt;br /&gt;
send d78{ENTER}96{ENTER}&lt;br /&gt;
send d223{ENTER}32{ENTER}&lt;br /&gt;
send d44444{ENTER}87{ENTER}&lt;br /&gt;
send d63{ENTER}{ENTER}98{ENTER}{ENTER}23{ENTER}{ENTER}7&lt;br /&gt;
}&lt;br /&gt;
rooms_down()&lt;br /&gt;
{&lt;br /&gt;
send d32{ENTER}14{ENTER}&lt;br /&gt;
send d887{ENTER}78{ENTER}&lt;br /&gt;
send d66666{ENTER}32{ENTER}&lt;br /&gt;
send d74{ENTER}{ENTER}21{ENTER}{ENTER}78{ENTER}{ENTER}3&lt;br /&gt;
}&lt;br /&gt;
rooms_left()&lt;br /&gt;
{&lt;br /&gt;
send d14{ENTER}87{ENTER}&lt;br /&gt;
send d996{ENTER}63{ENTER}&lt;br /&gt;
send d2222{ENTER}41{ENTER}&lt;br /&gt;
send d98{ENTER}{ENTER}47{ENTER}{ENTER}96{ENTER}{ENTER}1&lt;br /&gt;
}&lt;br /&gt;
rooms_right()&lt;br /&gt;
{&lt;br /&gt;
send d96{ENTER}32{ENTER}&lt;br /&gt;
send d114{ENTER}47{ENTER}&lt;br /&gt;
send d8888{ENTER}96{ENTER}&lt;br /&gt;
send d21{ENTER}{ENTER}63{ENTER}{ENTER}14{ENTER}{ENTER}9&lt;br /&gt;
}&lt;br /&gt;
;======= WIDE&lt;br /&gt;
rooms_upw()&lt;br /&gt;
{&lt;br /&gt;
send d78{ENTER}966{ENTER}&lt;br /&gt;
send d223{ENTER}32{ENTER}&lt;br /&gt;
send d444444{ENTER}87{ENTER}&lt;br /&gt;
send d63{ENTER}{ENTER}98{ENTER}6{ENTER}23{ENTER}{ENTER}74&lt;br /&gt;
}&lt;br /&gt;
rooms_downw()&lt;br /&gt;
{&lt;br /&gt;
send d32{ENTER}144{ENTER}&lt;br /&gt;
send d887{ENTER}78{ENTER}&lt;br /&gt;
send d666666{ENTER}32{ENTER}&lt;br /&gt;
send d74{ENTER}{ENTER}21{ENTER}4{ENTER}78{ENTER}{ENTER}36&lt;br /&gt;
}&lt;br /&gt;
rooms_leftw()&lt;br /&gt;
{&lt;br /&gt;
send d14{ENTER}887{ENTER}&lt;br /&gt;
send d996{ENTER}63{ENTER}&lt;br /&gt;
send d22222{ENTER}41{ENTER}&lt;br /&gt;
send d98{ENTER}{ENTER}47{ENTER}8{ENTER}96{ENTER}{ENTER}12&lt;br /&gt;
}&lt;br /&gt;
rooms_rightw()&lt;br /&gt;
{&lt;br /&gt;
send d96{ENTER}322{ENTER}&lt;br /&gt;
send d114{ENTER}47{ENTER}&lt;br /&gt;
send d88888{ENTER}96{ENTER}&lt;br /&gt;
send d21{ENTER}{ENTER}63{ENTER}2{ENTER}14{ENTER}{ENTER}98&lt;br /&gt;
}&lt;br /&gt;
;============&lt;br /&gt;
rooms3up()&lt;br /&gt;
{&lt;br /&gt;
send d8888888&lt;br /&gt;
rooms_up()&lt;br /&gt;
send d1111222&lt;br /&gt;
rooms_left()&lt;br /&gt;
send d66666666&lt;br /&gt;
rooms_right()&lt;br /&gt;
send d4444&lt;br /&gt;
}&lt;br /&gt;
rooms3down()&lt;br /&gt;
{&lt;br /&gt;
send d2222222&lt;br /&gt;
rooms_down()&lt;br /&gt;
send d7777888&lt;br /&gt;
rooms_left()&lt;br /&gt;
send d66666666&lt;br /&gt;
rooms_right()&lt;br /&gt;
send d4444&lt;br /&gt;
}&lt;br /&gt;
rooms3left()&lt;br /&gt;
{&lt;br /&gt;
send d4444444&lt;br /&gt;
rooms_left()&lt;br /&gt;
send d9999666&lt;br /&gt;
rooms_up()&lt;br /&gt;
send d22222222&lt;br /&gt;
rooms_down()&lt;br /&gt;
send d8888&lt;br /&gt;
}&lt;br /&gt;
rooms3right()&lt;br /&gt;
{&lt;br /&gt;
send d6666666&lt;br /&gt;
rooms_right()&lt;br /&gt;
send d7777444&lt;br /&gt;
rooms_up()&lt;br /&gt;
send d22222222&lt;br /&gt;
rooms_down()&lt;br /&gt;
send d8888&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
;==========&lt;br /&gt;
all_rooms()&lt;br /&gt;
{&lt;br /&gt;
;left wide:&lt;br /&gt;
rooms_up()&lt;br /&gt;
send d222222222&lt;br /&gt;
rooms_down()&lt;br /&gt;
send d7777444&lt;br /&gt;
rooms_leftw()&lt;br /&gt;
;bottom wide:&lt;br /&gt;
send d{SHIFT}+3{SHIFT}+3{SHIFT}+3{SHIFT}+378&lt;br /&gt;
rooms_downw()&lt;br /&gt;
send d9999888&lt;br /&gt;
rooms_right()&lt;br /&gt;
send d444444444&lt;br /&gt;
rooms_left()&lt;br /&gt;
;right wide:&lt;br /&gt;
send d{SHIFT}+9{SHIFT}+9{SHIFT}+999{SHIFT}+66&lt;br /&gt;
rooms_rightw()&lt;br /&gt;
send d7777444&lt;br /&gt;
rooms_up()&lt;br /&gt;
send d222222222&lt;br /&gt;
rooms_down()&lt;br /&gt;
;top wide&lt;br /&gt;
send d{SHIFT}+7{SHIFT}+7{SHIFT}+777{SHIFT}+88&lt;br /&gt;
rooms_upw()&lt;br /&gt;
send d1111222&lt;br /&gt;
rooms_left()&lt;br /&gt;
send d666666666&lt;br /&gt;
rooms_right()&lt;br /&gt;
;remainin 9-room chambers&lt;br /&gt;
send d{SHIFT}+26666&lt;br /&gt;
rooms3right()&lt;br /&gt;
send d{SHIFT}+4{SHIFT}+4666&lt;br /&gt;
rooms3left()&lt;br /&gt;
send d{SHIFT}+1111&lt;br /&gt;
rooms3up()&lt;br /&gt;
send d{SHIFT}+2{SHIFT}+2888&lt;br /&gt;
rooms3down()&lt;br /&gt;
send d{SHIFT}+3333&lt;br /&gt;
rooms3left()&lt;br /&gt;
send d{SHIFT}+6{SHIFT}+6444&lt;br /&gt;
rooms3right()&lt;br /&gt;
send d{SHIFT}+9999&lt;br /&gt;
rooms3down()&lt;br /&gt;
send d{SHIFT}+8{SHIFT}+8222&lt;br /&gt;
rooms3up()&lt;br /&gt;
;send d{SHIFT}+7777&lt;br /&gt;
;rooms3right()&lt;br /&gt;
;send d{SHIFT}+2{SHIFT}+4666&lt;br /&gt;
;rooms3left()&lt;br /&gt;
send d1111144499{ENTER}{SHIFT}+1{SHIFT}+4{SHIFT}+41{ENTER}&lt;br /&gt;
send d77444444444{ENTER}8888888{SHIFT}+6{SHIFT}+6{SHIFT}+6{SHIFT}+6{SHIFT}+6666{ENTER}&lt;br /&gt;
send d{SHIFT}+7{SHIFT}+487{ENTER}{SHIFT}+1{SHIFT}+2{SHIFT}+21{ENTER}&lt;br /&gt;
send d33222222222{ENTER}6666666{SHIFT}+8{SHIFT}+8{SHIFT}+8{SHIFT}+8{SHIFT}+8888{ENTER}&lt;br /&gt;
send d{SHIFT}+2{SHIFT}+2221111&lt;br /&gt;
send i{ENTER}3{ENTER}7&lt;br /&gt;
deco()&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
deco()&lt;br /&gt;
{&lt;br /&gt;
send x77774{ENTER}{ENTER}9{ENTER}{ENTER}6669{ENTER}6{ENTER}3666{ENTER}{ENTER}3{ENTER}{ENTER}&lt;br /&gt;
send x2223{ENTER}2{ENTER}1222{ENTER}{ENTER}1{ENTER}{ENTER}1444{ENTER}4{ENTER}4447&lt;br /&gt;
send x{ENTER}{ENTER}7{ENTER}{ENTER}7888{ENTER}8{ENTER}666666&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
; CTRL+ALT+G to erase all&lt;br /&gt;
!^g::&lt;br /&gt;
send x{SHIFT}+1{SHIFT}+1{SHIFT}+1{SHIFT}+1{SHIFT}+1{ENTER}{SHIFT}+9{SHIFT}+9{SHIFT}+9{SHIFT}+9{SHIFT}+9{SHIFT}+9{SHIFT}+9{SHIFT}+9{SHIFT}+9{SHIFT}+9{ENTER}{SHIFT}+1{SHIFT}+1{SHIFT}+1{SHIFT}+1{SHIFT}+1&lt;br /&gt;
return&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Pyrofyr's room macro====&lt;br /&gt;
Based on Palin88's Apartment design based on Raynard's Fractal Design.&lt;br /&gt;
&lt;br /&gt;
[[File:Pyrofor_room_macro.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
 * Macro by Pyrofyr for Room Design -- Cleaned up by 0x517A5D&lt;br /&gt;
 * Enter (d)esignate mode, position the cursor where you want the&lt;br /&gt;
 * middle of the design to be, then press Ctrl+Alt+D to start the Macro.&lt;br /&gt;
 */&lt;br /&gt;
&lt;br /&gt;
;Attn Pyrofor: for slash-star style comments, the ending star-slash must&lt;br /&gt;
;be the first thing on its line.  Otherwise the comment isn't terminated.&lt;br /&gt;
&lt;br /&gt;
#SingleInstance Force&lt;br /&gt;
#IfWinActive, Dwarf Fortress&lt;br /&gt;
SetKeyDelay 0,, Play&lt;br /&gt;
&lt;br /&gt;
; Ctrl+Alt+D&lt;br /&gt;
^!d::&lt;br /&gt;
send d{NumPadUp 18}{NumPadLeft 18}&lt;br /&gt;
;Attn Pyrofor: note how repeated keystrokes are done in AHK.&lt;br /&gt;
;no need for tehLoop().&lt;br /&gt;
directions()&lt;br /&gt;
send {NumPadRight 18}&lt;br /&gt;
directions()&lt;br /&gt;
send {NumPadLeft 18}&lt;br /&gt;
send {NumPadDown 18}&lt;br /&gt;
directions()&lt;br /&gt;
send {NumPadRight 18}&lt;br /&gt;
directions()&lt;br /&gt;
middle()&lt;br /&gt;
stairs()&lt;br /&gt;
return&lt;br /&gt;
&lt;br /&gt;
directions()&lt;br /&gt;
{&lt;br /&gt;
    ;hallway box&lt;br /&gt;
    send {Enter}{NumPadRight 18}{Enter}&lt;br /&gt;
    send {Enter}{NumPadDown 18}{Enter}&lt;br /&gt;
    send {Enter}{NumPadLeft 18}{Enter}&lt;br /&gt;
    send {Enter}{NumPadUp 18}{Enter}&lt;br /&gt;
    ;indentations on box&lt;br /&gt;
    send {Enter}{NumPadRight 1}{NumPadDown 2}{Enter}&lt;br /&gt;
    send {NumPadDown 6}{Enter}{NumPadDown 2}{NumPadRight 1}{Enter}&lt;br /&gt;
    send {NumPadLeft 1}{NumPadDown 6}{Enter}{NumPadDown 1}{Enter}&lt;br /&gt;
    send {NumPadRight 6}{Enter}{NumPadRight 4}{Enter}&lt;br /&gt;
    send {NumPadRight 6}{Enter}{NumPadUp 1}{Enter}&lt;br /&gt;
    send {NumPadUp 6}{Enter}{NumPadUp 2}{NumPadLeft 1}{Enter}&lt;br /&gt;
    send {NumPadRight 1}{NumPadUp 6}{Enter}{NumPadUp 1}{Enter}&lt;br /&gt;
    send {NumPadLeft 6}{Enter}{NumPadLeft 4}{Enter}&lt;br /&gt;
    ; middle hallways&lt;br /&gt;
    send {NumPadRight 2}{Enter}{NumPadDown 6}{Enter}&lt;br /&gt;
    send {NumPadRight 1}{Enter}{NumPadDown 4}{NumPadLeft 2}{Enter}&lt;br /&gt;
    send {NumPadRight 1}{Enter}{NumPadDown 6}{Enter}&lt;br /&gt;
    send {NumPadUp 8}{NumPadLeft 6}{Enter}{NumPadRight 14}{Enter}&lt;br /&gt;
    ; cross apartments, horizontal segments&lt;br /&gt;
    send {NumPadDown 4}{Enter}{NumPadLeft 2}{Enter}&lt;br /&gt;
    send {NumPadDown 1}{NumPadLeft 3}{Enter}{NumPadLeft 6}{Enter}&lt;br /&gt;
    send {NumPadUp 1}{NumPadLeft 3}{Enter}{NumPadLeft 2}{Enter}&lt;br /&gt;
    send {NumPadDown 3}{NumPadRight 2}{Enter}{NumPadRight 2}{Enter}&lt;br /&gt;
    send {NumPadRight 8}{Enter}{NumPadRight 2}{Enter}&lt;br /&gt;
    send {NumPadUp 5}{NumPadLeft 1}{Enter}{NumPadLeft 2}{Enter}&lt;br /&gt;
    send {NumPadLeft 6}{Enter}{NumPadLeft 2}{Enter}&lt;br /&gt;
    send {NumPadUp 4}{Enter}{NumPadRight 2}{Enter}&lt;br /&gt;
    send {NumPadRight 6}{Enter}{NumPadRight 2}{Enter}&lt;br /&gt;
    send {NumPadRight 3}{NumPadUp 2}{Enter}{NumPadLeft 2}{Enter}&lt;br /&gt;
    send {NumPadUp 1}{NumPadLeft 3}{Enter}{NumPadLeft 6}{Enter}&lt;br /&gt;
    send {NumPadDown 1}{NumPadLeft 3}{Enter}{NumPadLeft 2}{Enter}&lt;br /&gt;
    send {NumPadUp 3}{NumPadRight 2}{Enter}{NumPadRight 2}{Enter}&lt;br /&gt;
    send {NumPadRight 8}{Enter}{NumPadRight 2}{Enter}&lt;br /&gt;
    ; cross apartments, vertical segments&lt;br /&gt;
    send {NumPadRight 1}{NumPadDown 2}{Enter}{NumPadDown 2}{Enter}&lt;br /&gt;
    send {NumPadDown 6}{Enter}{NumPadDown 2}{Enter}&lt;br /&gt;
    send {NumPadDown 3}{NumPadLeft 2}{Enter}{NumPadUp 2}{Enter}&lt;br /&gt;
    send {NumPadLeft 1}{NumPadUp 3}{Enter}{NumPadUp 6}{Enter}&lt;br /&gt;
    send {NumPadRight 1}{NumPadUp 3}{Enter}{NumPadUp 2}{Enter}&lt;br /&gt;
    send {NumPadLeft 3}{NumPadDown 2}{Enter}{NumPadDown 2}{Enter}&lt;br /&gt;
    send {NumPadDown 8}{Enter}{NumPadDown 2}{Enter}&lt;br /&gt;
    send {NumPadLeft 4}{Enter}{NumPadUp 2}{Enter}&lt;br /&gt;
    send {NumPadUp 8}{Enter}{NumPadUp 2}{Enter}&lt;br /&gt;
    send {NumPadUp 2}{NumPadLeft 3}{Enter}{NumPadDown 2}{Enter}&lt;br /&gt;
    send {NumPadRight 1}{NumPadDown 3}{Enter}{NumPadDown 6}{Enter}&lt;br /&gt;
    send {NumPadLeft 1}{NumPadDown 3}{Enter}{NumPadDown 2}{Enter}&lt;br /&gt;
    send {NumPadLeft 2}{NumPadUp 3}{Enter}{NumPadUp 2}{Enter}&lt;br /&gt;
    send {NumPadUp 6}{Enter}{NumPadUp 2}{Enter}&lt;br /&gt;
    send {NumPadUp 4}{NumPadLeft 2}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
middle()&lt;br /&gt;
{&lt;br /&gt;
    send {NumPadUp 10}{NumPadLeft 2}{Enter}{NumPadRight 4}{NumPadDown 20}{Enter}&lt;br /&gt;
    send {NumPadUp 5}{NumPadRight 1}{Enter}{NumPadUp 10}{NumPadLeft 6}{Enter}&lt;br /&gt;
    send {NumPadLeft 1}{NumPadDown 1}{Enter}{NumPadDown 8}{NumPadRight 8}{Enter}&lt;br /&gt;
    send {NumPadUp 2}{NumPadRight 1}{Enter}{NumPadUp 4}{NumPadLeft 10}{Enter}&lt;br /&gt;
    send {NumPadDown 1}{NumPadLeft 6}{Enter}{NumPadDown 2}{NumPadRight 22}{Enter}&lt;br /&gt;
    send {NumPadUp 1}{NumPadLeft 11}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
stairs()&lt;br /&gt;
{&lt;br /&gt;
    send i{NumPadUp 18}{NumPadLeft 9}{Enter 2}&lt;br /&gt;
    send {NumPadRight 18}{Enter 2}&lt;br /&gt;
    send {NumPadRight 9}{NumPadDown 9}{Enter 2}&lt;br /&gt;
    send {NumPadLeft 18}{Enter 2}&lt;br /&gt;
    send {NumPadLeft 18}{Enter 2}&lt;br /&gt;
    send {NumPadRight 9}{NumPadDown 9}{Enter 2}&lt;br /&gt;
    send {NumPadRight 18}{Enter 2}&lt;br /&gt;
    send {NumPadRight 9}{NumPadDown 9}{Enter 2}&lt;br /&gt;
    send {NumPadLeft 18}{Enter 2}&lt;br /&gt;
    send {NumPadLeft 18}{Enter 2}&lt;br /&gt;
    send {NumPadDown 9}{NumPadRight 9}{Enter 2}&lt;br /&gt;
    send {NumPadRight 18}{Enter 2}&lt;br /&gt;
    send {NumPadLeft 9}{NumPadUp 18}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Easy Exploration Mining in 2 steps===&lt;br /&gt;
This macro will make a 5 row, 11 column UP/DOWN stairway grid (2 empty spaces between each row/column).&amp;lt;br&amp;gt;&lt;br /&gt;
Starting point as indicated (row 3, column 11)&amp;lt;br&amp;gt;&lt;br /&gt;
'''MUST BE IN DESIGNATION MODE WITH CURSOR AT THE ''&amp;lt;-- START HERE'' LOCATION'''&amp;lt;br&amp;gt;&lt;br /&gt;
Link is &amp;lt;ctrl&amp;gt; &amp;lt;windowskey&amp;gt; `&amp;lt;br&amp;gt;&lt;br /&gt;
Dive is &amp;lt;ctrl&amp;gt; &amp;lt;alt&amp;gt; `&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Link&lt;br /&gt;
X--X--X--X--X--X--X--X--X--X--X&lt;br /&gt;
|              |              |&lt;br /&gt;
|              |              |&lt;br /&gt;
X--X--X--X--X--X--X--X--X--X--X&lt;br /&gt;
|              |              |&lt;br /&gt;
|              |              |&lt;br /&gt;
X--X--X--X--X--X--X--X--X--X--X &amp;lt;-- start here&lt;br /&gt;
|              |              |&lt;br /&gt;
|              |              |&lt;br /&gt;
X--X--X--X--X--X--X--X--X--X--X&lt;br /&gt;
|              |              |&lt;br /&gt;
|              |              |&lt;br /&gt;
X--X--X--X--X--X--X--X--X--X--X&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Filename is ExploreMine-Link.ahk&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
;Link&lt;br /&gt;
^#`::&lt;br /&gt;
&lt;br /&gt;
send d&lt;br /&gt;
send {Enter}&lt;br /&gt;
tehLoop(30,&amp;quot;{NumPadLeft}&amp;quot;)&lt;br /&gt;
send {Enter}&lt;br /&gt;
send {Enter}&lt;br /&gt;
tehLoop(6,&amp;quot;{NumPadUp}&amp;quot;)&lt;br /&gt;
send {Enter}&lt;br /&gt;
send {Enter}&lt;br /&gt;
tehLoop(30,&amp;quot;{NumPadRight}&amp;quot;)&lt;br /&gt;
send {Enter}&lt;br /&gt;
send {Enter}&lt;br /&gt;
tehLoop(12,&amp;quot;{NumPadDown}&amp;quot;)&lt;br /&gt;
send {Enter}&lt;br /&gt;
send {Enter}&lt;br /&gt;
tehLoop(30,&amp;quot;{NumPadLeft}&amp;quot;)&lt;br /&gt;
send {Enter}&lt;br /&gt;
send {Enter}&lt;br /&gt;
tehLoop(9,&amp;quot;{NumPadUp}&amp;quot;)&lt;br /&gt;
send {Enter}&lt;br /&gt;
send {Enter}&lt;br /&gt;
tehLoop(30,&amp;quot;{NumPadRight}&amp;quot;)&lt;br /&gt;
send {Enter}&lt;br /&gt;
tehLoop(6,&amp;quot;{NumPadDown}&amp;quot;)&lt;br /&gt;
send {Enter}&lt;br /&gt;
tehLoop(30,&amp;quot;{NumPadLeft}&amp;quot;)&lt;br /&gt;
send {Enter}&lt;br /&gt;
tehLoop(3,&amp;quot;{NumPadDown}&amp;quot;)&lt;br /&gt;
tehLoop(15,&amp;quot;{NumPadRight}&amp;quot;)&lt;br /&gt;
send {Enter}&lt;br /&gt;
tehLoop(12,&amp;quot;{NumPadUp}&amp;quot;)&lt;br /&gt;
send {Enter}&lt;br /&gt;
tehLoop(15,&amp;quot;{NumPadLeft}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
send i&lt;br /&gt;
send {Enter}{Enter}&lt;br /&gt;
tehOtherLoop(&amp;quot;{NumPadDown}&amp;quot;)&lt;br /&gt;
tehLoop(3,&amp;quot;{NumPadRight}&amp;quot;)&lt;br /&gt;
send {Enter}{Enter}&lt;br /&gt;
tehOtherLoop(&amp;quot;{NumPadUp}&amp;quot;)&lt;br /&gt;
tehLoop(3,&amp;quot;{NumPadRight}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
send {Enter}{Enter}&lt;br /&gt;
tehOtherLoop(&amp;quot;{NumPadDown}&amp;quot;)&lt;br /&gt;
tehLoop(3,&amp;quot;{NumPadRight}&amp;quot;)&lt;br /&gt;
send {Enter}{Enter}&lt;br /&gt;
tehOtherLoop(&amp;quot;{NumPadUp}&amp;quot;)&lt;br /&gt;
tehLoop(3,&amp;quot;{NumPadRight}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
send {Enter}{Enter}&lt;br /&gt;
tehOtherLoop(&amp;quot;{NumPadDown}&amp;quot;)&lt;br /&gt;
tehLoop(3,&amp;quot;{NumPadRight}&amp;quot;)&lt;br /&gt;
send {Enter}{Enter}&lt;br /&gt;
tehOtherLoop(&amp;quot;{NumPadUp}&amp;quot;)&lt;br /&gt;
tehLoop(3,&amp;quot;{NumPadRight}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
send {Enter}{Enter}&lt;br /&gt;
tehOtherLoop(&amp;quot;{NumPadDown}&amp;quot;)&lt;br /&gt;
tehLoop(3,&amp;quot;{NumPadRight}&amp;quot;)&lt;br /&gt;
send {Enter}{Enter}&lt;br /&gt;
tehOtherLoop(&amp;quot;{NumPadUp}&amp;quot;)&lt;br /&gt;
tehLoop(3,&amp;quot;{NumPadRight}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
send {Enter}{Enter}&lt;br /&gt;
tehOtherLoop(&amp;quot;{NumPadDown}&amp;quot;)&lt;br /&gt;
tehLoop(3,&amp;quot;{NumPadRight}&amp;quot;)&lt;br /&gt;
send {Enter}{Enter}&lt;br /&gt;
tehOtherLoop(&amp;quot;{NumPadUp}&amp;quot;)&lt;br /&gt;
tehLoop(3,&amp;quot;{NumPadRight}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
send {Enter}{Enter}&lt;br /&gt;
tehOtherLoop(&amp;quot;{NumPadDown}&amp;quot;)&lt;br /&gt;
tehLoop(6,&amp;quot;{NumPadUp}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
tehLoop(tehTimes,tehDir)&lt;br /&gt;
{&lt;br /&gt;
	loop&lt;br /&gt;
	{&lt;br /&gt;
		if tehTimes &amp;lt;= 0&lt;br /&gt;
		{&lt;br /&gt;
			break&lt;br /&gt;
		}&lt;br /&gt;
		send %tehDir%&lt;br /&gt;
		tehTimes--&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
tehOtherLoop(tehOtherDir)&lt;br /&gt;
{&lt;br /&gt;
	loop 4&lt;br /&gt;
	{		&lt;br /&gt;
		tehLoop(3,tehOtherDir)		&lt;br /&gt;
		send {Enter}{Enter}&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Dive&lt;br /&gt;
X  X  X  X  X  X  X  X  X  X  X&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
X  X  X  X  X  X  X  X  X  X  X&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
X  X  X  X  X  X  X  X  X  X  X &amp;lt;-- start here&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
X  X  X  X  X  X  X  X  X  X  X&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
X  X  X  X  X  X  X  X  X  X  X&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Filename is ExploreMine-Dive.ahk&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
;Dive&lt;br /&gt;
^!`::&lt;br /&gt;
tehLoop(30,&amp;quot;{NumPadLeft}&amp;quot;)&lt;br /&gt;
tehLoop(6,&amp;quot;{NumPadUp}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
send i&lt;br /&gt;
send {Enter}{Enter}&lt;br /&gt;
tehOtherLoop(&amp;quot;{NumPadDown}&amp;quot;)&lt;br /&gt;
tehLoop(3,&amp;quot;{NumPadRight}&amp;quot;)&lt;br /&gt;
send {Enter}{Enter}&lt;br /&gt;
tehOtherLoop(&amp;quot;{NumPadUp}&amp;quot;)&lt;br /&gt;
tehLoop(3,&amp;quot;{NumPadRight}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
send {Enter}{Enter}&lt;br /&gt;
tehOtherLoop(&amp;quot;{NumPadDown}&amp;quot;)&lt;br /&gt;
tehLoop(3,&amp;quot;{NumPadRight}&amp;quot;)&lt;br /&gt;
send {Enter}{Enter}&lt;br /&gt;
tehOtherLoop(&amp;quot;{NumPadUp}&amp;quot;)&lt;br /&gt;
tehLoop(3,&amp;quot;{NumPadRight}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
send {Enter}{Enter}&lt;br /&gt;
tehOtherLoop(&amp;quot;{NumPadDown}&amp;quot;)&lt;br /&gt;
tehLoop(3,&amp;quot;{NumPadRight}&amp;quot;)&lt;br /&gt;
send {Enter}{Enter}&lt;br /&gt;
tehOtherLoop(&amp;quot;{NumPadUp}&amp;quot;)&lt;br /&gt;
tehLoop(3,&amp;quot;{NumPadRight}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
send {Enter}{Enter}&lt;br /&gt;
tehOtherLoop(&amp;quot;{NumPadDown}&amp;quot;)&lt;br /&gt;
tehLoop(3,&amp;quot;{NumPadRight}&amp;quot;)&lt;br /&gt;
send {Enter}{Enter}&lt;br /&gt;
tehOtherLoop(&amp;quot;{NumPadUp}&amp;quot;)&lt;br /&gt;
tehLoop(3,&amp;quot;{NumPadRight}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
send {Enter}{Enter}&lt;br /&gt;
tehOtherLoop(&amp;quot;{NumPadDown}&amp;quot;)&lt;br /&gt;
tehLoop(3,&amp;quot;{NumPadRight}&amp;quot;)&lt;br /&gt;
send {Enter}{Enter}&lt;br /&gt;
tehOtherLoop(&amp;quot;{NumPadUp}&amp;quot;)&lt;br /&gt;
tehLoop(3,&amp;quot;{NumPadRight}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
send {Enter}{Enter}&lt;br /&gt;
tehOtherLoop(&amp;quot;{NumPadDown}&amp;quot;)&lt;br /&gt;
tehLoop(6,&amp;quot;{NumPadUp}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
tehLoop(tehTimes,tehDir)&lt;br /&gt;
{&lt;br /&gt;
	loop&lt;br /&gt;
	{&lt;br /&gt;
		if tehTimes &amp;lt;= 0&lt;br /&gt;
		{&lt;br /&gt;
			break&lt;br /&gt;
		}&lt;br /&gt;
		send %tehDir%&lt;br /&gt;
		tehTimes--&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
tehOtherLoop(tehOtherDir)&lt;br /&gt;
{&lt;br /&gt;
	loop 4&lt;br /&gt;
	{		&lt;br /&gt;
		tehLoop(3,tehOtherDir)		&lt;br /&gt;
		send {Enter}{Enter}&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Fancy Exploration Mining===&lt;br /&gt;
This script digs a connected series of mine shafts, as in {{L|Mineshaft Stitching}}. Start this script in the upper-left corner of the area you want to explore. Set the spacing to a value greater than 1 if you want to look for large clusters. Note that this pattern creates a very long walkway back to the start of the mineshafts. If you do not excavate routinely, consider connecting the top-level paths of areas you have already explored.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;br /&gt;
 ; stitching.ahk					   ;&lt;br /&gt;
 ; this is an ahk script to place exploratory mine shafts. ;&lt;br /&gt;
 ; press d and place the cursor				   ;&lt;br /&gt;
 ; in the top left corner of the area to be explored	   ;&lt;br /&gt;
 ; then use ctrl+shift+s to run				   ;&lt;br /&gt;
 ; to change parameters, use ctrl+shift+c		   ; &lt;br /&gt;
 ; Increasing spacing will increase some shafts		   ;&lt;br /&gt;
 ; This version resets it's state so that it can be re-run ;&lt;br /&gt;
 ; without having to reload the script			   ;&lt;br /&gt;
 ;							   ;&lt;br /&gt;
 ; NOTE:					           ;&lt;br /&gt;
 ; Author: Corey Amend					   ;&lt;br /&gt;
 ; Based on a script by Seth Fogarty,		           ;&lt;br /&gt;
 ; Which was based on a script by StrawberryBunny	   ;&lt;br /&gt;
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;br /&gt;
&lt;br /&gt;
x = 4&lt;br /&gt;
y = 4&lt;br /&gt;
depth = 3&lt;br /&gt;
wait =  100&lt;br /&gt;
spacing = 1&lt;br /&gt;
vdir = +.&lt;br /&gt;
&lt;br /&gt;
DropShaft(vertdir, depth, wait)&lt;br /&gt;
{&lt;br /&gt;
	Send i&lt;br /&gt;
	Send {Enter}&lt;br /&gt;
	Send {Enter}&lt;br /&gt;
	Loop %depth%&lt;br /&gt;
	{&lt;br /&gt;
		Send %vertdir%&lt;br /&gt;
		Send {Enter}&lt;br /&gt;
		Send {Enter}&lt;br /&gt;
		Sleep %wait%&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
 ^+c::&lt;br /&gt;
inputbox x, Input Length, Vertical pattern length: x-axis&lt;br /&gt;
inputbox y, Input Width, Horizontal pattern width: y-axis&lt;br /&gt;
inputbox depth, Input Depth, Mineshaft depth: z-axis&lt;br /&gt;
inputbox spacing, Input Spacing, Spacing multiplier (1 for complete visiblity)&lt;br /&gt;
inputbox wait, Input Delay, Delay in miliseconds (100 recommended)&lt;br /&gt;
return &lt;br /&gt;
&lt;br /&gt;
 ^+s::&lt;br /&gt;
shafts := (x * y) -1&lt;br /&gt;
i := x-1&lt;br /&gt;
hdir = {Down}&lt;br /&gt;
next = {Up} &lt;br /&gt;
&lt;br /&gt;
Loop %shafts%&lt;br /&gt;
{&lt;br /&gt;
	DropShaft(vdir, depth, wait)&lt;br /&gt;
        if (vdir = &amp;quot;+.&amp;quot;) &lt;br /&gt;
	{&lt;br /&gt;
		vdir = +,&lt;br /&gt;
	}	&lt;br /&gt;
	else&lt;br /&gt;
	{&lt;br /&gt;
		vdir = +.&lt;br /&gt;
	}&lt;br /&gt;
	Send d&lt;br /&gt;
	k := spacing-1&lt;br /&gt;
	Send %hdir% &lt;br /&gt;
	Send {Enter}&lt;br /&gt;
	Loop %k%&lt;br /&gt;
	{&lt;br /&gt;
		Send %hdir% &lt;br /&gt;
		Send {Enter}&lt;br /&gt;
		Send %hdir% &lt;br /&gt;
		Send {Enter}&lt;br /&gt;
		Send %hdir% &lt;br /&gt;
		Sleep %wait%&lt;br /&gt;
	}&lt;br /&gt;
	Send %hdir% &lt;br /&gt;
	Send {Enter}&lt;br /&gt;
	Send %hdir% &lt;br /&gt;
	Sleep %wait%&lt;br /&gt;
	i--&lt;br /&gt;
	if (i = 0)&lt;br /&gt;
	{&lt;br /&gt;
		if (hdir = &amp;quot;{Down}&amp;quot;)&lt;br /&gt;
		{&lt;br /&gt;
			hdir = {Right}&lt;br /&gt;
			next = {Up}&lt;br /&gt;
			i=1&lt;br /&gt;
		}&lt;br /&gt;
		else if (hdir = &amp;quot;{Right}&amp;quot;)&lt;br /&gt;
		{&lt;br /&gt;
			hdir = %next%&lt;br /&gt;
			i := x-1&lt;br /&gt;
		}&lt;br /&gt;
		else if (hdir = &amp;quot;{Up}&amp;quot;)&lt;br /&gt;
		{&lt;br /&gt;
			hdir = {Right}&lt;br /&gt;
			next = {Down}&lt;br /&gt;
			i=1&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
DropShaft(vdir, depth, wait)&lt;br /&gt;
if (vdir = &amp;quot;+.&amp;quot;) &lt;br /&gt;
{&lt;br /&gt;
	Loop %depth%&lt;br /&gt;
	{&lt;br /&gt;
		Send +,&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
else&lt;br /&gt;
{&lt;br /&gt;
	vdir = +.&lt;br /&gt;
}	&lt;br /&gt;
return&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Upstairs Mineshaft Finisher===&lt;br /&gt;
This script is used to create a series of up staircases in a pattern for use with mineshaft scripts (like the mineshaft stitching above). Most mineshaft scripts use up/down staircases all the way to the bottom, but the lowest z-level will not allow up/down staircases so you mineshafts will be unfinished. This script allows you to correct this problem and place up stairs where the up/down stairs would be.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;br /&gt;
 ; Upstair stitching.ahk				   ;&lt;br /&gt;
 ; this is an ahk script to place up stairs at regular	   ;&lt;br /&gt;
 ; intervals (useful for completing mine shafts).	   ;&lt;br /&gt;
 ; press d and place the cursor				   ;&lt;br /&gt;
 ; in the top left corner of the area to be explored	   ;&lt;br /&gt;
 ; then use ctrl+shift+u to run				   ;&lt;br /&gt;
 ; to change parameters, use ctrl+shift+p		   ; &lt;br /&gt;
 ; Increasing spacing will increase some shafts		   ;&lt;br /&gt;
 ;							   ;&lt;br /&gt;
 ; NOTE:					           ;&lt;br /&gt;
 ; Author: Corey Amend					   ;&lt;br /&gt;
 ; Based on a script by Seth Fogarty,		           ;&lt;br /&gt;
 ; Which was based on a script by StrawberryBunny	   ;&lt;br /&gt;
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;br /&gt;
&lt;br /&gt;
x = 4&lt;br /&gt;
y = 4&lt;br /&gt;
wait =  100&lt;br /&gt;
spacing = 1&lt;br /&gt;
vdir = +.&lt;br /&gt;
&lt;br /&gt;
 ^+p::&lt;br /&gt;
inputbox x, Input Length, Vertical pattern length: x-axis&lt;br /&gt;
inputbox y, Input Width, Horizontal pattern width: y-axis&lt;br /&gt;
inputbox spacing, Input Spacing, Spacing multiplier (1 for complete visiblity)&lt;br /&gt;
inputbox wait, Input Delay, Delay in miliseconds (100 recommended)&lt;br /&gt;
return &lt;br /&gt;
&lt;br /&gt;
 ^+u::&lt;br /&gt;
shafts := (x * y) -1&lt;br /&gt;
i := x-1&lt;br /&gt;
hdir = {Down}&lt;br /&gt;
next = {Up} &lt;br /&gt;
&lt;br /&gt;
Loop %shafts%&lt;br /&gt;
{&lt;br /&gt;
	Send u&lt;br /&gt;
	Send {Enter}&lt;br /&gt;
	Send {Enter}&lt;br /&gt;
	Sleep %wait%&lt;br /&gt;
&lt;br /&gt;
	k := spacing-1&lt;br /&gt;
	Send %hdir% &lt;br /&gt;
	Loop %k%&lt;br /&gt;
	{&lt;br /&gt;
		Send %hdir% &lt;br /&gt;
		Send %hdir% &lt;br /&gt;
		Send %hdir% &lt;br /&gt;
		Sleep %wait%&lt;br /&gt;
	}&lt;br /&gt;
	Send %hdir% &lt;br /&gt;
	Send %hdir% &lt;br /&gt;
	Sleep %wait%&lt;br /&gt;
	i--&lt;br /&gt;
	if (i = 0)&lt;br /&gt;
	{&lt;br /&gt;
		if (hdir = &amp;quot;{Down}&amp;quot;)&lt;br /&gt;
		{&lt;br /&gt;
			hdir = {Right}&lt;br /&gt;
			next = {Up}&lt;br /&gt;
			i=1&lt;br /&gt;
		}&lt;br /&gt;
		else if (hdir = &amp;quot;{Right}&amp;quot;)&lt;br /&gt;
		{&lt;br /&gt;
			hdir = %next%&lt;br /&gt;
			i := x-1&lt;br /&gt;
		}&lt;br /&gt;
		else if (hdir = &amp;quot;{Up}&amp;quot;)&lt;br /&gt;
		{&lt;br /&gt;
			hdir = {Right}&lt;br /&gt;
			next = {Down}&lt;br /&gt;
			i=1&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
Send u&lt;br /&gt;
Send {Enter}&lt;br /&gt;
Send {Enter}&lt;br /&gt;
Sleep %wait%&lt;br /&gt;
&lt;br /&gt;
return&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Interface Enhancement Scripts===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====The MOUSE control====&lt;br /&gt;
For unrivaled mouse control in DF try [http://www.dwarffortresswiki.net/index.php/User:Digger this DF Mouse script]&lt;br /&gt;
&lt;br /&gt;
====Tile Counter or Scrolling Accelerator====&lt;br /&gt;
Lack of reference plus slow scroll speed make planning digging area frustrating,so here is the script that shows coordinate and speed scrolling up.&lt;br /&gt;
[http://www.dwarffortresswiki.net/index.php/User:Daedalusai ShowXY]&lt;br /&gt;
&lt;br /&gt;
===4-Pour Water Creation script===&lt;br /&gt;
For Automating creation of water using Gibbeds Tweak.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
;&lt;br /&gt;
;	4-pour.ahk&lt;br /&gt;
;	Dwarf fortress water creation script.&lt;br /&gt;
;&lt;br /&gt;
;Use this script in conjunction with Gibbeds Dwarf Fortress Tweak to create endless amounts of water.;&lt;br /&gt;
;&lt;br /&gt;
;Directions&lt;br /&gt;
;&lt;br /&gt;
;1. Have DF running and position the screen such that when you press &amp;quot;K&amp;quot; the X will appear where you &lt;br /&gt;
&lt;br /&gt;
;want the water to appear.&lt;br /&gt;
;2. Have Gbbed's Dwarf Fortress tweak running in the background (with the proper process selected)&lt;br /&gt;
;3. run the 4-pour script&lt;br /&gt;
;4. press alt-p to get Pouring&lt;br /&gt;
;&lt;br /&gt;
;The script will then begin a cycle that moves the cursor around in a little 2x2 square editing each &lt;br /&gt;
&lt;br /&gt;
;tile to have 7/7 of water, it then pauses for a half a seond to let the water flow a bit, and repeats. &lt;br /&gt;
&lt;br /&gt;
;It does this until you..&lt;br /&gt;
;&lt;br /&gt;
;5. press and hold &amp;lt;shift&amp;gt; to stop&lt;br /&gt;
;&lt;br /&gt;
;As always, save before you experiment with this&lt;br /&gt;
;I hold no responsibility for what this script ends up doing to your dwarves/fortress/computer/carpet&lt;br /&gt;
;Feel free to clean it up, make it more usable, whatever&lt;br /&gt;
;&lt;br /&gt;
;&lt;br /&gt;
&lt;br /&gt;
#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.&lt;br /&gt;
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.&lt;br /&gt;
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.&lt;br /&gt;
&lt;br /&gt;
!p::&lt;br /&gt;
loop &lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
GetKeyState, state, Shift&lt;br /&gt;
if state = D&lt;br /&gt;
    Break&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
IfWinActive Dwarf Fortress&lt;br /&gt;
{&lt;br /&gt;
    WinActivate&lt;br /&gt;
}&lt;br /&gt;
send k&lt;br /&gt;
sleep 100&lt;br /&gt;
  send {NumpadRight}&lt;br /&gt;
&lt;br /&gt;
IfWinExist Gibbed's Dwarf Fortress Tweak [1.2.0.0]&lt;br /&gt;
{&lt;br /&gt;
    WinActivate&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
click 38, 184, 2&lt;br /&gt;
sleep 100&lt;br /&gt;
&lt;br /&gt;
IfWinExist Tile Edit&lt;br /&gt;
{&lt;br /&gt;
    WinActivate&lt;br /&gt;
}&lt;br /&gt;
sleep 100&lt;br /&gt;
click 63, 448&lt;br /&gt;
sleep 100&lt;br /&gt;
click 106, 70&lt;br /&gt;
sleep 100&lt;br /&gt;
click 207, 255&lt;br /&gt;
sleep 100&lt;br /&gt;
send {backspace}&lt;br /&gt;
sleep 100&lt;br /&gt;
send 7&lt;br /&gt;
sleep 100&lt;br /&gt;
click 348, 449&lt;br /&gt;
sleep 100&lt;br /&gt;
IfWinExist Dwarf Fortress&lt;br /&gt;
{&lt;br /&gt;
    WinActivate&lt;br /&gt;
}&lt;br /&gt;
sleep 100&lt;br /&gt;
  send {NumpadDown}&lt;br /&gt;
&lt;br /&gt;
IfWinExist Gibbed's Dwarf Fortress Tweak [1.2.0.0]&lt;br /&gt;
{&lt;br /&gt;
    WinActivate&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
click 38, 184, 2&lt;br /&gt;
sleep 100&lt;br /&gt;
&lt;br /&gt;
IfWinExist Tile Edit&lt;br /&gt;
{&lt;br /&gt;
    WinActivate&lt;br /&gt;
}&lt;br /&gt;
sleep 100&lt;br /&gt;
click 63, 448&lt;br /&gt;
sleep 100&lt;br /&gt;
click 106, 70&lt;br /&gt;
sleep 100&lt;br /&gt;
click 207, 255&lt;br /&gt;
sleep 100&lt;br /&gt;
send {backspace}&lt;br /&gt;
sleep 100&lt;br /&gt;
send 7&lt;br /&gt;
sleep 100&lt;br /&gt;
click 348, 449&lt;br /&gt;
sleep 100&lt;br /&gt;
IfWinExist Dwarf Fortress&lt;br /&gt;
{&lt;br /&gt;
    WinActivate&lt;br /&gt;
}&lt;br /&gt;
sleep 100&lt;br /&gt;
  send {NumpadLeft}&lt;br /&gt;
&lt;br /&gt;
IfWinExist Gibbed's Dwarf Fortress Tweak [1.2.0.0]&lt;br /&gt;
{&lt;br /&gt;
    WinActivate&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
click 38, 184, 2&lt;br /&gt;
sleep 100&lt;br /&gt;
&lt;br /&gt;
IfWinExist Tile Edit&lt;br /&gt;
{&lt;br /&gt;
    WinActivate&lt;br /&gt;
}&lt;br /&gt;
sleep 100&lt;br /&gt;
click 63, 448&lt;br /&gt;
sleep 100&lt;br /&gt;
click 106, 70&lt;br /&gt;
sleep 100&lt;br /&gt;
click 207, 255&lt;br /&gt;
sleep 100&lt;br /&gt;
send {backspace}&lt;br /&gt;
sleep 100&lt;br /&gt;
send 7&lt;br /&gt;
sleep 100&lt;br /&gt;
click 348, 449&lt;br /&gt;
sleep 100&lt;br /&gt;
IfWinExist Dwarf Fortress&lt;br /&gt;
{&lt;br /&gt;
    WinActivate&lt;br /&gt;
}&lt;br /&gt;
sleep 100&lt;br /&gt;
  send {NumpadUp}&lt;br /&gt;
&lt;br /&gt;
IfWinExist Gibbed's Dwarf Fortress Tweak [1.2.0.0]&lt;br /&gt;
{&lt;br /&gt;
    WinActivate&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
click 38, 184, 2&lt;br /&gt;
sleep 100&lt;br /&gt;
&lt;br /&gt;
IfWinExist Tile Edit&lt;br /&gt;
{&lt;br /&gt;
    WinActivate&lt;br /&gt;
}&lt;br /&gt;
sleep 100&lt;br /&gt;
click 63, 448&lt;br /&gt;
sleep 100&lt;br /&gt;
click 106, 70&lt;br /&gt;
sleep 100&lt;br /&gt;
click 207, 255&lt;br /&gt;
sleep 100&lt;br /&gt;
send {backspace}&lt;br /&gt;
sleep 100&lt;br /&gt;
send 7&lt;br /&gt;
sleep 100&lt;br /&gt;
click 348, 449&lt;br /&gt;
sleep 100&lt;br /&gt;
IfWinExist Dwarf Fortress&lt;br /&gt;
{&lt;br /&gt;
    WinActivate&lt;br /&gt;
}&lt;br /&gt;
send {space}&lt;br /&gt;
sleep 800&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Tesselated Apartments Builder===&lt;br /&gt;
&lt;br /&gt;
This one is another tesselated apartments script, with some larger areas added. Credit for layout to GnomeChomsky.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
;&lt;br /&gt;
; TessApts.ahk&lt;br /&gt;
; Start script while in 'dig' mode with cursor on desired position of leftmost staircase&lt;br /&gt;
;&lt;br /&gt;
; CTRL+G       : Central room, 8 apartments (necessary on at least one z-level)&lt;br /&gt;
; ALT+G        : No central room, 16 apartments&lt;br /&gt;
; CTRL+ALT+G   : Four &amp;quot;central room&amp;quot; layouts connected in center (28 apartments)&lt;br /&gt;
; CTRL+SHIFT+G : Four &amp;quot;16 apartment&amp;quot; layouts, unconnected in center&lt;br /&gt;
;&lt;br /&gt;
!g::&lt;br /&gt;
Send i{ENTER}{ENTER}33332{ENTER}{ENTER}99996{ENTER}{ENTER}77778{ENTER}{ENTER}&lt;br /&gt;
Send d7{ENTER}88{ENTER}6{ENTER}{ENTER}32{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}78{ENTER}44{ENTER}8{ENTER}{ENTER}&lt;br /&gt;
Send 111{ENTER}88{ENTER}6{ENTER}{ENTER}32{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}78{ENTER}44{ENTER}8{ENTER}{ENTER}&lt;br /&gt;
Send 333333{ENTER}44{ENTER}8{ENTER}{ENTER}96{ENTER}88{ENTER}6{ENTER}{ENTER}32{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}&lt;br /&gt;
Send 99999988{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}78{ENTER}44{ENTER}8{ENTER}{ENTER}96{ENTER}88{ENTER}6{ENTER}{ENTER}114444444&lt;br /&gt;
return&lt;br /&gt;
^g::&lt;br /&gt;
Send i{ENTER}{ENTER}33332{ENTER}{ENTER}99996{ENTER}{ENTER}77778{ENTER}{ENTER}&lt;br /&gt;
Send d7{ENTER}88{ENTER}6{ENTER}{ENTER}32{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}78{ENTER}44{ENTER}8{ENTER}{ENTER}&lt;br /&gt;
Send 111{ENTER}88{ENTER}6{ENTER}{ENTER}32{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}78{ENTER}44{ENTER}8{ENTER}{ENTER}&lt;br /&gt;
Send 333333{ENTER}44{ENTER}8{ENTER}{ENTER}96{ENTER}88{ENTER}6{ENTER}{ENTER}32{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}&lt;br /&gt;
Send 99999988{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}78{ENTER}44{ENTER}8{ENTER}{ENTER}96{ENTER}88{ENTER}6{ENTER}{ENTER}&lt;br /&gt;
Send 7444{ENTER}{ENTER}1114{ENTER}{ENTER}3332{ENTER}{ENTER}9996{ENTER}{ENTER}788{ENTER}11111{ENTER}&lt;br /&gt;
return&lt;br /&gt;
!^g::&lt;br /&gt;
Send i{ENTER}{ENTER}33332{ENTER}{ENTER}99996{ENTER}{ENTER}77778{ENTER}{ENTER}&lt;br /&gt;
Send d7{ENTER}88{ENTER}6{ENTER}{ENTER}32{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}78{ENTER}44{ENTER}8{ENTER}{ENTER}&lt;br /&gt;
Send 111{ENTER}88{ENTER}6{ENTER}{ENTER}32{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}78{ENTER}44{ENTER}8{ENTER}{ENTER}&lt;br /&gt;
Send 333333{ENTER}44{ENTER}8{ENTER}{ENTER}96{ENTER}88{ENTER}6{ENTER}{ENTER}32{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}&lt;br /&gt;
Send 99999988{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}78{ENTER}44{ENTER}8{ENTER}{ENTER}96{ENTER}88{ENTER}6{ENTER}{ENTER}&lt;br /&gt;
Send 7444{ENTER}{ENTER}1114{ENTER}{ENTER}3332{ENTER}{ENTER}9996{ENTER}{ENTER}788{ENTER}11111{ENTER}88899999999&lt;br /&gt;
Send i{ENTER}{ENTER}33332{ENTER}{ENTER}99996{ENTER}{ENTER}77778{ENTER}{ENTER}&lt;br /&gt;
Send d7{ENTER}88{ENTER}6{ENTER}{ENTER}32{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}78{ENTER}44{ENTER}8{ENTER}{ENTER}&lt;br /&gt;
Send 111{ENTER}88{ENTER}6{ENTER}{ENTER}32{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}78{ENTER}44{ENTER}8{ENTER}{ENTER}&lt;br /&gt;
Send 333333{ENTER}44{ENTER}8{ENTER}{ENTER}96{ENTER}88{ENTER}6{ENTER}{ENTER}32{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}&lt;br /&gt;
Send 99999988{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}78{ENTER}44{ENTER}8{ENTER}{ENTER}96{ENTER}88{ENTER}6{ENTER}{ENTER}&lt;br /&gt;
Send 7444{ENTER}{ENTER}1114{ENTER}{ENTER}3332{ENTER}{ENTER}9996{ENTER}{ENTER}788{ENTER}11111{ENTER}3333332&lt;br /&gt;
Send i{ENTER}{ENTER}33332{ENTER}{ENTER}99996{ENTER}{ENTER}77778{ENTER}{ENTER}&lt;br /&gt;
Send d7{ENTER}88{ENTER}6{ENTER}{ENTER}32{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}78{ENTER}44{ENTER}8{ENTER}{ENTER}&lt;br /&gt;
Send 111{ENTER}88{ENTER}6{ENTER}{ENTER}32{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}78{ENTER}44{ENTER}8{ENTER}{ENTER}&lt;br /&gt;
Send 333333{ENTER}44{ENTER}8{ENTER}{ENTER}96{ENTER}88{ENTER}6{ENTER}{ENTER}32{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}&lt;br /&gt;
Send 99999988{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}78{ENTER}44{ENTER}8{ENTER}{ENTER}96{ENTER}88{ENTER}6{ENTER}{ENTER}&lt;br /&gt;
Send 7444{ENTER}{ENTER}1114{ENTER}{ENTER}3332{ENTER}{ENTER}9996{ENTER}{ENTER}788{ENTER}11111{ENTER}111114444444&lt;br /&gt;
Send i{ENTER}{ENTER}33332{ENTER}{ENTER}99996{ENTER}{ENTER}77778{ENTER}{ENTER}&lt;br /&gt;
Send d7{ENTER}88{ENTER}6{ENTER}{ENTER}32{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}78{ENTER}44{ENTER}8{ENTER}{ENTER}&lt;br /&gt;
Send 111{ENTER}88{ENTER}6{ENTER}{ENTER}32{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}78{ENTER}44{ENTER}8{ENTER}{ENTER}&lt;br /&gt;
Send 333333{ENTER}44{ENTER}8{ENTER}{ENTER}96{ENTER}88{ENTER}6{ENTER}{ENTER}32{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}&lt;br /&gt;
Send 99999988{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}78{ENTER}44{ENTER}8{ENTER}{ENTER}96{ENTER}88{ENTER}6{ENTER}{ENTER}&lt;br /&gt;
Send 7444{ENTER}{ENTER}1114{ENTER}{ENTER}3332{ENTER}{ENTER}9996{ENTER}{ENTER}788{ENTER}11111{ENTER}&lt;br /&gt;
Send 9988888888{ENTER}999{ENTER}+444444&lt;br /&gt;
return&lt;br /&gt;
&lt;br /&gt;
+^g::&lt;br /&gt;
Send i{ENTER}{ENTER}33332{ENTER}{ENTER}99996{ENTER}{ENTER}77778{ENTER}{ENTER}&lt;br /&gt;
Send d7{ENTER}88{ENTER}6{ENTER}{ENTER}32{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}78{ENTER}44{ENTER}8{ENTER}{ENTER}&lt;br /&gt;
Send 111{ENTER}88{ENTER}6{ENTER}{ENTER}32{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}78{ENTER}44{ENTER}8{ENTER}{ENTER}&lt;br /&gt;
Send 333333{ENTER}44{ENTER}8{ENTER}{ENTER}96{ENTER}88{ENTER}6{ENTER}{ENTER}32{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}&lt;br /&gt;
Send 99999988{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}78{ENTER}44{ENTER}8{ENTER}{ENTER}96{ENTER}88{ENTER}6{ENTER}{ENTER}888889&lt;br /&gt;
Send i{ENTER}{ENTER}33332{ENTER}{ENTER}99996{ENTER}{ENTER}77778{ENTER}{ENTER}&lt;br /&gt;
Send d7{ENTER}88{ENTER}6{ENTER}{ENTER}32{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}78{ENTER}44{ENTER}8{ENTER}{ENTER}&lt;br /&gt;
Send 111{ENTER}88{ENTER}6{ENTER}{ENTER}32{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}78{ENTER}44{ENTER}8{ENTER}{ENTER}&lt;br /&gt;
Send 333333{ENTER}44{ENTER}8{ENTER}{ENTER}96{ENTER}88{ENTER}6{ENTER}{ENTER}32{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}&lt;br /&gt;
Send 99999988{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}78{ENTER}44{ENTER}8{ENTER}{ENTER}96{ENTER}88{ENTER}6{ENTER}{ENTER}+221&lt;br /&gt;
Send i{ENTER}{ENTER}33332{ENTER}{ENTER}99996{ENTER}{ENTER}77778{ENTER}{ENTER}&lt;br /&gt;
Send d7{ENTER}88{ENTER}6{ENTER}{ENTER}32{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}78{ENTER}44{ENTER}8{ENTER}{ENTER}&lt;br /&gt;
Send 111{ENTER}88{ENTER}6{ENTER}{ENTER}32{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}78{ENTER}44{ENTER}8{ENTER}{ENTER}&lt;br /&gt;
Send 333333{ENTER}44{ENTER}8{ENTER}{ENTER}96{ENTER}88{ENTER}6{ENTER}{ENTER}32{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}&lt;br /&gt;
Send 99999988{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}78{ENTER}44{ENTER}8{ENTER}{ENTER}96{ENTER}88{ENTER}6{ENTER}{ENTER}+1+46&lt;br /&gt;
Send i{ENTER}{ENTER}33332{ENTER}{ENTER}99996{ENTER}{ENTER}77778{ENTER}{ENTER}&lt;br /&gt;
Send d7{ENTER}88{ENTER}6{ENTER}{ENTER}32{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}78{ENTER}44{ENTER}8{ENTER}{ENTER}&lt;br /&gt;
Send 111{ENTER}88{ENTER}6{ENTER}{ENTER}32{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}78{ENTER}44{ENTER}8{ENTER}{ENTER}&lt;br /&gt;
Send 333333{ENTER}44{ENTER}8{ENTER}{ENTER}96{ENTER}88{ENTER}6{ENTER}{ENTER}32{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}&lt;br /&gt;
Send 99999988{ENTER}66{ENTER}2{ENTER}{ENTER}14{ENTER}22{ENTER}4{ENTER}{ENTER}78{ENTER}44{ENTER}8{ENTER}{ENTER}96{ENTER}88{ENTER}6{ENTER}{ENTER}+71144444&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===File pattern builder===&lt;br /&gt;
&lt;br /&gt;
This is a script to create a macro out of any building pattern you like. If you like tesselated, this script will do it. If you like blocky, this script can do that, too. Just create a text file that contains the pattern you want to use and this macro will create it like nobody's business.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;br /&gt;
 ; File Pattern.ahk				   	   ;&lt;br /&gt;
 ; this is an ahk script to read a text file and use	   ;&lt;br /&gt;
 ; the pattern contained inside as a blueprint for digging ;&lt;br /&gt;
 ; press d and place the cursor				   ;&lt;br /&gt;
 ; in a corner of the area to be explored		   ;&lt;br /&gt;
 ; then use ctrl+shift+d to run				   ;&lt;br /&gt;
 ; to change parameters, use ctrl+shift+f		   ; &lt;br /&gt;
 ;							   ;&lt;br /&gt;
 ; NOTE:					           ;&lt;br /&gt;
 ; Author: Corey Amend					   ;&lt;br /&gt;
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;&lt;br /&gt;
&lt;br /&gt;
filename = C:\pattern.txt&lt;br /&gt;
loc = ul&lt;br /&gt;
wait = 100&lt;br /&gt;
&lt;br /&gt;
wallsymbol = 1&lt;br /&gt;
floorsymbol = 0&lt;br /&gt;
updownsymbol = 2&lt;br /&gt;
downsymbol = 3&lt;br /&gt;
upsymbol = 4&lt;br /&gt;
rampsymbol = 5&lt;br /&gt;
channelsymbol = 6&lt;br /&gt;
&lt;br /&gt;
digcommand = d&lt;br /&gt;
upcommand = u&lt;br /&gt;
downcommand = j&lt;br /&gt;
updowncommand = i&lt;br /&gt;
rampcommand = r&lt;br /&gt;
channelcommand = h&lt;br /&gt;
&lt;br /&gt;
hdir = {Right}&lt;br /&gt;
vdir = {Down}&lt;br /&gt;
&lt;br /&gt;
upperleft = ul&lt;br /&gt;
upperright = ur&lt;br /&gt;
lowerleft = ll&lt;br /&gt;
lowerright = lr&lt;br /&gt;
&lt;br /&gt;
inrun = 0&lt;br /&gt;
&lt;br /&gt;
 ^+f::&lt;br /&gt;
inputbox filename, Enter Path, Enter the full path to the file that contains the pattern to use&lt;br /&gt;
inputbox loc, Enter Cursor Location, Enter the location of the cursor within the pattern (Upper Left = ul`, Lower Right = lr...etc.)&lt;br /&gt;
inputbox wait, Enter Delay, Enter the delay to use (default is 100)&lt;br /&gt;
return&lt;br /&gt;
&lt;br /&gt;
 ^+d::&lt;br /&gt;
&lt;br /&gt;
IfExist,  %filename%&lt;br /&gt;
{&lt;br /&gt;
	FileRead, contents, %filename%&lt;br /&gt;
	StringSplit Array, contents, `r, `n&lt;br /&gt;
&lt;br /&gt;
	if (loc = upperleft)&lt;br /&gt;
	{&lt;br /&gt;
		hdir = {Right}&lt;br /&gt;
		vdir = {Down}&lt;br /&gt;
	}&lt;br /&gt;
	else if (loc = upperright)&lt;br /&gt;
	{&lt;br /&gt;
		hdir = {Left}&lt;br /&gt;
		vdir = {Down}&lt;br /&gt;
	}&lt;br /&gt;
	else if (loc = lowerleft)&lt;br /&gt;
	{&lt;br /&gt;
		hdir = {Right}&lt;br /&gt;
		vdir = {Up}&lt;br /&gt;
	}&lt;br /&gt;
	else if (loc = lowerright)&lt;br /&gt;
	{&lt;br /&gt;
		hdir = {Left}&lt;br /&gt;
		vdir = {Up}&lt;br /&gt;
	}&lt;br /&gt;
	else&lt;br /&gt;
	{&lt;br /&gt;
		MsgBox, Invalid cursor location!&lt;br /&gt;
		return&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	Loop %Array0%&lt;br /&gt;
	{&lt;br /&gt;
		if (loc = upperleft || loc = upperright)&lt;br /&gt;
		{&lt;br /&gt;
			current_line = %a_index%&lt;br /&gt;
		}&lt;br /&gt;
		else if (loc = lowerleft || loc = lowerright)&lt;br /&gt;
		{&lt;br /&gt;
			current_line := (Array0 - a_index + 1)&lt;br /&gt;
		}&lt;br /&gt;
&lt;br /&gt;
		current_value := Array%current_line%&lt;br /&gt;
		&lt;br /&gt;
		len := StrLen(current_value)&lt;br /&gt;
&lt;br /&gt;
		if (hdir = &amp;quot;{Left}&amp;quot;)&lt;br /&gt;
		{&lt;br /&gt;
			new_value =&lt;br /&gt;
&lt;br /&gt;
			Loop %len%&lt;br /&gt;
			{&lt;br /&gt;
				new_value := new_value . SubStr(current_value, (len - a_index) + 1, 1)&lt;br /&gt;
			}&lt;br /&gt;
			&lt;br /&gt;
			current_value := new_value&lt;br /&gt;
		}&lt;br /&gt;
&lt;br /&gt;
		Loop %len%&lt;br /&gt;
		{&lt;br /&gt;
			current_char := SubStr(current_value, a_index, 1)&lt;br /&gt;
&lt;br /&gt;
			if (current_char != wallsymbol)&lt;br /&gt;
			{				&lt;br /&gt;
				if (!inrun)&lt;br /&gt;
				{&lt;br /&gt;
					if (current_char = floorsymbol)&lt;br /&gt;
					{&lt;br /&gt;
						Send %digcommand%&lt;br /&gt;
					}&lt;br /&gt;
					else if (current_char = updownsymbol)&lt;br /&gt;
					{&lt;br /&gt;
						Send %updowncommand%&lt;br /&gt;
					}&lt;br /&gt;
					else if (current_char = downsymbol)&lt;br /&gt;
					{&lt;br /&gt;
						Send %downcommand%&lt;br /&gt;
					}&lt;br /&gt;
					else if (current_char = upsymbol)&lt;br /&gt;
					{&lt;br /&gt;
						Send %upcommand%&lt;br /&gt;
					}&lt;br /&gt;
					else if (current_char = rampsymbol)&lt;br /&gt;
					{&lt;br /&gt;
						Send %rampcommand%&lt;br /&gt;
					}&lt;br /&gt;
					else if (current_char = channelsymbol)&lt;br /&gt;
					{&lt;br /&gt;
						Send %channelcommand%&lt;br /&gt;
					}&lt;br /&gt;
&lt;br /&gt;
					Send {Enter}&lt;br /&gt;
					inrun = 1&lt;br /&gt;
				}&lt;br /&gt;
&lt;br /&gt;
				;;If we're at the end of a line or the next char is different, then end the run&lt;br /&gt;
				if ((a_index &amp;gt;= len) || (current_char != SubStr(current_value, a_index + 1, 1)))&lt;br /&gt;
				{&lt;br /&gt;
					Send {Enter}&lt;br /&gt;
					inrun = 0&lt;br /&gt;
					Sleep %wait%&lt;br /&gt;
				}&lt;br /&gt;
			}&lt;br /&gt;
&lt;br /&gt;
			if (a_index &amp;lt; len)&lt;br /&gt;
			{&lt;br /&gt;
				Send %hdir%&lt;br /&gt;
			}&lt;br /&gt;
		}&lt;br /&gt;
		&lt;br /&gt;
		if (a_index &amp;lt; Array0)&lt;br /&gt;
		{&lt;br /&gt;
			Send %vdir%&lt;br /&gt;
&lt;br /&gt;
			if (hdir = &amp;quot;{Right}&amp;quot;)&lt;br /&gt;
			{&lt;br /&gt;
				hdir = {Left}&lt;br /&gt;
			}&lt;br /&gt;
			else if (hdir = &amp;quot;{Left}&amp;quot;)&lt;br /&gt;
			{&lt;br /&gt;
				hdir = {Right}&lt;br /&gt;
			}&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
else&lt;br /&gt;
{&lt;br /&gt;
	MsgBox File not found&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Sample file to show how this all works:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
111111&lt;br /&gt;
100001&lt;br /&gt;
100201&lt;br /&gt;
103001&lt;br /&gt;
100401&lt;br /&gt;
105001&lt;br /&gt;
100601&lt;br /&gt;
100001&lt;br /&gt;
111111&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This creates a room filled with up/down stairs, a ramp, and a channel.&lt;br /&gt;
&lt;br /&gt;
And finally, here's a sample pattern based on the decentralized workshop:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1111111111111111111111111111111111111&lt;br /&gt;
1000000000000001000001000000000000001&lt;br /&gt;
1000000000000001000001000000000000001&lt;br /&gt;
1000000000000000000000000000000000001&lt;br /&gt;
1000000000000001000001000000000000001&lt;br /&gt;
1000000000000001000001000000000000001&lt;br /&gt;
1000111101111111110111111111011110001&lt;br /&gt;
1000100000001000100010001000000010001&lt;br /&gt;
1000100000001000100010001000000010001&lt;br /&gt;
1000100000001000100010001000000010001&lt;br /&gt;
1000000000000010000000100000000000001&lt;br /&gt;
1000111101111000100010001111011110001&lt;br /&gt;
1000100000001000100010001000000010001&lt;br /&gt;
1101100010001000100010001000100011011&lt;br /&gt;
1000100000001000100010001000000010001&lt;br /&gt;
1000111101111111100011111111011110001&lt;br /&gt;
1000100000000000030400000000000010001&lt;br /&gt;
1010000000000000030400000000000000101&lt;br /&gt;
1000100000000000030400000000000010001&lt;br /&gt;
1000111101111111100011111111011110001&lt;br /&gt;
1000100000001000100010001000000010001&lt;br /&gt;
1101100010001000100010001000100011011&lt;br /&gt;
1000100000001000100010001000000010001&lt;br /&gt;
1000111101111000100010001111011110001&lt;br /&gt;
1000000000000010000000100000000000001&lt;br /&gt;
1000100000001000100010001000000010001&lt;br /&gt;
1000100000001000100010001000000010001&lt;br /&gt;
1000100000001000100010001000000010001&lt;br /&gt;
1000111101111111110111111111011110001&lt;br /&gt;
1000000000000001000001000000000000001&lt;br /&gt;
1000000000000001000001000000000000001&lt;br /&gt;
1000000000000000000000000000000000001&lt;br /&gt;
1000000000000001000001000000000000001&lt;br /&gt;
1000000000000001000001000000000000001&lt;br /&gt;
1111111111111111111111111111111111111&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== jokermatt999's pump stack builder ===&lt;br /&gt;
&lt;br /&gt;
Just a simple macro to place one mined level of a pump stack room, as illustrated in the pump stack page on this wiki. It's recommended you exit out after finishing up with it, as the macro is just assigned to p. Hit/Hold down p for multiple layers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
p::Send i{Enter}{Enter}{Right}d{Enter}{Right}{Right}{Down}{Down}{Enter}h{Enter}{Enter}{Up}{Left}x{Enter}{Enter}{Left}{Left}{Down}h{Enter}{Enter}{Up}{Up}{Shift Down}.{Shift Up}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
p::&lt;br /&gt;
Send i{Enter 2}&lt;br /&gt;
Send d6{Enter}33{Enter}&lt;br /&gt;
Send h{Enter 2}&lt;br /&gt;
Send x7{Enter 2}&lt;br /&gt;
Send h14{Enter 2}&lt;br /&gt;
Send 88{Shift Down}.{Shift Up}&lt;br /&gt;
return&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Game_Interface FAQ}}&lt;br /&gt;
[[Category:ahk scripts]]&lt;/div&gt;</summary>
		<author><name>Auto Slaughter</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.31:Health_care&amp;diff=128242</id>
		<title>v0.31:Health care</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.31:Health_care&amp;diff=128242"/>
		<updated>2010-09-26T17:00:49Z</updated>

		<summary type="html">&lt;p&gt;Auto Slaughter: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{quality|Exceptional|20:36, 13 August 2010 (UTC)}}{{av}}&lt;br /&gt;
{{buggy|bugsection=Bugs}}&lt;br /&gt;
&lt;br /&gt;
'''Hospitals''' are a {{l|Activity zone#Hospital|zone}} designated via the {{l|Activity zone|zone menu}}. Hospitals use any beds, tables, traction benches, and boxes/bags that are within these zones. You may also alter how much {{l|thread}}, {{l|cloth}}, {{l|splint}}s, {{l|crutch}}es, {{l|plaster powder}} for casts, {{l|bucket}}s, and {{l|soap}} hospitals use.&lt;br /&gt;
&lt;br /&gt;
'''Doctors''' are dwarves assigned to any of the five medical labors; dressing wounds, diagnosis, surgery, setting bones, and suturing. All doctors in the fortress operate under the instruction of the {{l|Chief Medical Dwarf}}, an appointed {{l|noble}}. Doctors perform medicine on a dwarf only after treatment has been prescribed by a diagnostician. Doctors do not perform any healthcare on animals, despite injured animals &amp;quot;requesting&amp;quot; diagnosis in the {{l|Health screen|z-health screen}}. &lt;br /&gt;
&lt;br /&gt;
All beds within a hospital zone are automatically Hospital beds, where injured dwarves will go to recuperate. Tired healthy dwarves will occasionally camp there too if the hospital is close, even if they have their own bed. &lt;br /&gt;
&lt;br /&gt;
== Medical Skills ==&lt;br /&gt;
There are five doctor skills - how critical they are is unclear at the moment, but from [[Toady]]'s pre-release comments we can assume they are moderately important to the healing process. &lt;br /&gt;
:''(And if you choose &amp;quot;{{L|Starting build|Play Now!}}&amp;quot;, one of the 7 dwarves has Adequate (+2) {{L|experience}} in all 5 of these skills).''&lt;br /&gt;
&lt;br /&gt;
Skill (&amp;amp; Profession)&lt;br /&gt;
&lt;br /&gt;
:* {{l|Diagnosis}} (Diagnostician) This skill is used at the start of the treatment of every wounded; used a lot and also needed by your chief medical dwarf&lt;br /&gt;
&lt;br /&gt;
:* {{l|Wound Dressing}} (Wound Dresser) This is also used pretty often; any wound seems to need it&lt;br /&gt;
&lt;br /&gt;
:* {{l|Suturing}} (Suturer) Fairly common; most open wounds (from cutting) seem to need it?&lt;br /&gt;
:* {{l|Surgery}} (Surgeon) Somewhat less common; amongst others, wounds to organs seem to require it&lt;br /&gt;
:* {{l|Setting Bones}} (Bone Doctor) This is obviously needed for broken bones, but perhaps not for all?&lt;br /&gt;
&lt;br /&gt;
===Non-doctor labors===&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Non&amp;quot;-doctors have 2 {{L|labor}}s that contribute to healthcare:&lt;br /&gt;
&lt;br /&gt;
:* Feed Patients/Prisoners&lt;br /&gt;
:* Recover Wounded&lt;br /&gt;
&lt;br /&gt;
Note that these are not {{L|skill}}s - they do not cause experience gain, but merely are activities that can be turned on/off for each dwarf. By default, all dwarfs start with these labors designated.&lt;br /&gt;
&lt;br /&gt;
==Setting up a Hospital==&lt;br /&gt;
* You must have assigned a Chief Medical Dwarf to diagnose patients. Without a diagnosis, patients cannot be treated. If they cannot be treated, they will occupy the hospital area until they die, performing no function. (any dwarf with the Diagnosis labor enabled can diagnose dwarves, but the Chief Medical Dwarf may impact the diagnosis Job creation)&lt;br /&gt;
* Ensure your doctors have their respective healthcare labors enabled through {{k|v}}-{{k|p}}-{{k|l}} in order to handle treatments.&lt;br /&gt;
* Hit the 'i' key, and set up a hospital [[zone]] for the area you plan on having your hospital in. Be sure &amp;quot;Hospital&amp;quot; is highlighted.&lt;br /&gt;
* Place enough beds in that zone to ensure you can keep all wounded dwarves in the hospital, plus a few spare that will be occupied by lazy couch-surfers. &lt;br /&gt;
* Build at least four containers ({{k|b}}-{{k|h}}) to store hospital supplies.&lt;br /&gt;
* Build tables ({{k|b}}-{{k|t}}) for surgeons to perform surgery on. You may perform surgery without tables; it will be more messy.&lt;br /&gt;
** Place the tables right next to the beds, or you will get &amp;quot;cancels surgery, patient not resting&amp;quot; spam, as moving the sleeping patient more than one square from the bed to the table wakes up the patient [http://www.bay12forums.com/smf/index.php?topic=60231.0]&lt;br /&gt;
* Build one (or more) traction benches to handle compound fractures when the dwarf requires &amp;quot;immobilization.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Broken bones ==&lt;br /&gt;
&lt;br /&gt;
Broken bones require additional medical peripherals/devices to be properly treated.&lt;br /&gt;
&lt;br /&gt;
=== Traction Benches ===&lt;br /&gt;
&lt;br /&gt;
A '''traction bench''' is used by a {{l|doctor}} in a {{l|Hospital|hospital zone}} to immobilize a dwarf that has sustained complex or overlapping fractures.&lt;br /&gt;
&lt;br /&gt;
It is constructed in the {{l|Mechanic's workshop}}, and requires a {{l|table}}, a {{l|mechanism}}, and a {{l|rope}} to construct.&lt;br /&gt;
&lt;br /&gt;
=== Casts ===&lt;br /&gt;
&lt;br /&gt;
Casts are made out of {{l|plaster powder}} and are used to keep broken bones in their proper place until healed. To store it in a hospital, create a stockpile with furniture/siege ammo enabled, metals allowed (is this needed?), core and total quality all allowed, material plant cloth, and boxes and bags individually selected. Gypsum plaster under &amp;quot;other stones&amp;quot; should also be selected. Applying a cast also requires a bucket and cloth, and a water source.&lt;br /&gt;
&lt;br /&gt;
Plaster powder is produced at a {{L|kiln}} or {{L|magma kiln}} from {{L|gypsum}}, {{L|alabaster}}, {{L|selenite}}, or {{L|satinspar}} and an empty {{L|bag}} by a dwarf with the furnace operator skill enabled.  They can also be bought at embark for 3 points per unit, with each unit coming with a free {{L|bag}}.&lt;br /&gt;
&lt;br /&gt;
=== Crutches ===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|Crutches are represented with the symbol&lt;br /&gt;
|{{RT0|┬|#770}}&lt;br /&gt;
|.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A dwarf that needs to use a crutch/crutches will gain experience in the '''Crutch Walking''' skill, which Toady has stated will reduce the speed penalty for having to use crutches. Presumably, at legendary, they will move just as fast as without crutches. Testing remains to be seen whether using crutches causes any other penalties that this skill might reduce.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''See Also:''' &lt;br /&gt;
*{{l|Health screen|z-health screen}}&lt;br /&gt;
&lt;br /&gt;
==Infection==&lt;br /&gt;
Every open wound can become infected. Infections may heal over the time, however, many dwarves will die due to infection, often months after the actual wounding&lt;br /&gt;
&lt;br /&gt;
Causes of infection include:&lt;br /&gt;
* No cleaning of the wounds&lt;br /&gt;
* Cleaning with water from a stagnant water source&lt;br /&gt;
* Cleaning without soap&lt;br /&gt;
* Medical operation from unskilled doctors {{verify}}&lt;br /&gt;
* Bad luck&lt;br /&gt;
&lt;br /&gt;
==Tips for an Effective Hospital==&lt;br /&gt;
* Regularly use ({{k|i}}-{{k|H}}) to examine your hospital stockpile. Ensure your hospital is well-stocked. If you run out of materials regularly, increase the limits.&lt;br /&gt;
* It is possible to do without soap in the hospital stockpile. Choosing to do so, however, increases the risk of infection, which most likely will kill your dwarf. Consult the {{l|soap}} page to understand that industry. Bring a 2 lye on embark for easy soap.&lt;br /&gt;
* Put a well inside the hospital for maximum efficiency. Doctors need to wash regularly, and clean water reduces infection.&lt;br /&gt;
* Do not place chairs next your surgery tables. A chair is an invitation for rat-roast eating freeloaders to block the medical process.&lt;br /&gt;
* As of {{version|0.31.06}}, Surgeons may get stuck in Surgery if they cannot lift their patient. If this happens, remove all tables and traction benches to force them to perform the surgery &amp;quot;on the spot.&amp;quot; &lt;br /&gt;
* Consider making use of burrows to ensure your healthcare workers stay in the area. &lt;br /&gt;
* You may wish to consider individual rooms for each bed if you find your doctors are choosing to treat Urist McScratched over Urist McBloodFountainTheGushing. A locked door minimizes the mess and thereby infection and allows you to prioritize.&lt;br /&gt;
* The Chief Medical Dwarf should be kept unbusy and near the hospital, as no treatment will begin until he has diagnosed them.&lt;br /&gt;
** Yes, expecting him to also treat dwarves is a distraction. When you have multiple dwarves needing a diagnosis, the other medical dwarves cannot start work until he has finished.&lt;br /&gt;
* Create &amp;quot;nurses&amp;quot; by setting dwarves to only use the Recover Wounded, Bring Food and Water labors. &lt;br /&gt;
** It is important not to distract doctors from treating patients. &lt;br /&gt;
** &amp;quot;Give food&amp;quot; and &amp;quot;Give water&amp;quot; are low priority jobs, so it is entirely possible for a patient to starve to death if no one ever gets &amp;quot;unbusy&amp;quot; enough to bring them food. &lt;br /&gt;
** Similarly, it is important not to put your doctors at risk by recovering wounded in the middle of a battle—if they become injured, they cannot treat themselves.&lt;br /&gt;
* You can select nurses who enjoy helping people to give them good thoughts. This helps prevent dwarves that hate bringing others food from receiving unhappy thoughts for being &amp;quot;forced&amp;quot; to.&lt;br /&gt;
* Consult the talk page where past bugs are detailed. Healthcare started out with many bugs. Some of those bugs may no longer be valid.&lt;br /&gt;
&lt;br /&gt;
Dwarves will prefer to store and use the most expensive thread and cloth. Yes, that includes '''adamantine strands'''. ''Fortunately,'' adamantine is not nearly as useful in DF2010 as it used to be; this would have been crippling in 40d.&lt;br /&gt;
&lt;br /&gt;
==Bugs==&lt;br /&gt;
Items linking to a bug on the bug tracker are accurate as of {{version|0.31.08}}.  Older bugs should be removed or tagged with the version they were fixed in.&lt;br /&gt;
&lt;br /&gt;
* If a dwarf gets stuck in surgery or is never properly treated, you can re-injure them to get the attention of Dwarven Healthcare, e.g. by causing a {{l|Cave-in}}. This will cause a new diagnosis to be made and may free the invalid. If he is stuck in a bed, you can sometimes remove the bed the dwarf is resting in to get him to leave the hospital.  {{verify}}&lt;br /&gt;
* Gypsum powder is not stored at the hospital. {{bug|194}}&lt;br /&gt;
* Bone doctors cannot fill buckets to apply plaster casts, instead standing next to the water source holding a bucket indefinitely. If an already-full bucket of water is available somewhere in the fortress, forbidding all empty buckets will allow the cast to be made. {{bug|2627}}&lt;br /&gt;
* Dwarves with healthcare jobs will use the closest supplies to do their work, even if they are not stored in the hospital. {{bug|287}}&lt;br /&gt;
* The hospital allocates as many of a material as possible (enough to fill all chests in the hospital) whenever the material is understocked by any amount. {{bug|191}}&lt;br /&gt;
* The quality and value of a finished traction bench doesn't account for all of the inputs used to make it. {{verify}}&lt;br /&gt;
* Dwarves will steal items from the caravan and store them in hospital.&lt;br /&gt;
* For whatever reason, Dwarves will '''never, EVER''' be assigned crutches. No matter what. It doesn't matter what labors are or aren't assigned, where your crutches are or aren't kept, whether they're stored in {{L|container}}s {{k|b}}uilt in the hospital or in stock{{k|p}}iles placed within the hospital, whether the crutches are masterworks or just tack, or what other injuries the dwarves do or do not have. What this means, in practical gameplay terms, is that a dwarf with a broken leg will recover once the leg is set with gypsum plaster - but a dwarf with sensory nerve damage, or a missing limb, will '''remain a bed-ridden invalid for the rest of their miserable life'''. No known workaround, save for {{L|Unfortunate accident|intensive manual therapy}}. {{verify}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Current]]&lt;/div&gt;</summary>
		<author><name>Auto Slaughter</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.31:Trap&amp;diff=127856</id>
		<title>v0.31:Trap</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.31:Trap&amp;diff=127856"/>
		<updated>2010-09-19T20:49:43Z</updated>

		<summary type="html">&lt;p&gt;Auto Slaughter: /* Weapon Trap */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{quality|Exceptional|08:00, 22 May 2010 (UTC)}}{{av}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Traps''' are a comparatively quick and easy method for defending a fortress. Unlike {{L|soldier}}s, they're always on duty, and, once set up, need less management. On the other hand, they are immobile and can only lie in wait for foes to walk over them. To build a trap, go to the {{k|b}}uild-&amp;gt;{{k|T}}raps/Levers menu. You'll generally need one {{L|mechanism}}, a dwarf with the {{L|mechanic}} labor designated (ranks in this {{L|skill}} reduce the time to place a trap), and at least one other component depending on the type of trap - a stone, a cage, or one or more weapons. They can be built indoors or outdoors, and require a level ground square with no other constructions in them.&lt;br /&gt;
&lt;br /&gt;
Stone-fall, weapon and cage traps will be triggered by most hostile entities entering their tile, with the possible exception of {{L|thief|thieves}}, flying creatures and other occasional nasty surprises.  Any unconscious creature will trigger traps, including your own dwarves.&lt;br /&gt;
&lt;br /&gt;
Note that only dwarfs with the mechanic labor enabled will reload traps (cage, stone or weapon). In combat situations, {{L|Mechanic}}s have a nasty habit of wanting to reload (or clean) traps when they are triggered, regardless of who or what might be out there as well. {{L|Forbid}}ding traps after they are built will keep [[Urist|Urist McSuicide]] from deciding to reload a trap in the middle of a {{L|siege}}. Just remember to unforbid them when things calm down, so the traps are all ready for next time. Note that forbidding a trap after it has been triggered doesn't help, as the job to refill the trap has already been issued in that case, so a Mechanic will carry a stone out to the trap anyway. Alternatively, simply order your dwarves to stay within a safe {{L|burrow}} until any threats have been dealt with.&lt;br /&gt;
&lt;br /&gt;
==Stone-fall Trap==&lt;br /&gt;
The simplest trap to construct, a stone-fall trap is essentially a {{L|stone}} suspended up in the air which is dropped on intruders when the trap is triggered. These are a popular defensive measure early on, as the components needed are readily available as soon as you start mining. A single stone trap will usually '''not''' severely wound or kill most animals and enemies, to the extent that this may be a bug. After being used they need to be reloaded with another stone by any {{L|dwarf}} with {{L|mechanic}} {{L|skill}} enabled, a task which your dwarves will see to automatically. The dwarf will generally not use the stone that just dropped, but a new one (would you want to put your hands on that gory mess?). Being that stonefall traps do &amp;lt;em&amp;gt;not&amp;lt;/em&amp;gt; alert you of ambushes when triggered by hidden invaders{{verify}}, this can frequently lead your mechanics into peril. &lt;br /&gt;
&lt;br /&gt;
:*Shortcut {{k|b}} {{k|T}} {{k|s}}&lt;br /&gt;
:*Components used: {{L|mechanism}} and an ordinary {{L|stone}}&lt;br /&gt;
&lt;br /&gt;
==Weapon Trap==&lt;br /&gt;
Weapon traps are similar in nature to stone-fall traps, and are triggered when any hostile creature stands on the trap. They tend to be a much more reliable trap for outright killing or critically injuring invading creatures. Before you write off stone-fall traps as worse versions of weapon traps, it's important to note that weapon traps require you to have previously made {{L|Weapon}}s to put inside the trap, making them more of an option somewhat later in the game. Any weapon can be used, including human ones, training weapons, bows, traded weapons and presents from goblins, as well as specialist &amp;quot;trap only&amp;quot; weapons. (Think of it as fair retribution when goblins are sliced in pieces by their own axes!)&lt;br /&gt;
&lt;br /&gt;
The specialist weapons can be built in 3 workshops:&lt;br /&gt;
&lt;br /&gt;
{{L|Metalsmith's forge}} (menacing &amp;lt;metal&amp;gt; spike / large, serrated &amp;lt;metal&amp;gt; disc / spiked &amp;lt;metal&amp;gt; ball / enormous &amp;lt;metal&amp;gt; corkscrew / giant &amp;lt;metal&amp;gt; axe blade)&lt;br /&gt;
 &lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
{{L|Carpenter's workshop}} (menacing &amp;lt;wooden&amp;gt; spike / spiked &amp;lt;wooden&amp;gt; ball / enormous &amp;lt;wooden&amp;gt; corkscrew)&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
{{L|Glass furnace}} (menacing &amp;lt;glass&amp;gt; spike / large, serrated &amp;lt;glass&amp;gt; disc / spiked &amp;lt;glass&amp;gt; ball / enormous &amp;lt;glass&amp;gt; corkscrew / giant &amp;lt;glass&amp;gt; axe blade)&lt;br /&gt;
&lt;br /&gt;
Don't know which to make? -&amp;gt; '''Detailed {{L|Trap component}} information'''&lt;br /&gt;
&lt;br /&gt;
These weapons have all the material property advantages and disadvantages that normal weapons have. It should be noted that the trap weapons are larger than normal dwarf weapons meaning they should be more effective in the new combat system than normal weapons made of equivalent materials (this is all subject to change in future revisions of the combat system). When triggered, this trap will &amp;quot;attack&amp;quot; the creature with all the weapons available to it, normally doing massive damage.&lt;br /&gt;
&lt;br /&gt;
Weapon traps do not cause slightly suicidal mechanics to reset them after each triggering but instead reset automatically in a period of time (unknown time period). However it is possible for the traps to jam when the unfortunate victim gets stuck in the mechanism (use &amp;quot;t&amp;quot; to check the trap) but the body can be removed by a dwarf. When the trap jams, the mechanic will automatically attempt to clean it, so forbidding the body may be necessary to save him from the victim's friends.&lt;br /&gt;
&lt;br /&gt;
When placing the trap you will be asked for a type of mechanism as normal, then asked to select weapons to use. At this point you will get a list of all stockpiled weapons in your fortress. +- will select different weapons and pressing &amp;quot;Enter/Return&amp;quot; adds 1 of the selected weapon to the trap. Up to 10 weapons can be put in each trap and all weapons in the trap will attack at once when it is triggered (10 large serrated disks normally results in the unfortunate triggering creature leaving with less limbs than it came in with). When happy with your weapon selection press &amp;quot;d&amp;quot; to set the trap.&lt;br /&gt;
&lt;br /&gt;
It also appears that there's a chance that invaders may dodge the traps: in fact, the triggering creature will defend from the trap's attacks just like from a dwarf's, by jumping away, dodging and blocking.&lt;br /&gt;
&lt;br /&gt;
:*Shortcut {{k|b}} {{k|T}} {{k|w}}&lt;br /&gt;
:*Components used: {{L|mechanism}} and 1 to 10 weapons.&lt;br /&gt;
&lt;br /&gt;
==Cage Trap==&lt;br /&gt;
Cage traps are different to the other trap types in that they do not directly kill or injure invaders. Instead, they capture the unfortunate creature that triggers them in a {{L|cage}}. Despite the lack of violence, this is still very effective as it completely neutralizes the target so that they can be dealt with later. After a creature is captured, it's stored in an animal {{L|stockpile}}. The trap must then be reset by hauling an empty cage to the traps location (this is done automatically by any dwarf with the {{L|Mechanic}} labor). '''Most''' captured creatures do not require any nourishment and will survive being in a cage indefinitely (submerging them in water also appears to have no effect on the captured creature). Cage traps will also alert you to ambushes when triggered by hidden invaders, making them a useful forward defense mechanism.&lt;br /&gt;
&lt;br /&gt;
It is possible for dwarves to bring {{L|water}} to cages, but this will only occur if you have someone friendly also locked in the cage - like a dwarf child snatched by a goblin. In this case remove the poor fellow using the goblin's inventory screen.&lt;br /&gt;
&lt;br /&gt;
'''Cage traps cannot capture every creature in the game''', so you will need alternative defenses. There are mixed reports, but it seems some types of {{L|demon|dangerous creatures}} are vulnerable to cage traps, while some aren't.  &lt;br /&gt;
&lt;br /&gt;
Cage traps are also useful for catching animals. This can be done by simply placing traps in areas where wild animals roam (this does '''not''' require a dwarf with the {{L|Trapping}} labor enabled). The captured animals can be used to fuel your meat industry, or can be tamed (and sometimes trained into war animals!) at the {{L|kennel|kennels}}. Note that many animals require the presence of the {{L|Dungeon Master}} to be tamable.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:*Shortcut {{k|b}} {{k|T}} {{k|c}}&lt;br /&gt;
:*Components used: {{L|mechanism}} and a {{L|cage}}.&lt;br /&gt;
:*If the trap is a Dark Green, then it does not have a cage in it.&lt;br /&gt;
:*If the trap is a Light Green, Then it does have a cage in it.&lt;br /&gt;
&lt;br /&gt;
To release a tame creature from a cage, build the cage ({{k|b}} {{k|j}}) and use {{k|q}} to unassign it. To release a hostile creature, you must build it and link it to a {{L|lever}} or designate the creature inside to be dumped in a pit.&lt;br /&gt;
&lt;br /&gt;
==Upright Spear/Spike==&lt;br /&gt;
&lt;br /&gt;
A variation of the weapon trap, the Upright Spear/Spike itself requires no mechanisms, and can be fitted with up to 10 {{L|Weapon|spears}} or {{L|Trap component|spikes}}.  However, it requires an external trigger to actually impale things.  Either a {{L|pressure plate}} or a {{L|lever}} must be connected to this trap for it to be operated.  The advantage of this trap is it doesn't require a Mechanic to set it up - just to link it to a trigger.  &lt;br /&gt;
&lt;br /&gt;
An often overlooked ability of an upright spike trap is that it also inflicts damage on a creature that falls onto it while it is deployed.  And since they are built in the deployed state they can be quickly built to make a pit trap more lethal, without the need for extra mechanisms.  However, you will still need the mechanisms that cause your victims to fall onto the spike from above in the first place, and the pit must be more than 1 z level deep for the spikes to cause damage.&lt;br /&gt;
&lt;br /&gt;
:*Shortcut {{k|b}} {{k|T}} {{k|S}}&lt;br /&gt;
:*Components used:  between 1 and 10 spears or spikes.&lt;br /&gt;
&lt;br /&gt;
==Other Traps==&lt;br /&gt;
You can create even more elaborate traps with imaginative use of pits, {{L|pressure plate}}s, {{L|lever}}s, {{L|grate}}s, {{L|support}}s, {{L|water}}, and/or {{L|magma}}, creating sacrificial altars (blood for the Blood God!) and whatever else you can think of.  Watching those goblins try to find a way out of your drowning chamber as it begins to fill is really quite satisfying.  These are best made in a large, repeatable mass killing, way. If you make a trap that kills 10 or so goblins, that only works once and you have to rebuild it, wasting time you don't have during a {{L|siege}}, you're not trying hard enough.&lt;br /&gt;
&lt;br /&gt;
See {{L|Trap design}}&lt;br /&gt;
&lt;br /&gt;
{{buildings}}&lt;/div&gt;</summary>
		<author><name>Auto Slaughter</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.31:Lever&amp;diff=127822</id>
		<title>v0.31:Lever</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.31:Lever&amp;diff=127822"/>
		<updated>2010-09-19T08:45:32Z</updated>

		<summary type="html">&lt;p&gt;Auto Slaughter: /* Labeling */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{quality|Exceptional|07:05, 18 August 2010 (UTC)}}{{av}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A '''lever''' is a building constructed from one {{L|mechanism}} on an empty tile. Once in place, it can be linked to one or more other devices such as {{L|door}}s, {{L|bridge}}s or {{L|support}}s, permitting you to control these other devices by ordering the lever pulled through its {{k|q}} menu. A free dwarf will get assigned the job of pulling the lever. This dwarf might be a long way away, and the delay in pulling the lever can result in {{L|fun}}.&lt;br /&gt;
&lt;br /&gt;
{{L|Pressure plate}}s are like levers, but triggered by creatures or fluids rather than by giving an order to a dwarf. If you are trying to trigger a trap, the delay in getting the lever pulled might prove very {{L|fun}}, so a pressure plate may be a better choice. More on trap design {{L|trap design|here}}.&lt;br /&gt;
&lt;br /&gt;
When a lever is linked with one or more devices ({{L|door}}s, {{L|trap}}s, {{L|bridge}}s, etc.), pulling the lever activates that secondary system. What &amp;quot;activates&amp;quot; means depends on the linked device:&lt;br /&gt;
* {{L|Door}}s open and close,&lt;br /&gt;
* {{L|Support}}s collapse, potentially causing a cave-in. (Pulling the lever again won't put it back, cave-in or not.)&lt;br /&gt;
* {{L|Bridge}}s raise and lower, or retract and extend, depending on the type of bridge.&lt;br /&gt;
* {{L|Floodgate}}s open and close,&lt;br /&gt;
* A {{L|Gear assembly}} engages and disengages (disengaged assemblies can't support other machinery),&lt;br /&gt;
* {{L|Cage}}s are deconstructed, releasing their content (single-use only), and&lt;br /&gt;
* {{L|Spike}}s raise and lower.&lt;br /&gt;
&lt;br /&gt;
Different objects take different amounts of time to respond to activation; generally this is only a brief pause but it can be enough for a charging {{L|goblin}} to cover more than a few tiles.&lt;br /&gt;
&lt;br /&gt;
==Linking==&lt;br /&gt;
One {{L|mechanism}} is required to construct a lever, and then two more are required to '''link''' the lever with a device. The link is made by selecting the lever with {{k|q}}, choosing the type of object you want to link the lever to, and then using {{k|-}} and {{k|+}} to choose the particular object. The list is chronological by order of construction, most recently designated last, and the map will recenter on each object as you scroll through the list.&lt;br /&gt;
&lt;br /&gt;
Then you can choose what specific mechanisms you want to use to connect the device to the lever. The quality of a mechanism affects the accuracy of traps, but not the speed of activation. The first mechanism you choose is for the device end, the second for the lever end. This is important when working with {{L|magma}}.&lt;br /&gt;
&lt;br /&gt;
A lever can be linked to any number of objects, and each object can have any number of levers controlling it.&lt;br /&gt;
&lt;br /&gt;
There is no way to de-link an object without disassembling either object or lever {{verify}}.&lt;br /&gt;
&lt;br /&gt;
==Labeling==&lt;br /&gt;
There is no built-in indication of what a lever does, and pulling them to see what will happen can be immensely {{L|fun}}. Using the {{L|note}} function is the most foolproof way of labeling levers; colour-coding of levers can give some indication too.&lt;br /&gt;
&lt;br /&gt;
However, it is possible to ascertain whether or not a building has been linked to a lever by finding the building under {{k|R}} &amp;quot;View Rooms/Buildings&amp;quot; and then selecting {{k|t}} &amp;quot;Zoom to building items&amp;quot;.  A device that is actuated by a lever not only lists the components of the building but will also include a mechanism item.  Viewing the lever itself this way will display one mechanism for each building the lever is linked to.  (But it is not possible to ascertain which lever is linked to which buildings.)&lt;br /&gt;
&lt;br /&gt;
{{buildings}}&lt;/div&gt;</summary>
		<author><name>Auto Slaughter</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.31:Farming&amp;diff=127790</id>
		<title>v0.31:Farming</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.31:Farming&amp;diff=127790"/>
		<updated>2010-09-18T10:25:01Z</updated>

		<summary type="html">&lt;p&gt;Auto Slaughter: /* Above Ground Farming */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{quality|Exceptional|08:00, 22 May 2010 (UTC)}}{{AV}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Farming''' is the action of growing {{l|crops}} for {{l|food}}, {{l|alcohol}} production and {{l|cloth}} manufacturing. While small forts can easily be sustained by plant gathering, {{l|hunting}} and trading, farming is vital to large settlements.&lt;br /&gt;
&lt;br /&gt;
Farming is done at a '''farm plot''' building ({{k|b}}-{{k|p}}, resize with {{k|u}}{{k|m}}{{k|k}}{{k|h}}). It requires {{l|seeds}} and a worker with the &amp;quot;Farming (Fields)&amp;quot; {{l|labor}} enabled. &lt;br /&gt;
&lt;br /&gt;
Depending on where the farm plot is constructed, different crops may be planted; Farm plots built {{l|Above Ground}} are not suitable for the crops grown on {{L|subterranean}} farm plots and vice versa. Note that the attributes {{DFtext|Inside |6:0:0}}, {{DFtext|Dark |0:0:1}}, {{DFtext|Outside|3:0:1}} and {{DFtext|Light|6:0:1}} are of no relevance.&lt;br /&gt;
&lt;br /&gt;
See the article on {{L|crop}}s for details on the conditions needed to grow the available plants.&lt;br /&gt;
&lt;br /&gt;
== Introduction to Farming ==&lt;br /&gt;
&lt;br /&gt;
After building a farm plot building ({{k|b}}-{{k|p}}, resize with {{k|u}}{{k|m}}{{k|k}}{{k|h}}), you must select which crops to plant there.  &lt;br /&gt;
&lt;br /&gt;
Press {{k|q}} and move the cursor over the farm, you will see a list of crops you can select to grow in the current season.  To move to plan for crops to be farmed in different seasons use {{k|a}},{{k|b}},{{k|c}}, or {{k|d}}.  You can select a farm to be [[fertilize]]d but starting out you won't have the necessary items to do so, and it's largely unnecessary.&lt;br /&gt;
&lt;br /&gt;
You must have the appropriate {{L|seed}}s to plant a crop there.  To easily see how many of each seeds you have you can go to the Kitchen menu {{k|z}} {{k|right}} {{k|Enter}}.  Good selections starting out below ground are plump helmet spawn, above ground wild strawberries are good.  Check the {{L|crop}}s page for details on different seeds.  Only some plants are edible so make sure the seeds you're using will produce food.  It's often a good idea to pick a seed which produces a plant which can be {{L|brew}}ed.  This will create {{L|alcohol}} and also give you a seed to plant again next season.&lt;br /&gt;
&lt;br /&gt;
Instructing a plot to remain fallow{{k|z}} during a particular season will instruct dwarves not to plant in that plot during that season.&lt;br /&gt;
&lt;br /&gt;
=== Subterranean Farming ===&lt;br /&gt;
&lt;br /&gt;
Underground farms are required to grow the 6 &amp;quot;dwarven&amp;quot; plants, including the {{l|plump helmet}}.  Seeds and spawn available at embark are for underground crops only.&lt;br /&gt;
&lt;br /&gt;
Underground farm plots must be placed on either soil or mud, however, a bug is currently causing farming to only work on mud{{version|0.31.12}}. Muddying the ground means to temporarily cover it with water (common methods include a bucket brigade or '''controlled''' flooding by temporarily diverting a river or pool, using a floodgate or door), or find a muddied area in a {{L|cavern}}) (each tile underneath the farm plot must be muddied). Most caverns have entire open areas which will be permanently covered in mud, though beware the underground inhabitants when farming. Any underground surface can be used to create a farm plot, provided you muddy it first. &lt;br /&gt;
&lt;br /&gt;
Underground {{L|Cavern|caverns}} will most often have multiple {{L|Mud|Piles of mud}} to build Subterranean plots on. Note: Underground caverns are very dangerous places, it would be a good idea to have a {{L|squad}} guard the farm and to set up walls around the area.&lt;br /&gt;
&lt;br /&gt;
See {{L|irrigation}} for more.&lt;br /&gt;
&lt;br /&gt;
=== Above Ground Farming ===&lt;br /&gt;
Above ground farming is basically the same as underground farming, with the simplifying distinction that above ground plots typically do not require preperations. However, there are some complications.&lt;br /&gt;
&lt;br /&gt;
The first complication is that seeds cannot be chosen at embark.  They can be bought from caravans ({{L|elves|elven}} or {{L|humans|human}}); or above-ground plants can be gathered using the {{L|Plant gathering}} designation, and then {{L|brewer|brewed}}, {{L|mill|milled}}, {{L|thresher|threshed}} or {{L|dining hall|eaten}} directly (depending on the plant) to produce seeds.&lt;br /&gt;
&lt;br /&gt;
The second complication is that the farming must be done on {{L|soil}}.  Typically, it is done above ground, which is dangerous (due to aggressive animals, ambushes and sieges).  However, any land which has ever been exposed to sunlight becomes permanently marked as &amp;quot;above ground&amp;quot;.  So, if you have multiple Z-layers of soil, you can channel some above-ground land, remove the resulting ramps, then construct a floor above, where the surface once was.  The (now dark and protected) lower soil will still be suitable for farming {{L|wild strawberry|wild strawberries}}, {{L|longland grass}}, {{L|rope reed}}, and anything else you may find.&lt;br /&gt;
&lt;br /&gt;
Above ground farms built on rock layers (muddied or otherwise) will show the message &amp;quot;No seeds available for this location&amp;quot;, and you ''will not'' be able to plant anything in them.&lt;br /&gt;
&lt;br /&gt;
Some crops require a particular temperature range to grow; so although it may be possible to plant them in any season, to obtain optimal usage of farm plots it may be necessary to coordinate planting with seasonal temperature variations.&lt;br /&gt;
&lt;br /&gt;
== Farm plots in action ==&lt;br /&gt;
&lt;br /&gt;
Once a farm plot has been built and crops have been selected for the current season, dwarves with the {{l|growing}} labor enabled will begin planting the selected seed. The higher a Dwarf's grower skill in planting, the more plants will be harvested from each seed planted. The farming labor is fairly low in priority, so if you want a full time farmer, it is best to disable all other labors.&lt;br /&gt;
&lt;br /&gt;
Plants take time to grow, depending on their type. Once a plant is fully grown, a dwarf will harvest it. By default, any dwarf will do this. Harvesting plants is not affected by any skill, although it provides a small amount of grower experience. Plants that remain in the field for too long will wither.  These plants will eventually rot away, but do not currently due to a bug (1280).&lt;br /&gt;
&lt;br /&gt;
Depending on the number of growers and their experience and the rate at which the plant grows, not all squares of large plots may be used.&lt;br /&gt;
&lt;br /&gt;
{{Farming FAQ}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{L|Irrigation}}&lt;br /&gt;
* {{L|Tile attributes|Tile Attributes}}&lt;br /&gt;
* {{L|Crops}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Category|Buildings}}&lt;/div&gt;</summary>
		<author><name>Auto Slaughter</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.31:Farming&amp;diff=127789</id>
		<title>v0.31:Farming</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.31:Farming&amp;diff=127789"/>
		<updated>2010-09-18T10:14:03Z</updated>

		<summary type="html">&lt;p&gt;Auto Slaughter: /* Above Ground Farming */ sp&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{quality|Exceptional|08:00, 22 May 2010 (UTC)}}{{AV}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Farming''' is the action of growing {{l|crops}} for {{l|food}}, {{l|alcohol}} production and {{l|cloth}} manufacturing. While small forts can easily be sustained by plant gathering, {{l|hunting}} and trading, farming is vital to large settlements.&lt;br /&gt;
&lt;br /&gt;
Farming is done at a '''farm plot''' building ({{k|b}}-{{k|p}}, resize with {{k|u}}{{k|m}}{{k|k}}{{k|h}}). It requires {{l|seeds}} and a worker with the &amp;quot;Farming (Fields)&amp;quot; {{l|labor}} enabled. &lt;br /&gt;
&lt;br /&gt;
Depending on where the farm plot is constructed, different crops may be planted; Farm plots built {{l|Above Ground}} are not suitable for the crops grown on {{L|subterranean}} farm plots and vice versa. Note that the attributes {{DFtext|Inside |6:0:0}}, {{DFtext|Dark |0:0:1}}, {{DFtext|Outside|3:0:1}} and {{DFtext|Light|6:0:1}} are of no relevance.&lt;br /&gt;
&lt;br /&gt;
See the article on {{L|crop}}s for details on the conditions needed to grow the available plants.&lt;br /&gt;
&lt;br /&gt;
== Introduction to Farming ==&lt;br /&gt;
&lt;br /&gt;
After building a farm plot building ({{k|b}}-{{k|p}}, resize with {{k|u}}{{k|m}}{{k|k}}{{k|h}}), you must select which crops to plant there.  &lt;br /&gt;
&lt;br /&gt;
Press {{k|q}} and move the cursor over the farm, you will see a list of crops you can select to grow in the current season.  To move to plan for crops to be farmed in different seasons use {{k|a}},{{k|b}},{{k|c}}, or {{k|d}}.  You can select a farm to be [[fertilize]]d but starting out you won't have the necessary items to do so, and it's largely unnecessary.&lt;br /&gt;
&lt;br /&gt;
You must have the appropriate {{L|seed}}s to plant a crop there.  To easily see how many of each seeds you have you can go to the Kitchen menu {{k|z}} {{k|right}} {{k|Enter}}.  Good selections starting out below ground are plump helmet spawn, above ground wild strawberries are good.  Check the {{L|crop}}s page for details on different seeds.  Only some plants are edible so make sure the seeds you're using will produce food.  It's often a good idea to pick a seed which produces a plant which can be {{L|brew}}ed.  This will create {{L|alcohol}} and also give you a seed to plant again next season.&lt;br /&gt;
&lt;br /&gt;
Instructing a plot to remain fallow{{k|z}} during a particular season will instruct dwarves not to plant in that plot during that season.&lt;br /&gt;
&lt;br /&gt;
=== Subterranean Farming ===&lt;br /&gt;
&lt;br /&gt;
Underground farms are required to grow the 6 &amp;quot;dwarven&amp;quot; plants, including the {{l|plump helmet}}.  Seeds and spawn available at embark are for underground crops only.&lt;br /&gt;
&lt;br /&gt;
Underground farm plots must be placed on either soil or mud, however, a bug is currently causing farming to only work on mud{{version|0.31.12}}. Muddying the ground means to temporarily cover it with water (common methods include a bucket brigade or '''controlled''' flooding by temporarily diverting a river or pool, using a floodgate or door), or find a muddied area in a {{L|cavern}}) (each tile underneath the farm plot must be muddied). Most caverns have entire open areas which will be permanently covered in mud, though beware the underground inhabitants when farming. Any underground surface can be used to create a farm plot, provided you muddy it first. &lt;br /&gt;
&lt;br /&gt;
Underground {{L|Cavern|caverns}} will most often have multiple {{L|Mud|Piles of mud}} to build Subterranean plots on. Note: Underground caverns are very dangerous places, it would be a good idea to have a {{L|squad}} guard the farm and to set up walls around the area.&lt;br /&gt;
&lt;br /&gt;
See {{L|irrigation}} for more.&lt;br /&gt;
&lt;br /&gt;
=== Above Ground Farming ===&lt;br /&gt;
Above ground farming is basically the same as underground farming, with the simplifying distinction that above ground plots typically do not require preperations. However, there are some complications.&lt;br /&gt;
&lt;br /&gt;
The first complication is that seeds cannot be chosen at embark.  They can be bought from caravans ({{L|elves|elven}} or {{L|humans|human}}); or above-ground plants can be gathered using the {{L|Plant gathering}} designation, and then {{L|brewer|brewed}}, {{L|mill|milled}}, {{L|thresher|threshed}} or {{L|dining hall|eaten}} directly (depending on the plant) to produce seeds.&lt;br /&gt;
&lt;br /&gt;
The second complication is that the farming must be done on {{L|soil}}.  Typically, it is done above ground, which is dangerous (due to aggressive animals, ambushes and sieges).  However, any land which has ever been exposed to sunlight becomes permanently marked as &amp;quot;above ground&amp;quot;.  So, if you have multiple Z-layers of soil, you can channel some above-ground land, remove the resulting ramps, then construct a floor above, where the surface once was.  The (now dark and protected) lower soil will still be suitable for farming {{L|wild strawberry|wild strawberries}}, {{L|longland grass}}, {{L|rope reed}}, and anything else you may find.&lt;br /&gt;
&lt;br /&gt;
Above ground farms built on rock layers (muddied or otherwise) will show the message &amp;quot;No seeds available for this location&amp;quot;, and you ''will not'' be able to plant anything in them.&lt;br /&gt;
&lt;br /&gt;
== Farm plots in action ==&lt;br /&gt;
&lt;br /&gt;
Once a farm plot has been built and crops have been selected for the current season, dwarves with the {{l|growing}} labor enabled will begin planting the selected seed. The higher a Dwarf's grower skill in planting, the more plants will be harvested from each seed planted. The farming labor is fairly low in priority, so if you want a full time farmer, it is best to disable all other labors.&lt;br /&gt;
&lt;br /&gt;
Plants take time to grow, depending on their type. Once a plant is fully grown, a dwarf will harvest it. By default, any dwarf will do this. Harvesting plants is not affected by any skill, although it provides a small amount of grower experience. Plants that remain in the field for too long will wither.  These plants will eventually rot away, but do not currently due to a bug (1280).&lt;br /&gt;
&lt;br /&gt;
Depending on the number of growers and their experience and the rate at which the plant grows, not all squares of large plots may be used.&lt;br /&gt;
&lt;br /&gt;
{{Farming FAQ}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{L|Irrigation}}&lt;br /&gt;
* {{L|Tile attributes|Tile Attributes}}&lt;br /&gt;
* {{L|Crops}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Category|Buildings}}&lt;/div&gt;</summary>
		<author><name>Auto Slaughter</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.31_Talk:Volcano&amp;diff=127588</id>
		<title>v0.31 Talk:Volcano</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.31_Talk:Volcano&amp;diff=127588"/>
		<updated>2010-09-15T03:39:17Z</updated>

		<summary type="html">&lt;p&gt;Auto Slaughter: Do volcanoes ever erupt?&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
==Differences from 40d==&lt;br /&gt;
I'd just like to note some differences between 40d volcanos and the new ones. From what I've seen, they have fixed designs as opposed to random shifting patterns as you go down the z axis and act more like pipes that were lucky enough to reach the surface during worldgen. The last one I embarked on actually protruded out of the ground for 4 z axis' sort of like a chimney&lt;br /&gt;
http://i63.photobucket.com/albums/h133/Radicalaces/chimney.png?t=1273214099&lt;br /&gt;
--[[User:radical|radical]] 07:12, 7 May 2010 (EST)&lt;br /&gt;
&lt;br /&gt;
==Rock layers==&lt;br /&gt;
I'm not sure if this is within the scope of the article, but something I've noted after a -large- amount of volcano-hunting is that the only way to get sedimentary rock on an embark tile with a volcano is for there to also be a brook in the area. Probably needs some independent confirmation, but after probably 200-250 medium maps checked, I'm pretty confident in my analysis. [[Special:Contributions/24.35.61.81|24.35.61.81]] 00:59, 27 June 2010 (UTC)&lt;br /&gt;
:Which, y'know, kinda makes sense based on the geological processes behind volcanoes and sedimentary rocks.  That is, volcanoes form igneous rock around them, bringing the temperature and pressure up on the surrounding rock and converting it to metamorphic.  So the presence of a brook would indicate that the volcano is dormant enough for water flows to create channels in the area, and also dormant enough that sedimentary rock (and not just plain sediment, or soil) could form and continue to exist.  Just to be clear:  when you say &amp;quot;on an embark tile with a volcano&amp;quot;, you ARE talking about a 1x1 region on the Local map of the Embark screen?  And not the 4x4 region which is the usual embark site? --[[User:DeMatt|DeMatt]] 07:03, 27 June 2010 (UTC)&lt;br /&gt;
::Aside from that, in my pseudo smartguy terms, volcanoes are upwellings of &amp;quot;new&amp;quot; rock, and are as geologically different from ancient coal-bearing rock (coal is a '''fossil fuel''' y'know) as you can possibly have on the same planet.  Although in the current version, if the embark screen does not list sedimentary rock as one of the layers for the selected biome, you aren't going to find it anywhere in the map no matter how large it is.  I get the impression this is more a game mechanic thing to balance the relative advantages of playing in a volcano area (huge amounts of high value ores and obsidian, easy access to magma with low/no risk).[[User:FleshForge|FleshForge]] 01:42, 7 August 2010 (UTC)&lt;br /&gt;
::By the way a pretty simple way to force a lot of volcanoes for your map is just to set &amp;quot;Minimum Volcanoes&amp;quot; option in the world gen parameters to 100 or so, on a medium map this takes little time to roll up and can be previewed before going through the history iterations - hit a key and scroll around the map and see if it looks promising, and abort if it doesn't, continue if it does.  --[[User:FleshForge|FleshForge]] 01:45, 7 August 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
It appears to be simply simple impossible to get coal on a volcano map regardless of what rock layers are shown on the embark screen.  On the other hand, you can make charcoal from burning wood, so the easy access to magma is still a pretty great advantage and you can still make steel eventually.[[User:FleshForge|FleshForge]] 07:00, 14 August 2010 (UTC)&lt;br /&gt;
:Hah what do you know, the current map I'm looking at JUST MADE A LIAR OUT OF ME!  So yes, as long as the set of biomes overlapping with the volcano area can contain coal, then there can be coal on the volcano map - however the coal will only be in the part of the map that is actually in the sedimentary-containing biome![[User:FleshForge|FleshForge]] 07:03, 14 August 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Volcano - magma sea connection and exploration ==&lt;br /&gt;
&lt;br /&gt;
After some playing and a bit of my habit from 40d days, when plugging up a volcano with water, i found out that crashing tiles dropping down into it will go down to the magma sea and act as &amp;quot;explorers&amp;quot; to uncover tiles. i'm unsure whether its an isolated case or a common occurence, so if anyone could confirm, i'd be grateful - [[User:Vrga|Vrga]] 06:45, 3 July 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Volcano and undeground lakes ==&lt;br /&gt;
&lt;br /&gt;
I embarked at volcano area at freezing biome, and got problem with absence of water. The only underground lake was found at the far edge of second cavern - first was completely dry. Is it volcano influence or just random? On maps without volcano each cavern had it's lake, sometimes several of them.[[User:Peregarrett|Peregarrett]] 06:39, 30 July 2010 (UTC)&lt;br /&gt;
:As far as I can tell, this is completely random - in some volcano maps I've found huge lakes 10 levels below sea level, and in some more like 100 z-levels down.[[User:FleshForge|FleshForge]] 06:59, 14 August 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Do volcanoes ever erupt? ==&lt;br /&gt;
&lt;br /&gt;
As a player inexperienced with volcanoes I came to this article looking for that information in the course of trying to site my fortress, so it might be worth adding that.  (Though I must admit that not knowing adds a touch of suspense.) --[[User:Auto Slaughter|Auto Slaughter]] 03:39, 15 September 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>Auto Slaughter</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=v0.31:Embark&amp;diff=127312</id>
		<title>v0.31:Embark</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=v0.31:Embark&amp;diff=127312"/>
		<updated>2010-09-09T06:30:25Z</updated>

		<summary type="html">&lt;p&gt;Auto Slaughter: /* Reclaiming a fortress */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{av}}&lt;br /&gt;
{{Quality|Exceptional}}&lt;br /&gt;
&lt;br /&gt;
'''Embark''' is the moment at the very beginning of the game, before actual game play begins (but after {{L|World generation|generating a world}}), when you and your initial 7 dwarves:&lt;br /&gt;
# Choose a site.&lt;br /&gt;
# Assign starting {{L|skill|skills}} to each dwarf.&lt;br /&gt;
# Select an initial load of {{L|supplies|supplies and equipment}}.&lt;br /&gt;
# Arrive at the site with your wagon full of supplies.&lt;br /&gt;
&lt;br /&gt;
== Choosing a Site ==&lt;br /&gt;
The process of choosing a site in DF2010 is much less involved than prior versions due to the ubiquitous presence of magma, gems, and ore, but that said there are still several considerations to keep in mind, namely aquifers, ore types, wood, climate, and neighbors.&lt;br /&gt;
There is just ONE BIG RULE: when your home civ is too small, you will first recognize after the 2nd winter that you won't get more immigrants, which can be very, VERY DISAPPOINTING]. Your home civilization will need more than one dwarven place on the map.&lt;br /&gt;
&lt;br /&gt;
[[File:Embark.jpg]]&amp;lt;br /&amp;gt;&lt;br /&gt;
The Choose Fortress Location screen shows four separate sections, with three of them being three views of the land at three different levels of magnification: Local, Region, and World. A section of highlighted tiles in the Local view indicates the current embark location within the region. The local view constitutes a 16x16 grid of embark area tiles (each representing 48x48 tiles when you are playing the game) that is within a single region tile.  The world map cannot be directly controlled, and exists only to give you the overall view of where, relative to the rest of the features of the world, the region map is focused on.&lt;br /&gt;
&lt;br /&gt;
The arrow keys control the X cursor in the center &amp;quot;Region&amp;quot; view while {{K|u}}, {{K|m}}, {{K|k}}, and {{K|h}} move the embark location around within the Local view. {{K|Shift}}-{{K|u}}, {{K|m}}, {{K|k}}, and {{K|h}} will resize the embark location.  &lt;br /&gt;
&lt;br /&gt;
The size of the embark location directly affects how much data about a map the game will have to store in your computer's memory, the size of your save files, and correspondingly, will dramatically affect the save and load times for your map, potentially make pathfinding more resource-intensive, and may generally slow your game down.  As such, smaller maps are recommended, especially for less powerful computers.  Remember that each tile on your embark screen is 48x48 tiles large.&lt;br /&gt;
&lt;br /&gt;
On the far right of the screen is a list of local features in the dominant biome. Individual biomes, which form at least one map-tile of your embark location, can be cycled with the {{Key|F#}}-keys; for example, an area with 3 biomes present can be cycled using {{Key|F1}}, {{Key|F2}} and {{Key|F3}}. The selected biome will be highlighted with flashing Xs on the Local Map, and the biome's information will be displayed on the right side of the screen. The list at the bottom of the biome information indicates the dominant soil/stone composition from top to bottom for the first eight layers.&lt;br /&gt;
&lt;br /&gt;
=== Biomes ===&lt;br /&gt;
&amp;lt;small&amp;gt;Main article: {{L|Biome|biome}}&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A '''biome''' is a biotic area with homogeneous features, characterized by distinctive {{L|plant|plants}}, {{L|creatures|animal species}} and {{L|climate|climate}}. &lt;br /&gt;
&lt;br /&gt;
In the above image, the biome is &amp;quot;Temperate Broadleaf Forest&amp;quot;, and the region the biome is part of is given a specific name: &amp;quot;The Oily Forest&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Biomes will also contain only one set of stone layers, though these usually expand beyond a single biome. Your {{L|dwarves|dwarves}} will find different resources depending on which biomes they select when starting a fort.&lt;br /&gt;
&lt;br /&gt;
Biomes are important when choosing a fortress location in order to understand your {{L|surroundings|surroundings}}.&lt;br /&gt;
&lt;br /&gt;
==== Climate ====&lt;br /&gt;
&amp;lt;small&amp;gt;Main article: {{L|climate|climate}}&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Climate determines the maximum temperature range of the region, which in turn impacts the severity of exposure to the outside, whether water will freeze in winter, and how quickly water evaporates. &lt;br /&gt;
&lt;br /&gt;
The climate is displayed as &amp;quot;Temperature: Hot&amp;quot; in the above image.&lt;br /&gt;
&lt;br /&gt;
Very hot and very cold biomes bring their own challenges which may be further compounded with overlapping features, such as a glacier being frozen for half the year, and being devoid of trees, and lacking a river.  Very hot climates may see all its surface water quickly evaporate, making finding a water supply more dangerous, as underground caves filled with hostile creatures may be the only supply of water.&lt;br /&gt;
&lt;br /&gt;
==== Plant Life ====&lt;br /&gt;
&amp;lt;small&amp;gt;Main article: {{L|Tree|trees}} and {{L|Shrub|shrubs}}&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Seen in the above image as &amp;quot;Trees: Heavily Forested&amp;quot; and &amp;quot;Other Vegetation: Thick&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Trees are useful for the {{L|wood}} they provide, and wood is a basic building material, important for being the only material that beds can be made of, and, as metal bins and barrels require three times as much of less common metal resources as wood bins and barrels do, they are preferred materials for that, as well.  Wood is also a renewable source for {{L|charcoal}}, the {{L|fuel}} used in forges to make metal products in smelters or forges that are not magma-powered, and is needed to make steel even when you have magma forges.  Wood is finally also useful in making {{L|potash}} for soap or fertilizing farms.&lt;br /&gt;
&lt;br /&gt;
In spite of wood's many uses, it is entirely possible to play in this version without any trees in your biomes, as trees can be farmed in muddied underground areas regardless of how barren the surface is.  Due to the inexpensive nature of wood, it is possible to simply embark with enough wood to last until you are ready to set up tree farming operations underground.  Wood is also a common good that elves, humans, and dwarves alike will sell to you.  &lt;br /&gt;
&lt;br /&gt;
Shrubs can provide some quick food through the {{L|herbalism}} skill, {{L|still|brewable materials}}, and {{L|seeds}} for some very helpful above-ground {{L|Crops|crops}} which are generally only available through trading with Elves.&lt;br /&gt;
&lt;br /&gt;
==== Surroundings ====&lt;br /&gt;
main article: {{L|surroundings}}&lt;br /&gt;
&lt;br /&gt;
Surroundings affect how powerful and hostile local wildlife will be, and some forms of plants are available only in specific types of surroundings.&lt;br /&gt;
&lt;br /&gt;
The surroundings of the example image are listed as, &amp;quot;Surroundings: Calm&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Any biome can have any set of surroundings; for example a glacier could be haunted, wilderness or mirthful. However, a named region (which is a contiguous area of one category of biomes, such as forests or wetlands) will be either good, neutral, or evil. &lt;br /&gt;
&lt;br /&gt;
There are two axis for surroundings: Savagery and alignment.  Calm and neutral savagery are functionally identical.  Savage lands are like normal lands, except they will frequently have giant or hostile humanoid versions of normal animals, for example you might have a {{L|Tigerman}} instead of &amp;quot;merely&amp;quot; a {{L|tiger}} in a savage jungle. &lt;br /&gt;
&lt;br /&gt;
Good biomes are similar to neutral biomes, except have more fanciful (and generally benign) creatures like pixies, {{L|fluffy wambler}}s, or {{L|unicorn}}s, and are generally no more dangerous than neutral biomes.  Evil biomes are home to many dangerous creatures, often dead vegetation and even including undead versions of normal creatures, making for a far more hostile environment specifically for players who want to face a greater challenge to stay alive, especially early on. Trees might not grow in an evil area.&lt;br /&gt;
&lt;br /&gt;
It is possible to start a fortress that overlaps multiple alignment types (for example good, evil, savage, and benign). Some players consider this desirable, as it provides diversity in your little corner of the world, but it also has its dangers in the form of more ferocious wildlife.&lt;br /&gt;
&lt;br /&gt;
==== Layers ====&lt;br /&gt;
&amp;lt;small&amp;gt;Main articles: {{L|Layer}}, {{L|Ore|ore}} and {{L|Stone|stone}}&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At the bottom right of the biome view is the data on stone layers, displaying the top eight layers of stone or soil.  &lt;br /&gt;
&lt;br /&gt;
Each type of layer stone has certain kinds of ores, gems, and other minerals that will appear within that form of layer.  Layers are color-coded by the type of rock they are, with brown indicating {{L|soil}} (useless for raw materials, but easy to dig through), white indicating a {{L|metamorphic_layer}} (good for gems, coal, and steel production), light grey indicating a {{L|sedimentary_layer}} (which has gems, silver, and copper, but little else), and dark grey indicating either an {{L|igneous_extrusive_layer}} or an {{L|igneous_intrusive_layer}}, (which may indicate magma pools in the caverns, as well as being good for various metal ores).  Igneous layers will never be found in the same biome as sedimentary layers, but it is possible to have both in the same map by embarking over two or more different biomes.&lt;br /&gt;
&lt;br /&gt;
Note that steel requires both an Iron ore and {{L|Flux|flux stone}} making {{L|chalk|chalk}}, {{L|marble}}, {{L|calcite}}, {{L|dolomite|dolomite}}, and {{L|Limestone|limestone}} frequently preferred stone layers.&lt;br /&gt;
&lt;br /&gt;
==== Aquifer ====&lt;br /&gt;
&amp;lt;small&amp;gt;Main article: {{L|aquifer|aquifer}}&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An aquifer is a layer of soil or stone saturated with water, and a biome may contain upwards of 3 aquifer layers (theoretically more, but such would be rare to say the least). These are represented with ≈≈≈≈≈ symbols in the soil layers. Embarking on an aquifer brings up a warning before embark as an aquifer can significantly raise the difficulty of starting a fort. For specific tactics on working with an aquifer see the main page.&lt;br /&gt;
&lt;br /&gt;
=== Changing Views ===&lt;br /&gt;
Pressing {{K|Tab}} will cycle the presented information through a variety of different views and panels.&lt;br /&gt;
*Neighbors - other civilizations that are closest to your current location. Proximity increases the chance of interaction, though at present this largely means &amp;quot;nearby goblins are more likely to attack you.&amp;quot;  If any race is not represented on this page, it means that the civilization cannot reach you if you are in that location.  Embarking on an {{l|island}}, or a location completely surrounded by mountains will make it impossible for any civilization but your own dwarven civilization to reach you, as world map travel across oceans or mountains is impossible. If not even &amp;quot;Dwarves&amp;quot; appears, it means that your home civilization is dead, and there will be no {{l|migrants}} or {{l|trade}} with your home civilization.  (If this is the case, it is recommended you change to a still-existent civilization unless you want the challenge of having no support from the mountainhomes.)  Races that are hostile to you are represented by a series of red &amp;quot;-&amp;quot; marks.  In vanilla DF, goblins are always hostile, but humans or elves may also be at war with particular dwarven civilizations (and if you choose your starting civilization in the &amp;quot;Your Civilization&amp;quot; screen, they may not be at war with you).&lt;br /&gt;
*Your Civilization - indicates all Dwarven civilizations in the world. {{K|*}} and {{K|-}} will cycle through the civilizations allowing you to choose which your settlers will be embarking from. It may be worth looking at your choice of starting civilizations in {{l|Legends}} Mode before embarking, as there is much information about your civilization that is not shown directly at embark, and there is no way short of abandoning a fort to change your civilization once you have embarked.  Civilization choice will affect who is at war with you, what goods are available for trade (Dwarven caravans will only have the goods in the region of the city that is trading with your fort.  These will be the same goods that are available for you to purchase at embark.  Metals or stones, for example, that are not available for you to purchase in the &amp;quot;Prepare Carefully&amp;quot; screen will never be available for trade with the dwarven caravan.), who your regent will be (considering [[Cacame_Awemedinade|one might be surprised by who turns out to be one's regent]], this might be of note, but is only viewable in Legends Mode), and if there are any surviving members of your civilization left to migrate to or trade with your fort.&lt;br /&gt;
*Relative Elevation - Shows the land height relative to the lowest point in the region.&lt;br /&gt;
*Cliff Indicator - Shows the severity of cliffs.  Unless you have turned erosion off, then, with the exception of rivers that cut through mountains, even apparently very steep cliffs will still have ramps that make it perfectly accessible for any creature or even the wagons in caravans.&lt;br /&gt;
&lt;br /&gt;
=== Reclaiming a fortress ===&lt;br /&gt;
&lt;br /&gt;
If you reclaim the site of an abandoned fortress you may see goods, materials, and corpses left from the previous effort.  These items will initially be [[forbid|forbidden]] and you will have to [[reclaim]] them before your dwarves will acknowledge their existence, for example to haul them to a graveyard or refuse [[stockpile]].&lt;br /&gt;
&lt;br /&gt;
== Creating Your Settlers ==&lt;br /&gt;
=== Play Now! ===&lt;br /&gt;
You can forgo the process of assigning skills and supplies and instead select '''Play Now!''' This option will give you a selection of Dwarves with the following profiles:&lt;br /&gt;
&lt;br /&gt;
* Miner: Adequate Miner&lt;br /&gt;
* Woodworker: Novice Carpenter and Bowyer&lt;br /&gt;
* Stoneworker: Novice Engraver, Mason, Mechanic, and Building Designer&lt;br /&gt;
* Jeweler: Novice Gem Cutter, Gem Setter, Wood Crafter, Stone Crafter, and Bone Crafter&lt;br /&gt;
* Fisherdwarf: Novice Fisherdwarf&lt;br /&gt;
* Fish Cleaner: Novice Fish Cleaner, Butcher, Tanner, Weaver, Clothier, and Leatherworker&lt;br /&gt;
* Doctor&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;: Novice Wood Cutter, Brewer, Cook, Grower, Herbalist, Furnace Operator, Wood Burner, Lye Maker, and Potash Maker; Competent Wound Dresser, Diagnostician, Surgeon, Bone Doctor, and Suturer.&lt;br /&gt;
&lt;br /&gt;
One of these will be randomly flagged as Expedition Leader at the start. However all these Dwarves are selected from the surrounding civilizations and as a result it is possible to get Dwarves with honorary titles such as Law Giver or War Leader{{verify}}. These titles do not change the Dwarf's {{L|job|job}} but indicate that they are important in some way within the world history.&lt;br /&gt;
&lt;br /&gt;
The default embark value for a custom embark is 1274: 974 in pre-chosen goods and 300 unassigned. The Play Now! embark only uses 1038 points. While a Play Now! embark is no more doomed than any other embark, it is always better to Prepare Carefully once you know what you're doing with the set up of an early fort since Novice Butcher is hardly better than a Dwarf you manually flagged for the job. The only good reason is if you really want the Super Doctor, given the hazards of learning medical skills on-the-job.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;The doctor here is impossible to create in a custom embark, having 24 skill points (135 embark points) out of the usual possible 10.&amp;lt;br /&amp;gt;&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Prepare Carefully ===&lt;br /&gt;
Preparing allows the player to customize their embarking party and supplies by spending a pool of points which is shared between skills and equipment, with each skill rank and equipment item having a set value. The total value of embarking is set at 1,274 points, though all but 300 of these are pre-spent on an array of basic equipment (the same equipment Play Now! uses.) It stands that one should try to maximize the value of their embark by spending all available points.&lt;br /&gt;
&lt;br /&gt;
==== Skills ====&lt;br /&gt;
&amp;lt;small&amp;gt;Main article: {{L|Skills|skills}}&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The seven settlers you begin with can be assigned up to ten skill ranks picked from the entire Dwarven skill list, including military, though only a maximum of 5 ranks (giving them a rank of &amp;quot;Proficient&amp;quot;) can be bought in any one skill. Skill ranks are bought from the shared pool at a cost of 5 for the first rank, 6 for the second, 7 for the third, and so on. Maxing out a skill thus costs a total of 35 points. Although this is already fairly involved, between the long skill list and the floating cost, the value of a rank is subject to further scrutiny given the early-game value, or lack thereof, of certain skills as well as the relative ease or difficulty of training ranks in a given skill. Many skills are performed just as well (or with little functional difference) by a Novice or even a Dabbler as they are by a Legendary. A Novice Furnace Operator won't produce Coke as fast as a Legendary Furnace Operator, but they will produce it fast enough to keep their neighbor smelting hematite until the cows come home.&lt;br /&gt;
&lt;br /&gt;
For a more complex example, there is much overlap between what can be produced out of wood and what can be produced out of metal, but wood is plentiful in the early game (often throughout if a tree farm is established, and caravans will bring in several pages worth of wood if you request it) while metalworking can take much longer to establish, or would take several times longer to produce a given product in early game due to the multiple steps required, especially without a magma smelter. Metalworking also skills up slower than woodworking and metal products have a longer base production time than wood products. &lt;br /&gt;
&lt;br /&gt;
From one point of view, the Woodworking skills would be of more immediate use in producing quick goods of higher value in the early game, especially given the high volume needed; however furniture quality is of little concern in the early game, and the high volume of value-independent goods (such as barrels which you won't be trading away on their own or using to furnish chambers) will cause your carpenter to skill up fairly quickly. Even on a strictly functional level even a Novice carpenter can produce beds, barrels, and bins fast enough to keep up with a fledgling base. Lastly once metal production is up and running it can be agonizingly slow if a Farmer or Peasant has to be re-assigned to learn from scratch, thus a proficient Metalsmith stands to pay off much more in time than starting with a proficient Carpenter.&lt;br /&gt;
&lt;br /&gt;
==== Supplies ====&lt;br /&gt;
&lt;br /&gt;
The default array of supplies covers a broad range of foodstuffs, seeds, drink, tools, and medical equipment, and is reasonable, though extra food and drink never hurt anyone. Lower forest embark sites should definitely consider bringing extra logs to cover the early demand for beds, &amp;amp;c. Also do not overlook the value of bringing animals. Dogs in particular can provide an excellent early warning system, good fighters against kobolds and other thieves, and a healthy supply of meat and bones.&lt;br /&gt;
&lt;br /&gt;
(To be inserted: list of default supplies - currently found on {{L|starting build}}.)&lt;br /&gt;
&lt;br /&gt;
=== Embark Strategies ===&lt;br /&gt;
The strategies below are suggestions. They are not universal, and many are even contradictory. This is because there is no One True Way to play Dwarf Fortress. Some may not work for you because of unstated assumptions about priority, value, fun, or procedure. However, since Losing is Fun, it's always worth it to try something out, even if it doesn't go well.&lt;br /&gt;
&lt;br /&gt;
==== Picking the Right Location ====&lt;br /&gt;
&lt;br /&gt;
'''Need More Dirt''' - three layers of soil before the stone layers begin provides a very large area that can be used to quickly carve out efficient storage rooms and large tree farms of the colorful underground trees without the need to flood/muddy large areas of stone.&lt;br /&gt;
&lt;br /&gt;
'''Flowing Water (and Its Inverse)''' - flowing water (river or stream) is a must have for the infinite power it supplies for working machinery and because underground water supplies are too dangerous to tap into. Alternately flowing water is nothing but a FPS killer given that infinite water is available underground.&lt;br /&gt;
&lt;br /&gt;
==== Preparation Strategies ====&lt;br /&gt;
&lt;br /&gt;
'''Free Barrels''' - many products are stored in bins, barrels, or bags and do not stack with other items even if they're in the same broad classification. Plump Helmets and Horse Meat come in separate barrels even though they're both food. Purchasing a single item of food (or increasing the number to one above the storage limit of the barrel i.e. 11, 21, 31) will also produce a free barrel for it to be stored in. As barrels have a cost of 3 to buy empty, buying a single unit of cost 2 foodstuffs gets you a value of 5. Anything above cost 2 bought for the express purpose of getting barrels would be better off just buying barrels empty or raw logs. This concept can be extended to many different goods, and for any stored good you were &amp;quot;going to buy anyway&amp;quot; you should avoid buying exactly a containerful. Do not get 20, get 21.&lt;br /&gt;
* Note that meat products from the same animal will store in the same barrel, thus 1 unit of Horse Meat and 1 unit of Horse Tripe will only get you one barrel, not two.&lt;br /&gt;
&lt;br /&gt;
'''Cheap Bags''' - while even the cheapest bags (made from cave spider silk and low-value leather) cost 10 points each, you can instead simply bring several units of {{L|sand}} costing 1 point each, as each unit of sand will be stored in its own bag made from a randomly selected material (including giant cave spider silk and valuable creature leather).&lt;br /&gt;
&lt;br /&gt;
'''Don't Really Need That''' - unless you have tailored your embark for metal production quick and early, an anvil is typically unnecessary and the 100 points you get from refunding it can be better spent on skills or additional foodstuffs (can't really have enough foodstuffs). By the time the Dwarven caravan arrives in the fall, a 100☼ iron anvil, or even a 300☼ steel anvil, should be little more than an inconvenience. This can sometimes be problematic if you are unlucky and the caravan does not bring an anvil.  &lt;br /&gt;
&lt;br /&gt;
'''REALLY Don't Need That''' - For players more familiar with the game. Bring no pre-constructed goods (weapons, buckets, etc.), just the materials to make them with. This requires several (3-10, though you're likely to bring way more) logs, some fire-safe stone, some bars of copper, and an anvil. Upon arrival, build a Wood Furnace and a Forge, make charcoal, then picks for the {{L|miner}}s and an axe for {{L|wood cutter}}s. Medical supplies should be unnecessary to start with, because if you need them you're screwed. You may want to bring some rope along though.&lt;br /&gt;
&lt;br /&gt;
'''Yes, I Do Need That''' - never leave without alcohol unless you bring a dedicated {{L|herbalist|plant gatherer}}/{{L|brewer}}.&lt;br /&gt;
&lt;br /&gt;
==== Skill Sets ====&lt;br /&gt;
Here are some sample skill distribution sets.&lt;br /&gt;
&lt;br /&gt;
'''Ashery'''&lt;br /&gt;
*Military: 5 armor use, 5 dodge. Possibly a mix of dodge and shield use instead of max dodge, but that's up in the air. Set to start training the moment goods are hauled inside the fort's entrance. Also does woodcutting as needed.&lt;br /&gt;
*Doctor/Leader: 1 appraise, 2 diagnose, 2 bone doctor, 2 surgeon, 2 wound dresser, 1 suture. Also serves as one of my primary miners and, once replacement miners come, the fort's first bookkeeper as well.&lt;br /&gt;
*Farmer/Cook: 4 farming, 5 cooking, 1 armorsmith. Does most of the early hauling grunt work, but eventually is restricted only to food related activities. No mining is done in order to keep armorsmithing as the highest moodable skill.&lt;br /&gt;
*Farmer/Brewer: 4 farming, 5 brewing, 1 armorsmith. Same as the cook.&lt;br /&gt;
*Weapon/Armorsmith: 5 armorsmith, 5 weaponsmith. Does a sizable amount of the early mining, but is removed from duty before the mining skill gets too high.&lt;br /&gt;
*Mason: 5 mason, 5 building design. Can help out with mining if necessary, but is usually busy constructing buildings or helping the farmers haul goods.&lt;br /&gt;
*Carpenter/Mechanic: 5 carpentry, 5 mechanic. An odd mix, but mechanisms are my primary export.&lt;br /&gt;
&lt;br /&gt;
'''Tarran'''&lt;br /&gt;
*(every skill has five points put into it)&lt;br /&gt;
*2 miners/engravers (when they are not mining they are engraving)&lt;br /&gt;
*1 mason/carpenter (deals with all that stuff)&lt;br /&gt;
*1 mechanic/stonecrafter (when he is not making mechanisms he is making crafts)&lt;br /&gt;
*1 woodcutter/architect (when not cutting wood he is designing buildings)&lt;br /&gt;
*1 grower/brewer (deals with all my needs this early in the game)&lt;br /&gt;
*1 adequate armorsmith, weaponsmith, and metalcrafter. novice furnace operator, and wood burner (remove wood burner if you have magma)&lt;br /&gt;
&lt;br /&gt;
'''Ancient Enemy'''&lt;br /&gt;
*Leader with all his points distributed through negotiation/bookkeeper/appraiser/etc.&lt;br /&gt;
*3 dwarves with proficient mining&lt;br /&gt;
*1 proficient grower&lt;br /&gt;
*1 proficient brewer&lt;br /&gt;
*1 proficient cook&lt;br /&gt;
&lt;br /&gt;
'''Proteus'''&lt;br /&gt;
*Leader/Miner: 6-7 points into things important to become leader and broker (appraisal, negotiation, judge of intent, organizing and others, all at least with 1 pt), rest into mining&lt;br /&gt;
*Doc/Recordkeeper +at least another productive job: 1-2pts into diagnostics, 1pt in each other medical skill, 1pt in recordkeeping, rest into 1-2 jobs&lt;br /&gt;
*Cook: 4-5pts in cooking,  2-4pts  in brewing,  rest in fish cleaning and butchery&lt;br /&gt;
*Farmer: around 3-4pts in Growing, at least 1pt in milling, plant processing and brewing&lt;br /&gt;
*Crafter: Usually 5pts in stone crafting,  rest in other crafting jobs (although that might change, as now bone carving has become next to worthless)&lt;br /&gt;
*Clothier: 2-4pts in leatherworking and clothier, rest into weaving and tanning&lt;br /&gt;
*Builder: Most of  his points into Masonry, Engraving and Mechanics, as well as a few  points into Carpenter  (if no other dwarf already has pts in this job)&lt;br /&gt;
&lt;br /&gt;
'''Cronus'''&lt;br /&gt;
*Miners/Mechanics: 2 dwarfs with max points in mining and mechanics; get the fort, then those traps, up quickly. &lt;br /&gt;
*Woodcutter/Carpenter: points in woodcutting and carpentry; chop during initial dig then start pumping out beds and barrels&lt;br /&gt;
*Farmer/Brewer: points in farming and brewing; get the wheat and helmets in and brew during the off-season. Can also serve as butcher in a pinch.&lt;br /&gt;
*Crafter: points dispersed into stonecrafting, bonecarving, weaving, and leatherworking. &lt;br /&gt;
*Mason/Architect: points into masonry and building design. Allows a focus on walls, doors, and bridges.&lt;br /&gt;
*Leader/Trader: spread points among appraisal, negotiator, conversationalist, consoler, and comedian. &lt;br /&gt;
&lt;br /&gt;
See also the [[Starting build|Starting Build]] article for more detailed embark strategies.&lt;/div&gt;</summary>
		<author><name>Auto Slaughter</name></author>
	</entry>
</feed>