[wpdev-commits] xmlscripts/scripts/weapons blades.py,1.9,1.10
Brought to you by:
rip,
thiagocorrea
|
From: <dr...@us...> - 2004-01-14 13:12:31
|
Update of /cvsroot/wpdev/xmlscripts/scripts/weapons In directory sc8-pr-cvs1:/tmp/cvs-serv24563 Modified Files: blades.py Log Message: Fixes the following error: ERROR: An error occured in "weapons.blades": TypeError TypeError: item.settag( key, tag )() argument 2 must be string, not int Index: blades.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/weapons/blades.py,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** blades.py 14 Jan 2004 13:06:47 -0000 1.9 --- blades.py 14 Jan 2004 13:12:28 -0000 1.10 *************** *** 168,172 **** resource = wolfpack.additem( "1ea7" ) resource.name = 'Resource Item: logs' ! resource.settag( 'resourcecount', amount - 1 ) resource.settag( 'resource', 'logs' ) resource.visible = 0 # GM Visible only --- 168,172 ---- resource = wolfpack.additem( "1ea7" ) resource.name = 'Resource Item: logs' ! resource.settag( 'resourcecount', str( amount - 1 ) ) resource.settag( 'resource', 'logs' ) resource.visible = 0 # GM Visible only |