Author: shadowmaster
Date: Sun Aug 10 22:58:35 2008
New Revision: 28452

URL: http://svn.gna.org/viewcvs/wesnoth?rev=28452&view=rev
Log:
* Added a test case for FULL_HEAL and LOG macros.

Modified:
    trunk/data/scenario-test.cfg

Modified: trunk/data/scenario-test.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/scenario-test.cfg?rev=28452&r1=28451&r2=28452&view=diff
==============================================================================
--- trunk/data/scenario-test.cfg (original)
+++ trunk/data/scenario-test.cfg Sun Aug 10 22:58:35 2008
@@ -63,6 +63,8 @@
     #     [/event]
 
     {DEFAULT_MUSIC_PLAYLIST}
+
+    victory_music="loyalists.ogg,underground.ogg,revelation.ogg"
 
     [event]
         name=moveto
@@ -122,6 +124,22 @@
             image=wesnoth-icon.png
             message="Now the orcs will fight until death; nothing shall stop 
their powerful warriors!"
         [/message]
+    [/event]
+
+    [label]
+        x,y=14,12
+        text="Health insurance"
+    [/label]
+
+    [event]
+        name=moveto
+        first_time_only=no
+        [filter]
+            side=1
+            x,y=14,12
+        [/filter]
+        {LOG "$unit.name (id $unit.id|) requested health insurance!"}
+        {FULL_HEAL (x,y=$x1|,$y1)}
     [/event]
 
     [label]
@@ -286,6 +304,7 @@
             x,y=12,8
             type="Thief"
             generate_description=yes
+            hitpoints=1
         [/unit]
         [unit]
             x,y=9,8
@@ -672,7 +691,6 @@
         [/filter]
         {VARIABLE endlevel_test.result "victory"}
         {VARIABLE endlevel_test.bonus "yes"}
-        {VARIABLE endlevel_test.music 
"loyalists.ogg,underground.ogg,revelation.ogg"}
         [insert_tag]
             name=endlevel
             variable=endlevel_test


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to