Update of /cvsroot/wpdev/xmlscripts/scripts/wolfpack
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31896/wolfpack
Modified Files:
utilities.py
Log Message:
Rest of the .magic cleanups
Index: utilities.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/wolfpack/utilities.py,v
retrieving revision 1.62
retrieving revision 1.63
diff -C2 -d -r1.62 -r1.63
*** utilities.py 17 Jul 2004 07:24:00 -0000 1.62
--- utilities.py 21 Jul 2004 14:20:42 -0000 1.63
***************
*** 613,617 ****
\param pos The target position.
\param sendobject
! \param movable To change the item.magic value
\param speed
\param fixeddir
--- 613,617 ----
\param pos The target position.
\param sendobject
! \param movable To change the item.movable value
\param speed
\param fixeddir
***************
*** 622,630 ****
\description Animates a character's throwing of an object at a given target.
"""
! def throwobject(char, object, pos, sendobject=0, movable=-1, speed=10, fixeddir=0, explodes=0, hue=0, rendermode=0):
# This will make the object leave the character's pack and land at the target location.
if sendobject > 0:
! if not movable == object.magic and movable >= 0:
! object.magic = movable
object.container = 0
--- 622,630 ----
\description Animates a character's throwing of an object at a given target.
"""
! def throwobject(char, object, pos, sendobject=0, movable=1, speed=10, fixeddir=0, explodes=0, hue=0, rendermode=0):
# This will make the object leave the character's pack and land at the target location.
if sendobject > 0:
! if not movable == object.movable and movable >= 0:
! object.movable = movable
object.container = 0
|