diff --git a/test/cfanim b/test/cfanim index 55604dd55..bf71895c7 100644 --- a/test/cfanim +++ b/test/cfanim @@ -4,7 +4,7 @@ width 20 height 20 msg Created: 2008-05-10 Nicolas Weeger -Modified: 2008-05-12 Nicolas Weeger +Modified: 2008-05-20 Nicolas Weeger endmsg end arch pstone_1 @@ -1201,6 +1201,23 @@ arch pstone_1 x 14 y 7 end +arch conjurer +x 14 +y 7 +stand_still 1 +arch event_say +title Python +slaying /test/cfanim.py +msg +@match * +hmmm +endmsg +end +arch event_user +title Animator +slaying /test/cfanim.conjurer +end +end arch pstone_1 x 14 y 8 diff --git a/test/cfanim.conjurer b/test/cfanim.conjurer new file mode 100644 index 000000000..53cbbe9c1 --- /dev/null +++ b/test/cfanim.conjurer @@ -0,0 +1,17 @@ +[Config] +name= CFAnim test +victimtype= object +victim= who +unique= no +always_delete= no +paralyzed= yes +time_representation= second +errors_allowed= yes +verbose= no +animation= Animation +invisible= no +wizard= no +[Conjurer_1] +1 say First animation script +[Conjurer_2] +1 say Second animation script diff --git a/test/cfanim.py b/test/cfanim.py new file mode 100644 index 000000000..aff1a0351 --- /dev/null +++ b/test/cfanim.py @@ -0,0 +1,4 @@ +import Crossfire + +#Crossfire.WhoAmI().Say('message is %s'%Crossfire.WhatIsMessage()) +Crossfire.WhoAmI().Event(Crossfire.WhoAmI(), Crossfire.WhoAmI(), Crossfire.WhatIsMessage(), 0)