mail[Wesnoth-commits] r20229 - in /trunk/data/campaigns/The_South_Guard/scenarios: 06a_Tidings_Good_And_Ill.cfg 07a_Into_The_Depths.cfg


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

Header


Content

Posted by lari . nieminen on September 09, 2007 - 17:36:
Author: zookeeper
Date: Sun Sep  9 17:36:14 2007
New Revision: 20229

URL: http://svn.gna.org/viewcvs/wesnoth?rev=20229&view=rev
Log:
A bit more changes to the elf branch, also featuring fancier bombing in Into 
the Depths.

Modified:
    
trunk/data/campaigns/The_South_Guard/scenarios/06a_Tidings_Good_And_Ill.cfg
    trunk/data/campaigns/The_South_Guard/scenarios/07a_Into_The_Depths.cfg

Modified: 
trunk/data/campaigns/The_South_Guard/scenarios/06a_Tidings_Good_And_Ill.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/The_South_Guard/scenarios/06a_Tidings_Good_And_Ill.cfg?rev=20229&r1=20228&r2=20229&view=diff
==============================================================================
--- 
trunk/data/campaigns/The_South_Guard/scenarios/06a_Tidings_Good_And_Ill.cfg 
(original)
+++ 
trunk/data/campaigns/The_South_Guard/scenarios/06a_Tidings_Good_And_Ill.cfg 
Sun Sep  9 17:36:14 2007
@@ -432,6 +432,17 @@
                 # his troops, except those remaining on the recall list.
 
                 [store_unit]
+                    [filter]
+                        description=Sir Gerrick
+                    [/filter]
+
+                    kill=yes
+                    variable=stored_Sir_Gerrick
+                [/store_unit]
+
+                {VARIABLE stored_Sir_Gerrick.canrecruit 0}
+
+                [store_unit]
                     variable=stored_Sir_Gerrick_army
                     [filter]
                         side=1

Modified: 
trunk/data/campaigns/The_South_Guard/scenarios/07a_Into_The_Depths.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/The_South_Guard/scenarios/07a_Into_The_Depths.cfg?rev=20229&r1=20228&r2=20229&view=diff
==============================================================================
--- trunk/data/campaigns/The_South_Guard/scenarios/07a_Into_The_Depths.cfg 
(original)
+++ trunk/data/campaigns/The_South_Guard/scenarios/07a_Into_The_Depths.cfg 
Sun Sep  9 17:36:14 2007
@@ -180,11 +180,6 @@
         [delay]
             time=100
         [/delay]
-
-        [set_variable]
-            name=deoran_store.hitpoints
-            value=60
-        [/set_variable]
 
         [if]
             [variable]
@@ -218,7 +213,23 @@
             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}
 
         [message]
             speaker=Ethiliel
@@ -391,9 +402,76 @@
                         speaker=Grée
                         message= _ "Go here and light it and it will blast a 
backdoor into the lich's lair!"
                     [/message]
+
                     [scroll_to]
                         x,y=29,24
                     [/scroll_to]
+
+                    [item]
+                        x,y=29,24
+                        image=items/gohere-ellipse.png
+                    [/item]
+                    [item]
+                        x,y=29,24
+                        image=items/bomb.png
+                    [/item]
+                    [delay]
+                        time=200
+                    [/delay]
+                    [removeitem]
+                        x,y=29,24
+                    [/removeitem]
+                    [redraw][/redraw]
+                    [delay]
+                        time=200
+                    [/delay]
+                    [item]
+                        x,y=29,24
+                        image=items/gohere-ellipse.png
+                    [/item]
+                    [item]
+                        x,y=29,24
+                        image=items/bomb.png
+                    [/item]
+                    [delay]
+                        time=200
+                    [/delay]
+                    [removeitem]
+                        x,y=29,24
+                    [/removeitem]
+                    [redraw][/redraw]
+                    [delay]
+                        time=200
+                    [/delay]
+                    [item]
+                        x,y=29,24
+                        image=items/gohere-ellipse.png
+                    [/item]
+                    [item]
+                        x,y=29,24
+                        image=items/bomb.png
+                    [/item]
+                    [delay]
+                        time=200
+                    [/delay]
+                    [removeitem]
+                        x,y=29,24
+                    [/removeitem]
+                    [redraw][/redraw]
+                    [delay]
+                        time=200
+                    [/delay]
+                    [item]
+                        x,y=29,24
+                        image=items/gohere-ellipse.png
+                    [/item]
+                    [item]
+                        x,y=29,24
+                        image=items/bomb.png
+                    [/item]
+                    [delay]
+                        time=400
+                    [/delay]
 
                     {VARIABLE bomb_placed true}
                     {VARIABLE troll_allies true}
@@ -439,11 +517,18 @@
                     message= _ "I'm lighting it!"
                 [/message]
                 [sound]
-                    name=fire.wav
+                    name=fuse.ogg
                 [/sound]
+                [delay]
+                    time=2000
+                [/delay]
                 [sound]
-                    name=fire.wav
+                    name=explosion.ogg
                 [/sound]
+
+                [removeitem]
+                    x,y=29,24
+                [/removeitem]
 
                 [scroll]
                     x,y=10,10
@@ -459,14 +544,12 @@
                 [/scroll]
                 {SG_CHANGE_TERRAIN 28 23 Re}
 
+                [redraw][/redraw]
+
                 [message]
                     speaker=unit
                     message= _ "I've broken through!"
                 [/message]
-
-                [removeitem]
-                    x,y=29,24
-                [/removeitem]
             [/then]
         [/if]
     [/event]
@@ -625,6 +708,13 @@
     [event]
         name=victory
 
+        {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"}




Related Messages


Powered by MHonArc, Updated Sun Sep 09 17:40:30 2007