Skip to content

Item database

Riley edited this page Jan 23, 2024 · 2 revisions

The item database is stored in items.csv.

Each item has these properties:

  • name (string) – This is the in-game item name.
  • file (string) – This is a normalized name so that we don't run into problems with filesystems (mainly on Windows). It is also used as a key in ItemLoader class.
  • alias (string) – If an item has one, this value will be used instead of the drop. For example Agnerod South is used instead of all the other variants: East, West and North. This is because the item image is the same for each of them, which is impossible to tell apart.
  • sockets (int) – Maximum number of sockets an item can have (0-6)
  • cols (int) – In how many columns the sockets are laid out (0-2)
  • enabled (1/0) – Toggles whether the item will be used for detection. This is used for drop-disabled items
  • global (1/0) – Toggles whether the item is a global drop (1) or a specific drop (0, boss, metamorph, etc.). This is useful to increase accuracy when an item has a known drop and it is therefore not important to account for in regular maps and such.
  • width (int) – Inventory width (1-4), controls how an item image is cropped from the screenshot during processing
  • height (int) – Inventory height (1-2), controls how an item image is cropped from the screenshot during processing

If you find an inaccuracy in the database, please file an Issue.

Clone this wiki locally