Inventory

An Inventory is a set of slots where items appear, or can be placed for storage.

Stacks
Each slot in an inventory can contain multiples of the same item type; such a grouping is known as a "stack". Each item has its own maximum stack value per-slot, indicated on the item's wiki page via "Max Stack". The Max Stack for reusable weapons and tools is only 1, with the exception being Light Discs (5) and Bananarangs (10) whereas for consumable items it is usually between 30 and 999. Individual items from a stack can be removed using the right-click button, which can be held down to continuously remove items from the stack, or the left mouse button can be used to remove the entire stack at once.

Main inventory
The player's main inventory can be viewed and modified by pressing the ESC key (default). This is where items the player has picked up will appear, and can be accessed for use or removed. Generally the term "Inventory" when used on its own refers to the main inventory.

The main inventory consists of the following slots:

Hotbar (10 slots)
The 10 hotbar slots comprise the top row of the main inventory, and are where the current useable items appear. Items placed in the hotbar can be used with a left mouse click (when the inventory is closed). You can change the selected item by either using the scroll wheel, clicking the item on the hotbar, or pressing the associated number key. Any item can be placed here; even items that are not useable can be placed here for storage. A lock at the left of the hotbar will prevent the player from accidentally clicking on a slot to select it.

Storage (40 slots)
Any item can be placed here. Items picked up will be placed here starting from the bottom-right.

Coins (4 slots)
Coins the player has picked up, or acquired via selling items, will appear in these slots. Only coins can be placed here.

Ammo (4 slots)
These slots are for storing ammunition. Ammunition can also be stored in other slots, but ammunition stored here will be used first, and ammunition items picked up will be placed here first. Only ammunition can be placed here. It is worth noting that Sand, Fallen Stars, Gel, and Wires can all be put in the Ammo slots, but if you put Wires in the Ammo slots, wires you pick up will start a new stack.

Shop (40 Slots)
This inventory is only present when you click on the 'shop' option on any NPC vendor, you can buy and sell items on this inventory but when you sell on the last slot you can sell infinite items.

Housing Menu (19 Slots)
Since 1.1, because you can access clicking the house above equip slot, you can choose the house for your NPCs. Example: you build a home for the Guide but your Merchant's flag is on the house of the Guide, remove the flags, and put up the flag of the Guide on his home and your Merchant on his home.

Trash Can (1 slot)
The trash can slot is used for discarding unwanted items. Any item can be placed here. Once an item is placed here, it will remain there until another item is placed in the same slot (or the user quits the game). The newly placed item will then take the same slot, and the previous item will be discarded permanently.

Clothing (3 slots)
This is where helmet/shirt/pant items can be equipped. These slots are generally used for Armor. There is one slot for each part of the body. Only clothing items can be placed here.

Social (8 slots)
Vanity items can be placed here for a visual effect only. Armor and other items that normally provide functionality can also be placed in these slots, though they will have no effect other than appearance. Other than this, they function similarly to the clothing slots.

In the 1.2.3 update, 5 additional social slots were added to hold 'social accessories'. They work in an identical manner to the original social slots, overriding the visual appearance of the player, but providing no functionality.

Dye (8 slots)
Dye can be placed here to change the color of the worn Vanity/Armor in the corresponding slot. Certain items cannot be dyed, and therefore will not change in color. Some items will only change color if an intense or double dye (like Intense Rainbow dye or Blue and Silver dye) is placed in that slot

Accessories (5 slots)
Accessories can be placed here. No other item can be placed on these slots.

Storage item inventory
Storage items have 40 inventory slots where the player can find new items or store excess items.

NPC inventory
NPCs who sell items each have their own 40-slot inventory where the items available for purchase are shown. Items sold to the NPC will also be in their inventory

Housing menu
The Housing menu allows you to check whether the houses you have built are suitable for use or not, as well as to manually appoint a house for a specific NPC. To access this menu click on the house icon in your inventory.

To check whether a house is suitable for use, click on the "?" housing query mark and then click anywhere inside the house; you will receive a message indicating whether the house is suitable or not. If it is not suitable you can check the Home guide on this wiki to see what the house may be lacking.

Once a house is determined to be suitable you may assign an NPC to it by placing the corresponding NPC Flag in it. Note that only the flags of NPCs whose spawn conditions you have already met will appear - so for example when you first enter a new world only the Guide's NPC Flag is shown. NPC Flags for other NPCs will only be shown when you meet each of their spawn conditions.

When you first meet the spawn conditions for an NPC a random house will be assigned to him/her from your available empty suitable houses.