// Automatically generated by enummaker.py.
//DO NOT EDIT THIS FILE (Yes, I mean you!)

#include "mygba.h"
#include "glbdef.h"

// Definitions for ROLE
const ROLE_DEF
glb_roledefs[NUM_ROLES] =
{
  {
    "unemployed",
  },
  {
    "thief",
  },
  {
    "wizard",
  },
  {
    "fighter",
  },

};
// Definitions for ROLELIST
const ROLELIST_DEF
glb_rolelistdefs[NUM_ROLELISTS] =
{
  {
    ROLE_NONE,
    ROLELIST_NONE,
  },
  {
    ROLE_WIZARD,
    ROLELIST_NONE,
  },
  {
    ROLE_THIEF,
    ROLELIST_NONE,
  },
  {
    ROLE_FIGHTER,
    ROLELIST_NONE,
  },
  {
    ROLE_THIEF,
    ROLELIST_W,
  },
  {
    ROLE_FIGHTER,
    ROLELIST_W,
  },
  {
    ROLE_FIGHTER,
    ROLELIST_T,
  },
  {
    ROLE_FIGHTER,
    ROLELIST_WT,
  },

};
// Definitions for STRATEGY
const STRATEGY_DEF
glb_strategydefs[NUM_STRATEGYS] =
{
  {
    "None",
  },
  {
    "Charge!",
  },
  {
    "Pincer",
  },
  {
    "Line",
  },
  {
    "Hold Center",
  },
  {
    "Reserve",
  },
  {
    "Pair-up",
  },
  {
    "Flank",
  },

};
// Definitions for HEALTHLEVEL
const HEALTHLEVEL_DEF
glb_healthleveldefs[NUM_HEALTHLEVELS] =
{
  {
    "dead",
    "destroyed",
    "dead",
    ATTR_DKRED,
  },
  {
    "at death's gate",
    "barely held together",
    "death's gate",
    ATTR_FIRE,
  },
  {
    "critically injured",
    "almost destroyed",
    "critically injured",
    ATTR_RED,
  },
  {
    "severely injured",
    "broken",
    "severely injured",
    ATTR_ORANGE,
  },
  {
    "injured",
    "greatly damaged",
    "injured",
    ATTR_YELLOW,
  },
  {
    "bloodied",
    "damaged",
    "bloodied",
    ATTR_YELLOW,
  },
  {
    "bruised",
    "lightly damaged",
    "bruised",
    ATTR_NORMAL,
  },
  {
    "scratched",
    "chipped",
    "scratched",
    ATTR_NORMAL,
  },
  {
    "at full health",
    "pristine condition",
    "unscratched",
    ATTR_WHITE,
  },

};
// Definitions for FOODLEVEL
const FOODLEVEL_DEF
glb_foodleveldefs[NUM_FOODLEVELS] =
{
  {
    "starving",
    ATTR_LTRED,
  },
  {
    "very hungry",
    ATTR_YOLK,
  },
  {
    "hungry",
    ATTR_NORMAL,
  },
  {
    "full",
    ATTR_NORMAL,
  },
  {
    "satiated",
    ATTR_NORMAL,
  },

};
// Definitions for MANALEVEL
const MANALEVEL_DEF
glb_manaleveldefs[NUM_MANALEVELS] =
{
  {
    "empty",
    ATTR_DKGREY,
  },
  {
    "weak charge",
    ATTR_BLUE,
  },
  {
    "medium charge",
    ATTR_DKCYAN,
  },
  {
    "charged",
    ATTR_CYAN,
  },
  {
    "at full mana",
    ATTR_WHITE,
  },

};
// Definitions for SOLDIER
const SOLDIER_DEF
glb_soldierdefs[NUM_SOLDIERS] =
{
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },

};
// Definitions for PHASE
const PHASE_DEF
glb_phasedefs[NUM_PHASES] =
{
  {
  },
  {
  },
  {
  },
  {
  },

};
// Definitions for SIZE
const SIZE_DEF
glb_sizedefs[NUM_SIZES] =
{
  {
    "intangible",
    0,
  },
  {
    "tiny",
    1,
  },
  {
    "small",
    2,
  },
  {
    "medium",
    4,
  },
  {
    "large",
    8,
  },
  {
    "giant",
    16,
  },

};
// Definitions for EFFECTCLASS
const EFFECTCLASS_DEF
glb_effectclassdefs[NUM_EFFECTCLASSS] =
{
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },

};
// Definitions for EFFECT
const EFFECT_DEF
glb_effectdefs[NUM_EFFECTS] =
{
  {
    EFFECTCLASS_NONE,
    ELEMENT_NONE,
    { 0, 0, 0 },
    { 0, 0, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_VULNERABLE,
    ELEMENT_FIRE,
    { 0, 0, 5 },
    { 0, 0, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_VULNERABLE,
    ELEMENT_ICE,
    { 0, 0, 5 },
    { 0, 0, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_VULNERABLE,
    ELEMENT_POISON,
    { 0, 0, 5 },
    { 0, 0, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_VULNERABLE,
    ELEMENT_ACID,
    { 0, 0, 5 },
    { 0, 0, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_VULNERABLE,
    ELEMENT_ELECTRICITY,
    { 0, 0, 5 },
    { 0, 0, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_POISON,
    ELEMENT_NONE,
    { 0, 0, 20 },
    { 0, 0, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_RESIST,
    ELEMENT_FIRE,
    { 0, 0, 200 },
    { 0, 0, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_RESIST,
    ELEMENT_ICE,
    { 0, 0, 200 },
    { 0, 0, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_RESIST,
    ELEMENT_POISON,
    { 0, 0, 200 },
    { 0, 0, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_RESIST,
    ELEMENT_ELECTRICITY,
    { 0, 0, 200 },
    { 0, 0, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_RESIST,
    ELEMENT_ACID,
    { 0, 0, 200 },
    { 0, 0, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_POISON,
    ELEMENT_NONE,
    { 0, 0, 5 },
    { 0, 0, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_GAINITEM,
    ELEMENT_NONE,
    { 0, 0, 5 },
    { 0, 0, 0 },
    ITEM_HASTED,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_GAINITEM,
    ELEMENT_NONE,
    { 0, 0, 100 },
    { 0, 0, 0 },
    ITEM_PLAGUE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_DAMAGE,
    ELEMENT_ACID,
    { 0, 0, 0 },
    { 0, 0, 3 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_DAMAGE,
    ELEMENT_ACID,
    { 0, 0, 0 },
    { 2, 4, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_DAMAGE,
    ELEMENT_ACID,
    { 0, 0, 0 },
    { 2, 4, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_GAINITEM,
    ELEMENT_NONE,
    { 0, 0, 20 },
    { 0, 0, 0 },
    ITEM_REGEN,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_POISON,
    ELEMENT_NONE,
    { 0, 0, 20 },
    { 0, 0, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_CORPSE_RESIST_POISON,
  },
  {
    EFFECTCLASS_POISON,
    ELEMENT_NONE,
    { 0, 0, 20 },
    { 0, 0, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_POISON,
    ELEMENT_NONE,
    { 0, 0, 5 },
    { 0, 0, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_POISON,
    ELEMENT_NONE,
    { 0, 0, 10 },
    { 0, 0, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_DAMAGE,
    ELEMENT_FIRE,
    { 0, 0, 0 },
    { 2, 6, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_DAMAGE,
    ELEMENT_FIRE,
    { 0, 0, 0 },
    { 2, 6, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_DAMAGE,
    ELEMENT_PHYSICAL,
    { 0, 0, 0 },
    { 2, 4, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_GAINITEM,
    ELEMENT_NONE,
    { 1, 4, 0 },
    { 0, 0, 0 },
    ITEM_CHOKING,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_DAMAGE,
    ELEMENT_PHYSICAL,
    { 0, 0, 0 },
    { 1, 4, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_ADHOC149,
  },
  {
    EFFECTCLASS_DAMAGE,
    ELEMENT_PHYSICAL,
    { 0, 0, 0 },
    { 2, 4, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_DAMAGE,
    ELEMENT_ICE,
    { 0, 0, 0 },
    { 1, 8, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_SCALED_DAMAGE,
    ELEMENT_ACID,
    { 0, 0, 0 },
    { 0, 0, 50 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_VULNERABLE,
    ELEMENT_FIRE,
    { 0, 0, 10 },
    { 0, 0, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_DAMAGE,
    ELEMENT_FIRE,
    { 0, 0, 0 },
    { 1, 6, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_ADHOC154,
  },
  {
    EFFECTCLASS_VULNERABLE,
    ELEMENT_ACID,
    { 0, 0, 10 },
    { 0, 0, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_DAMAGE,
    ELEMENT_ACID,
    { 0, 0, 0 },
    { 1, 6, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_ADHOC155,
  },
  {
    EFFECTCLASS_VULNERABLE,
    ELEMENT_ELECTRICITY,
    { 0, 0, 10 },
    { 0, 0, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_DAMAGE,
    ELEMENT_ELECTRICITY,
    { 0, 0, 0 },
    { 1, 6, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_ADHOC156,
  },
  {
    EFFECTCLASS_VULNERABLE,
    ELEMENT_POISON,
    { 0, 0, 10 },
    { 0, 0, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_DAMAGE,
    ELEMENT_POISON,
    { 0, 0, 0 },
    { 1, 6, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_ADHOC157,
  },
  {
    EFFECTCLASS_VULNERABLE,
    ELEMENT_ICE,
    { 0, 0, 10 },
    { 0, 0, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_DAMAGE,
    ELEMENT_ICE,
    { 0, 0, 0 },
    { 1, 6, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_ADHOC158,
  },
  {
    EFFECTCLASS_VULNERABLE,
    ELEMENT_PHYSICAL,
    { 0, 0, 10 },
    { 0, 0, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_DAMAGE,
    ELEMENT_PHYSICAL,
    { 0, 0, 0 },
    { 1, 6, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_ADHOC159,
  },
  {
    EFFECTCLASS_RESIST,
    ELEMENT_POISON,
    { 0, 0, 5 },
    { 0, 0, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_CURE,
    ELEMENT_PHYSICAL,
    { 0, 0, 0 },
    { 0, 0, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_ADHOC160,
  },
  {
    EFFECTCLASS_DAMAGE,
    ELEMENT_ELECTRICITY,
    { 0, 0, 0 },
    { 4, 6, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_GAINITEM,
    ELEMENT_NONE,
    { 0, 0, 5 },
    { 0, 0, 0 },
    ITEM_SLOW,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_DAMAGE,
    ELEMENT_ELECTRICITY,
    { 0, 0, 0 },
    { 1, 6, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_ADHOC162,
  },
  {
    EFFECTCLASS_POISON,
    ELEMENT_NONE,
    { 0, 0, 10 },
    { 0, 0, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_DAMAGE,
    ELEMENT_POISON,
    { 0, 0, 0 },
    { 2, 6, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_ADHOC163,
  },
  {
    EFFECTCLASS_DAMAGE,
    ELEMENT_FIRE,
    { 0, 0, 0 },
    { 4, 6, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_GAINITEM,
    ELEMENT_NONE,
    { 0, 0, 10 },
    { 0, 0, 10 },
    ITEM_HASTED,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_HEAL,
    ELEMENT_NONE,
    { 0, 0, 0 },
    { 0, 0, 20 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_HEAL,
    ELEMENT_NONE,
    { 0, 0, 0 },
    { 0, 0, 40 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_VULNERABLE,
    ELEMENT_ACID,
    { 0, 0, 15 },
    { 0, 0, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_RESIST,
    ELEMENT_ACID,
    { 0, 0, 15 },
    { 0, 0, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_DAMAGE,
    ELEMENT_ACID,
    { 0, 0, 0 },
    { 3, 6, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_POISON,
    ELEMENT_NONE,
    { 0, 0, 10 },
    { 0, 0, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_CURE,
    ELEMENT_NONE,
    { 0, 0, 0 },
    { 0, 0, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_GAINITEM,
    ELEMENT_NONE,
    { 3, 4, 3 },
    { 0, 0, 0 },
    ITEM_BLIND,
    ITEM_BLIND,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_POISON,
    ELEMENT_NONE,
    { 1, 4, 0 },
    { 0, 0, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_GAINITEM,
    ELEMENT_NONE,
    { 3, 4, 0 },
    { 0, 0, 0 },
    ITEM_ASLEEP,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_GAINITEM,
    ELEMENT_NONE,
    { 4, 4, 0 },
    { 0, 0, 0 },
    ITEM_SLOW,
    ITEM_NONE,
    EFFECT_NONE,
  },
  {
    EFFECTCLASS_POISON,
    ELEMENT_NONE,
    { 1, 2, 0 },
    { 0, 0, 0 },
    ITEM_NONE,
    ITEM_NONE,
    EFFECT_NONE,
  },

};
// Definitions for ELEMENT
const ELEMENT_DEF
glb_elementdefs[NUM_ELEMENTS] =
{
  {
    "none",
    '-',
    ATTR_LIGHTBLACK,
    "enunciate",
  },
  {
    "physical",
    'K',
    ATTR_BROWN,
    "hit",
  },
  {
    "poison",
    'P',
    ATTR_GREEN,
    "poison",
  },
  {
    "acid",
    'A',
    ATTR_ORANGE,
    "dissolve",
  },
  {
    "light",
    'L',
    ATTR_YELLOW,
    "blind",
  },
  {
    "shock",
    'E',
    ATTR_PURPLE,
    "zap",
  },
  {
    "fire",
    'F',
    ATTR_RED,
    "burn",
  },
  {
    "ice",
    'I',
    ATTR_ICE,
    "freeze",
  },

};
// Definitions for DAMAGECLASS
const DAMAGECLASS_DEF
glb_damageclassdefs[NUM_DAMAGECLASSS] =
{
  {
    "normal",
  },
  {
    "piercing",
  },
  {
    "blunt",
  },
  {
    "slashing",
  },
  {
    "unavoidable",
  },
  {
    "splash",
  },
  {
    "dodgeable",
  },

};
// Definitions for ATTACKSTYLE
const ATTACKSTYLE_DEF
glb_attackstyledefs[NUM_ATTACKSTYLES] =
{
  {
  },
  {
  },
  {
  },

};
// Definitions for CHAMBER
const CHAMBER_DEF
glb_chamberdefs[NUM_CHAMBERS] =
{
  {
    "between rooms",
  },
  {
    "a large room",
  },
  {
    "a long north to south hallway",
  },
  {
    "a long west to east hallway",
  },
  {
    "a short north to south hallway",
  },
  {
    "a short west to east hallway",
  },
  {
    "an elbow extending north and east",
  },
  {
    "an elbow extending south and east",
  },
  {
    "an elbow extending north and west",
  },
  {
    "an elbow extending south and west",
  },
  {
    "a small room",
  },

};
// Definitions for ROOMTYPE
const ROOMTYPE_DEF
glb_roomtypedefs[NUM_ROOMTYPES] =
{
  {
    "x",
    true,
    true,
    false,
    false,
    false,
    TILE_WALL,
    TILE_FLOOR,
    TILE_PATH,
    TILE_DOOR_CLOSED,
    TILE_TUNNELWALL,
    "room",
    false,
  },
  {
    "defocus",
    false,
    false,
    false,
    false,
    false,
    TILE_CAVEWALL,
    TILE_CAVEFLOOR,
    TILE_DARKCAVEFLOOR,
    TILE_DOOR_CLOSED,
    TILE_TUNNELWALL,
    "room",
    false,
  },
  {
    "thief",
    false,
    false,
    false,
    false,
    false,
    TILE_STUCCOWALL,
    TILE_CARPET,
    TILE_FLOOR,
    TILE_DOOR_CLOSED,
    TILE_CORRIDORWALL,
    "room",
    false,
  },
  {
    "fighter",
    false,
    false,
    false,
    false,
    false,
    TILE_CAVEWALL,
    TILE_CAVEFLOOR,
    TILE_DARKCAVEFLOOR,
    TILE_DOOR_CLOSED,
    TILE_TUNNELWALL,
    "room",
    false,
  },
  {
    "wizard",
    false,
    false,
    false,
    false,
    false,
    TILE_WALL,
    TILE_FLOOR,
    TILE_PATH,
    TILE_DOOR_CLOSED,
    TILE_TUNNELWALL,
    "room",
    false,
  },
  {
    "village",
    false,
    false,
    false,
    false,
    false,
    TILE_WALL,
    TILE_FLOOR,
    TILE_PATH,
    TILE_DOOR_CLOSED,
    TILE_TUNNELWALL,
    "room",
    false,
  },
  {
    "y",
    false,
    false,
    true,
    false,
    false,
    TILE_WALL,
    TILE_FLOOR,
    TILE_PATH,
    TILE_DOOR_CLOSED,
    TILE_INVALID,
    "room",
    false,
  },
  {
    "y",
    false,
    false,
    true,
    false,
    false,
    TILE_WALL,
    TILE_FLOOR,
    TILE_PATH,
    TILE_DOOR_CLOSED,
    TILE_INVALID,
    "atrium",
    false,
  },
  {
    "y",
    false,
    false,
    true,
    false,
    false,
    TILE_WALL,
    TILE_FLOOR,
    TILE_PATH,
    TILE_DOOR_CLOSED,
    TILE_INVALID,
    "corridor",
    false,
  },
  {
    "y",
    false,
    false,
    true,
    false,
    false,
    TILE_WALL,
    TILE_FLOOR,
    TILE_PATH,
    TILE_DOOR_CLOSED,
    TILE_INVALID,
    "barracks",
    false,
  },
  {
    "y",
    false,
    false,
    true,
    false,
    false,
    TILE_WALL,
    TILE_FLOOR,
    TILE_PATH,
    TILE_DOOR_CLOSED,
    TILE_INVALID,
    "guardhouse",
    false,
  },
  {
    "y",
    false,
    false,
    true,
    false,
    false,
    TILE_WALL,
    TILE_FLOOR,
    TILE_PATH,
    TILE_DOOR_CLOSED,
    TILE_INVALID,
    "throneroom",
    false,
  },
  {
    "y",
    false,
    false,
    true,
    false,
    false,
    TILE_WALL,
    TILE_FLOOR,
    TILE_PATH,
    TILE_DOOR_CLOSED,
    TILE_INVALID,
    "vault",
    true,
  },
  {
    "y",
    false,
    false,
    true,
    false,
    false,
    TILE_WALL,
    TILE_FLOOR,
    TILE_PATH,
    TILE_DOOR_CLOSED,
    TILE_INVALID,
    "library",
    false,
  },
  {
    "y",
    false,
    false,
    true,
    false,
    false,
    TILE_WALL,
    TILE_FLOOR,
    TILE_PATH,
    TILE_DOOR_CLOSED,
    TILE_INVALID,
    "kitchen",
    false,
  },
  {
    "y",
    false,
    false,
    true,
    false,
    false,
    TILE_WALL,
    TILE_FLOOR,
    TILE_PATH,
    TILE_DOOR_CLOSED,
    TILE_INVALID,
    "dining room",
    false,
  },
  {
    "y",
    false,
    false,
    true,
    false,
    false,
    TILE_WALL,
    TILE_FLOOR,
    TILE_PATH,
    TILE_DOOR_CLOSED,
    TILE_INVALID,
    "pantry",
    false,
  },
  {
    "y",
    false,
    true,
    true,
    false,
    false,
    TILE_WALL,
    TILE_FLOOR,
    TILE_PATH,
    TILE_DOOR_CLOSED,
    TILE_TUNNELWALL,
    "room",
    false,
  },
  {
    "y",
    false,
    true,
    true,
    false,
    false,
    TILE_CAVEWALL,
    TILE_CAVEFLOOR,
    TILE_PATH,
    TILE_DOOR_CLOSED,
    TILE_TUNNELWALL,
    "room",
    false,
  },
  {
    "y",
    false,
    true,
    true,
    false,
    false,
    TILE_CAVEWALL,
    TILE_DARKCAVEFLOOR,
    TILE_PATH,
    TILE_DOOR_CLOSED,
    TILE_TUNNELWALL,
    "room",
    false,
  },
  {
    "y",
    false,
    true,
    true,
    false,
    false,
    TILE_MAZEWALL,
    TILE_MAZEFLOOR,
    TILE_PATH,
    TILE_MAZEDOOR,
    TILE_TUNNELWALL,
    "room",
    false,
  },
  {
    "y",
    false,
    true,
    true,
    false,
    false,
    TILE_WALL,
    TILE_FLOOR,
    TILE_PATH,
    TILE_DOOR_CLOSED,
    TILE_TUNNELWALL,
    "room",
    false,
  },
  {
    "y",
    false,
    true,
    true,
    true,
    false,
    TILE_CAVEWALL,
    TILE_MAZEFLOOR,
    TILE_CAVEFLOOR,
    TILE_DOOR_CLOSED,
    TILE_TUNNELWALL,
    "room",
    false,
  },
  {
    "y",
    false,
    true,
    true,
    false,
    true,
    TILE_STUCCOWALL,
    TILE_CARPET,
    TILE_FLOOR,
    TILE_DOOR_CLOSED,
    TILE_CORRIDORWALL,
    "room",
    false,
  },
  {
    "y",
    false,
    true,
    true,
    false,
    false,
    TILE_CAVEWALL,
    TILE_CAVEFLOOR,
    TILE_DARKCAVEFLOOR,
    TILE_DOOR_CLOSED,
    TILE_TUNNELWALL,
    "room",
    false,
  },
  {
    "y",
    false,
    true,
    true,
    false,
    false,
    TILE_WALL,
    TILE_FLOOR,
    TILE_PATH,
    TILE_DOOR_CLOSED,
    TILE_TUNNELWALL,
    "room",
    false,
  },
  {
    "y",
    false,
    false,
    true,
    false,
    false,
    TILE_WALL,
    TILE_GRASS,
    TILE_PATH,
    TILE_DOOR_CLOSED,
    TILE_TUNNELWALL,
    "room",
    false,
  },

};
// Definitions for LEVEL
const LEVEL_DEF
glb_leveldefs[NUM_LEVELS] =
{
  {
    0,
    ROOMTYPE_LABYRINTH,
  },
  {
    0,
    ROOMTYPE_MAGE,
  },

};
// Definitions for GAMERULES
const GAMERULES_DEF
glb_gamerulesdefs[NUM_GAMERULESS] =
{
  {
    20,
  },

};
// Definitions for YELL
const YELL_DEF
glb_yelldefs[NUM_YELLS] =
{
  {
  },

};
// Definitions for HELP
const HELP_DEF
glb_helpdefs[NUM_HELPS] =
{
  {
    "Defocus",
    ' ',
  },
  {
    "Roguelikes",
    ' ',
  },
  {
    "Movement",
    ' ',
  },
  {
    "Inventory",
    ' ',
  },
  {
    "Key Bindings",
    ' ',
  },
  {
    "Repeat Welcome Message",
    ' ',
  },
  {
    "Making of Defocus",
    ' ',
  },

};
// Definitions for OPTION
const OPTION_DEF
glb_optiondefs[NUM_OPTIONS] =
{
  {
    "Help",
    ' ',
  },
  {
    "Toggle Full Screen",
    ' ',
  },
  {
    "Toggle Pop-Up Menus",
    ' ',
  },
  {
    "Toggle Verbose Messages",
    ' ',
  },
  {
    "Toggle Wall Sliding",
    ' ',
  },
  {
    "Continue Playing",
    ' ',
  },
  {
    "Quit and Save",
    ' ',
  },

};
// Definitions for ACTION
const ACTION_DEF
glb_actiondefs[NUM_ACTIONS] =
{
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },

};
// Definitions for GOSSIP
const GOSSIP_DEF
glb_gossipdefs[NUM_GOSSIPS] =
{
  {
    "intro",
  },
  {
    "meditate",
  },
  {
    "equip",
  },

};
// Definitions for ATTR
const ATTR_DEF
glb_attrdefs[NUM_ATTRS] =
{
  {
    0,
    0,
    0,
    255,
    255,
    255,
    false,
  },
  {
    0,
    0,
    0,
    255,
    196,
    64,
    false,
  },
  {
    255,
    0,
    0,
    0,
    0,
    0,
    false,
  },
  {
    0,
    128,
    0,
    255,
    255,
    255,
    false,
  },
  {
    192,
    255,
    128,
    0,
    0,
    0,
    false,
  },
  {
    32,
    32,
    32,
    192,
    192,
    192,
    false,
  },
  {
    64,
    128,
    64,
    255,
    255,
    255,
    false,
  },
  {
    128,
    128,
    0,
    255,
    255,
    255,
    false,
  },
  {
    64,
    64,
    64,
    255,
    255,
    255,
    false,
  },
  {
    96,
    32,
    32,
    192,
    192,
    192,
    false,
  },
  {
    96,
    32,
    32,
    192,
    192,
    192,
    false,
  },
  {
    196,
    196,
    196,
    0,
    0,
    0,
    false,
  },
  {
    255,
    255,
    255,
    0,
    0,
    0,
    false,
  },
  {
    128,
    128,
    128,
    0,
    0,
    0,
    false,
  },
  {
    20,
    40,
    196,
    0,
    0,
    0,
    false,
  },
  {
    196,
    64,
    196,
    0,
    0,
    0,
    false,
  },
  {
    255,
    128,
    255,
    0,
    0,
    0,
    false,
  },
  {
    0,
    16,
    32,
    32,
    128,
    255,
    false,
  },
  {
    0,
    0,
    0,
    32,
    128,
    196,
    false,
  },
  {
    0,
    0,
    0,
    20,
    30,
    128,
    true,
  },
  {
    0,
    0,
    0,
    128,
    96,
    32,
    true,
  },
  {
    0,
    0,
    0,
    64,
    255,
    255,
    true,
  },
  {
    0,
    0,
    0,
    192,
    128,
    64,
    true,
  },
  {
    0,
    0,
    0,
    192,
    192,
    255,
    false,
  },
  {
    196,
    196,
    0,
    0,
    0,
    0,
    false,
  },
  {
    0,
    0,
    0,
    255,
    255,
    0,
    false,
  },
  {
    0,
    0,
    0,
    255,
    255,
    0,
    false,
  },
  {
    0,
    0,
    0,
    255,
    255,
    128,
    false,
  },
  {
    255,
    255,
    0,
    0,
    0,
    0,
    false,
  },
  {
    0,
    0,
    0,
    196,
    196,
    128,
    false,
  },
  {
    0,
    0,
    0,
    128,
    255,
    128,
    false,
  },
  {
    0,
    0,
    0,
    255,
    196,
    128,
    false,
  },
  {
    0,
    0,
    0,
    255,
    128,
    128,
    false,
  },
  {
    0,
    0,
    0,
    255,
    128,
    255,
    false,
  },
  {
    0,
    0,
    0,
    192,
    192,
    192,
    false,
  },
  {
    0,
    0,
    0,
    96,
    96,
    96,
    false,
  },
  {
    0,
    0,
    0,
    96,
    96,
    96,
    false,
  },
  {
    0,
    0,
    0,
    255,
    255,
    255,
    false,
  },
  {
    255,
    255,
    255,
    0,
    0,
    0,
    false,
  },
  {
    0,
    0,
    0,
    255,
    192,
    64,
    false,
  },
  {
    0,
    0,
    0,
    192,
    128,
    64,
    false,
  },
  {
    255,
    192,
    64,
    0,
    0,
    0,
    false,
  },
  {
    0,
    0,
    0,
    255,
    192,
    128,
    false,
  },
  {
    0,
    0,
    0,
    192,
    128,
    64,
    false,
  },
  {
    0,
    0,
    0,
    255,
    128,
    128,
    false,
  },
  {
    0,
    0,
    0,
    255,
    32,
    32,
    false,
  },
  {
    255,
    32,
    32,
    0,
    0,
    0,
    false,
  },
  {
    0,
    0,
    0,
    196,
    32,
    32,
    false,
  },
  {
    0,
    0,
    0,
    0,
    255,
    0,
    false,
  },
  {
    0,
    0,
    0,
    128,
    255,
    128,
    false,
  },
  {
    0,
    255,
    0,
    0,
    0,
    0,
    false,
  },
  {
    0,
    0,
    192,
    0,
    255,
    0,
    false,
  },
  {
    0,
    0,
    0,
    0,
    196,
    0,
    false,
  },
  {
    0,
    0,
    0,
    0,
    128,
    0,
    false,
  },
  {
    0,
    0,
    0,
    64,
    64,
    255,
    false,
  },
  {
    0,
    0,
    0,
    128,
    128,
    255,
    false,
  },
  {
    64,
    64,
    255,
    0,
    0,
    0,
    false,
  },
  {
    0,
    0,
    0,
    128,
    128,
    255,
    false,
  },
  {
    0,
    0,
    0,
    64,
    128,
    128,
    false,
  },
  {
    0,
    0,
    0,
    64,
    255,
    255,
    false,
  },
  {
    0,
    0,
    0,
    64,
    192,
    192,
    false,
  },
  {
    0,
    0,
    0,
    128,
    128,
    128,
    false,
  },
  {
    0,
    0,
    0,
    196,
    196,
    196,
    false,
  },
  {
    0,
    0,
    0,
    220,
    220,
    220,
    false,
  },
  {
    196,
    196,
    196,
    0,
    0,
    0,
    false,
  },
  {
    128,
    128,
    128,
    0,
    0,
    0,
    false,
  },
  {
    255,
    255,
    255,
    0,
    0,
    0,
    false,
  },

};
// Definitions for MAPFLAG
const MAPFLAG_DEF
glb_mapflagdefs[NUM_MAPFLAGS] =
{
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },

};
// Definitions for EVENTTYPE
const EVENTTYPE_DEF
glb_eventtypedefs[NUM_EVENTTYPES] =
{
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },
  {
  },

};
// Definitions for TILE
const TILE_DEF
glb_tiledefs[NUM_TILES] =
{
  {
    '#',
    ATTR_BROWN,
    "unknown",
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '&',
    ATTR_NORMAL,
    "none",
    true,
    true,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
  },
  {
    'X',
    ATTR_INV_RED,
    "engraved monolith",
    false,
    true,
    true,
    false,
    true,
    false,
    false,
    true,
    true,
    false,
  },
  {
    'K',
    ATTR_RED,
    "large kobold statue",
    true,
    true,
    true,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '_',
    ATTR_FIRE,
    "glowing altar of the apocalypse",
    false,
    true,
    true,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '_',
    ATTR_GREY,
    "broken altar of the apocalypse",
    false,
    true,
    true,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '.',
    ATTR_BROWN,
    "wooden floor",
    true,
    true,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '.',
    ATTR_PURPLE,
    "carpet",
    true,
    true,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '.',
    ATTR_BROWN,
    "rocky ground",
    true,
    true,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '.',
    ATTR_NORMAL,
    "floor",
    true,
    true,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '.',
    ATTR_NORMAL,
    "rocky ground",
    true,
    false,
    true,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
  },
  {
    'h',
    ATTR_BROWN,
    "wooden chair",
    true,
    true,
    true,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
  },
  {
    'O',
    ATTR_LIGHTBROWN,
    "wooden table",
    false,
    true,
    true,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '>',
    ATTR_WHITE,
    "downstairs",
    true,
    true,
    true,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '<',
    ATTR_WHITE,
    "upstairs",
    true,
    true,
    true,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '.',
    ATTR_WHITE,
    "snow covered ground",
    true,
    true,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '.',
    ATTR_BROWN,
    "path",
    true,
    true,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '.',
    ATTR_GREEN,
    "grass",
    true,
    true,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '.',
    ATTR_BROWN,
    "dirt",
    true,
    true,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '*',
    ATTR_BLUEPORTAL,
    "exit portal",
    true,
    true,
    true,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '"',
    ATTR_BROWN,
    "field",
    true,
    true,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '"',
    ATTR_LIGHTBLACK,
    "frost-killed field",
    true,
    true,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '&',
    ATTR_FIRE,
    "cooking fire",
    false,
    true,
    true,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
  },
  {
    ' ',
    ATTR_NORMAL,
    "tunnel wall",
    false,
    false,
    true,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
  },
  {
    ' ',
    ATTR_NORMAL,
    "corridor wall",
    false,
    false,
    true,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '#',
    ATTR_CYAN,
    "wall of ice",
    false,
    true,
    true,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '#',
    ATTR_NORMAL,
    "wall",
    false,
    false,
    true,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '#',
    ATTR_WHITE,
    "stucco wall",
    false,
    false,
    true,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '#',
    ATTR_NORMAL,
    "maze wall",
    false,
    false,
    true,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '#',
    ATTR_NORMAL,
    "cave wall",
    false,
    false,
    true,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '#',
    ATTR_NORMAL,
    "wall",
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '#',
    ATTR_BROWN,
    "wooden wall",
    false,
    false,
    true,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '#',
    ATTR_BROWN,
    "wall",
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '*',
    ATTR_PURPLE,
    "portal",
    true,
    true,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '*',
    ATTR_ORANGEPORTAL,
    "orange portal",
    true,
    true,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '*',
    ATTR_BLUEPORTAL,
    "blue portal",
    true,
    true,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '^',
    ATTR_NORMAL,
    "mountain",
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '#',
    ATTR_NORMAL,
    "wall",
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '^',
    ATTR_NORMAL,
    "mountain",
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '%',
    ATTR_NORMAL,
    "broken wall",
    false,
    false,
    true,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '+',
    ATTR_BROWN,
    "closed door",
    false,
    false,
    true,
    false,
    true,
    false,
    false,
    false,
    false,
    true,
  },
  {
    '-',
    ATTR_BROWN,
    "opened door",
    true,
    true,
    true,
    false,
    true,
    false,
    false,
    false,
    false,
    true,
  },
  {
    '-',
    ATTR_BROWN,
    "broken door",
    true,
    true,
    true,
    false,
    true,
    false,
    false,
    false,
    false,
    true,
  },
  {
    '+',
    ATTR_BROWN,
    "closed door",
    false,
    false,
    true,
    false,
    true,
    false,
    false,
    false,
    false,
    true,
  },
  {
    '+',
    ATTR_BROWN,
    "closed door",
    false,
    false,
    true,
    false,
    true,
    false,
    false,
    false,
    false,
    true,
  },
  {
    '+',
    ATTR_BROWN,
    "locked door",
    false,
    false,
    true,
    false,
    true,
    false,
    false,
    false,
    false,
    true,
  },
  {
    '+',
    ATTR_BROWN,
    "jammed door",
    false,
    false,
    true,
    false,
    true,
    false,
    false,
    false,
    false,
    true,
  },
  {
    '.',
    ATTR_GREY,
    "doorway",
    true,
    true,
    true,
    false,
    true,
    false,
    false,
    false,
    false,
    true,
  },
  {
    '+',
    ATTR_BROWN,
    "door",
    true,
    false,
    true,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '#',
    ATTR_WHITE,
    "wall",
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '^',
    ATTR_NORMAL,
    "mountain",
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '^',
    ATTR_WHITE,
    "icy mountain",
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
  },
  {
    'W',
    ATTR_WHITE,
    "snowed in pass",
    false,
    true,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '=',
    ATTR_BROWN,
    "bridge",
    true,
    true,
    true,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '~',
    ATTR_BLUE,
    "water",
    false,
    true,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '~',
    ATTR_CYAN,
    "ice",
    true,
    true,
    true,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
  },
  {
    '+',
    ATTR_DKGREEN,
    "bushes",
    true,
    true,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
  },
  {
    '&',
    ATTR_DKRGREEN,
    "forest",
    true,
    false,
    true,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
  },
  {
    '&',
    ATTR_LIGHTBLACK,
    "leafless trees",
    true,
    true,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
  },

};
// Definitions for TERRAIN
const TERRAIN_DEF
glb_terraindefs[NUM_TERRAINS] =
{
  {
    TILE_NONE,
    0,
    0,
    0,
    0,
    30,
    500,
  },
  {
    TILE_GRASS,
    90,
    0,
    10,
    0,
    100,
    500,
  },
  {
    TILE_BUSH,
    10,
    0,
    90,
    0,
    40,
    300,
  },
  {
    TILE_FOREST,
    0,
    0,
    10,
    90,
    15,
    100,
  },
  {
    TILE_DIRT,
    10,
    90,
    0,
    0,
    130,
    600,
  },

};
// Definitions for AI
const AI_DEF
glb_aidefs[NUM_AIS] =
{
  {
    "Do Nothing",
    "They stand still doing nothing all day.  Much like your brother John.",
  },
  {
    "Stay at Home",
    "They stay at their home and do not wander off.",
  },
  {
    "Hang around Home",
    "They keep near their home territory.",
  },
  {
    "Charge on Sight",
    "They charge at any foes as soon as they see them.",
  },
  {
    "Attack with Friends",
    "They wait to form a pack before attacking.",
  },
  {
    "Move in Straight Lines",
    "They like to run straight and avoid turning.",
  },
  {
    "Tracker",
    "They can track a foe across a trackless wasteland.",
  },
  {
    "Avoids Diagonals",
    "They avoid taking any shortcuts.",
  },
  {
    "Flanks",
    "They dance around to attack from the flanks.",
  },
  {
    "Attacks from Afar",
    "They keep their distance to attack from afar.",
  },
  {
    "Runs Away",
    "They flee any danger.",
  },
  {
    "Hugs Walls",
    "They keep close to walls.",
  },
  {
    "Peaceful",
    "They do not seek any battle.",
  },
  {
    "Commits Genocide for Profit",
    "They kill any and all, even if it nets them naught but a dirty rag.",
  },
  {
    "Stumbles about Randomly",
    "Stumbles about randomly, woe to those in their way.",
  },
  {
    "Peacefully Inhabits Dungeons",
    "They form the backbone of properly civilized dungeons.",
  },

};
// Definitions for DISTRIBUTION
const DISTRIBUTION_DEF
glb_distributiondefs[NUM_DISTRIBUTIONS] =
{
  {
    "Always Same",
    "exactly",
  },
  {
    "Usually Similar",
    "about",
  },
  {
    "Widely Spread",
    "a variable",
  },
  {
    "Either BIG or small",
    "a highly variable",
  },

};
// Definitions for ATTACK
const ATTACK_DEF
glb_attackdefs[NUM_ATTACKS] =
{
  {
    "attack",
    "attack",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_NONE,
    { 0, 0, 0 },
    0,
  },
  {
    "kick",
    "feet",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_BLUNT,
    { 1, 3, 0 },
    0,
  },
  {
    "bash",
    "broken weapon",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_BLUNT,
    { 0, 0, 1 },
    -3,
  },
  {
    "punch",
    "fists",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_BLUNT,
    { 1, 2, 0 },
    0,
  },
  {
    "bite",
    "teeth",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_PIERCE,
    { 1, 2, 0 },
    0,
  },
  {
    "bite",
    "teeth",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_PIERCE,
    { 1, 3, 0 },
    0,
  },
  {
    "bite",
    "teeth",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_PIERCE,
    { 1, 3, 2 },
    2,
  },
  {
    "bite",
    "radulae",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_SLASH,
    { 1, 4, 0 },
    0,
  },
  {
    "dissolve",
    "slime",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_ACID,
    DAMAGECLASS_SPLASH,
    { 2, 4, 0 },
    0,
  },
  {
    "pierce",
    "horn",
    "cloud of daggers appears",
    EFFECT_ADHOC36,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_PIERCE,
    { 2, 6, 0 },
    0,
  },
  {
    "bite",
    "teeth",
    "cloud of daggers appears",
    EFFECT_ADHOC38,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_PIERCE,
    { 2, 6, 0 },
    0,
  },
  {
    "smash",
    "arm",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_BLUNT,
    { 1, 4, 0 },
    0,
  },
  {
    "punch",
    "fists",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_BLUNT,
    { 1, 3, 0 },
    0,
  },
  {
    "burn",
    "fire",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_FIRE,
    DAMAGECLASS_DODGE,
    { 1, 6, 0 },
    0,
  },
  {
    "claw",
    "claws",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_SLASH,
    { 1, 8, 0 },
    0,
  },
  {
    "freeze",
    "ice",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_ICE,
    DAMAGECLASS_DODGE,
    { 1, 6, 0 },
    0,
  },
  {
    "bite",
    "teeth",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_PIERCE,
    { 1, 2, 0 },
    0,
  },
  {
    "bite",
    "teeth",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_PIERCE,
    { 1, 8, 0 },
    0,
  },
  {
    "bite",
    "teeth",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_PIERCE,
    { 1, 8, 0 },
    0,
  },
  {
    "freeze",
    "frost breath",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_ICE,
    DAMAGECLASS_DODGE,
    { 2, 6, 0 },
    0,
  },
  {
    "punch",
    "fists",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_BLUNT,
    { 1, 2, 0 },
    0,
  },
  {
    "punch",
    "fists",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_BLUNT,
    { 1, 2, 0 },
    0,
  },
  {
    "punch",
    "fists",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_BLUNT,
    { 1, 2, 0 },
    0,
  },
  {
    "punch",
    "fists",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_BLUNT,
    { 1, 2, 0 },
    0,
  },
  {
    "punch",
    "fists",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_BLUNT,
    { 1, 2, 0 },
    0,
  },
  {
    "punch",
    "fists",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_BLUNT,
    { 1, 6, 0 },
    0,
  },
  {
    "claw",
    "nails",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_SLASH,
    { 2, 4, 0 },
    0,
  },
  {
    "freeze",
    "frightening aspect",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_DODGE,
    { 1, 6, 0 },
    0,
  },
  {
    "scratch",
    "nails",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_SLASH,
    { 1, 2, 0 },
    0,
  },
  {
    "scratch",
    "nails",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_SLASH,
    { 1, 2, 0 },
    0,
  },
  {
    "punch",
    "fists",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_BLUNT,
    { 1, 4, 0 },
    0,
  },
  {
    "slash",
    "claws",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_SLASH,
    { 1, 8, 0 },
    0,
  },
  {
    "bite",
    "fangs",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_PIERCE,
    { 1, 8, 0 },
    0,
  },
  {
    "bash",
    "fists",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_BLUNT,
    { 2, 3, 0 },
    0,
  },
  {
    "crush",
    "boulder",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_BLUNT,
    { 2, 6, 0 },
    0,
  },
  {
    "bite",
    "fangs",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_PIERCE,
    { 1, 10, 0 },
    0,
  },
  {
    "freeze",
    "ice breath",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_ICE,
    DAMAGECLASS_DODGE,
    { 2, 6, 0 },
    0,
  },
  {
    "smash",
    "tail",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_BLUNT,
    { 2, 4, 0 },
    0,
  },
  {
    "dissolve",
    "acid breath",
    "cloud of acid condenses",
    EFFECT_NONE,
    ELEMENT_ACID,
    DAMAGECLASS_DODGE,
    { 3, 6, 0 },
    0,
  },
  {
    "smash",
    "tail",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_BLUNT,
    { 2, 4, 0 },
    0,
  },
  {
    "zap",
    "lightning breath",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_ELECTRICITY,
    DAMAGECLASS_DODGE,
    { 2, 6, 0 },
    0,
  },
  {
    "slash",
    "claws",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_SLASH,
    { 1, 8, 0 },
    0,
  },
  {
    "burn",
    "fire breath",
    "ball of fire explodes",
    EFFECT_NONE,
    ELEMENT_FIRE,
    DAMAGECLASS_DODGE,
    { 2, 6, 0 },
    0,
  },
  {
    "bite",
    "fangs",
    "cloud of daggers appears",
    EFFECT_ADHOC124,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_PIERCE,
    { 1, 10, 0 },
    0,
  },
  {
    "zap",
    "electric aura",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_ELECTRICITY,
    DAMAGECLASS_BYPASS,
    { 1, 6, 0 },
    0,
  },
  {
    "bite",
    "fangs",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_PIERCE,
    { 1, 2, 0 },
    0,
  },
  {
    "bite",
    "fangs",
    "cloud of daggers appears",
    EFFECT_ADHOC128,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_PIERCE,
    { 1, 5, 0 },
    0,
  },
  {
    "burn",
    "mandibles",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_FIRE,
    DAMAGECLASS_PIERCE,
    { 1, 8, 0 },
    0,
  },
  {
    "bite",
    "fangs",
    "cloud of daggers appears",
    EFFECT_ADHOC131,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_PIERCE,
    { 2, 5, 0 },
    0,
  },
  {
    "claw",
    "claws",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_SLASH,
    { 2, 6, 0 },
    0,
  },
  {
    "zap",
    "lightning",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_ELECTRICITY,
    DAMAGECLASS_DODGE,
    { 2, 6, 0 },
    0,
  },
  {
    "stab",
    "dagger",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_PIERCE,
    { 1, 4, 0 },
    2,
  },
  {
    "slash",
    "shortsword",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_SLASH,
    { 1, 6, 0 },
    1,
  },
  {
    "slash",
    "longsword",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_SLASH,
    { 1, 8, 0 },
    0,
  },
  {
    "slash",
    "greataxe",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_SLASH,
    { 1, 12, 0 },
    -1,
  },
  {
    "club",
    "club",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_BLUNT,
    { 2, 3, -1 },
    0,
  },
  {
    "smash",
    "mace",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_BLUNT,
    { 2, 4, -1 },
    0,
  },
  {
    "crush",
    "warhammer",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_BLUNT,
    { 3, 4, -2 },
    0,
  },
  {
    "stab",
    "spear",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_PIERCE,
    { 1, 6, 0 },
    0,
  },
  {
    "smash",
    "rock",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_BLUNT,
    { 1, 4, 0 },
    0,
  },
  {
    "smash",
    "boulder",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_BLUNT,
    { 2, 6, 0 },
    0,
  },
  {
    "pierce",
    "arrow",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_PIERCE,
    { 1, 8, 0 },
    0,
  },
  {
    "smash",
    "rock",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_BLUNT,
    { 1, 6, 0 },
    0,
  },
  {
    "pierce",
    "pick axe",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_PIERCE,
    { 3, 4, 0 },
    -3,
  },
  {
    "blind",
    "attack",
    "cloud of daggers appears",
    EFFECT_ADHOC173,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_NONE,
    { 0, 0, 0 },
    0,
  },
  {
    "poison",
    "attack",
    "cloud of daggers appears",
    EFFECT_ADHOC175,
    ELEMENT_POISON,
    DAMAGECLASS_NONE,
    { 1, 4, 0 },
    0,
  },
  {
    "attack",
    "attack",
    "cloud of daggers appears",
    EFFECT_ADHOC177,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_NONE,
    { 0, 0, 0 },
    0,
  },
  {
    "attack",
    "attack",
    "cloud of daggers appears",
    EFFECT_ADHOC179,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_NONE,
    { 0, 0, 0 },
    0,
  },
  {
    "stab",
    "attack",
    "cloud of daggers appears",
    EFFECT_ADHOC181,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_NONE,
    { 1, 4, 0 },
    0,
  },
  {
    "stab",
    "attack",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_PHYSICAL,
    DAMAGECLASS_NONE,
    { 2, 4, 0 },
    0,
  },
  {
    "burn",
    "attack",
    "cloud of daggers appears",
    EFFECT_NONE,
    ELEMENT_FIRE,
    DAMAGECLASS_NONE,
    { 1, 8, 0 },
    0,
  },

};
// Definitions for ITEMLIST
const ITEMLIST_DEF
glb_itemlistdefs[NUM_ITEMLISTS] =
{
  {
    ITEM_NONE,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_NONE,
  },
  {
    ITEM_NONE,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_NONE,
  },
  {
    ITEM_NONE,
    ITEMCLASS_FOOD,
    100,
    { 0, 0, 1 },
    ITEMLIST_ADHOC1,
  },
  {
    ITEM_NONE,
    ITEMCLASS_POTION,
    100,
    { 1, 2, 0 },
    ITEMLIST_STARTER_AVATAR,
  },
  {
    ITEM_WRITINGSET,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_ADHOC2,
  },
  {
    ITEM_NONE,
    ITEMCLASS_SCROLL,
    100,
    { 1, 2, 0 },
    ITEMLIST_ADHOC3,
  },
  {
    ITEM_NONE,
    ITEMCLASS_SPELLBOOK,
    100,
    { 0, 0, 1 },
    ITEMLIST_ADHOC4,
  },
  {
    ITEM_NONE,
    ITEMCLASS_SPELLBOOK,
    100,
    { 0, 0, 1 },
    ITEMLIST_ADHOC5,
  },
  {
    ITEM_ROBES,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_ADHOC6,
  },
  {
    ITEM_DAGGER,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_ADHOC7,
  },
  {
    ITEM_LOCKPICK,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 2 },
    ITEMLIST_STARTER_AVATAR,
  },
  {
    ITEM_ARROW,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 3 },
    ITEMLIST_ADHOC8,
  },
  {
    ITEM_BOW,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_ADHOC9,
  },
  {
    ITEM_LEATHER,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_ADHOC10,
  },
  {
    ITEM_SHORTSWORD,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_ADHOC11,
  },
  {
    ITEM_NONE,
    ITEMCLASS_FOOD,
    100,
    { 0, 0, 1 },
    ITEMLIST_STARTER_AVATAR,
  },
  {
    ITEM_NONE,
    ITEMCLASS_WAND,
    100,
    { 0, 0, 1 },
    ITEMLIST_ADHOC12,
  },
  {
    ITEM_PICKAXE,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_ADHOC13,
  },
  {
    ITEM_RINGMAIL,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_ADHOC14,
  },
  {
    ITEM_LONGSWORD,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_ADHOC15,
  },
  {
    ITEM_COIN,
    ITEMCLASS_NONE,
    40,
    { 0, 0, 1 },
    ITEMLIST_NONE,
  },
  {
    ITEM_ARROW,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 3 },
    ITEMLIST_GOLD,
  },
  {
    ITEM_BOW,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_ADHOC16,
  },
  {
    ITEM_ROBES,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_NONE,
  },
  {
    ITEM_DAGGER,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_ADHOC19,
  },
  {
    ITEM_RINGMAIL,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_GOLD,
  },
  {
    ITEM_MACE,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_ADHOC21,
  },
  {
    ITEM_ARROW,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 2 },
    ITEMLIST_GOLD,
  },
  {
    ITEM_BOW,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_ADHOC23,
  },
  {
    ITEM_ROCK,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 2 },
    ITEMLIST_GOLD,
  },
  {
    ITEM_SLING,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_ADHOC25,
  },
  {
    ITEM_DAGGER,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_NONE,
  },
  {
    ITEM_CLUB,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_NONE,
  },
  {
    ITEM_ARROW,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 3 },
    ITEMLIST_GOLD,
  },
  {
    ITEM_BOW,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_ADHOC55,
  },
  {
    ITEM_DAGGER,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_ADHOC56,
  },
  {
    ITEM_NONE,
    ITEMCLASS_WAND,
    10,
    { 0, 0, 1 },
    ITEMLIST_GOLD,
  },
  {
    ITEM_NONE,
    ITEMCLASS_POTION,
    50,
    { 0, 0, 1 },
    ITEMLIST_ADHOC60,
  },
  {
    ITEM_NONE,
    ITEMCLASS_SCROLL,
    50,
    { 0, 0, 1 },
    ITEMLIST_ADHOC61,
  },
  {
    ITEM_LEATHER,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_ADHOC62,
  },
  {
    ITEM_SHORTSWORD,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_ADHOC63,
  },
  {
    ITEM_ARROW,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 3 },
    ITEMLIST_GOLD,
  },
  {
    ITEM_BOW,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_ADHOC67,
  },
  {
    ITEM_NONE,
    ITEMCLASS_WAND,
    5,
    { 0, 0, 1 },
    ITEMLIST_ADHOC68,
  },
  {
    ITEM_NONE,
    ITEMCLASS_POTION,
    100,
    { 1, 4, -1 },
    ITEMLIST_ADHOC69,
  },
  {
    ITEM_NONE,
    ITEMCLASS_SCROLL,
    100,
    { 1, 4, -1 },
    ITEMLIST_ADHOC70,
  },
  {
    ITEM_ROBES,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_ADHOC71,
  },
  {
    ITEM_DAGGER,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_ADHOC72,
  },
  {
    ITEM_NONE,
    ITEMCLASS_WAND,
    5,
    { 0, 0, 1 },
    ITEMLIST_GOLD,
  },
  {
    ITEM_NONE,
    ITEMCLASS_POTION,
    50,
    { 0, 0, 1 },
    ITEMLIST_ADHOC80,
  },
  {
    ITEM_NONE,
    ITEMCLASS_SCROLL,
    50,
    { 0, 0, 1 },
    ITEMLIST_ADHOC81,
  },
  {
    ITEM_ROBES,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_ADHOC82,
  },
  {
    ITEM_SHORTSWORD,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_ADHOC83,
  },
  {
    ITEM_NONE,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_GOLD,
  },
  {
    ITEM_RINGMAIL,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_ADHOC87,
  },
  {
    ITEM_LONGSWORD,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_ADHOC88,
  },
  {
    ITEM_NONE,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_GOLD,
  },
  {
    ITEM_CHAINMAIL,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_ADHOC90,
  },
  {
    ITEM_MACE,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_ADHOC91,
  },
  {
    ITEM_NONE,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_GOLD,
  },
  {
    ITEM_STUDDEDLEATHER,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_ADHOC93,
  },
  {
    ITEM_WARHAMMER,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_ADHOC94,
  },
  {
    ITEM_NONE,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_GOLD,
  },
  {
    ITEM_LEATHER,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_ADHOC96,
  },
  {
    ITEM_GREATAXE,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_ADHOC97,
  },
  {
    ITEM_NONE,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_GOLD,
  },
  {
    ITEM_STUDDEDLEATHER,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_ADHOC99,
  },
  {
    ITEM_WARHAMMER,
    ITEMCLASS_NONE,
    100,
    { 0, 0, 1 },
    ITEMLIST_ADHOC100,
  },
  {
    ITEM_BOULDER,
    ITEMCLASS_NONE,
    100,
    { 1, 2, 0 },
    ITEMLIST_NONE,
  },

};
// Definitions for STARTITEMS
const STARTITEMS_DEF
glb_startitemsdefs[NUM_STARTITEMSS] =
{
  {
    ITEMLIST_NONE,
    100,
    STARTITEMS_NONE,
  },
  {
    ITEMLIST_FIGHTER,
    100,
    STARTITEMS_NONE,
  },
  {
    ITEMLIST_THIEF,
    100,
    STARTITEMS_ADHOC17,
  },
  {
    ITEMLIST_WIZARD,
    100,
    STARTITEMS_ADHOC18,
  },
  {
    ITEMLIST_ADHOC26,
    50,
    STARTITEMS_NONE,
  },
  {
    ITEMLIST_ADHOC24,
    50,
    STARTITEMS_ADHOC27,
  },
  {
    ITEMLIST_ADHOC22,
    25,
    STARTITEMS_ADHOC28,
  },
  {
    ITEMLIST_ADHOC20,
    100,
    STARTITEMS_ADHOC29,
  },
  {
    ITEMLIST_ADHOC51,
    100,
    STARTITEMS_NONE,
  },
  {
    ITEMLIST_ADHOC50,
    100,
    STARTITEMS_ADHOC52,
  },
  {
    ITEMLIST_ADHOC57,
    100,
    STARTITEMS_NONE,
  },
  {
    ITEMLIST_ADHOC64,
    100,
    STARTITEMS_NONE,
  },
  {
    ITEMLIST_ADHOC73,
    100,
    STARTITEMS_NONE,
  },
  {
    ITEMLIST_ADHOC84,
    100,
    STARTITEMS_NONE,
  },
  {
    ITEMLIST_ADHOC101,
    100,
    STARTITEMS_NONE,
  },
  {
    ITEMLIST_ADHOC98,
    100,
    STARTITEMS_ADHOC102,
  },
  {
    ITEMLIST_ADHOC95,
    100,
    STARTITEMS_ADHOC103,
  },
  {
    ITEMLIST_ADHOC92,
    100,
    STARTITEMS_ADHOC104,
  },
  {
    ITEMLIST_ADHOC89,
    100,
    STARTITEMS_ADHOC105,
  },
  {
    ITEMLIST_ADHOC111,
    100,
    STARTITEMS_NONE,
  },

};
// Definitions for MOB
const MOB_DEF
glb_mobdefs[NUM_MOBS] =
{
  {
    '!',
    ATTR_WHITE,
    "program error",
    "",
    false,
    false,
    ATTACK_NONE,
    ROLE_NONE,
    false,
    ATTACK_NONE,
    0,
    1,
    0,
    '*',
    "%S <shoot>.",
    ATTR_NORMAL,
    ITEM_NONE,
    { 0, 0, 1 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    0,
    0,
    0,
    AI_CHARGE,
    30,
    EFFECT_NONE,
    MOB_NONE,
    -1,
    STARTITEMS_NONE,
    ELEMENT_NONE,
    ELEMENT_NONE,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    true,
    8,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    0,
    SIZE_SMALL,
  },
  {
    '@',
    ATTR_CYAN,
    "you",
    "",
    true,
    true,
    ATTACK_ADHOC30,
    ROLE_THIEF,
    false,
    ATTACK_NONE,
    0,
    1,
    0,
    '*',
    "%S <shoot>.",
    ATTR_NORMAL,
    ITEM_NONE,
    { 0, 0, 20 },
    { 0, 0, 10 },
    { 1, 3, 3 },
    { 1, 2, 1 },
    0,
    0,
    0,
    100,
    AI_ADVENTURER,
    100,
    EFFECT_PLAGUECORPSE,
    MOB_NONE,
    -1,
    STARTITEMS_AVATAR,
    ELEMENT_NONE,
    ELEMENT_NONE,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    true,
    false,
    true,
    false,
    false,
    false,
    false,
    true,
    8,
    false,
    false,
    true,
    true,
    true,
    true,
    true,
    0,
    SIZE_MEDIUM,
  },
  {
    'r',
    ATTR_BROWN,
    "rat",
    "",
    false,
    false,
    ATTACK_ADHOC31,
    ROLE_NONE,
    false,
    ATTACK_NONE,
    0,
    1,
    0,
    '*',
    "%S <shoot>.",
    ATTR_NORMAL,
    ITEM_NONE,
    { 1, 8, 0 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    0,
    1,
    100,
    AI_RAT,
    30,
    EFFECT_NONE,
    MOB_NONE,
    -1,
    STARTITEMS_NONE,
    ELEMENT_NONE,
    ELEMENT_NONE,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    true,
    8,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    0,
    SIZE_TINY,
  },
  {
    'B',
    ATTR_BROWN,
    "bat",
    "",
    false,
    false,
    ATTACK_ADHOC32,
    ROLE_NONE,
    false,
    ATTACK_NONE,
    0,
    1,
    0,
    '*',
    "%S <shoot>.",
    ATTR_NORMAL,
    ITEM_NONE,
    { 1, 4, 0 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    2,
    1,
    100,
    AI_FLANK,
    30,
    EFFECT_NONE,
    MOB_NONE,
    -1,
    STARTITEMS_NONE,
    ELEMENT_NONE,
    ELEMENT_NONE,
    false,
    true,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    true,
    8,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    0,
    SIZE_TINY,
  },
  {
    'B',
    ATTR_RED,
    "vampire bat",
    "",
    false,
    false,
    ATTACK_ADHOC33,
    ROLE_NONE,
    false,
    ATTACK_NONE,
    0,
    1,
    0,
    '*',
    "%S <shoot>.",
    ATTR_NORMAL,
    ITEM_NONE,
    { 3, 4, 0 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    2,
    3,
    100,
    AI_FLANK,
    30,
    EFFECT_NONE,
    MOB_NONE,
    -1,
    STARTITEMS_NONE,
    ELEMENT_NONE,
    ELEMENT_NONE,
    false,
    true,
    true,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    true,
    8,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    0,
    SIZE_TINY,
  },
  {
    's',
    ATTR_BROWN,
    "slug",
    "",
    false,
    false,
    ATTACK_ADHOC34,
    ROLE_NONE,
    false,
    ATTACK_NONE,
    0,
    1,
    0,
    '*',
    "%S <shoot>.",
    ATTR_NORMAL,
    ITEM_NONE,
    { 1, 8, 8 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    -1,
    1,
    100,
    AI_CHARGE,
    30,
    EFFECT_NONE,
    MOB_NONE,
    -1,
    STARTITEMS_NONE,
    ELEMENT_NONE,
    ELEMENT_NONE,
    true,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    true,
    8,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    0,
    SIZE_TINY,
  },
  {
    's',
    ATTR_YELLOW,
    "acid slug",
    "",
    false,
    false,
    ATTACK_ADHOC35,
    ROLE_NONE,
    false,
    ATTACK_NONE,
    0,
    1,
    0,
    '*',
    "%S <shoot>.",
    ATTR_NORMAL,
    ITEM_NONE,
    { 2, 8, 12 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    -1,
    3,
    100,
    AI_CHARGE,
    30,
    EFFECT_CORPSE_RESIST_ACID,
    MOB_NONE,
    -1,
    STARTITEMS_NONE,
    ELEMENT_NONE,
    ELEMENT_NONE,
    true,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    true,
    8,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    0,
    SIZE_SMALL,
  },
  {
    's',
    ATTR_PURPLE,
    "death slug",
    "",
    false,
    false,
    ATTACK_ADHOC37,
    ROLE_NONE,
    false,
    ATTACK_NONE,
    0,
    1,
    0,
    '*',
    "%S <shoot>.",
    ATTR_NORMAL,
    ITEM_NONE,
    { 3, 8, 16 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    -1,
    11,
    100,
    AI_CHARGE,
    50,
    EFFECT_CORPSE_RESIST_ACID,
    MOB_NONE,
    -1,
    STARTITEMS_NONE,
    ELEMENT_NONE,
    ELEMENT_NONE,
    true,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    true,
    8,
    false,
    false,
    false,
    false,
    true,
    true,
    false,
    0,
    SIZE_MEDIUM,
  },
  {
    'W',
    ATTR_PURPLE,
    "purple worm",
    "",
    false,
    false,
    ATTACK_ADHOC39,
    ROLE_NONE,
    false,
    ATTACK_NONE,
    0,
    1,
    0,
    '*',
    "%S <shoot>.",
    ATTR_NORMAL,
    ITEM_NONE,
    { 3, 8, 16 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    0,
    13,
    100,
    AI_CHARGE,
    75,
    EFFECT_CORPSE_RESIST_ACID,
    MOB_NONE,
    -1,
    STARTITEMS_NONE,
    ELEMENT_NONE,
    ELEMENT_NONE,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    true,
    8,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    0,
    SIZE_GIANT,
  },
  {
    'Y',
    ATTR_GREEN,
    "tridude",
    "",
    false,
    false,
    ATTACK_ADHOC40,
    ROLE_NONE,
    false,
    ATTACK_NONE,
    0,
    1,
    0,
    '*',
    "%S <shoot>.",
    ATTR_NORMAL,
    ITEM_NONE,
    { 1, 8, 4 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    0,
    3,
    100,
    AI_CHARGE,
    50,
    EFFECT_NONE,
    MOB_NONE,
    -1,
    STARTITEMS_NONE,
    ELEMENT_NONE,
    ELEMENT_NONE,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    true,
    8,
    false,
    false,
    false,
    false,
    true,
    true,
    false,
    0,
    SIZE_MEDIUM,
  },
  {
    '&',
    ATTR_BLUE,
    "imp",
    "",
    false,
    false,
    ATTACK_ADHOC41,
    ROLE_NONE,
    true,
    ATTACK_ADHOC42,
    6,
    1,
    4,
    '*',
    "%S <cast> fire bolt.",
    ATTR_FIRE,
    ITEM_NONE,
    { 1, 8, 4 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    0,
    3,
    100,
    AI_RANGECOWARD,
    50,
    EFFECT_NONE,
    MOB_NONE,
    -1,
    STARTITEMS_NONE,
    ELEMENT_NONE,
    ELEMENT_NONE,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    true,
    8,
    false,
    false,
    true,
    true,
    true,
    true,
    false,
    0,
    SIZE_SMALL,
  },
  {
    '&',
    ATTR_ORANGE,
    "devil",
    "",
    false,
    false,
    ATTACK_ADHOC43,
    ROLE_NONE,
    true,
    ATTACK_ADHOC44,
    6,
    1,
    4,
    '*',
    "%S <cast> ice bolt.",
    ATTR_FIRE,
    ITEM_NONE,
    { 3, 8, 8 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    0,
    9,
    100,
    AI_CHARGE,
    50,
    EFFECT_NONE,
    MOB_NONE,
    -1,
    STARTITEMS_NONE,
    ELEMENT_NONE,
    ELEMENT_NONE,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    true,
    8,
    false,
    false,
    true,
    true,
    true,
    true,
    false,
    0,
    SIZE_MEDIUM,
  },
  {
    'd',
    ATTR_LIGHTBROWN,
    "dog",
    "",
    false,
    false,
    ATTACK_ADHOC45,
    ROLE_NONE,
    false,
    ATTACK_NONE,
    0,
    1,
    0,
    '*',
    "%S <shoot>.",
    ATTR_NORMAL,
    ITEM_NONE,
    { 1, 8, 0 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    0,
    1,
    100,
    AI_CHARGE,
    30,
    EFFECT_NONE,
    MOB_NONE,
    -1,
    STARTITEMS_NONE,
    ELEMENT_NONE,
    ELEMENT_NONE,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    true,
    8,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    0,
    SIZE_SMALL,
  },
  {
    'd',
    ATTR_NORMAL,
    "wolf",
    "",
    false,
    false,
    ATTACK_ADHOC46,
    ROLE_NONE,
    false,
    ATTACK_NONE,
    0,
    1,
    0,
    '*',
    "%S <shoot>.",
    ATTR_NORMAL,
    ITEM_NONE,
    { 3, 8, 8 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    0,
    9,
    100,
    AI_CHARGE,
    50,
    EFFECT_NONE,
    MOB_NONE,
    -1,
    STARTITEMS_NONE,
    ELEMENT_NONE,
    ELEMENT_NONE,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    true,
    8,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    0,
    SIZE_SMALL,
  },
  {
    'd',
    ATTR_ICE,
    "ice wolf",
    "",
    false,
    false,
    ATTACK_ADHOC47,
    ROLE_NONE,
    true,
    ATTACK_ADHOC48,
    3,
    1,
    4,
    '*',
    "%S <breathe> frost.",
    ATTR_WHITE,
    ITEM_NONE,
    { 2, 8, 8 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    0,
    9,
    100,
    AI_CHARGE,
    50,
    EFFECT_NONE,
    MOB_NONE,
    -1,
    STARTITEMS_NONE,
    ELEMENT_NONE,
    ELEMENT_NONE,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    true,
    8,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    0,
    SIZE_SMALL,
  },
  {
    '@',
    ATTR_WHITE,
    "cultist",
    "",
    false,
    false,
    ATTACK_ADHOC49,
    ROLE_NONE,
    false,
    ATTACK_NONE,
    0,
    1,
    0,
    '*',
    "%S <shoot>.",
    ATTR_NORMAL,
    ITEM_NONE,
    { 1, 4, 0 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    0,
    1,
    10,
    AI_PEACEFUL,
    50,
    EFFECT_PLAGUECORPSE,
    MOB_NONE,
    -1,
    STARTITEMS_NONE,
    ELEMENT_NONE,
    ELEMENT_NONE,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    true,
    8,
    false,
    false,
    true,
    true,
    true,
    true,
    false,
    0,
    SIZE_MEDIUM,
  },
  {
    '@',
    ATTR_BROWN,
    "guard",
    "",
    false,
    false,
    ATTACK_ADHOC54,
    ROLE_NONE,
    false,
    ATTACK_NONE,
    0,
    1,
    0,
    '*',
    "%S <shoot>.",
    ATTR_NORMAL,
    ITEM_NONE,
    { 2, 8, 4 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    0,
    3,
    100,
    AI_CHARGE,
    50,
    EFFECT_PLAGUECORPSE,
    MOB_NONE,
    -1,
    STARTITEMS_ADHOC53,
    ELEMENT_NONE,
    ELEMENT_NONE,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    true,
    8,
    false,
    false,
    true,
    false,
    true,
    true,
    true,
    0,
    SIZE_MEDIUM,
  },
  {
    '@',
    ATTR_GREEN,
    "archer",
    "",
    false,
    false,
    ATTACK_ADHOC59,
    ROLE_NONE,
    false,
    ATTACK_NONE,
    0,
    1,
    0,
    '*',
    "%S <shoot>.",
    ATTR_NORMAL,
    ITEM_NONE,
    { 2, 8, 4 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    0,
    5,
    100,
    AI_RANGECOWARD,
    50,
    EFFECT_PLAGUECORPSE,
    MOB_NONE,
    -1,
    STARTITEMS_ADHOC58,
    ELEMENT_NONE,
    ELEMENT_NONE,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    true,
    8,
    false,
    false,
    true,
    true,
    true,
    true,
    true,
    0,
    SIZE_MEDIUM,
  },
  {
    '@',
    ATTR_LIGHTBROWN,
    "thief",
    "",
    false,
    false,
    ATTACK_ADHOC66,
    ROLE_NONE,
    false,
    ATTACK_NONE,
    0,
    1,
    0,
    '*',
    "%S <shoot>.",
    ATTR_NORMAL,
    ITEM_NONE,
    { 3, 8, 8 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    1,
    7,
    100,
    AI_CHARGE,
    50,
    EFFECT_PLAGUECORPSE,
    MOB_NONE,
    -1,
    STARTITEMS_ADHOC65,
    ELEMENT_NONE,
    ELEMENT_NONE,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    true,
    false,
    true,
    8,
    false,
    false,
    true,
    true,
    true,
    true,
    true,
    0,
    SIZE_MEDIUM,
  },
  {
    '@',
    ATTR_LIGHTBLACK,
    "assassin",
    "",
    false,
    false,
    ATTACK_ADHOC75,
    ROLE_NONE,
    false,
    ATTACK_NONE,
    0,
    1,
    0,
    '*',
    "%S <shoot>.",
    ATTR_NORMAL,
    ITEM_NONE,
    { 2, 8, 8 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    2,
    7,
    100,
    AI_RANGECOWARD,
    50,
    EFFECT_PLAGUECORPSE,
    MOB_NONE,
    -1,
    STARTITEMS_ADHOC74,
    ELEMENT_NONE,
    ELEMENT_NONE,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    true,
    8,
    false,
    false,
    true,
    true,
    true,
    true,
    true,
    0,
    SIZE_MEDIUM,
  },
  {
    'Z',
    ATTR_WHITE,
    "skeleton",
    "",
    false,
    false,
    ATTACK_ADHOC76,
    ROLE_NONE,
    false,
    ATTACK_NONE,
    0,
    1,
    0,
    '*',
    "%S <shoot>.",
    ATTR_NORMAL,
    ITEM_NONE,
    { 3, 8, 0 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    0,
    3,
    100,
    AI_CHARGE,
    0,
    EFFECT_NONE,
    MOB_NONE,
    -1,
    STARTITEMS_NONE,
    ELEMENT_NONE,
    ELEMENT_NONE,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    8,
    false,
    true,
    false,
    false,
    true,
    true,
    false,
    0,
    SIZE_MEDIUM,
  },
  {
    'Z',
    ATTR_BROWN,
    "zombie",
    "",
    false,
    false,
    ATTACK_ADHOC77,
    ROLE_NONE,
    false,
    ATTACK_NONE,
    0,
    1,
    0,
    '*',
    "%S <shoot>.",
    ATTR_NORMAL,
    ITEM_NONE,
    { 3, 8, 8 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    0,
    5,
    100,
    AI_CHARGE,
    30,
    EFFECT_PLAGUECORPSE,
    MOB_NONE,
    -1,
    STARTITEMS_NONE,
    ELEMENT_NONE,
    ELEMENT_NONE,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    8,
    false,
    false,
    false,
    false,
    true,
    true,
    false,
    0,
    SIZE_MEDIUM,
  },
  {
    ' ',
    ATTR_LIGHTBLACK,
    "ghost",
    "",
    false,
    false,
    ATTACK_ADHOC78,
    ROLE_NONE,
    false,
    ATTACK_NONE,
    0,
    1,
    0,
    '*',
    "%S <shoot>.",
    ATTR_NORMAL,
    ITEM_NONE,
    { 3, 8, 0 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    0,
    9,
    100,
    AI_CHARGE,
    0,
    EFFECT_NONE,
    MOB_NONE,
    -1,
    STARTITEMS_NONE,
    ELEMENT_NONE,
    ELEMENT_PHYSICAL,
    false,
    false,
    false,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    8,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    0,
    SIZE_MEDIUM,
  },
  {
    'k',
    ATTR_PURPLE,
    "kobold",
    "",
    false,
    false,
    ATTACK_ADHOC79,
    ROLE_NONE,
    false,
    ATTACK_NONE,
    0,
    1,
    0,
    '*',
    "%S <shoot>.",
    ATTR_NORMAL,
    ITEM_NONE,
    { 1, 8, 4 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    0,
    5,
    100,
    AI_CHARGE,
    30,
    EFFECT_NONE,
    MOB_NONE,
    -1,
    STARTITEMS_KOBOLD,
    ELEMENT_NONE,
    ELEMENT_NONE,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    true,
    8,
    false,
    false,
    true,
    true,
    true,
    true,
    true,
    0,
    SIZE_SMALL,
  },
  {
    'k',
    ATTR_LIGHTBLACK,
    "kobold thief",
    "",
    false,
    false,
    ATTACK_ADHOC86,
    ROLE_NONE,
    false,
    ATTACK_NONE,
    0,
    1,
    0,
    '*',
    "%S <shoot>.",
    ATTR_NORMAL,
    ITEM_NONE,
    { 2, 8, 0 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    1,
    7,
    100,
    AI_CHARGE,
    30,
    EFFECT_NONE,
    MOB_NONE,
    -1,
    STARTITEMS_ADHOC85,
    ELEMENT_NONE,
    ELEMENT_NONE,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    true,
    false,
    true,
    8,
    false,
    false,
    true,
    true,
    true,
    true,
    true,
    0,
    SIZE_SMALL,
  },
  {
    'o',
    ATTR_WHITE,
    "orc",
    "",
    false,
    false,
    ATTACK_ADHOC107,
    ROLE_NONE,
    false,
    ATTACK_NONE,
    0,
    1,
    0,
    '*',
    "%S <shoot>.",
    ATTR_NORMAL,
    ITEM_NONE,
    { 3, 8, 8 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    0,
    9,
    100,
    AI_CHARGE,
    50,
    EFFECT_NONE,
    MOB_NONE,
    -1,
    STARTITEMS_ADHOC106,
    ELEMENT_NONE,
    ELEMENT_NONE,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    true,
    8,
    false,
    false,
    true,
    true,
    true,
    true,
    true,
    0,
    SIZE_MEDIUM,
  },
  {
    'T',
    ATTR_GREEN,
    "troll",
    "",
    false,
    false,
    ATTACK_ADHOC109,
    ROLE_NONE,
    false,
    ATTACK_NONE,
    0,
    1,
    0,
    '*',
    "%S <shoot>.",
    ATTR_NORMAL,
    ITEM_NONE,
    { 2, 8, 12 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    0,
    13,
    100,
    AI_CHARGE,
    75,
    EFFECT_ADHOC108,
    MOB_NONE,
    -1,
    STARTITEMS_NONE,
    ELEMENT_NONE,
    ELEMENT_NONE,
    false,
    false,
    false,
    true,
    false,
    true,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    true,
    8,
    false,
    false,
    false,
    false,
    true,
    true,
    true,
    0,
    SIZE_MEDIUM,
  },
  {
    'V',
    ATTR_RED,
    "vampire",
    "",
    false,
    false,
    ATTACK_ADHOC110,
    ROLE_NONE,
    false,
    ATTACK_NONE,
    0,
    1,
    0,
    '*',
    "%S <shoot>.",
    ATTR_NORMAL,
    ITEM_NONE,
    { 2, 8, 16 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    0,
    13,
    100,
    AI_CHARGE,
    50,
    EFFECT_NONE,
    MOB_NONE,
    -1,
    STARTITEMS_NONE,
    ELEMENT_NONE,
    ELEMENT_NONE,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    8,
    false,
    false,
    true,
    true,
    true,
    true,
    false,
    0,
    SIZE_MEDIUM,
  },
  {
    'G',
    ATTR_GREY,
    "giant",
    "",
    false,
    false,
    ATTACK_ADHOC113,
    ROLE_NONE,
    true,
    ATTACK_ADHOC114,
    5,
    1,
    0,
    '0',
    "%S <throw> %O.",
    ATTR_GREY,
    ITEM_BOULDER,
    { 4, 8, 12 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    0,
    13,
    100,
    AI_CHARGE,
    75,
    EFFECT_NONE,
    MOB_NONE,
    -1,
    STARTITEMS_ADHOC112,
    ELEMENT_NONE,
    ELEMENT_NONE,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    true,
    8,
    false,
    false,
    false,
    false,
    true,
    true,
    true,
    0,
    SIZE_GIANT,
  },
  {
    'D',
    ATTR_WHITE,
    "white dragon",
    "",
    false,
    false,
    ATTACK_ADHOC115,
    ROLE_NONE,
    true,
    ATTACK_ADHOC116,
    4,
    1,
    6,
    '/',
    "%S <breathe> ice.",
    ATTR_ICE,
    ITEM_NONE,
    { 5, 8, 16 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    0,
    15,
    100,
    AI_CHARGE,
    75,
    EFFECT_CORPSE_RESIST_ICE,
    MOB_NONE,
    -1,
    STARTITEMS_NONE,
    ELEMENT_NONE,
    ELEMENT_ICE,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    true,
    8,
    false,
    false,
    false,
    true,
    false,
    false,
    true,
    0,
    SIZE_GIANT,
  },
  {
    'D',
    ATTR_LIGHTBLACK,
    "black dragon",
    "",
    false,
    false,
    ATTACK_ADHOC117,
    ROLE_NONE,
    true,
    ATTACK_ADHOC118,
    2,
    2,
    3,
    '*',
    "%S <breathe> a cloud of acid.",
    ATTR_ORANGE,
    ITEM_NONE,
    { 5, 8, 16 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    0,
    15,
    100,
    AI_CHARGE,
    75,
    EFFECT_CORPSE_RESIST_ACID,
    MOB_NONE,
    -1,
    STARTITEMS_NONE,
    ELEMENT_NONE,
    ELEMENT_ACID,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    true,
    8,
    false,
    false,
    false,
    true,
    false,
    false,
    true,
    0,
    SIZE_GIANT,
  },
  {
    'D',
    ATTR_BLUE,
    "blue dragon",
    "",
    false,
    false,
    ATTACK_ADHOC119,
    ROLE_NONE,
    true,
    ATTACK_ADHOC120,
    8,
    1,
    6,
    '/',
    "%S <breathe> lightning.",
    ATTR_YELLOW,
    ITEM_NONE,
    { 5, 8, 16 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    0,
    15,
    100,
    AI_CHARGE,
    75,
    EFFECT_CORPSE_RESIST_ELECTRICITY,
    MOB_NONE,
    -1,
    STARTITEMS_NONE,
    ELEMENT_NONE,
    ELEMENT_ELECTRICITY,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    true,
    8,
    false,
    false,
    false,
    true,
    false,
    false,
    true,
    0,
    SIZE_GIANT,
  },
  {
    'D',
    ATTR_RED,
    "red dragon",
    "",
    false,
    false,
    ATTACK_ADHOC121,
    ROLE_NONE,
    true,
    ATTACK_ADHOC122,
    5,
    2,
    6,
    '*',
    "%S <breathe> fire.",
    ATTR_FIRE,
    ITEM_NONE,
    { 5, 8, 16 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    0,
    15,
    100,
    AI_CHARGE,
    75,
    EFFECT_CORPSE_RESIST_FIRE,
    MOB_NONE,
    -1,
    STARTITEMS_NONE,
    ELEMENT_NONE,
    ELEMENT_FIRE,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    true,
    8,
    false,
    false,
    false,
    true,
    false,
    false,
    true,
    0,
    SIZE_GIANT,
  },
  {
    'D',
    ATTR_GREEN,
    "green dragon",
    "",
    false,
    false,
    ATTACK_ADHOC125,
    ROLE_NONE,
    false,
    ATTACK_NONE,
    0,
    1,
    0,
    '*',
    "%S <shoot>.",
    ATTR_NORMAL,
    ITEM_NONE,
    { 5, 8, 16 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    0,
    15,
    100,
    AI_CHARGE,
    75,
    EFFECT_ADHOC123,
    MOB_NONE,
    -1,
    STARTITEMS_NONE,
    ELEMENT_NONE,
    ELEMENT_POISON,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    true,
    8,
    false,
    false,
    false,
    true,
    false,
    false,
    true,
    0,
    SIZE_GIANT,
  },
  {
    'x',
    ATTR_PURPLE,
    "grid bug",
    "",
    false,
    false,
    ATTACK_ADHOC126,
    ROLE_NONE,
    false,
    ATTACK_NONE,
    0,
    1,
    0,
    '*',
    "%S <shoot>.",
    ATTR_NORMAL,
    ITEM_NONE,
    { 1, 8, 0 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    0,
    1,
    100,
    AI_ORTHO,
    30,
    EFFECT_CORPSE_RESIST_ELECTRICITY,
    MOB_NONE,
    -1,
    STARTITEMS_NONE,
    ELEMENT_NONE,
    ELEMENT_ELECTRICITY,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    8,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    0,
    SIZE_MEDIUM,
  },
  {
    'a',
    ATTR_WHITE,
    "spiderling",
    "",
    false,
    false,
    ATTACK_ADHOC127,
    ROLE_NONE,
    false,
    ATTACK_NONE,
    0,
    1,
    0,
    '*',
    "%S <shoot>.",
    ATTR_NORMAL,
    ITEM_NONE,
    { 1, 4, 4 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    0,
    1,
    0,
    AI_CHARGE,
    30,
    EFFECT_CORPSE_APPLYPOISON,
    MOB_NONE,
    -1,
    STARTITEMS_NONE,
    ELEMENT_NONE,
    ELEMENT_POISON,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    true,
    8,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    0,
    SIZE_TINY,
  },
  {
    'a',
    ATTR_GREY,
    "cave spider",
    "",
    false,
    false,
    ATTACK_ADHOC129,
    ROLE_NONE,
    false,
    ATTACK_NONE,
    0,
    1,
    0,
    '*',
    "%S <shoot>.",
    ATTR_NORMAL,
    ITEM_NONE,
    { 1, 8, 4 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    0,
    5,
    100,
    AI_CHARGE,
    30,
    EFFECT_CORPSE_APPLYPOISON,
    MOB_SPIDERLING,
    -1,
    STARTITEMS_NONE,
    ELEMENT_NONE,
    ELEMENT_POISON,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    true,
    8,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    0,
    SIZE_SMALL,
  },
  {
    'a',
    ATTR_RED,
    "fire ant",
    "",
    false,
    false,
    ATTACK_ADHOC130,
    ROLE_NONE,
    false,
    ATTACK_NONE,
    0,
    1,
    0,
    '*',
    "%S <shoot>.",
    ATTR_NORMAL,
    ITEM_NONE,
    { 2, 8, 8 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    0,
    7,
    100,
    AI_CHARGE,
    30,
    EFFECT_CORPSE_RESIST_FIRE,
    MOB_NONE,
    -1,
    STARTITEMS_NONE,
    ELEMENT_NONE,
    ELEMENT_FIRE,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    true,
    8,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    0,
    SIZE_MEDIUM,
  },
  {
    'a',
    ATTR_LIGHTBLACK,
    "giant spider",
    "",
    false,
    false,
    ATTACK_ADHOC132,
    ROLE_NONE,
    false,
    ATTACK_NONE,
    0,
    1,
    0,
    '*',
    "%S <shoot>.",
    ATTR_NORMAL,
    ITEM_NONE,
    { 2, 8, 8 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 1, 4, 4 },
    0,
    0,
    11,
    100,
    AI_CHARGE,
    50,
    EFFECT_CORPSE_APPLYPOISON,
    MOB_CAVESPIDER,
    -1,
    STARTITEMS_NONE,
    ELEMENT_NONE,
    ELEMENT_POISON,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    true,
    8,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    0,
    SIZE_MEDIUM,
  },
  {
    '&',
    ATTR_RED,
    "Beezlbub",
    "",
    false,
    false,
    ATTACK_ADHOC133,
    ROLE_NONE,
    true,
    ATTACK_ADHOC134,
    5,
    1,
    4,
    '%',
    "%S <zap> lightning bolt.",
    ATTR_YELLOW,
    ITEM_NONE,
    { 0, 0, 100 },
    { 0, 0, 0 },
    { 1, 4, 4 },
    { 0, 0, 0 },
    0,
    5,
    20,
    0,
    AI_PATHTO,
    100,
    EFFECT_PLAGUECORPSE,
    MOB_NONE,
    -1,
    STARTITEMS_NONE,
    ELEMENT_NONE,
    ELEMENT_NONE,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    true,
    false,
    false,
    false,
    false,
    false,
    false,
    false,
    8,
    false,
    false,
    false,
    true,
    true,
    true,
    false,
    0,
    SIZE_GIANT,
  },

};
// Definitions for ARMOURSLOT
const ARMOURSLOT_DEF
glb_armourslotdefs[NUM_ARMOURSLOTS] =
{
  {
    "body",
    50,
  },
  {
    "body",
    100,
  },

};
// Definitions for ITEMCLASS
const ITEMCLASS_DEF
glb_itemclassdefs[NUM_ITEMCLASSS] =
{
  {
    "miscellaneous",
    '~',
    100,
  },
  {
    "weapon",
    ')',
    50,
  },
  {
    "weapon",
    ')',
    25,
  },
  {
    "ammo",
    '\\',
    25,
  },
  {
    "wand",
    '/',
    30,
  },
  {
    "tool",
    '(',
    30,
  },
  {
    "armour",
    '[',
    50,
  },
  {
    "potion",
    '!',
    75,
  },
  {
    "scroll",
    '?',
    100,
  },
  {
    "spellbook",
    '+',
    25,
  },
  {
    "ring",
    '=',
    25,
  },
  {
    "food",
    '%',
    100,
  },
  {
    "furniture",
    'O',
    0,
  },
  {
    "treasure",
    '$',
    10,
  },

};
// Definitions for ITEM
const ITEM_DEF
glb_itemdefs[NUM_ITEMS] =
{
  {
    "Programming Error",
    -1,
    0,
    0,
    false,
    ROLELIST_ALL,
    false,
    '!',
    ATTR_WHITE,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_NONE,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "dagger",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    ')',
    ATTR_CYAN,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_MELEEWEAPON,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_ADHOC135,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    1,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    true,
    false,
  },
  {
    "shortsword",
    -1,
    100,
    1,
    false,
    ROLELIST_TF,
    false,
    ')',
    ATTR_CYAN,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_MELEEWEAPON,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_ADHOC136,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    2,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "longsword",
    -1,
    100,
    1,
    false,
    ROLELIST_TF,
    false,
    ')',
    ATTR_CYAN,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_MELEEWEAPON,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_ADHOC137,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    2,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "great axe",
    -1,
    100,
    1,
    false,
    ROLELIST_F,
    false,
    ')',
    ATTR_CYAN,
    false,
    false,
    false,
    1,
    0,
    SIZE_SMALL,
    ITEMCLASS_MELEEWEAPON,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_ADHOC138,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    3,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "club",
    -1,
    100,
    1,
    false,
    ROLELIST_TF,
    false,
    ')',
    ATTR_BROWN,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_MELEEWEAPON,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_ADHOC139,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    1,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "mace",
    -1,
    100,
    1,
    false,
    ROLELIST_TF,
    false,
    ')',
    ATTR_CYAN,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_MELEEWEAPON,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_ADHOC140,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    2,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "warhammer",
    -1,
    100,
    1,
    false,
    ROLELIST_F,
    false,
    ')',
    ATTR_CYAN,
    false,
    false,
    false,
    1,
    0,
    SIZE_SMALL,
    ITEMCLASS_MELEEWEAPON,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_ADHOC141,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    3,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "spear",
    -1,
    100,
    1,
    false,
    ROLELIST_TF,
    false,
    ')',
    ATTR_CYAN,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_MELEEWEAPON,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_ADHOC142,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    1,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    true,
    false,
  },
  {
    "arrow",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '\\',
    ATTR_BROWN,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_AMMO,
    0,
    0,
    false,
    false,
    { 1, 4, 0 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    50,
    false,
    false,
    false,
  },
  {
    "rock",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '*',
    ATTR_GREY,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_AMMO,
    0,
    0,
    false,
    false,
    { 1, 4, 0 },
    ATTACK_ADHOC143,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    2,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    true,
    false,
  },
  {
    "boulder",
    -1,
    10,
    1,
    false,
    ROLELIST_ALL,
    false,
    '0',
    ATTR_GREY,
    false,
    false,
    false,
    1,
    0,
    SIZE_LARGE,
    ITEMCLASS_AMMO,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_ADHOC144,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    3,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    true,
    false,
  },
  {
    "bow",
    -1,
    100,
    1,
    false,
    ROLELIST_TF,
    false,
    ')',
    ATTR_BROWN,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_RANGEWEAPON,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_BROKEN,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    10,
    ATTACK_ADHOC145,
    1,
    "%S <shoot> %O.",
    '\\',
    ATTR_BROWN,
    ITEM_ARROW,
    false,
    25,
    false,
    false,
    false,
  },
  {
    "sling",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    ')',
    ATTR_BROWN,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_RANGEWEAPON,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_BROKEN,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    6,
    ATTACK_ADHOC146,
    1,
    "%S <sling> %O.",
    '*',
    ATTR_GREY,
    ITEM_ROCK,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "robes",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '[',
    ATTR_LIGHTBLUE,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_ARMOUR,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    1,
    0,
    0,
    2,
    0,
    ARMOURSLOT_BODY,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "leather jacket",
    -1,
    100,
    1,
    false,
    ROLELIST_TF,
    false,
    '[',
    ATTR_BROWN,
    false,
    false,
    false,
    1,
    0,
    SIZE_SMALL,
    ITEMCLASS_ARMOUR,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    2,
    1,
    2,
    1,
    0,
    ARMOURSLOT_BODY,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "studded leather jacket",
    -1,
    100,
    2,
    false,
    ROLELIST_TF,
    false,
    '[',
    ATTR_BROWN,
    false,
    false,
    false,
    1,
    0,
    SIZE_SMALL,
    ITEMCLASS_ARMOUR,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    3,
    2,
    3,
    1,
    0,
    ARMOURSLOT_BODY,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "ringmail",
    -1,
    100,
    3,
    false,
    ROLELIST_F,
    false,
    '[',
    ATTR_CYAN,
    false,
    false,
    false,
    1,
    0,
    SIZE_SMALL,
    ITEMCLASS_ARMOUR,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    4,
    3,
    3,
    1,
    -1,
    ARMOURSLOT_BODY,
    1,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "chainmail",
    -1,
    100,
    4,
    false,
    ROLELIST_F,
    false,
    '[',
    ATTR_CYAN,
    false,
    false,
    false,
    1,
    0,
    SIZE_SMALL,
    ITEMCLASS_ARMOUR,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    5,
    3,
    5,
    2,
    0,
    ARMOURSLOT_BODY,
    1,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "scalemail",
    -1,
    100,
    5,
    false,
    ROLELIST_F,
    false,
    '[',
    ATTR_CYAN,
    false,
    false,
    false,
    1,
    0,
    SIZE_SMALL,
    ITEMCLASS_ARMOUR,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    6,
    6,
    5,
    2,
    -1,
    ARMOURSLOT_BODY,
    2,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "plate mail",
    -1,
    100,
    6,
    false,
    ROLELIST_F,
    false,
    '[',
    ATTR_WHITE,
    false,
    false,
    false,
    1,
    0,
    SIZE_SMALL,
    ITEMCLASS_ARMOUR,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    6,
    7,
    6,
    3,
    -2,
    ARMOURSLOT_BODY,
    3,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "fullplate",
    -1,
    100,
    8,
    false,
    ROLELIST_F,
    false,
    '[',
    ATTR_WHITE,
    false,
    false,
    false,
    1,
    0,
    SIZE_MEDIUM,
    ITEMCLASS_ARMOUR,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    7,
    8,
    6,
    4,
    -3,
    ARMOURSLOT_BODY,
    4,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "pick axe",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '(',
    ATTR_GREY,
    false,
    false,
    false,
    1,
    0,
    SIZE_SMALL,
    ITEMCLASS_TOOL,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_ADHOC147,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    3,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "lockpick",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '(',
    ATTR_WHITE,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_TOOL,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "writing set",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '(',
    ATTR_PURPLE,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_TOOL,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "chunk of meat",
    -1,
    100,
    0,
    false,
    ROLELIST_ALL,
    false,
    '%',
    ATTR_RED,
    false,
    false,
    false,
    1,
    20,
    SIZE_TINY,
    ITEMCLASS_FOOD,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "cooked chunk of meat",
    -1,
    100,
    0,
    false,
    ROLELIST_ALL,
    false,
    '%',
    ATTR_BROWN,
    false,
    false,
    false,
    1,
    50,
    SIZE_TINY,
    ITEMCLASS_FOOD,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "apple",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '%',
    ATTR_GREEN,
    false,
    false,
    false,
    1,
    50,
    SIZE_TINY,
    ITEMCLASS_FOOD,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "biscuit",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '%',
    ATTR_BROWN,
    false,
    false,
    false,
    1,
    50,
    SIZE_TINY,
    ITEMCLASS_FOOD,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "egg",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '%',
    ATTR_WHITE,
    false,
    false,
    false,
    1,
    20,
    SIZE_TINY,
    ITEMCLASS_FOOD,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    true,
    false,
  },
  {
    "boiled egg",
    -1,
    100,
    0,
    false,
    ROLELIST_ALL,
    false,
    '%',
    ATTR_WHITE,
    false,
    false,
    false,
    1,
    50,
    SIZE_TINY,
    ITEMCLASS_FOOD,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    true,
    false,
  },
  {
    "mushroom",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '%',
    ATTR_BROWN,
    false,
    false,
    false,
    1,
    25,
    SIZE_TINY,
    ITEMCLASS_FOOD,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "sausages",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '%',
    ATTR_DKRED,
    false,
    false,
    false,
    1,
    75,
    SIZE_TINY,
    ITEMCLASS_FOOD,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "ration",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '%',
    ATTR_CYAN,
    false,
    false,
    false,
    1,
    150,
    SIZE_TINY,
    ITEMCLASS_FOOD,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "chair",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    'h',
    ATTR_BROWN,
    false,
    true,
    true,
    2,
    0,
    SIZE_SMALL,
    ITEMCLASS_FURNITURE,
    0,
    0,
    false,
    true,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "table",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    'O',
    ATTR_BROWN,
    false,
    true,
    true,
    4,
    0,
    SIZE_LARGE,
    ITEMCLASS_FURNITURE,
    0,
    0,
    false,
    true,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "shelf",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    ']',
    ATTR_BROWN,
    false,
    true,
    true,
    2,
    0,
    SIZE_LARGE,
    ITEMCLASS_FURNITURE,
    0,
    0,
    false,
    true,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "bed",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '~',
    ATTR_BROWN,
    false,
    true,
    true,
    2,
    0,
    SIZE_GIANT,
    ITEMCLASS_FURNITURE,
    0,
    0,
    false,
    true,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "statue",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '@',
    ATTR_BROWN,
    false,
    true,
    true,
    3,
    0,
    SIZE_LARGE,
    ITEMCLASS_FURNITURE,
    0,
    0,
    false,
    true,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "heart of Baezl'bub",
    -1,
    0,
    0,
    false,
    ROLELIST_ALL,
    false,
    '*',
    ATTR_RED,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_FOOD,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    true,
  },
  {
    "Midas Wand",
    -1,
    0,
    0,
    false,
    ROLELIST_ALL,
    false,
    '/',
    ATTR_GOLD,
    false,
    false,
    false,
    1,
    0,
    SIZE_SMALL,
    ITEMCLASS_TOOL,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    true,
  },
  {
    "Orb of Knowledge",
    -1,
    0,
    0,
    false,
    ROLELIST_ALL,
    false,
    '(',
    ATTR_CYAN,
    false,
    false,
    false,
    1,
    0,
    SIZE_SMALL,
    ITEMCLASS_TOOL,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    true,
  },
  {
    "Cloak of Steel",
    -1,
    0,
    0,
    false,
    ROLELIST_ALL,
    false,
    '[',
    ATTR_GREEN,
    false,
    false,
    false,
    1,
    0,
    SIZE_SMALL,
    ITEMCLASS_ARMOUR,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    true,
  },
  {
    "corpse",
    -1,
    0,
    0,
    false,
    ROLELIST_ALL,
    false,
    '%',
    ATTR_DKRED,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_FOOD,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "gold coin",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '$',
    ATTR_GOLD,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_TREASURE,
    0,
    0,
    false,
    false,
    { 3, 4, 0 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "emerald",
    -1,
    10,
    1,
    false,
    ROLELIST_ALL,
    false,
    '*',
    ATTR_GREEN,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_TREASURE,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "sapphire",
    -1,
    10,
    1,
    false,
    ROLELIST_ALL,
    false,
    '*',
    ATTR_LTBLUE,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_TREASURE,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "diamond",
    -1,
    5,
    1,
    false,
    ROLELIST_ALL,
    false,
    '*',
    ATTR_WHITE,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_TREASURE,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "amethyst",
    -1,
    30,
    1,
    false,
    ROLELIST_ALL,
    false,
    '*',
    ATTR_PURPLE,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_TREASURE,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "topaz",
    -1,
    30,
    1,
    false,
    ROLELIST_ALL,
    false,
    '*',
    ATTR_ORANGE,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_TREASURE,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "running",
    -1,
    0,
    0,
    false,
    ROLELIST_ALL,
    true,
    '!',
    ATTR_GREEN,
    false,
    false,
    false,
    1,
    0,
    SIZE_NONE,
    ITEMCLASS_NONE,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "hasted",
    10,
    0,
    0,
    false,
    ROLELIST_ALL,
    true,
    '!',
    ATTR_GREEN,
    false,
    false,
    false,
    1,
    0,
    SIZE_NONE,
    ITEMCLASS_NONE,
    "%S <be> sped up!",
    "%S <slow> down!",
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "blinded",
    10,
    0,
    0,
    false,
    ROLELIST_ALL,
    true,
    '&',
    ATTR_CYAN,
    true,
    false,
    false,
    1,
    0,
    SIZE_NONE,
    ITEMCLASS_NONE,
    "%S <be> blinded!",
    "%S can see!",
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "polymorphed",
    150,
    0,
    0,
    false,
    ROLELIST_ALL,
    true,
    '&',
    ATTR_CYAN,
    true,
    false,
    false,
    1,
    0,
    SIZE_NONE,
    ITEMCLASS_NONE,
    "The light forms the shape of %S0!",
    "%S <revert> to %r original shape!",
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "choking",
    10,
    0,
    0,
    false,
    ROLELIST_ALL,
    true,
    '&',
    ATTR_CYAN,
    true,
    false,
    false,
    1,
    0,
    SIZE_NONE,
    ITEMCLASS_NONE,
    "%S <be> choking!",
    "%S can breathe!",
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "enraged",
    -1,
    0,
    0,
    false,
    ROLELIST_ALL,
    true,
    '&',
    ATTR_CYAN,
    true,
    false,
    false,
    1,
    0,
    SIZE_NONE,
    ITEMCLASS_NONE,
    "%S <be> enraged!",
    "%S <calm> down.",
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "poisoned",
    10,
    0,
    0,
    false,
    ROLELIST_ALL,
    true,
    '&',
    ATTR_CYAN,
    false,
    false,
    false,
    1,
    0,
    SIZE_NONE,
    ITEMCLASS_NONE,
    "%S <be> poisoned!",
    "%S <be> cured.",
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "regenerate",
    10,
    0,
    0,
    false,
    ROLELIST_ALL,
    true,
    '&',
    ATTR_CYAN,
    false,
    false,
    false,
    1,
    0,
    SIZE_NONE,
    ITEMCLASS_NONE,
    "%S <heal> at a rapid rate!",
    "%S <stop> healing quickly.",
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "resistant to",
    10,
    0,
    0,
    false,
    ROLELIST_ALL,
    true,
    '&',
    ATTR_CYAN,
    false,
    false,
    false,
    1,
    0,
    SIZE_NONE,
    ITEMCLASS_NONE,
    "%S <resist> %E!",
    "%S no longer <resist> %E.",
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "vulnerable to",
    10,
    0,
    0,
    false,
    ROLELIST_ALL,
    true,
    '&',
    ATTR_CYAN,
    false,
    false,
    false,
    1,
    0,
    SIZE_NONE,
    ITEMCLASS_NONE,
    "%S <be> vulnerable to %E!",
    "%S <be> no longer vulnerable to %E.",
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "sick",
    -1,
    0,
    0,
    false,
    ROLELIST_ALL,
    true,
    '&',
    ATTR_CYAN,
    true,
    false,
    false,
    1,
    0,
    SIZE_NONE,
    ITEMCLASS_NONE,
    "%S <fall> sick.",
    "%S <get> well.",
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "slow",
    4,
    0,
    0,
    false,
    ROLELIST_ALL,
    true,
    '&',
    ATTR_CYAN,
    true,
    false,
    false,
    1,
    0,
    SIZE_NONE,
    ITEMCLASS_NONE,
    "%r muscles slow.",
    "%S <regain> normal movement.",
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "invulnerable",
    50,
    0,
    0,
    false,
    ROLELIST_ALL,
    true,
    '&',
    ATTR_CYAN,
    false,
    false,
    false,
    1,
    0,
    SIZE_NONE,
    ITEMCLASS_NONE,
    "%S <become> invulnerable.",
    "%S <feel> vulnerable.",
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "asleep",
    100,
    0,
    0,
    false,
    ROLELIST_ALL,
    true,
    '&',
    ATTR_CYAN,
    false,
    false,
    false,
    1,
    0,
    SIZE_NONE,
    ITEMCLASS_NONE,
    "%S <fall> asleep.",
    "%S <wake> up.",
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "ruby ring",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '=',
    ATTR_RED,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_RING,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "sapphire ring",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '=',
    ATTR_BLUE,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_RING,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "gold ring",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '=',
    ATTR_GOLD,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_RING,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "amethyst ring",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '=',
    ATTR_PURPLE,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_RING,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "diamond ring",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '=',
    ATTR_WHITE,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_RING,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "blank scroll",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '+',
    ATTR_WHITE,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_NONE,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "scroll labelled [XYZZY]",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '?',
    ATTR_WHITE,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_SCROLL,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "scroll labelled FOOBAR",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '?',
    ATTR_WHITE,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_SCROLL,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "scroll labelled HELLO WORLD",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '?',
    ATTR_WHITE,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_SCROLL,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "scroll labelled ABRACADABRA",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '?',
    ATTR_WHITE,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_SCROLL,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "scroll labelled PLUGH",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '?',
    ATTR_WHITE,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_SCROLL,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "scroll labelled XYLOTOMOUS",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '?',
    ATTR_WHITE,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_SCROLL,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "scroll labelled READ ME",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '?',
    ATTR_WHITE,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_SCROLL,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "marble wand",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '/',
    ATTR_WHITE,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_WAND,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "stone wand",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '/',
    ATTR_GREY,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_WAND,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "steel wand",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '/',
    ATTR_DKCYAN,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_WAND,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "glass wand",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '/',
    ATTR_CYAN,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_WAND,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "amethyst wand",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '/',
    ATTR_PURPLE,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_WAND,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "jade wand",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '/',
    ATTR_DKGREEN,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_WAND,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "sapphire wand",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '/',
    ATTR_LTBLUE,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_WAND,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "blank book",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '+',
    ATTR_WHITE,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_NONE,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "red book",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '+',
    ATTR_RED,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_SPELLBOOK,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "green tome",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '+',
    ATTR_GREEN,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_SPELLBOOK,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "orange tome",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '+',
    ATTR_ORANGE,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_SPELLBOOK,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "yellow grimoire",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '+',
    ATTR_YELLOW,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_SPELLBOOK,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "white book",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '+',
    ATTR_WHITE,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_SPELLBOOK,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "glowing grimoire",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '+',
    ATTR_FIRE,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_SPELLBOOK,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "metalbound book",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '+',
    ATTR_CYAN,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_SPELLBOOK,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "monochrome monograph",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '+',
    ATTR_GREY,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_SPELLBOOK,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "book of pugnacious polemics",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '+',
    ATTR_PURPLE,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_SPELLBOOK,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "blue book",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '+',
    ATTR_BLUE,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_SPELLBOOK,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "leather bound book",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '+',
    ATTR_LIGHTBROWN,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_SPELLBOOK,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "blood-stained book",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '+',
    ATTR_DKRED,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_SPELLBOOK,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "gilded book",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '+',
    ATTR_LTYELLOW,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_SPELLBOOK,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    false,
    false,
  },
  {
    "red potion",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '!',
    ATTR_RED,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_POTION,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    true,
    false,
  },
  {
    "yellow potion",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '!',
    ATTR_YELLOW,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_POTION,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    true,
    false,
  },
  {
    "orange potion",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '!',
    ATTR_ORANGE,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_POTION,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    true,
    false,
  },
  {
    "green potion",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '!',
    ATTR_GREEN,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_POTION,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    true,
    false,
  },
  {
    "blue potion",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '!',
    ATTR_BLUE,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_POTION,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    true,
    false,
  },
  {
    "purple potion",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '!',
    ATTR_PURPLE,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_POTION,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    true,
    false,
  },
  {
    "white potion",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '!',
    ATTR_WHITE,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_POTION,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    true,
    false,
  },
  {
    "glowing potion",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '!',
    ATTR_BLUEPORTAL,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_POTION,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    true,
    false,
  },
  {
    "cyan potion",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '!',
    ATTR_CYAN,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_POTION,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    true,
    false,
  },
  {
    "pink potion",
    -1,
    100,
    1,
    false,
    ROLELIST_ALL,
    false,
    '!',
    ATTR_PINK,
    false,
    false,
    false,
    1,
    0,
    SIZE_TINY,
    ITEMCLASS_POTION,
    0,
    0,
    false,
    false,
    { 0, 0, 1 },
    ATTACK_NONE,
    0,
    0,
    0,
    0,
    0,
    0,
    ARMOURSLOT_NONE,
    0,
    0,
    ATTACK_NONE,
    1,
    "%S <shoot>.",
    '*',
    ATTR_NORMAL,
    ITEM_NONE,
    false,
    0,
    false,
    true,
    false,
  },

};
// Definitions for SCROLL
const SCROLL_DEF
glb_scrolldefs[NUM_SCROLLS] =
{
  {
    "empty",
  },
  {
    "fire scroll",
  },
  {
    "identify scroll",
  },
  {
    "teleport scroll",
  },
  {
    "enchant weapon scroll",
  },
  {
    "enchant armour scroll",
  },
  {
    "magic mapping scroll",
  },
  {
    "summoning scroll",
  },

};
// Definitions for WAND
const WAND_DEF
glb_wanddefs[NUM_WANDS] =
{
  {
    "plain wand",
    20,
    1,
  },
  {
    "wand of nothing",
    0,
    1,
  },
  {
    "wand of restoration",
    20,
    1,
  },
  {
    "wand of teleport",
    20,
    1,
  },
  {
    "wand of fire",
    20,
    4,
  },
  {
    "wand of opening",
    20,
    1,
  },
  {
    "wand of digging",
    20,
    4,
  },
  {
    "wand of polymorph",
    20,
    1,
  },

};
// Definitions for SPELL
const SPELL_DEF
glb_spelldefs[NUM_SPELLS] =
{
  {
    "unnamed",
    "zap",
    "burst of magic appears",
    "~~~",
    "Does nothing.",
    '*',
    ATTR_FIRE,
    1,
    0,
    false,
    0,
    true,
    false,
    false,
    1,
    10,
    false,
    false,
    EFFECT_NONE,
    ITEM_NONE,
  },
  {
    "Magic Missile",
    "strike",
    "burst of magic appears",
    "~~~",
    "Sends a magical missile at a foe.",
    '/',
    ATTR_PURPLE,
    1,
    5,
    false,
    0,
    true,
    false,
    false,
    1,
    10,
    false,
    false,
    EFFECT_ADHOC148,
    ITEM_NONE,
  },
  {
    "Teleport",
    "warp",
    "burst of magic appears",
    "~~~",
    "A spatial warp that scatters targets to the winds.",
    '^',
    ATTR_YELLOW,
    2,
    10,
    false,
    0,
    true,
    false,
    false,
    0,
    1,
    false,
    false,
    EFFECT_NONE,
    ITEM_NONE,
  },
  {
    "Tidal Wave",
    "drown",
    "wave of water flows",
    "~~~",
    "A powerful wave of water that flows forth.",
    '~',
    ATTR_LTBLUE,
    2,
    15,
    false,
    0,
    true,
    true,
    false,
    3,
    1,
    false,
    true,
    EFFECT_ADHOC150,
    ITEM_NONE,
  },
  {
    "Force Bolt",
    "strike",
    "burst of magic appears",
    "~~~",
    "A strong bolt of force that knocks people back.",
    '/',
    ATTR_PURPLE,
    1,
    5,
    false,
    0,
    true,
    false,
    false,
    1,
    1,
    false,
    false,
    EFFECT_ADHOC151,
    ITEM_NONE,
  },
  {
    "Ice Wall",
    "creates",
    "burst of magic appears",
    "~~~",
    "Creates a wall of ice.",
    '#',
    ATTR_ICE,
    2,
    15,
    false,
    0,
    true,
    false,
    false,
    1,
    1,
    false,
    false,
    EFFECT_ADHOC152,
    ITEM_NONE,
  },
  {
    "Disintegrate",
    "disintegrate",
    "burst of magic appears",
    "~~~",
    "Sovereign acid from the plane of acid dissolves everything.",
    '%',
    ATTR_ORANGE,
    3,
    20,
    false,
    0,
    true,
    false,
    false,
    1,
    1,
    false,
    false,
    EFFECT_ADHOC153,
    ITEM_NONE,
  },
  {
    "Colour Spray",
    "dazzle",
    "sphere of dazzling colours burst forth",
    "~~~",
    "A coruscating spray of elemental colour.",
    '%',
    ATTR_PURPLE,
    1,
    10,
    false,
    0,
    true,
    false,
    false,
    2,
    10,
    true,
    false,
    EFFECT_NONE,
    ITEM_NONE,
  },
  {
    "Cure",
    "cure",
    "burst of magic appears",
    "~~~",
    "Cures poison.",
    '*',
    ATTR_GREEN,
    2,
    5,
    false,
    0,
    false,
    false,
    true,
    1,
    1,
    false,
    false,
    EFFECT_ADHOC161,
    ITEM_NONE,
  },
  {
    "Sleep",
    "dazzle",
    "ring of soporific rays originate",
    "~~~",
    "Soporific rays lull creatures to sleep.",
    'Z',
    ATTR_BLUE,
    2,
    10,
    false,
    0,
    false,
    false,
    false,
    3,
    1,
    false,
    false,
    EFFECT_NONE,
    ITEM_NONE,
  },
  {
    "Lightning",
    "zap",
    "burst of magic appears",
    "~~~",
    "Sends a bolt of lightning through one's foes.",
    '*',
    ATTR_YELLOW,
    3,
    15,
    false,
    0,
    true,
    true,
    false,
    1,
    15,
    false,
    false,
    EFFECT_SPELL_LIGHTNINGBOLT,
    ITEM_NONE,
  },
  {
    "Shock",
    "zap",
    "ring of sparks strikes",
    "~~~",
    "A burst of high voltage energy zaps those too close.",
    '*',
    ATTR_YELLOW,
    1,
    5,
    false,
    0,
    false,
    false,
    false,
    2,
    1,
    false,
    false,
    EFFECT_SPELL_SHOCK,
    ITEM_NONE,
  },
  {
    "Poison Cloud",
    "poison",
    "poisonous cloud appears",
    "~~~",
    "Creates a cloud of noxious poison.",
    '*',
    ATTR_GREEN,
    2,
    10,
    false,
    0,
    true,
    false,
    true,
    2,
    5,
    false,
    false,
    EFFECT_ADHOC164,
    ITEM_NONE,
  },
  {
    "Fireball",
    "burn",
    "ball of fire explodes",
    "~~~",
    "Sends a fireball to explode on your foes.",
    '*',
    ATTR_RED,
    3,
    15,
    false,
    0,
    true,
    false,
    true,
    2,
    10,
    false,
    false,
    EFFECT_SPELL_FIREBALL,
    ITEM_NONE,
  },

};
// Definitions for RING
const RING_DEF
glb_ringdefs[NUM_RINGS] =
{
  {
    "plain ring",
    ELEMENT_NONE,
    0,
    0,
  },
  {
    "ring of acid resist",
    ELEMENT_ACID,
    3,
    0,
  },
  {
    "ring of ice resist",
    ELEMENT_ICE,
    3,
    0,
  },
  {
    "ring of fire resist",
    ELEMENT_FIRE,
    3,
    0,
  },
  {
    "ring of poison resist",
    ELEMENT_POISON,
    3,
    0,
  },
  {
    "ring of shock resist",
    ELEMENT_ELECTRICITY,
    3,
    0,
  },

};
// Definitions for POTION
const POTION_DEF
glb_potiondefs[NUM_POTIONS] =
{
  {
    "water",
    EFFECT_NONE,
  },
  {
    "bottle of water",
    EFFECT_NONE,
  },
  {
    "potion of speed",
    EFFECT_ADHOC165,
  },
  {
    "healing potion",
    EFFECT_ADHOC166,
  },
  {
    "greater healing potion",
    EFFECT_ADHOC167,
  },
  {
    "vial of acid vulnerability",
    EFFECT_ADHOC168,
  },
  {
    "oil of acid resistance",
    EFFECT_ADHOC169,
  },
  {
    "bottle of acid",
    EFFECT_ADHOC170,
  },
  {
    "poison potion",
    EFFECT_ADHOC171,
  },
  {
    "cure potion",
    EFFECT_ADHOC172,
  },
  {
    "sleeping potion",
    EFFECT_NONE,
  },

};
// Definitions for MATERIAL
const MATERIAL_DEF
glb_materialdefs[NUM_MATERIALS] =
{
  {
    "plogiston",
    "ether",
    false,
    0,
    ATTR_WHITE,
    false,
    false,
  },
  {
    "wood",
    "wooden",
    false,
    1,
    ATTR_BROWN,
    true,
    false,
  },
  {
    "stone",
    "stone",
    false,
    2,
    ATTR_DKGREY,
    false,
    false,
  },
  {
    "iron",
    "iron",
    true,
    3,
    ATTR_GREY,
    false,
    true,
  },
  {
    "silver",
    "silver",
    true,
    4,
    ATTR_WHITE,
    false,
    false,
  },
  {
    "gold",
    "gold",
    true,
    6,
    ATTR_GOLD,
    false,
    false,
  },

};
// Definitions for TRAP
const TRAP_DEF
glb_trapdefs[NUM_TRAPS] =
{
  {
    "unknown trap",
    '^',
    ATTR_NORMAL,
    ATTACK_NONE,
  },
  {
    "flash trap",
    '^',
    ATTR_YELLOW,
    ATTACK_ADHOC174,
  },
  {
    "poison gas trap",
    '^',
    ATTR_GREEN,
    ATTACK_ADHOC176,
  },
  {
    "sleeping gas trap",
    '^',
    ATTR_PURPLE,
    ATTACK_ADHOC178,
  },
  {
    "tripwire trap",
    '^',
    ATTR_WHITE,
    ATTACK_ADHOC180,
  },
  {
    "poison dart trap",
    '^',
    ATTR_LTGREEN,
    ATTACK_ADHOC182,
  },
  {
    "dart trap",
    '^',
    ATTR_CYAN,
    ATTACK_ADHOC183,
  },
  {
    "fire trap",
    '^',
    ATTR_FIRE,
    ATTACK_ADHOC184,
  },

};
// Definitions for KEY
const KEY_DEF
glb_keydefs[NUM_KEYS] =
{
  {
    'k',
  },
  {
    'u',
  },
  {
    'y',
  },
  {
    'j',
  },
  {
    'n',
  },
  {
    'b',
  },
  {
    '.',
  },
  {
    'l',
  },
  {
    'h',
  },
  {
    'i',
  },
  {
    'I',
  },
  {
    'O',
  },
  {
    'Q',
  },
  {
    '~',
  },
  {
    'g',
  },
  {
    ',',
  },
  {
    'G',
  },
  {
    'x',
  },
  {
    'X',
  },
  {
    'C',
  },
  {
    's',
  },
  {
    'f',
  },
  {
    'R',
  },
  {
    'c',
  },
  {
    '<',
  },
  {
    '>',
  },
  {
    'o',
  },
  {
    't',
  },
  {
    'e',
  },
  {
    'q',
  },
  {
    'r',
  },
  {
    'd',
  },
  {
    'D',
  },
  {
    'E',
  },
  {
    'F',
  },
  {
    'w',
  },
  {
    'W',
  },
  {
    'T',
  },
  {
    'z',
  },
  {
    'K',
  },
  {
    'M',
  },
  {
    'a',
  },
  {
    'Z',
  },
  {
    'S',
  },
  {
    'A',
  },

};
