Game Development Reference
In-Depth Information
1.
Armor
2.
Crafting
3.
Storage area
4.
Quick access area
FIGURE 2.3
The inventory screen has four sections.
Let's take a closer look:
Armor slots
—These four slots allow you to don armor. From the top down, they
represent your helmet, chestplate, leggings, and boots, and each can be made from
five different materials. Initially, you'll probably start with materials made from
leather or iron, because they are relatively easy to obtain. I'll show you how to
craft them in
Chapter 5
,
“
Combat School
.” Shift-click a piece of armor to automat-
ically place it into the correct slot.
Crafting grid
—Use this grid to create basic items on the run, such as torches,
planks, sticks, and so on. In the next section, you'll use this to build a crafting table
with a larger grid so that you can make more complex items.
Figure 2.3
shows the
wood blocks being crafted into wooden planks.
Inventory slots
—These slots represent your full inventory.
Quick access area
—The bottom row (also known as the Hotbar) provides
quick access to items either with your mouse scroll wheel or by using the 1-9
keys on your keyboard. You can use any selected item in this row with the
left mouse button as the action key, or discard it with a quick press of
Q
.
Storage area
—The top three rows provide storage space for items you don't
immediately need but want to carry with you. This may include items you've
picked up on your travels and intend to carry back to your shelter for longer-
term storage or to use for construction and further crafting. Typically, you
should store weapons and tools in the quick access slots, some food to
quickly rebuild your health, and other vital items as you see fit. Keep the rest
upstairs.
Note:
Stacking Items
The inventory shows 36 empty slots but can store many more items than
this through
stacking
. Typically, items of a similar type can stack up to
64 units high in each slot, although some items are limited to stacks just
16 units high. Tools, weapons, armor, and some other specialized items
can only stack one unit high.