Author Topic: Help with snerf guard!  (Read 3145 times)

Offline kernth

  • Acquaintance
  • *
  • Posts: 6
    • View Profile
Help with snerf guard!
« 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!


Offline aten

  • Acquaintance
  • *
  • Posts: 0
    • View Profile
Help with snerf guard!
« Reply #1 on: September 12, 2006, 04:30:49 pm »
Did you set the room to generate the guard?

Offline kernth

  • Acquaintance
  • *
  • Posts: 6
    • View Profile
Help with snerf guard!
« Reply #2 on: September 12, 2006, 04:33:11 pm »
Problem fixed, thanks tho :D

Offline cratylus

  • Your favorite and best
  • Administrator
  • ***
  • Posts: 1022
  • Cratylus@Dead Souls <ds> np
    • View Profile
    • About Cratylus
Help with snerf guard!
« Reply #3 on: September 12, 2006, 04:38:17 pm »
The problem was that the snerf race was not set on the mud.