Update of /cvsroot/wpdev/xmlscripts/scripts/magic
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24717/magic
Modified Files:
circle5.py
Log Message:
It changes your name now :P
Index: circle5.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/magic/circle5.py,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** circle5.py 1 Sep 2004 23:45:59 -0000 1.18
--- circle5.py 2 Sep 2004 01:50:47 -0000 1.19
***************
*** 6,9 ****
--- 6,10 ----
import wolfpack.time
from wolfpack.utilities import tobackpack, energydamage
+ from wolfpack.consts import *
class BladeSpirits (Spell):
***************
*** 124,128 ****
if char.id == 0x190:
! char.name = 'Man'
# Create new hair
--- 125,129 ----
if char.id == 0x190:
! char.name = random.choice( wolfpack.list( "NAMES_MALE" ) )
# Create new hair
***************
*** 130,134 ****
newbeard = random.choice(['203e', '203f', '2040', '2041', '204b', '204c', '204d', ''])
else:
! char.name = 'Woman'
newhair = random.choice(['2044', '2045', '2046', '203c', '203b', '203d', '2047', '2048', '2049', '204a', ''])
--- 131,135 ----
newbeard = random.choice(['203e', '203f', '2040', '2041', '204b', '204c', '204d', ''])
else:
! char.name = random.choice( wolfpack.list( "NAMES_FEMALE" ) )
newhair = random.choice(['2044', '2045', '2046', '203c', '203b', '203d', '2047', '2048', '2049', '204a', ''])
|