Re: Disarm skill

From: Ron Poulton (ron@res.com)
Date: 07/31/95


> I think the reason that doesn't work is because obj_from_char removes an 
> item from a character's inventory.. I think you need to have the 
> character remove the object, then do the obj_from_char and obj_to_room.. 
> of course, in my disarm function, the weapon gets returned to their 
> inventory and not thrown on the ground.. Just my 2 pennies.. 

Perhaps the "do_remove" and "do_drop" functions could be examined.  
Essentially, a do_disarm would be a do_remove and do_drop, one after the 
other.  A couple of commands developed here have been accomplished by 
taking routines from other commands; I can't see a reason why it 
shouldn't work.



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