Update of /cvsroot/wpdev/xmlscripts/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20813
Modified Files:
equipment.py
Log Message:
removed the object delay for equipping items by dclicking them
Index: equipment.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/equipment.py,v
retrieving revision 1.42
retrieving revision 1.43
diff -C2 -d -r1.42 -r1.43
*** equipment.py 27 Sep 2004 17:42:33 -0000 1.42
--- equipment.py 29 Sep 2004 12:33:21 -0000 1.43
***************
*** 706,713 ****
item.soundeffect(0x57)
player.updatestats()
!
for script in scripts[scripts.index("equipment")+1:]:
if wolfpack.hasevent(script, EVENT_USE):
! return 0
return 1
--- 706,716 ----
item.soundeffect(0x57)
player.updatestats()
!
! # Remove the use delay, equipping should be for free...
! player.objectdelay = 0
!
for script in scripts[scripts.index("equipment")+1:]:
if wolfpack.hasevent(script, EVENT_USE):
! return 0
return 1
|