Update of /cvsroot/wpdev/xmlscripts/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1818
Modified Files:
scissors.py
Log Message:
fixed cutting up leather
Index: scissors.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/scissors.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** scissors.py 2 Sep 2004 15:17:31 -0000 1.12
--- scissors.py 28 Sep 2004 13:05:22 -0000 1.13
***************
*** 62,68 ****
return
! if target.item.id in ids_rawleather:
char.soundeffect( 0x248 )
! item_new = wolfpack.additem( "1067" )
item_new.amount = target.item.amount
target.item.delete()
--- 62,69 ----
return
! if target.item.id in ids_rawleather and target.item.hastag('resname'):
! resname = str(target.item.gettag('resname'))
char.soundeffect( 0x248 )
! item_new = wolfpack.additem( "%s_leather_cut" % resname )
item_new.amount = target.item.amount
target.item.delete()
***************
*** 70,74 ****
item_new.update()
-
elif target.item.id in ids_clothes_2:
char.soundeffect( 0x248 )
--- 71,74 ----
|