31 lines
850 B
C
31 lines
850 B
C
#include <lib.h>
|
|
inherit LIB_NPC;
|
|
|
|
static void create(){
|
|
npc::create();
|
|
SetKeyName("fighter");
|
|
SetId( ({"human","npc","warrior","fighter"}) );
|
|
SetShort("a fighter");
|
|
SetLong("This is a large human warrior. His pectoral muscles "+
|
|
"are clearly visible even through his armor. His face is covered in "+
|
|
"bold blue tattoos.");
|
|
SetClass("fighter");
|
|
SetLevel(10);
|
|
SetCustomXP(350);
|
|
SetRace("human");
|
|
SetStat("strength", 30);
|
|
SetGender("male");
|
|
SetInventory(([
|
|
"/domains/default/armor/chainmail.c" : "wear chainmail",
|
|
"/domains/default/weap/sharpsword.c" : "wield sword"
|
|
]));
|
|
SetCurrency( ([
|
|
"silver" : 100,
|
|
]) );
|
|
SetHealthPoints(549);
|
|
SetMaxHealthPoints(550);
|
|
}
|
|
void init(){
|
|
::init();
|
|
}
|