Re: Autoequip

From: ShadowLord (
Date: 06/01/96

On Sat, 1 Jun 1996, Per Widerlund wrote:

> I've tried the autoequip patch and it seems to work just fine.
> The problem is that when the players are equipped they still are in
> room NOWHERE and this results in an error message from equip_char().
> What's the best thing to do in this case?
> Just change equip_char() so that it allows players to equip with no
> regard to ch->in_room? Would that lead to strange side effects?
> Any other (better) ideas?

	As far as I know -- it makes no difference.  So if you want to cut
out that from equip_char it shouldn't make a difference.  Or you could set
their in_room to 'r_mortal_start_room' -- it'll be changed to the
appropriate value (which probably is r_mortal_start_room, anyway) when
they press '1', so just doing:

  d->character->in_room = r_mortal_start_room;

	Before the code to autoequip will work fine.

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