Update of /cvsroot/wpdev/xmlscripts/scripts/wolfpack
In directory sc8-pr-cvs1:/tmp/cvs-serv32230/wolfpack
Modified Files:
__init__.py
Log Message:
added 'decoration command.
Takes RunUO .cfg files to generate the world decoration
Index: __init__.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/wolfpack/__init__.py,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** __init__.py 20 Aug 2003 15:59:57 -0000 1.30
--- __init__.py 29 Aug 2003 17:58:11 -0000 1.31
***************
*** 55,58 ****
--- 55,64 ----
else:
return _wolfpack.map( x, y, map )
+
+ def hasmap( map ):
+ if not type( map ) is IntType:
+ raise TypeError, "map needs to be integer value"
+ else:
+ return _wolfpack.hasmap( map )
def statics( x, y, map, exact=1 ):
***************
*** 144,150 ****
def multi( id ):
return _wolfpack.multi( id )
-
- def map( x, y, map ):
- return _wolfpack.map( x, y, map )
def tiledata( id ):
--- 150,153 ----
|