Update of /cvsroot/gemrb/gemrb/gemrb/GUIScripts/iwd2
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv10727/GUIScripts/iwd2
Modified Files:
GUIINV.py
Log Message:
improved autoequipping/item transfer between actors
implemented itemexcl.2da handling
implemented itemdial.2da handling
Index: GUIINV.py
===================================================================
RCS file: /cvsroot/gemrb/gemrb/gemrb/GUIScripts/iwd2/GUIINV.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** GUIINV.py 3 Jul 2006 16:29:17 -0000 1.9
--- GUIINV.py 29 Jul 2006 18:17:26 -0000 1.10
***************
*** 437,445 ****
pc = GemRB.GameGetSelectedPCSingle ()
! #don't try to put stuff in the inventory
! for i in range (24):
! GemRB.DropDraggedItem (pc, i+1)
! if not GemRB.IsDraggingItem ():
! break
if GemRB.IsDraggingItem ():
--- 437,442 ----
pc = GemRB.GameGetSelectedPCSingle ()
!
! GemRB.DropDraggedItem (pc, -1)
if GemRB.IsDraggingItem ():
***************
*** 468,472 ****
pc = GemRB.GetVar ("PressedPortrait") + 1
! GemRB.DropDraggedItem (pc, -1)
if GemRB.IsDraggingItem ():
GemRB.PlaySound("GAM_47") #failed equip
--- 465,469 ----
pc = GemRB.GetVar ("PressedPortrait") + 1
! GemRB.DropDraggedItem (pc, -3)
if GemRB.IsDraggingItem ():
GemRB.PlaySound("GAM_47") #failed equip
|