mail[Wesnoth-commits] r20474 - in /trunk/data/campaigns/The_South_Guard/scenarios: 08a_Return_To_Kerlath.cfg 09a_Vengeance.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:23:
Author: zookeeper
Date: Mon Sep 17 11:23:27 2007
New Revision: 20474

URL: http://svn.gna.org/viewcvs/wesnoth?rev=20474&view=rev
Log:
Fixed Deoran not turning back into his mounted self where he should.

Modified:
    trunk/data/campaigns/The_South_Guard/scenarios/08a_Return_To_Kerlath.cfg
    trunk/data/campaigns/The_South_Guard/scenarios/09a_Vengeance.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=20474&r1=20473&r2=20474&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:23:27 2007
@@ -153,6 +153,91 @@
     [event]
         name=prestart
 
+        [store_unit]
+            variable=deoran_store
+            kill=yes
+            [filter]
+                description=Deoran
+            [/filter]
+        [/store_unit]
+
+        [if]
+            [variable]
+                name=deoran_store.type
+                equals=Dismounted Commander 1
+            [/variable]
+            [then]
+                [set_variable]
+                    name=deoran_store.type
+                    value=Junior Commander
+                [/set_variable]
+                [set_variable]
+                    name=deoran_store.moves
+                    value=6
+                [/set_variable]
+            [/then]
+        [/if]
+        [if]
+            [variable]
+                name=deoran_store.type
+                equals=Dismounted Commander 2
+            [/variable]
+            [then]
+                [set_variable]
+                    name=deoran_store.type
+                    value=Horseman Commander
+                [/set_variable]
+                [set_variable]
+                    name=deoran_store.moves
+                    value=7
+                [/set_variable]
+            [/then]
+        [/if]
+        [if]
+            [variable]
+                name=deoran_store.type
+                equals=Dismounted Commander 3
+            [/variable]
+            [then]
+                [set_variable]
+                    name=deoran_store.type
+                    value=Mounted General
+                [/set_variable]
+                [set_variable]
+                    name=deoran_store.moves
+                    value=8
+                [/set_variable]
+            [/then]
+        [/if]
+
+
+        [unstore_unit]
+            variable=deoran_store
+            find_vacant=yes
+        [/unstore_unit]
+
+        [store_unit]
+            [filter]
+                description=Deoran
+            [/filter]
+
+            kill=yes
+            variable=deoran_store
+        [/store_unit]
+
+        [unstore_unit]
+            variable=deoran_store
+            find_vacant=no
+        [/unstore_unit]
+
+        {CLEAR_VARIABLE deoran_store}
+
+        {FULL_HEAL description=Deoran}
+    [/event]
+
+    [event]
+        name=start
+
         [recall]
             description=Ethiliel
         [/recall]
@@ -160,10 +245,6 @@
         [recall]
             description=Minister Hylas
         [/recall]
-    [/event]
-
-    [event]
-            name=start
 
        [message]
             image="portraits/Nicholas_Kerpan/human-poacher.png"

Modified: trunk/data/campaigns/The_South_Guard/scenarios/09a_Vengeance.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/The_South_Guard/scenarios/09a_Vengeance.cfg?rev=20474&r1=20473&r2=20474&view=diff
==============================================================================
--- trunk/data/campaigns/The_South_Guard/scenarios/09a_Vengeance.cfg 
(original)
+++ trunk/data/campaigns/The_South_Guard/scenarios/09a_Vengeance.cfg Mon Sep 
17 11:23:27 2007
@@ -102,88 +102,6 @@
 
     [event]
         name=start
-
-        [store_unit]
-            variable=deoran_store
-            kill=yes
-            [filter]
-                description=Deoran
-            [/filter]
-        [/store_unit]
-
-        [if]
-            [variable]
-                name=deoran_store.type
-                equals=Dismounted Commander 1
-            [/variable]
-            [then]
-                [set_variable]
-                    name=deoran_store.type
-                    value=Junior Commander
-                [/set_variable]
-                [set_variable]
-                    name=deoran_store.moves
-                    value=6
-                [/set_variable]
-            [/then]
-        [/if]
-        [if]
-            [variable]
-                name=deoran_store.type
-                equals=Dismounted Commander 2
-            [/variable]
-            [then]
-                [set_variable]
-                    name=deoran_store.type
-                    value=Horseman Commander
-                [/set_variable]
-                [set_variable]
-                    name=deoran_store.moves
-                    value=7
-                [/set_variable]
-            [/then]
-        [/if]
-        [if]
-            [variable]
-                name=deoran_store.type
-                equals=Dismounted Commander 3
-            [/variable]
-            [then]
-                [set_variable]
-                    name=deoran_store.type
-                    value=Mounted General
-                [/set_variable]
-                [set_variable]
-                    name=deoran_store.moves
-                    value=8
-                [/set_variable]
-            [/then]
-        [/if]
-
-
-        [unstore_unit]
-            variable=deoran_store
-            find_vacant=yes
-        [/unstore_unit]
-
-        [store_unit]
-            [filter]
-                description=Deoran
-            [/filter]
-
-            kill=yes
-            variable=deoran_store
-        [/store_unit]
-
-        [unstore_unit]
-            variable=deoran_store
-            find_vacant=no
-        [/unstore_unit]
-
-        {CLEAR_VARIABLE deoran_store}
-
-        {FULL_HEAL description=Deoran}
-
 
         [recall]
             description=Sir Gerrick




Related Messages


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