Yesterday i asked help to make 'scalp' command and thanks everyone for help
:)
Now it works perfectly and there was easier way to make scalps :)
First in fight.c in function 'make_corpse', where is PC corpse section there
add
'corpse->owner = str_dup(ch->name);'
and in function do_scalp add:
name = corpse->owner;
/* scalps */
sprintf( buf, scalp->name, name );
free_string( scalp->name );
scalp->name = str_dup( buf );
sprintf( buf, scalp->short_descr, name );
free_string( scalp->short_descr );
scalp->short_descr = str_dup( buf );
and finally define
OBJ_DATA *scalp;
OBJ_VNUM_SCALP /* merc.h */
and add scalp object to limbo.are
It was easy :)
-- Ranka
The Lost Lands of Arion
telnet irc.nohik.ee 4242
Rainer Roomet
[EMAIL PROTECTED]
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail