Re: [Circle] No Junking Corpses

From: Derek Karnes (dkarnes@mystech.com)
Date: 08/15/96


Leonard Burns IV wrote:
> 
> Does anyone know easy it is to make it so players can't junk corpses?
> --
> Leonard Burns IV
> lburns@continet.com

Fairly simple; this comes to mind:

in perform_drop (act.item.c)) before the first "if" statement:

if ( (mode == SCMD_JUNK) &&(isname("corpse", obj->name)) )
{
   send_to_char("Leonard Burns IV says you can't junk corpses\r\n", ch);
   return(0);
}
	
of course, if you have any wierd objects like "the statue of the corpse
of Flar" it won't let you junk those either, but those should be fairly
rare.

--
                                    \ | /
                        \  /---------------------\  /
			--   dkarnes@mystech.com   --
                        /  \---------------------/  \
				    / | \
+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/07/00 PST