View Single Post
Old 03-16-2003, 11:50 PM   #7 (permalink)
stheno
Registered User
 
stheno's Avatar
 
Join Date: Mar 2003
Location: in my head
Posts: 7
stheno is on a distinguished road
NPC

**this is the most fun thing to code for me because it allows a great deal of creativity and options to work with to develop a unique character for your "area" of rooms**

#include "path.h"
inherit "std/monster/deathknight";
string * chat_str;

int i;
object cs;

void reset(int arg){
::reset(arg);
if(arg) return;
set_name("Sir Hoyt");
set_alias("deathknight");
set_race("danpiru");
cs = clone_object("/obj/shadows/race/danpiru");
cs->start_shadow(this_object());
add_alias("hoyt");
add_alias("sir hoyt");
add_alias("sir");
add_alias("hoyt of glaxtonbury");
add_alias("undead");
add_alias("death knight");
add_alias("man");
set_short("Sir Hoyt of Glaxtonbury");
set_long("Sir Hoyt's blackened armour is still wet with the blood of "+
"his sister. Scars line his face, his matted "+
"black shoulder length hair falling around it. Volumes are spoken "+
"by his expression of lonliness as he has been cast into unlife "+
"and been damned for eternity.");
chat_str =allocate(4);
chat_str[0] = "Sir Hoyt stares through you with eyes of flame.";
chat_str[1] = "Sir Hoyt moans, 'I did love her...so much...'";
chat_str[2] = "Sir Hoyt floats slowly towards you.";
chat_str[3] = "Sir Hoyt asks, 'Do you find me appalling?'";
load_chat(6,chat_str);
set_ask_fail_msg("Sir Hoyt stares at you apathetically.");
add_knowledge(({"blood","bloody armour"}),"Sir Hoyt says: 'It is her "+
"blood...my sister's. I had always desired her more than any other "+
"woman. Alas, she rejected me. But I had to have her...no one "+
"else could...even if it meant exile and damnation...'");
add_knowledge("scars","Sir Hoyt says: 'Most warriors have scars..."+
"They are the only honourable thing I have left...'");
add_knowledge("sister","Sir Hoyt says: 'She was mine, at least for a "+
"small moment! Oh Ghysla, will I ever see your face again!'");
add_knowledge(({"lily","brooch"}),"Sir Hoyt says: 'Ah, my lily... "+
"'twas plucked from my sister's bleeding heart...'");
add_knowledge("glaxtonbury","Sir Hoyt says: 'Glaxtonbury is an ocean "+
"away...I was taken from my home and imprisoned on this foul isle "+
"when I fell from grace...I can never leave...never...'");
set_talk("
set_no_nightmare(1); **this is a spell the deathknight
subclass can cast; you can play with
their spells and skills, etc. much fun.**
}
stheno is offline   Reply With Quote