mud/
mud/2.4.5/dgd/include/
mud/2.4.5/dgd/std/
mud/2.4.5/dgd/sys/
mud/2.4.5/doc/
mud/2.4.5/doc/examples/
mud/2.4.5/log/
mud/2.4.5/obj/Go/
mud/2.4.5/players/
mud/2.4.5/players/lars/
mud/2.4.5/room/death/
mud/2.4.5/room/maze1/
mud/2.4.5/room/post_dir/
mud/2.4.5/room/sub/
string type;
string code;


short()
{
 return "A " + type + " key";
}

set_key_data( str)
{
  if ( sscanf(str, "%s %s", type, code) == 2) 
    return 1;
  return 2;
}
long()
{
 write("\nThis a " + type + " key, wonder where it fits?\n");
}

id( strang)
{
 if ( ( strang == "key" )||( strang == type + " key")||( strang == "H_key") )
   return 1;
 return 0;
}

get()
{
  return 1;
}

query_value()
{
 return 10;
}

query_type() { return type; }
query_code() { return code; }

set_type( str) { type = str; }
set_code( str) { code = str; }

init()
{
}

reset( arg)
{
 if(arg)
   return;
 type = 0;
 code = 0;
}