wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth/data/scenarios/Eastern_Invasion Evacuat...


From: Joseph Simmons
Subject: [Wesnoth-cvs-commits] wesnoth/data/scenarios/Eastern_Invasion Evacuat...
Date: Tue, 12 Apr 2005 18:36:26 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Joseph Simmons <address@hidden> 05/04/12 22:36:26

Modified files:
        data/scenarios/Eastern_Invasion: Evacuation.cfg 

Log message:
        The second part of the evacuation bug is fixed; once 0.9.1 is released 
I will close that bug...
        
        I would have committed this earlier, but it changes some strings.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/data/scenarios/Eastern_Invasion/Evacuation.cfg.diff?tr1=1.29&tr2=1.30&r1=text&r2=text

Patches:
Index: wesnoth/data/scenarios/Eastern_Invasion/Evacuation.cfg
diff -u wesnoth/data/scenarios/Eastern_Invasion/Evacuation.cfg:1.29 
wesnoth/data/scenarios/Eastern_Invasion/Evacuation.cfg:1.30
--- wesnoth/data/scenarios/Eastern_Invasion/Evacuation.cfg:1.29 Sun Mar 27 
23:06:16 2005
+++ wesnoth/data/scenarios/Eastern_Invasion/Evacuation.cfg      Tue Apr 12 
22:36:26 2005
@@ -224,61 +224,29 @@
                                y=16-19
                                letter=c
                                [/terrain]
-                               [if]
-                                       [have_unit]
-                                       description=Gweddry
+                               
+                               [store_unit]
+                                       [filter]
                                        x=1-31,1-20
                                        y=21-24,18-20
-                                       [/have_unit]
-                                       [else]
-                                               [message]
-                                               description=Gweddry
-                                               message= _ "Oops... I'm north 
of the bridge! That was bad planning on my part."
-                                               [/message]
-                                               [endlevel]
-                                               result=defeat
-                                               [/endlevel]
-                                       [/else]
-                               [/if]
-                               [if]
-                                       [have_unit] 
-                                       description=Dacyn
-                                       x=1-31,1-20
-                                       y=21-24,18-20
-                                       [/have_unit]
-                                       [else]
-                                               [message]
-                                               description=Dacyn 
-                                               message= _ "You idiot! You left 
me north of the bridge!"
-                                               [/message]
-                                               [endlevel]
-                                               result=defeat
-                                               [/endlevel]
-                                       [/else]
-                               [/if]
-                               [if]
-                                       [have_unit]
-                                       description=Owaec
-                                       x=1-31,1-20
-                                       y=21-24,18-20
-                                       [/have_unit]
-                                       [else]
-                                               [message]
-                                               description=Owaec
-                                               message= _ "I'm still north of 
the bridge, Gweddry! Why'd you blow it up!?!"
-                                               [/message]
-                                               [endlevel]
-                                               result=defeat
-                                               [/endlevel]
-                                       [/else]
-                               [/if]
+                                       [/filter]
+                               variable=temporary
+                               kill=yes
+                               [/store_unit]
                                [kill]
-                               x=0-31
-                               y=0-19
                                side=1
                                fire_event=yes
                                animate=yes
                                [/kill]
+                               {FOREACH temporary i}
+                                       [unstore_unit]
+                                       variable=temporary[$i]
+                                       [/unstore_unit]
+                               {NEXT i}
+                               [clear_variable]
+                               name=temporary
+                               [/clear_variable]
+
                                [message]
                                description=Gweddry
                                message= _ "Good, we have escaped from these 
orcs. Now we have to go south. I think the undead probably aren't as numerous 
this far west, so we won't get immediately killed, anyway."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]