oops, committed some debugging code! Sorry :-)
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@10701 282e977c-c81d-0410-88c4-b93c2d0d6712master
parent
e22f56ee72
commit
44cd2d4c93
|
|
@ -36,7 +36,6 @@ faces = {
|
||||||
}
|
}
|
||||||
|
|
||||||
changer = Crossfire.WhoAmI()
|
changer = Crossfire.WhoAmI()
|
||||||
try:
|
|
||||||
aname = Crossfire.ScriptParameters()
|
aname = Crossfire.ScriptParameters()
|
||||||
atype = getattr(Crossfire.AttackTypeNumber, aname.upper())
|
atype = getattr(Crossfire.AttackTypeNumber, aname.upper())
|
||||||
player = changer
|
player = changer
|
||||||
|
|
@ -46,9 +45,5 @@ try:
|
||||||
force.Exp = atype
|
force.Exp = atype
|
||||||
player.Anim = animations[atype]
|
player.Anim = animations[atype]
|
||||||
player.Face = faces[atype]
|
player.Face = faces[atype]
|
||||||
changer.Say("current title: %s" % player.Title)
|
|
||||||
player.Title = '%s hatchling' % aname
|
player.Title = '%s hatchling' % aname
|
||||||
changer.Say("Your metabolism is now focused on me.")
|
changer.Say("Your metabolism is now focused on me.")
|
||||||
except:
|
|
||||||
import sys
|
|
||||||
changer.Say('erorr: %s' % sys.exc_info()[1])
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue