From e6249ddf84f5600e387dd2896ceb50fc970bba36 Mon Sep 17 00:00:00 2001 From: ryo_saeba Date: Tue, 23 Jul 2013 19:25:49 +0000 Subject: [PATCH] Add AttackMovement test. git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18830 282e977c-c81d-0410-88c4-b93c2d0d6712 --- test/python.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/test/python.py b/test/python.py index 1ae373d08..24a6a484c 100644 --- a/test/python.py +++ b/test/python.py @@ -238,11 +238,14 @@ def do_exp(): whoami.Say("ok, added %d exp to %s"%(value,skill)) def do_const(): - whoami.Say("%s => %d"%(Crossfire.DirectionName[Crossfire.Direction.NORTH],Crossfire.Direction.NORTH)) - whoami.Say("Player type => %d"%Crossfire.Type.PLAYER) - whoami.Say("Move Fly High => %d"%Crossfire.Move.FLY_HIGH) - whoami.Say("MessageFlag NDI_BLUE => %d"%Crossfire.MessageFlag.NDI_BLUE) - whoami.Say("CostFlag F_NO_BARGAIN => %d"%Crossfire.CostFlag.NOBARGAIN) + ret = '\n' + ret += "%s => %d\n"%(Crossfire.DirectionName[Crossfire.Direction.NORTH],Crossfire.Direction.NORTH) + ret += "Player type => %d\n"%Crossfire.Type.PLAYER + ret += "Move Fly High => %d\n"%Crossfire.Move.FLY_HIGH + ret += "MessageFlag NDI_BLUE => %d\n"%Crossfire.MessageFlag.NDI_BLUE + ret += "CostFlag F_NO_BARGAIN => %d\n"%Crossfire.CostFlag.NOBARGAIN + ret += "AttackMovement PETMOVE => %d\n"%Crossfire.AttackMovement.PETMOVE + whoami.Say(ret) def dump_move(title, move): moves = [