LPMuds.net

Lib Discussion => Dead Souls Support => Topic started by: kernth on September 12, 2006, 03:57:01 pm

Title: Help with snerf guard!
Post by: kernth on September 12, 2006, 03:57:01 pm

#include <lib.h>



inherit LIB_SENTIENT;



static void create() {

    sentient::create();

    SetKeyName("generic npc");

    SetAdjectives( ({"tiny", "green"}) );

    SetId( ({"snerf", "guard"}) );

    SetShort("A tiny, green Snerf guard");

    SetLong("This is a itty, bitty, green Snerf guard.\nIt is about 2'.");

    SetInventory(([

        "/realms/kernth/area/armor/shirt" : "wear resizing shirt",

      ]));

    SetLevel(1);

    SetMelee(1);

    SetRace("snerf");

    SetGender("male");

}

void init(){

    ::init();

}



 



There is the code, something must be screwy because when I 'update'ed the room, he dissapeared!

Title: Help with snerf guard!
Post by: aten on September 12, 2006, 04:30:49 pm
Did you set the room to generate the guard?
Title: Help with snerf guard!
Post by: kernth on September 12, 2006, 04:33:11 pm
Problem fixed, thanks tho :D
Title: Help with snerf guard!
Post by: cratylus on September 12, 2006, 04:38:17 pm
The problem was that the snerf race was not set on the mud.

Crat

http://dead-souls.net