[wpdev-commits] xmlscripts/scripts/magic scroll.py,1.7,1.8
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-09-10 14:22:51
|
Update of /cvsroot/wpdev/xmlscripts/scripts/magic In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18725/magic Modified Files: scroll.py Log Message: Removed weight from the info menu. Index: scroll.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/magic/scroll.py,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** scroll.py 25 Aug 2004 17:03:05 -0000 1.7 --- scroll.py 10 Sep 2004 14:22:26 -0000 1.8 *************** *** 59,66 **** if item.amount > 1: item.amount -= 1 ! item.update() else: item.delete() # Consume the scroll ! return False else: return False --- 59,68 ---- if item.amount > 1: item.amount -= 1 ! if not wolfpack.utilities.tobackpack(item, char): ! item.update() ! else: item.delete() # Consume the scroll ! return True # Do nothing else. else: return False |