mail[Wesnoth-commits] r20473 - /trunk/data/campaigns/The_South_Guard/scenarios/08a_Return_To_Kerlath.cfg


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by lari . nieminen on September 17, 2007 - 11:21:
Author: zookeeper
Date: Mon Sep 17 11:20:52 2007
New Revision: 20473

URL: http://svn.gna.org/viewcvs/wesnoth?rev=20473&view=rev
Log:
Some little indentation and other fixes to the new scenario.

Modified:
    trunk/data/campaigns/The_South_Guard/scenarios/08a_Return_To_Kerlath.cfg

Modified: 
trunk/data/campaigns/The_South_Guard/scenarios/08a_Return_To_Kerlath.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/The_South_Guard/scenarios/08a_Return_To_Kerlath.cfg?rev=20473&r1=20472&r2=20473&view=diff
==============================================================================
--- trunk/data/campaigns/The_South_Guard/scenarios/08a_Return_To_Kerlath.cfg 
(original)
+++ trunk/data/campaigns/The_South_Guard/scenarios/08a_Return_To_Kerlath.cfg 
Mon Sep 17 11:20:52 2007
@@ -6,6 +6,9 @@
     next_scenario=9a_Vengeance
 #ifdef EASY
     turns=28
+#endif
+#ifdef NORMAL
+    turns=26
 #endif
 #ifdef HARD
     turns=24
@@ -49,7 +52,7 @@
                 condition=lose
             [/objective]
             [objective]
-                description= _ "Death of Etheliel"
+                description= _ "Death of Ethiliel"
                 condition=lose
             [/objective]
         [/objectives]
@@ -70,7 +73,7 @@
         fog=yes
         shroud=no
 #endif
-#ifdef MEDIUM
+#ifdef NORMAL
         fog=yes
         shroud=yes
 #endif
@@ -103,7 +106,7 @@
 
         canrecruit=1
         [ai]
-            recruitment_pattern= scout, fighter, fighter 
+            recruitment_pattern= scout, fighter, fighter
             {QUANTITY aggression 0.3 0.4 0.5}
             {ATTACK_DEPTH 3 4 5}
         [/ai]
@@ -160,17 +163,17 @@
     [/event]
 
     [event]
-        name=start
-
-       [message]
+            name=start
+
+       [message]
             image="portraits/Nicholas_Kerpan/human-poacher.png"
             message= _ "Tharzo! That meddler who killed the Afalas brothers 
approaches from the south.  His men and horses look worn out."
-       [/message]
-
-       [message]
+       [/message]
+
+       [message]
             speaker="Tharzo Kalain"
             message= _ "The dark gods have put revenge in our laps.  Destroy 
them all before they reach the border fort!"
-       [/message]
+       [/message]
     [/event]
 
     [event]
@@ -182,37 +185,55 @@
             description=Deoran
         [/filter]
 
-       [message]
+       [message]
             speaker="Plynry"
             message= _ "Halt!  Who comes to the border of Wesnoth?"
-       [/message]
-
-       [message]
+       [/message]
+
+       [message]
             speaker="Deoran"
-            image=portraits/deoran.png
             message= _ "It is I, Deoran, commander of the South Guard, and 
my men."
-       [/message]
-
-       [message]
+       [/message]
+
+       [message]
             speaker="Plynry"
             message= _ "Deoran?  You had been thought lost long since.  But 
I see by your men's gear and drill that they are the of South Guard indeed.  
Pass.."
-       [/message]
-
-       [message]
+       [/message]
+
+       [message]
             speaker="Deoran"
-            image=portraits/deoran.png
             message= _ "We, and our elvish allies, have won a great battle 
against a lich."
-       [/message]
-
-       [message]
+       [/message]
+
+       [message]
             speaker="Plynry"
             message= _ "Elvish allies?  I think you had best make haste to 
Westin.  There are rumors of trouble with the elves of the Aethenwood."
-       [/message]
+       [/message]
+
+           # Unstore Sir Gerrick and his troops back so that everyone will 
be happily
+        # reunited at the beginning of the next scenario.
+
+        {VARIABLE stored_Sir_Gerrick.x "recall"}
+        {VARIABLE stored_Sir_Gerrick.y "recall"}
+
+        [unstore_unit]
+            variable=stored_Sir_Gerrick
+        [/unstore_unit]
+
+        {FOREACH stored_Sir_Gerrick_army i}
+            {VARIABLE stored_Sir_Gerrick_army[$i].x "recall"}
+            {VARIABLE stored_Sir_Gerrick_army[$i].y "recall"}
+
+            [unstore_unit]
+                variable=stored_Sir_Gerrick_army[$i]
+            [/unstore_unit]
+        {NEXT i}
+
+        {CLEAR_VARIABLE stored_Sir_Gerrick_army}
 
         [endlevel]
             result=victory
             bonus=yes
         [/endlevel]
     [/event]
-
 [/scenario]




Related Messages


Powered by MHonArc, Updated Mon Sep 17 11:40:35 2007