Inventory.txt

Inventory.txt

Description: by Nefarius, restyled by HarvestWombs

Categories: File Guides (1.10 - 1.14)


class: A comment field used to describe what this line refers to.

invLeft: Left edge of the screen (x).
invRight: Right edge of the screen (invLeft + DC6_WIDTH).
invTop: Top edge of the screen (y).
invBottom: Bottom edge of the screen (invTop + DC6_HEIGHT).

gridX: Number of columns in the item grid.
gridY: Number of rows in the item grid.
gridLeft Left edge of the grid (x).
gridRight: Right edge of the grid (gridLeft + gridBoxWidth * gridX) *see note
gridTop: Top edge of the grid (y).
gridBottom: Bottom edge of the grid (gridTop + gridBoxHeight * gridY) *see note
gridBoxWidth: The width of each grid cell.
gridBoxHeight: The height of each grid cell.

rArmLeft: The left edge of the right weapon slot (x).
rArmRight: The right edge of the right weapon slot (rArmLeft + rArmWidth).
rArmTop: The top edge of the right weapon slot (y).
rArmBottom: The bottom edge of the right weapon slot (rArmTop + rArmHeight).
rArmWidth: Width of the right weapon slot.
rArmHeight: Height of the right weapon slot.

torsoLeft: The left edge of the body armor slot (x).
torsoRight: The right edge of the body armor slot (torsoLeft + torsoWidth).
torsoTop: The top edge of the body armor slot (y).
torsoBottom: The bottom edge of the body armor slot (torsoTop + torsoHeight).
torsoWidth: Width of the body armor slot.
torsoHeight: Height of the body armor slot.

lArmLeft: The left edge of the left weapon slot (x).
lArmRight: The right edge of the left weapon slot (lArmLeft + lArmWidth).
lArmTop: The top edge of the left weapon slot (y).
lArmBottom: The bottom edge of the left weapon slot (lArmTop + lArmHeight).
lArmWidth: Width of the left weapon slot.
lArmHeight: Height of the left weapon slot.

helmLeft: The left edge of the head gear slot (x).
helmRight: The right edge of the head gear slot (helmLeft + helmWidth).
helmTop: The top edge of the head gear slot (y).
helmBottom: The bottom edge of the head gear slot (helmTop + helmHeight).
helmWidth: Width of the head gear slot.
helmHeight: Height of the head gear slot.

neckLeft: The left edge of the amulet slot (x).
neckRight: The right edge of the amulet slot (neckLeft + neckWidth).
neckTop: The top edge of the amulet slot (y).
neckBottom: The bottom edge of the amulet slot (neckTop + neckHeight).
neckWidth: Width of the amulet slot.
neckHeight: Height of the amulet slot.

rHandLeft: The left edge of the right ring slot (x).
rHandRight: The right edge of the right ring slot (rHandLeft + rHandWidth).
rHandTop: The top edge of the right ring slot (y).
rHandBottom: The bottom edge of the right ring slot (rHandTop + rHandHeight).
rHandWidth: Width of the right ring slot.
rHandHeight: Height of the right ring slot.

lHandLeft: The left edge of the left ring slot (x).
lHandRight: The right edge of the left ring slot (lHandLeft + lHandWidth).
lHandTop: The top edge of the left ring slot (y).
lHandBottom: The bottom edge of the left ring slot (lHandTop + lHandHeight).
lHandWidth: Width of the left ring slot.
lHandHeight: Height of the left ring slot.

beltLeft: The left edge of the belt slot (x).
beltRight: The right edge of the belt slot (beltLeft + beltWidth).
beltTop: The top edge of the belt slot (y).
beltBottom: The bottom edge of the belt slot (beltTop + beltHeight).
beltWidth: Width of the belt slot.
beltHeight: Height of the belt slot.

feetLeft: The left edge of the boot slot (x).
feetRight: The right edge of the boot slot (feetLeft + feetWidth).
feetTop: The top edge of the boot slot (y).
feetBottom: The bottom edge of the boot slot (feetTop + feetHeight).
feetWidth: Width of the boot slot.
feetHeight: Height of the boot slot.

gloveLeft The left edge of the glove slot (x).
gloveRight: The right edge of the glove slot (gloveLeft + gloveWidth).
gloveTop: The top edge of the glove slot (y).
gloveBottom: The bottom edge of the glove slot (gloveTop + gloveHeight).
gloveWidth: Width of the glove slot.
gloveHeight: Height of the glove slot.

* Blizzard screwed this up a little bit, their values are off by a few pixels.

Link to this article: Select all

[url=https://d2mods.info/forum/kb/viewarticle?a=444&sid=9fa98cbc2d53409cbf235df2b2895e01]Knowledge Base - Inventory.txt[/url]