Re: Making "do_skill" look better

From: ShadowLord (dkoepke@california.com)
Date: 05/08/96


On Wed, 8 May 1996, Chris Dodd wrote:

> To start, this probably only applies to those people who have redone their
> mud and gotten rid of levels and all.  I have no levels, and everything is
> based on skills, etc.  I also have a do_skill procedure which basically
> displays the skills listed in ch->skills.  Has anyone out there done or now
> how to change the display so it breaks down skills into categories, like
> 'fighting' etc?  I am interested in doing this, but not really sure how,
> since the skill numbers are not exactly in a specific order, and the numbers
> have simply changed as skills have been added.

	Add an "int" to spell_info that will hold the type of skill and
have:

#define SKL_TYPE_FIGHTING		0
#define SKL_TYPE_DEFENSE		1
#define SKL_TYPE_THIEVERY		2
#define SKL_TYPE_AID			3



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