Update of /cvsroot/wpdev/xmlscripts/scripts/wolfpack
In directory sc8-pr-cvs1:/tmp/cvs-serv669/wolfpack
Modified Files:
utilities.py
Log Message:
moved 'nuke to python script. Also made 'wipe an alias to it.
Index: utilities.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/wolfpack/utilities.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** utilities.py 21 Jul 2003 14:29:24 -0000 1.15
--- utilities.py 1 Sep 2003 04:56:44 -0000 1.16
***************
*** 155,159 ****
if item.id in clothes:
return 1
-
else:
return 0
--- 155,158 ----
***************
*** 167,171 ****
if item.id in hats:
return 1
-
else:
return 0
--- 166,169 ----
***************
*** 188,192 ****
if item.id in armors:
return 1
-
else:
return 0
--- 186,189 ----
***************
*** 198,202 ****
if item.type in weapontypes:
return 1
-
else:
return 0
--- 195,198 ----
***************
*** 208,212 ****
if item.id in shields:
return 1
-
else:
return 0
--- 204,207 ----
***************
*** 217,224 ****
if item.id in sbids and item.type in sbtypes:
return 1
-
else:
! return 0
def isinstrument( item ):
return item.id in [ 0xE9C, 0xE9D, 0xE9E, 0xEB1, 0xEB2, 0xEB3, 0xEB4 ]
--- 212,219 ----
if item.id in sbids and item.type in sbtypes:
return 1
else:
! return 0
def isinstrument( item ):
return item.id in [ 0xE9C, 0xE9D, 0xE9E, 0xEB1, 0xEB2, 0xEB3, 0xEB4 ]
+
|