1 #pragma once
2 
3 #include <cstdint>
4 
5 #include "tag-version.h"
6 
7 enum object_class_type : uint8_t           // env.item[].base_type
8 {
9     OBJ_WEAPONS,
10     OBJ_MISSILES,
11     OBJ_ARMOUR,
12     OBJ_WANDS,
13 #if TAG_MAJOR_VERSION == 34
14     OBJ_FOOD,
15 #endif
16     OBJ_SCROLLS,
17     OBJ_JEWELLERY,
18     OBJ_POTIONS,
19     OBJ_BOOKS,
20     OBJ_STAVES,
21     OBJ_ORBS,
22     OBJ_MISCELLANY,
23     OBJ_CORPSES,
24     OBJ_GOLD,
25 #if TAG_MAJOR_VERSION == 34
26     OBJ_RODS,
27 #endif
28     OBJ_RUNES,
29     NUM_OBJECT_CLASSES,
30     OBJ_UNASSIGNED = 100,
31     OBJ_RANDOM,      // used for blanket random sub_type .. see dungeon::items()
32     OBJ_DETECTED,    // unknown item; pseudo-items on the map only
33 };
34