OBJ_DATA *scalp;
char buf[MSL]; (or 20, we have MSL defined as max string length)
// If you have mem issues, uncomment the next line
//free_string(victim->name)
sprintf(buf, "the scalp of %s", victim->name);
scalp->short_descr = str_dup(buf);


-Crypt

----- Original Message -----
From: "Rainer Roomet" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, April 26, 2004 9:30 AM
Subject: scalp command for scalping PC corpses


> I want to add scalp command for scalping PC corpses. I can do it but i
have
> one problem.
> For example:
> if in room is corpse named:
> ---------------------------------
> The corpse of Test is lying here.
> scalp corpse
> You start scalping corpse of Test balalalalal....
> And then you got scalp, and scalp name have to be same what is corpse
name;
> for example
>
> the scalp of Test
> ------------------------------------------------------
> But when i scalp corpse, then scalp name is "the scalp of Ranka"; My name
is
> ranka who scalping corpse.
>
> Anyone can tell me how i can change scalp name to victim->corpse name ?
>
>
> P.S. artifact works perfectly for now; Thanks for everyone.
>
> _________________________________________________________________
> Add photos to your messages with MSN 8. Get 2 months FREE*.
> http://join.msn.com/?page=features/featuredemail
>
>
> --
> ROM mailing list
> [email protected]
> http://www.rom.org/cgi-bin/mailman/listinfo/rom
>

Reply via email to