Skip to reading
The Inventory Designer

Show the inventory in your own GUI

Edition 0.86.3.4

Define carried items, quantities, icon states, pickup rules, combinations and ownership, then connect them to a custom inventory interface.

Download PDFView illustrations

GUI DESIGNER

The grid is a window onto an inventory. If the designer canvas looks empty, run the game and give the displayed character an item before deciding the grid is broken.

The Parts Tray layout in GUI Designer. The selected element is bag_grid, an inventoryGrid inside the inventory GUI.

01  Open or create the GUI that should contain the bag. Select an existing Inventory
    Grid or add one. Choose its size, rows and columns so a player can read the item
    names and comfortably select a slot.
02  In the grid’s properties, set Inventory Owner to the current player or a specific
    character. Leave Inventory Types empty for all items. To build a keyring, enter
    a type such as key and give each eligible item that type.
03  Choose Show Item Text, Show Item Icon and Animate Item Icons as
    appropriate. Give the player a way to open and close the GUI. Use page or arrow
    navigation if the bag can outgrow the visible slots.

A carousel offers a different presentation for a small selection of items. Keep ownership and type filters consistent with the grid if both controls represent the same bag.

Page 13 of 17Permalink
Go to page