Update of /cvsroot/wpdev/xmlscripts/scripts/commands
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15263/commands
Modified Files:
import.py
Log Message:
sound support
Index: import.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/commands/import.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** import.py 2 Oct 2004 22:30:57 -0000 1.14
--- import.py 22 Oct 2004 23:18:59 -0000 1.15
***************
*** 212,222 ****
color = 0
! item = wolfpack.newitem(1)
! item.decay = 0
! item.movable = 2
! item.id = itemid
! item.color = color
! item.moveto( x, y, z, map )
! item.update()
count += 1
--- 212,225 ----
color = 0
! item = wolfpack.additem('%x' % itemid)
!
! if item:
! item.decay = 0
! item.movable = 3
! item.color = color
! item.moveto( x, y, z, map )
! item.update()
! else:
! warnings += "Found an invalid item id '%x' at %u,%u,%d,%u<br>" % (itemid, x, y, z, map)
count += 1
|