mail[Wesnoth-commits] r33739 - /trunk/data/campaigns/Northern_Rebirth/scenarios/05a_The_Pursuit.cfg


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

Header


Content

Posted by esr on March 17, 2009 - 01:59:
Author: esr
Date: Tue Mar 17 01:59:43 2009
New Revision: 33739

URL: http://svn.gna.org/viewcvs/wesnoth?rev=33739&view=rev
Log:
Creeate a default respawn location and death dialog for Malifor to
maker his death event less brittle.  Tested.

Modified:
    trunk/data/campaigns/Northern_Rebirth/scenarios/05a_The_Pursuit.cfg

Modified: trunk/data/campaigns/Northern_Rebirth/scenarios/05a_The_Pursuit.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Northern_Rebirth/scenarios/05a_The_Pursuit.cfg?rev=33739&r1=33738&r2=33739&view=diff
==============================================================================
--- trunk/data/campaigns/Northern_Rebirth/scenarios/05a_The_Pursuit.cfg 
(original)
+++ trunk/data/campaigns/Northern_Rebirth/scenarios/05a_The_Pursuit.cfg Tue 
Mar 17 01:59:43 2009
@@ -2699,9 +2699,12 @@
         # need to know later which of the groups did the kill to
         # choose proper dialogue and respawn location
 
-        {VARIABLE malifor_died_by nothing}
-        {VARIABLE malifor_will_respawn_at_x 0}
-        {VARIABLE malifor_will_respawn_at_y 0}
+        # Give him a default respawn location in case the possible unit mix
+        # changes and something slips through the filters.
+        {VARIABLE malifor_died_by old_age}
+        {VARIABLE malifor_will_respawn_at_x 23}
+        {VARIABLE malifor_will_respawn_at_y 4}
+
         # First let's filter out all dwarves. That covers Dwarvish
         # Lord, Dwarvish Dragonguard, Dwarvish Thunderguard, Dwarvish
         # Steelclad, Dwarvish Fighter, Dwarvish Thunderer
@@ -2996,8 +2999,34 @@
                 [/message]
             [/then]
         [/if]
-        # FIXME: Again, white mages might not have been freed yet, in that 
case the following 
-        # dialogue looks absurd.
+        # Malifor was killed something that slipped through the filters
+        [if]
+            [variable]
+                name=malifor_died_by
+                equals=old_age
+            [/variable]
+            [then]
+                [message]
+                    speaker=Malifor
+                    message= _ "HAHAHAHAHA, FOOLS, YOU THINK YOU CAN KILL 
ME?"
+                [/message]
+                {FLASH_WHITE ()}
+                [message]
+                    speaker=Malifor
+                    message= _ "HAHAHAHAHAHAHA!"
+                [/message]
+                [message]
+                    speaker=Tallin
+                    message= _ "What the...!"
+                [/message]
+                [message]
+                    speaker=Tallin
+                    message= _ "Blast it! Now where did he go? Let's find 
him and try something else!"
+                [/message]
+            [/then]
+        [/if]
+        # FIXME: Again, white mages might not have been freed yet, in
+        # that case the following dialogue looks absurd.
         [if]
             [have_unit]
                 id=Father Marcus




Related Messages


Powered by MHonArc, Updated Tue Mar 17 04:40:31 2009