Inventory

The Inventory is a player's stock of carried items and equipment, available for use at all times. Unlike the contents of a Chest, the inventory is bound to the player rather than the world, and its contents will follow a player between multiple worlds and even between Multiplayer servers. The inventory is accessed by pressing the key, the binding for which varies depending on the player's platform of choice.

Items are added to the inventory as the player picks up items found in the world or takes them from a Storage Item, and can be sorted by using the key to pick up and place items, allowing them to be sorted between slots. An item held in the cursor in this way is treated as if the player is holding it; weapons can be used to attack, consumable items can be used, and placeable items can be placed in the world while held in the cursor. However, an item held in the cursor is treated as if it has been removed from the inventory—the space it occupied can be filled by other items, and it will be dropped if the inventory is closed. Dropping an item in this way, or dragging an item and placing it outside of the inventory, will cause that item to be dropped to the ground, which can also be achieved by pressing ; items dropped in this way can be picked up again after a short delay, and will remain in the world until they despawn.

Inventories are made up of multiple slots, each of which can contain one type of item. While some items—such as most weapons—require a slot to themselves, many types of item can have multiples of themselves "stacked" into a single slot. The amount of items that can be stacked into a single slot depends on the individual item; for example, most construction blocks and walls can be stacked up to the maximum of 999 items, but potion types vary, with most health potions stacking to 30 and mana potions to 50 or 75 per slot. When a stack is filled, further items of the same type will take up a new slot in the inventory. The key can be used to pick up a single item from a stack of many; in this way, stacks can be divided.

Different sections of the inventory serve different purposes, and may be limited in what they can hold in their slots. Their functions and potential contents are detailed below.

Main Inventory (40 slots)
The primary storage section of the inventory is made up of four rows of ten slots that can hold any item. Items picked up will be placed in this area for safekeeping, starting from the bottom right. Holding items here will usually have no effect. Items kept here or on the Hotbar can be favorited by using the key while holding ; favorited items cannot be dropped, "quick trashed" (automatically placing items in the trash utilizing ), or deposited into a storage item using quick stack. However, favorited items can still be manually placed in the trash, which will automatically be unfavorited when that happens.

On the mobile version, there are only 30 main inventory slots, and 10 hotbar slots (clarify).

Hotbar (10 slots)
A single row of ten, each of which corresponds to the keys. While the inventory is closed, one of these ten slots is always highlighted, and pressing the key will cause that highlighted item to be used. Pressing a slot's matching number key will cause it to be highlighted, and the highlight can be shifted by scrolling with the mouse wheel. Clicking an item on the hotbar will usually select it, but a small lock icon to the left of the hotbar can disable this functionality. Items with no use can still be placed here for storage.

The amount of hotbar slots can be changed from 10 to 5, and vice versa.

Crafting Menu
The player's main means of item production, the crafting menu appears whenever the player's inventory is open, including when they have opened a chest or other storage item. It shows as a list of potentially craftable items, displayed based on the player's proximity to appropriate crafting stations and the presence of needed materials in the inventory. Approaching a crafting station will add its recipes to the player's list; however, recipes will not be displayed if the player does not possess all of the ingredients. If the player has opened a chest (etc), all items in the chest will be counted as "possessed" for recipes.

While the inventory is open, the mouse wheel will scroll through the crafting recipes slowly. Clicking the small hammer icon will open a grid containing all currently available recipes, and selecting one will center it on the menu. Clicking the centered item will remove the needed materials from the player's inventory and craft it. While items are crafted one at a time, the cursor holds the finished products as if they were picked up from the inventory, and can craft repeatedly up to the individual item's stack limit.

Coins (4 slots)
Four slots for the four types of Coins. These slots can only hold coins.

Ammo (4 slots)
Four slots for different types of Ammunition. When using weapons that require ammo, ammo items in this area will be used before those in the main inventory, starting from the top slot. Only Bullets, Arrows and Rockets will automatically move to the Ammo slots, but any item that can be used as ammo can be placed here manually, including the Endless Musket Pouch, Endless Quiver, Sand, Gel, Fallen Stars, Coins, and Seed (see other ammunition for the complete list). Notably, because of the way Wrenches, Fishing Rods, and the Clentaminator work, Wire, Bait, and Solution can also be placed in these slots.

Trash (1 slot)
A single slot for item disposal. A single item can be placed in this slot, and will remain there until it is removed by the player. Items can be taken out of the trash at any time with no consequences. However, when another item is placed in the Trash slot, the item currently in the Trash—even items that would normally stack—is permanently removed. Items destroyed by the trash cannot be retrieved in any way. The Trash slot is emptied when the character dies or leaves the world. In the Mobile version, the Trash is instead emptied the moment the inventory is closed.

Armor (3 slots)
Slots for the player's head, torso and legs. Armor of the appropriate type can be equipped to each slot, which will confer its effects—usually an increase in Defense—to the player. Worn armor will appear on the player's sprite.

Vanity Armor (3 slots)
Also known as the Social Slots. These slots change the visual appearance of the player's head, torso and legs. While these slots accept the same types of items as the armor slots, items placed here are entirely visual and will not modify the player's stats or generate any additional effects. Their appearance will, however, override the corresponding armor slot, allowing the player to conceal their armor if it is not to their aesthetic preference.

For players unconcerned about aesthetics, these slots can be used to store an alternate set of armor. For example, a character could wear a set of melee armor while equipping a set of mage armor in the vanity slots, in order to be able to switch to the magic-boosting armor when needed.

Armor Dye (3 slots)
Another aesthetic modifier for the armor slots. Dyes placed in these three slots will recolor the displayed item in that slot, meaning that Dyes will recolor the player's armor if no vanity items are worn.

Accessories (5 slots)
Five slots for accessories. Only accessories may be placed in these slots, and only here will their effects occur. Unlike armor, any accessory may be placed in any slot, even items that would seemingly override one another—it is possible to wear both Hermes Boots and Rocket Boots at the same time. Many of these items will appear on the player's sprite, in order from top to bottom. Each Accessory slot has a small eye icon on the top right; clicking this icon will toggle the appearance of the accessory in that slot on and off. This has no effect on the accessory's function, however; hidden accessories will still work as normal, and activated accessories such as the Shield of Cthulhu may reappear while in use.

Using a Demon Heart will make a sixth accessory slot available. This slot is only usable in Expert mode—entering a normal world will cause the item in this sixth slot to stop functioning, and if removed it cannot be replaced until the player returns to an Expert world.

Vanity Accessories (5 slots)
Similar to the vanity armor slots, these accessory slots are purely aesthetic. Accessories equipped here will override those in the matching slot, even if they occupy different areas of the player's sprite—equipping a Winter Cape as a vanity item opposite a Bundle of Balloons will cause the Balloons to no longer display. However, some items, such as Wings, will still override their vanity slots while in use.

The sixth accessory slot unlocked by the Demon Heart will also unlock a corresponding vanity slot. This slot is subject to the same Expert mode restrictions as its functional counterpart.

For players unconcerned about aesthetics, these slots can be used as storage for an additional 5 (or 6) accessories. Accessories do not function while in a vanity slot, but storing an occasionally useful accessory in a vanity slot makes it easy to switch that accessory into a main slot when it is needed.

Accessory Dye (5 slots)
Similar to armor dyes, equipping Dyes to these slots will recolor the displayed accessories in adjacent slots.

Again, the sixth accessory slot unlocked by the Demon Heart will unlock a corresponding accessory dye slot.

Equipment (5 slots)
The Equipment menu is accessed by clicking the Grappling Hook icon above the armor slots. It provides five additional slots for miscellaneous equipment: a Pet, a Light Pet, a Minecart, a Mount and a Hook. Each slot can only be used to hold the corresponding item type, and only one of each. Only Minecarts are expressly required to be placed in these slots in order to function; grappling hooks, as well as activation items for mounts and pets, are all normal usable items, and will even respond to their respective hotkeys while in the Hotbar.

Pets and Light Pets have small eye icons similar to those on the accessory slots that, when toggled off, will prevent them from appearing. However, unlike the purely visual effect this icon has on accessories, these pets are actually unsummoned, and will not reappear by default until the slot is made visible again.

Equipment Dye (5 slots)
Five slots through which items in the Equipment slots can be dyed. These dyes will only apply to the equipped items found in the corresponding slots. Applying Dye to a light pet can change the color of its sprite, but the light's color will always remain the same.

Inventory Sub-Menus
As the inventory serves the player's main heads-up display, a handful of additional menus unrelated to items in the inventory can be accessed through it.

Camera Mode
A special mode for capturing images, accessed through clicking the Camera icon above the armor slots. The captured images can then be accessed in the captures folder located within the Terraria folder.

Housing Menu
A menu for managing the placement of NPCs, accessed through clicking the small house icon above the armor slots. The NPC list goes downwards from the right to the left-hand side in the order the NPCs were implemented into the game.

History

 * Equipment slots now display a picture of the slots purpose.
 * Item in Trash Slot is now deleted upon character death

物品栏 Inventaire