tfe-1.0/area/
tfe-1.0/files/
tfe-1.0/logs/
tfe-1.0/logs/immortal/
tfe-1.0/logs/mob/
tfe-1.0/logs/object/
tfe-1.0/logs/player/
tfe-1.0/logs/room/
tfe-1.0/notes/clans/
tfe-1.0/player/
tfe-1.0/prev/
tfe-1.0/prev/area/
tfe-1.0/prev/player/
tfe-1.0/prev/rooms/
tfe-1.0/rooms/
tfe-1.0/src-gc/
tfe-1.0/src-msvc/
tfe-1.0/src-unix/
tfe-1.0/www/
tfe-1.0/www/html/
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include "define.h"
#include "struct.h"


/*
 *   THINGS 
 */


const char* Room_Data :: Location( content_array* )
{
  char* tmp = static_string( );

  sprintf( tmp, "Room %d, %s", vnum, name );

  return tmp;
}


const char* Obj_Data :: Location( content_array* )
{
  char* tmp = static_string( );

  sprintf( tmp, "Unknown, %s", Seen_Name( NULL ) );

  return tmp;
}


const char* Char_Data :: Location( content_array* array )
{
  char*   tmp  = static_string( );
  char*  word;

  if( array == &contents ) 
    word = "Inventory";
  else if( array == &wearing )
    word = "Worn";
  else
    word = "** BUG **";

  sprintf( tmp, "%s, %s", Name( NULL ), word );  

  return tmp;
}


const char* Player_Data :: Location( content_array* array )
{
  char*   tmp  = static_string( );
  char*  word;

  if( array == &junked )
    word = "Junked";
  else if( array == &locker )
    word = "Locker";
  else if( array == &contents ) 
    word = "Inventory";
  else if( array == &wearing )
    word = "Worn";
  else
    word = "** BUG **";

  sprintf( tmp, "%s, %s", Name( NULL ), word );  

  return tmp;
}


const char* Thing_Data :: Location( content_array* ) 
{
  return "** BUG **";
}