module Rosegold::ItemConstants::PlayerSlots

Overview

Player inventory slot indices

Defined in:

rosegold/inventory/item_constants.cr

Constant Summary

ARMOR_END = 8
ARMOR_START = 5
BOOTS_SLOT = 8
CHESTPLATE_SLOT = 6
CRAFTING_END = 4
CRAFTING_RESULT = 0

Player inventory menu layout (46 slots total)

CRAFTING_START = 1
HELMET_SLOT = 5

Specific armor slots

HOTBAR_END = 44
HOTBAR_START = 36
LEGGINGS_SLOT = 7
MAIN_END = 35
MAIN_START = 9
OFF_HAND = 45
TOTAL_SLOTS = 46