tiny.c - example for course 03

[previous example] [course03] [Table of contents] [next example]
/* Filename      : tiny.c
 * Description   : a really tiny monster 
 *
 * written       : 30-09-1996 - Gunner
 * last modified : 30-09-1996 - Gunner
 * HTML-Version  : 28-01-2000 - Ghorwin
 */

#include <mudlib.h>
inherit I_MONSTER;      // inherit "/std/monster.c"

create()
{
    ::create();
    set_name("tiny");
    add_id(({"shorty","man"}));
    set_short("A small man");
    set_long("This is Tiny, often called Shorty. He's not a very big man "
        "even if he tries to be. He's often bullied by the taller "
        "ones.\n");
    set_level(10);
    set_gender(1);      // A man...
    set_al(100);        // A kind-hearted man...
    replace_program(I_MONSTER);
}