viper.c

ds2.1.1/lib/domains/town/npc/viper.c · 647 B

From the archive ds2.1.1.zip

Download the archive   « Back to the archive contents

#include <position.h>
#include <lib.h>

inherit LIB_SENTIENT;

static void create() {
    sentient::create();
    SetKeyName("snake");
    SetId( ({"garter snake", "reptile"}) );
    SetAdjectives( ({"small", "harmless", "garter", "black", "black and yellow", "yellow and black"}) );
    SetShort("a garter snake");
    SetLong("This is a small, harmless reptile, about 9 inches long. It is black with a few yellow stripes along its length. This snake enjoys eating garden pests.");
    SetAutoStand(0);
    SetPosition(POSITION_LYING);
    SetLevel(1);
    SetMelee(1);
    SetRace("viper");
    SetGender("male");
}
void init(){
    ::init();
}

Site Stats

Snippets: 1791
Codebases: 571