mail[Wesnoth-commits] r44732 - /trunk/data/campaigns/Under_the_Burning_Suns/scenarios/08_Out_of_the_Frying_Pan.cfg


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

Header


Content

Posted by esr on July 27, 2010 - 00:26:
Author: esr
Date: Tue Jul 27 00:26:11 2010
New Revision: 44732

URL: http://svn.gna.org/viewcvs/wesnoth?rev=44732&view=rev
Log:
Address bug #16289: UtBS scenario 8 (Out of the frying pan) under too much 
water.

Modified:
    
trunk/data/campaigns/Under_the_Burning_Suns/scenarios/08_Out_of_the_Frying_Pan.cfg

Modified: 
trunk/data/campaigns/Under_the_Burning_Suns/scenarios/08_Out_of_the_Frying_Pan.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Under_the_Burning_Suns/scenarios/08_Out_of_the_Frying_Pan.cfg?rev=44732&r1=44731&r2=44732&view=diff
==============================================================================
--- 
trunk/data/campaigns/Under_the_Burning_Suns/scenarios/08_Out_of_the_Frying_Pan.cfg
 (original)
+++ 
trunk/data/campaigns/Under_the_Burning_Suns/scenarios/08_Out_of_the_Frying_Pan.cfg
 Tue Jul 27 00:26:11 2010
@@ -5690,6 +5690,14 @@
     # 3. destroy any items in the new deep water
     # 4. kill any units in deep water
 
+#define NOT_SHALLOW_WATER_TO_KEEP
+    # some pools outside of the cave mustn't be turned to deep water.
+    [not]
+        x = 35, 35, 36, 42, 42, 43, 43, 60, 60, 61, 61, 62
+        y = 25, 26, 25, 20, 21, 21, 22, 4, 5, 4, 5, 5
+    [/not]
+#enddef
+
     [event]
         name=new turn
         first_time_only=no
@@ -5712,6 +5720,7 @@
                 [store_locations]
                     [filter_adjacent_location]
                         terrain=Ww
+                        {NOT_SHALLOW_WATER_TO_KEEP}
                     [/filter_adjacent_location]
 
                     terrain=!,Xu,Mm^Xm,Md,W*
@@ -5720,6 +5729,7 @@
 
                 [store_locations]
                     terrain=Ww
+                    {NOT_SHALLOW_WATER_TO_KEEP}
                     variable=shallow_to_deep_locs
                 [/store_locations]
 
@@ -5799,6 +5809,7 @@
             [/then]
         [/if]
     [/event]
+#undef NOT_SHALLOW_WATER_TO_KEEP
 
     # when water reaches escape passage, stop flooding and make it pour out
     # into the valley




Related Messages


Powered by MHonArc, Updated Tue Jul 27 01:00:14 2010