FANDOM


Type Flag

A number which specifies what type of object is being defined; also controls the meanings of value0 through value4. The Type Flag must be one of the following numbers:


1   LIGHT          Item is a light source.

2    SCROLL         Item is a magical scroll.

3    WAND           Item is a magical wand.

4    STAFF          Item is a magical staff.

5    WEAPON         Item is a weapon.

6    FIREWEAPON     Currently not implemented.  Do not use.

7    MISSILE        Currently not implemented.  Do not use.

8    TREASURE       Item is treasure other than gold coins (e.g. gems)

9    ARMOR          Item is armor.

10   POTION         Item is a magical potion.

11   WORN           Currently not implemented.  Do not use.

12   OTHER          Miscellaneous object with no special properties.

13   TRASH          Trash -- junked by cleaners, not bought by shopkeepers.

14   TRAP           Currently not implemented.  Do not use.

15   CONTAINER      Item is a container.

16   NOTE           Item is a note (can be written on).

17   DRINKCON       Item is a drink container.

18   KEY            Item is a key.

19   FOOD           Item is food.

20   MONEY          Item is money (gold coins).

21   PEN            Item is a pen.

22   BOAT           Item is a boat; allows you to traverse SECT_WATER_NOSWIM.

23   FOUNTAIN       Item is a fountain.