GUI Functions

**Note:** Players won't be able to move when accessing a brick's or vehicle's inventory. This is on purpose so that player's can't walk away while the GUI is open and make changes from miles away. However, players can still move around freely while viewing their own inventory (via the Personal Inventory GUI), or a backpack / container they are carrying.

## GUIs & GUI Access

There are various GUIs included in RPGx, such as:

* **The Personal Inventory GUI** (which contains all of the inventory windows for every storage object you're viewing - some of the windows are shown in the image above)
* **The Amount Transfer Window** (for sending a specific amount of items form an item stack, described below)
* **The Lock-Picking Window** (for attempting to pick open locks)
* **The Drafting Table GUI** (for managing crafting recipes, server settings and item settings).

The Personal Inventory GUI can be accessed via keybind (that you setup under Options), by activating a storage brick, or by using a storage item in your hands. This GUI also displays items from your player tools menu, and automatically updates if the max tools limit for a player's datablock is raised or lowered. The GUI will also automatically update if you drop or pickup items while viewing it, and displays data related to the inventory or your player (such as the amount of players viewing the inventory, your encumbrance and your hunger & thirst levels).

The Drafting Table GUI can be accessed also via keybind, or by using the Drafting Table brick (this GUI is for Super Admins only).

## Item Swapping

The usual method of moving items around is by "swapping" stacks of items with other stacks; you can also swap a stack of items with an empty cell. To swap items, just left-click a stack to select it, then left-click another stack or an empty cell to move it.

## Item Stacking

If you attempt to swap two stacks of items that are exactly the same (and based on other criteria), those two stacks would be combined into a single stack. Items can also be stacked in other ways (either with events, by using auto-sorting, or by using amount transfer (described below). In order to stack items together, they have to first off support stacking (backpacks and containers for instance don't support this feature). In addition, item stacking has to be enabled, both stacks have to be exactly the same, and the initial stack has to be under the stack limit for that particular item in order to stack them.

**Note:** The stack limit for each item can be viewed by selecting a stack of items in any inventory GUI (marked with a white icon and green text). You can also modify stack limits for each item under the Item Settings category of the Drafting Table GUI.

**Note:** Most items (except for food items and the spear) can't be used in your player inventory when stacked.

## Amount Transfer

If you want to remove a specific amount of items from a stack, or send a certain amount from one stack to another, you can do this by using the transfer window. To open this window, just left-click an initial stack to select it, and them right-click another stack or an empty cell to open the amount transfer window (which will allow you to choose how many items you want to send).

## Auto-Stacking

If you want to quickly group all items within an inventory together into a single stack, you can achieve this via auto-stacking. To auto-stack an particular item, just quickly double click that item (within a fourth of a second). This will combine all like-items together into that stack (up to the stack limit for the item).

## Unique Slots (Dropping, Disposing & Locking)

Some inventories have special slots (designated with reference icons, such as a lock, downward arrow, hammer, trash can, etc.) that allow you to use those items in certain ways, such as by dropping a stack of items, deleting a stack, and locking the inventory. To interact with these slots, just move a item or stack of items to the cell (some cells only allow a specific item to be added to them - i.e. lock slots can only receive lock items).

## Quick Transfer

If swapping stacks isn't a fast-enough method of moving items around, a feature has been added to remedy that. This feature is known as "quick transfer", which allows you to instantly move a stack of items to another inventory simply by selecting a stack. You have to also be holding a keybind for the quick transfer function however while selecting a stack, which can be set up under Options.

If you are viewing a brick or vehicle inventory, and use the quick transfer function on a stack of items in your backpack, container or player inventory, that stack will move to the first available slot in the brick / vehicle inventory (or the items within that stack will automatically be sorted into other stacks, if possible). The opposite is also true, using quick transfer on an item in a brick / vehicle inventory will move that stack into your player inventory (or into a backpack / container that you're carrying).

If you attempt to use quick transfer on a stack while carrying a backpack / container, but you're not viewing a brick or vehicle inventory, then that stack will be added to your player inventory from the backpack / container, or vice versa.

## Plant, Pickup & Pick Lock Buttons

Some inventory windows (especially backpacks and small containers) have buttons which add other features to that inventory. Hybrid items will have a **Plant** or **Pickup** button in their inventory window's title bar, which will allow you to plant that item as a brick or pickup a brick as an item. If an inventory has been locked, a **Pick Lock** button will appear near the bottom-right of the window, which will allow you to attempt to pick the lock and access the inventory.

## Inventory Viewers

Brick and vehicle inventories (as well as planted hybrid items) can be viewed and modified by multiple players at the same time. The total number of players viewing the same inventory (if it supports this feature) is shown at the bottom-left of the Personal Inventory GUI, and automatically updates as players close their GUI or as new players access it.