Re: Old Solutions

From: Ryan A.J. Biggs (
Date: 07/15/96

> Next does anyone have the code that combines junk and drop, which allows 
> newbie eq to be instantly junk when it is dropped...

Ok, as promised, here it is...
In act.obj.c (or act.item.c in patch 11)

Add this

    mode = SCMD_JUNK;

just before 

  switch (mode) {

in function perform_drop

THen, just add in a #define ITEM_NEWBIE in the structs.h and make all 
newbie eq of that type.

Now, wasn't that simple?

Ryan A.J. Biggs
Doppleganger, Charon the Boatman and member of Dieties Anonymous
Owner of a 100% organic wibble and Plasma lamp, and rubber chicken
Keeper of the sacred butcher knife and the Cloak of Shadows
Compiler of the Net.Psionics.Handbook

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