Main Page | Data Structures | File List | Globals

item_types.h File Reference

Go to the source code of this file.

Defines

#define ITEM_TYPE_COUNT   7
#define GEAR_TYPE_COUNT   8

Enumerations

enum  item_type {
  ITEM_UNK, ITEM_FOOD, ITEM_DRINK, ITEM_GEAR,
  ITEM_WEAPON, ITEM_TEXT, ITEM_CONTAINER
}
enum  gear_type {
  GEAR_HEAD, GEAR_ARM, GEAR_HAND, GEAR_TORSO,
  GEAR_WAIST, GEAR_LEG, GEAR_FOOT, GEAR_BACK
}
enum  damage_type { DAMAGE_SLASH, DAMAGE_PIERCE, DAMAGE_BLUNT }

Variables

unsigned int item_max_use_count [ITEM_TYPE_COUNT]
unsigned int gear_max_use_count [GEAR_TYPE_COUNT]


Detailed Description


Enumeration Type Documentation

enum gear_type
 

gear types (where you can wear it)

Enumeration values:
GEAR_HEAD  hats, helmets, etc
GEAR_ARM  arm protection
GEAR_HAND  gloves, rings, gauntlets, etc
GEAR_TORSO  breastplates, chain shirts etc
GEAR_WAIST  belts mainly
GEAR_LEG  leg stuff
GEAR_FOOT  shoes, boots, etc
GEAR_BACK  backpacks and such

enum item_type
 

item categories

Enumeration values:
ITEM_UNK  unknown item
ITEM_FOOD  food or other edible
ITEM_DRINK  drink/drinkable substance
ITEM_GEAR  anything wearable
ITEM_WEAPON  anything that can cause damage except magic
ITEM_TEXT  anything that you can read, scrolls/books/maps
ITEM_CONTAINER  meta-item :)


Generated on Thu Sep 9 00:52:33 2004 for MUD by doxygen 1.3.8