mail[Wesnoth-commits] r20502 - /trunk/data/campaigns/Under_the_Burning_Suns/scenarios/02_Harsh_Sands.cfg


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

Header


Content

Posted by ravanrooke on September 17, 2007 - 21:23:
Author: rhuvaen
Date: Mon Sep 17 21:23:13 2007
New Revision: 20502

URL: http://svn.gna.org/viewcvs/wesnoth?rev=20502&view=rev
Log:
Added some dialogue to explain ghost behaviour.

Modified:
    trunk/data/campaigns/Under_the_Burning_Suns/scenarios/02_Harsh_Sands.cfg

Modified: 
trunk/data/campaigns/Under_the_Burning_Suns/scenarios/02_Harsh_Sands.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Under_the_Burning_Suns/scenarios/02_Harsh_Sands.cfg?rev=20502&r1=20501&r2=20502&view=diff
==============================================================================
--- trunk/data/campaigns/Under_the_Burning_Suns/scenarios/02_Harsh_Sands.cfg 
(original)
+++ trunk/data/campaigns/Under_the_Burning_Suns/scenarios/02_Harsh_Sands.cfg 
Mon Sep 17 21:23:13 2007
@@ -304,6 +304,7 @@
             message= _ "Well, the sooner we reach Pinnacle Rock, the better. 
Onwards!"
         [/message]
 
+        {VARIABLE ghosts_talk 0}
         # setup ghost difficulty
 #ifdef EASY
              {VARIABLE max_ghosts 6}
@@ -784,10 +785,13 @@
                       x=$x1
                       y=$y1
                       radius=1
-                      [not]
-                        [filter]
-                        [/filter]
-                      [/not]
+                      [filter_radius]
+                        [not]
+                          [filter]
+                            side=1,2,3,4
+                          [/filter]
+                        [/not]
+                      [/filter_radius]
                     [/store_locations]
 
                     {VARIABLE i 0}
@@ -820,7 +824,7 @@
 
                     [message]
                         description=Zhul
-                        message=_"Girl, I told you not to open it. Let's go; 
I'd really like to get to an oasis soon."
+                        message=_"Girl, I told you not to open it. Let's go, 
I'd really like to get to an oasis soon."
                     [/message]
                 [/then]
             [/if]
@@ -2365,6 +2369,49 @@
                [/do]
              [/while]
              {CLEAR_VARIABLE ghost_spawn}
+             # some ghosts dialogue
+             [if]
+               [variable]
+                 name=ghosts_talk
+                 less_than=1
+               [/variable]
+               [then]
+                  {VARIABLE ghosts_talk 1}
+
+                  [message]
+                    description=Garak
+                    message= _ "The sands are haunted with the spirits of 
tortured souls long since dead. At dusk they rise again, and during the Long 
Dark they can be particularly nasty. They disappear again at dawn, but 
personally I prefer the heat of the day to the horrors of the night."
+                  [/message]
+
+                  [message]
+                    description=Zhul
+                    message= _ "The combination of the heat of the day and 
the rising undead make dusk a particularly dangerous time of day."
+                  [/message]
+
+               [/then]
+               [else]
+                 [if]
+                   [variable]
+                     name=ghosts_talk
+                     equals=2
+                   [/variable]
+                   [then]
+                      {VARIABLE ghosts_talk 3}
+
+                      [message]
+                        description=Kaleh
+                        message= _ "You come and rise again, spirits? Have 
we not defeated you before?"
+                      [/message]
+
+                      [message]
+                        description=Zhul
+                        message= _ "These lost souls cannot hold onto 
anything but memories of lives long gone. They will rise to plague us again, 
night after night."
+                      [/message]
+
+                   [/then]
+                 [/if]
+               [/else]
+             [/if]
            [/then]
          [/if]
         [/then]
@@ -2372,18 +2419,6 @@
       {CLEAR_VARIABLE turn_temp}
     [/event]
 
-    [event]
-        name=turn 5
-        [message]
-            description=Garak
-            message= _ "The sands are haunted with the spirits of tortured 
souls long since dead. At dusk they rise again, and during the Long Dark they 
can be particularly nasty. They disappear again at dawn, but personally I 
prefer the heat of the day to the horrors of the night."
-        [/message]
-
-        [message]
-            description=Zhul
-            message= _ "The combination of the heat of the day and the 
rising undead make dusk a particularly dangerous time of day."
-        [/message]
-    [/event]
 
     # If player kills more than 25-50% of the maximum number of lost souls, 
the rest flee
 
@@ -2427,11 +2462,11 @@
                 [if]
                     [variable]
                         name=ghosts_talk
-                        numerical_not_equals=1
+                        less_than=2
                     [/variable]
 
                     [then]
-                        {VARIABLE ghosts_talk 1}
+                        {VARIABLE ghosts_talk 2}
 
                         [message]
                             description=Kaleh




Related Messages


Powered by MHonArc, Updated Mon Sep 17 23:20:37 2007