Stockpile

A **stockpile** is needed to store resources. The dwarfs start each new world with one stockpile and after reaching the engineering tech, they can make additional ones.
All resources are kept inside them, and there is no functional distinction between them while storing material.

Stockpiles need a space of 3 empty foreground blocks in a horizontal line. The 3 blocks just bellow it can be replaced by other materials, but not simply removed by digging.

## Access

Usually dwarfs access the stockpile content by passing in front of any stockpile — the initial or any of the additional ones. Each dwarf can deposit up to 5 items and take only 1 item from the stockpile at a time.

### Instant access

There are some ways to avoid the trip to the stockpile.

**Special items** — Some items don't require the dwarfs to move to the stockpile to access them, like:

**EQUIPMENT:**

 Bucket

 Fishing Rod

 Diving Helmet

**AMMUNITION:**

 Fire Arrows

 Silver Arrows

 Steel Ammo

 Incendiary Ammo

**POTIONS:**

 Elixir of Ice Arrow

 Elixir of Fire

 Elixir of Transfiguration

 Health Elixir

The equipment are accessed instantly when the dwarf need to perform certain tasks, like collect water, fish and dive. The ammunition are accessed instantly whenever the dwarf uses his/her ranged weapon. And the potions are accessed directly only by mages in combat, or when a low health dwarf approaches him/her.

**Items in the equipment menu** — All items available in the equipment menu are accessed immediately, without requiring the dwarfs to move to any stockpile, they will require though (excepting those above mentioned) the player to open the equipment menu and handle each item him/herself. Follow this logic all armors, weapons, tools and skill items, as well as the following potions:

 Mana Elixir

 Elixir of Obliteration

 Potion of Resurrection

**Direct control** — Any dwarf, while being directly controlled by the player, will have instant access to any item existing in the inventory without having to move to a stockpile. It'll require the player to pick the chosen item at the quick bar to give the order, and if the wanted item isn't still in the quick bar, the player will need to open the inventory menu to move it to there. This kind of instant access unfortunately only allows to pick items from the stockpile, and never to put anything there.

**Magic collect** — To collect things instantly, the player have the option to use the  magic collect spell.

## Initial stockpile

The **initial stockpile** is established in the center of the map, just after the world is generated and it is not removable. Usually players build their fortress around this stockpile to avoid goblins stealing items from it. Also, the player will have only this stockpile until he/she reaches tier 10 of the tech tree, which may be considered very late game; so, better to keep access to it clean and safe.

### Main portal

The initial stockpile is the connection/returning point of all  magic portals and  portal gates.

### Improved portal

*See the main article: Improved Portal.*
The initial stockpile may be upgraded to  improved portal. It changes nothing to the stockpile mechanics, but allow the player to start a multiplayer match search.

## Additional stockpile

**Additional stockpiles** are removable and disassemblable. In both process, removing it from where it has been placed or disassembling it at the crafting table, 1/3 of the resources used to build it will be lost.

## Ghost attacks

*See the main article: Ghost.*
 Ghosts will seek for any kind of stockpiles to pick items from it and throw them to the ground, making them unavailable to use. And if there is any  fossilized gargoyle, the ghost will throw it out. The stone piece will turn then into a  gargoyle. A  totem may help to scare them.

## See also

* Shelter
* Dwarf's carrying capacity
* Imps
* Ghost
* Totem
* Gargoyle
* Portal Spell
* Portal Gate

## References

1. ↑ This is the in-game name of this item. In the game's files it may receive a variety of names, depending on the type of the stockpile it's referring to. In general it'll be called `*Warehouse*`, specialy when giving it's inventory description.
2. ↑ See the dwarfs carring capacity for details.
3. ↑ In the game's files, the initial stockpile is called `*home*`, `*truemp\_warehouse*`, `*players\_chest*`, `*dwarf\_base*` or `*main\_portal*`.
4. ↑ In the game's files, additional stockpiles may be called `*warehouse*`, `*dwarf\_base\_02*` or `*home\_add*`. Additional stockpiles built by an opponent in a multiplayer game is called in game files `*home\_enemy*`.