Difference between revisions of "Inventory"
m (→Bones: killed a typo) |
(+throw away) |
||
Line 19: | Line 19: | ||
You can '''exchange''' items if the cursor holds 1 or more items and the destination slot is occupied by a different item type. | You can '''exchange''' items if the cursor holds 1 or more items and the destination slot is occupied by a different item type. | ||
* <kbd>Left</kbd>, <kbd>middle</kbd> and <kbd>right click</kbd>: Exchange item stacks from cursor and from selected item slot | * <kbd>Left</kbd>, <kbd>middle</kbd> and <kbd>right click</kbd>: Exchange item stacks from cursor and from selected item slot | ||
+ | |||
+ | === Throwing away === | ||
+ | If you hold an item stack and click with it somewhere outside the menu, the item stack gets thrown away into the environment. | ||
== Inventories in the [[vanilla Minetest game]] == | == Inventories in the [[vanilla Minetest game]] == |
Revision as of 01:18, 19 October 2013
An inventory is primarily used to store item stacks. There are other uses, such as crafting. An inventory consists of a rectangular grid of item slots. Each item slot can be either empty or hold one item stack. Item stacks can be moved freely between slot and slot, given that the destination slot is either empty or of the same item type.
Controls
You only use the mouse to take, drop and exchange items to move item stacks around.
Taking
You can take items from an occupied slot if the cursor holds nothing.
- Left click: Take entire item stack
- Right click: Take half from the item stack (rounding up if uneven)
- Middle click: Take 10 items from the item stack
Dropping
You can drop items onto a slot if the cursor holds 1 or more items and the slot is either empty or contains an item stack of the same item type.
- Left click: Drop entire item stack
- Right click: Drop 1 item of the item stack
- Middle click: Drop 10 items of the item stack
Exchanging
You can exchange items if the cursor holds 1 or more items and the destination slot is occupied by a different item type.
- Left, middle and right click: Exchange item stacks from cursor and from selected item slot
Throwing away
If you hold an item stack and click with it somewhere outside the menu, the item stack gets thrown away into the environment.
Inventories in the vanilla Minetest game
Player inventory
The player inventory is in the inventory menu and has a size of 8 rows and 4 lines, providing 32 item slots of storage. It is always available. The top line makes the hotbar.
Chest and Locked Chest
Chests and locked chests both provide 8×4 inventories.
Bones
When a player dies, a bones block is generated. It has an inventory which contains all the items of the player who died. Notably, in a bones’ inventory nothing can actively be stored inside.
Other inventories
Other inventories are the crafting grid and in the furnace. The crafting grid has the same properties of an inventory but you can also craft new items with it. You keep your items if you store them in the crafting grid and close the inventory menu. Even the fuel and smelting slots of the furnace are in fact just special cases of inventories which are, in this case, 1×1 inventories.
Inventories in other games
Other games/mods can completely customize the inventory menu to change the inventories there and also add inventories basicly whereever the modder wants to. In fact, the vanilla Minetest game is just one possibility to use inventories.
For the purpose of this wiki, an ordinary inventory in the inventory menu is refered to as “player inventory”.