Re: [PROBLEM] do_wear (or similar)

From: Rick Glover (magik@THEGRID.NET)
Date: 11/05/98


-----Original Message-----
From: Julian Buckley <buckley@PC.ELEC.UQ.EDU.AU>
To: CIRCLE@post.queensu.ca <CIRCLE@post.queensu.ca>
Date: Thursday, November 05, 1998 5:52 PM
Subject:  [PROBLEM] do_wear (or similar)


>I encountered a problem today in the fact that, when wearing an item, the
>following occurs:
>
>***SNIP***
>  1900H 500M 250V > wield sword
>  You wield a Slaying Sword.
>
>  1900H 500M 250V > i
>  You are carrying:
>  a Slaying Sword (glowing)  (humming)
>
>  1900H 500M 250V > eq
>  You are using:
>  <wielded>            a Slaying Sword (glowing)  (humming)
>  ***END SNIP*


Well, it looks like the object is not being taken from the char in
perform_wear().  equip_char() looks like it is working fine.  Check to see
if your perform_wear() function has obj_from_char(obj) at the end and is
working properly.

Rick


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



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