Author: fendrin
Date: Sun Apr 12 21:14:54 2009
New Revision: 34811

URL: http://svn.gna.org/viewcvs/wesnoth?rev=34811&view=rev
Log:
LoW 1: Early finishing bonus only when the southern orc leader is defeated. 
Story for this is still missing.

Modified:
    trunk/data/campaigns/Legend_of_Wesmere/scenarios/01_The_Uprooting.cfg

Modified: trunk/data/campaigns/Legend_of_Wesmere/scenarios/01_The_Uprooting.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Legend_of_Wesmere/scenarios/01_The_Uprooting.cfg?rev=34811&r1=34810&r2=34811&view=diff
==============================================================================
--- trunk/data/campaigns/Legend_of_Wesmere/scenarios/01_The_Uprooting.cfg 
(original)
+++ trunk/data/campaigns/Legend_of_Wesmere/scenarios/01_The_Uprooting.cfg Sun 
Apr 12 21:14:54 2009
@@ -312,8 +312,12 @@
                 description= _ "Turns run out"
                 condition=lose
             [/objective]
-
-
+            note={NO_EARLY_FINISH_BONUS_NOTE}
+            [objective]
+                description= _ "Defeat Wrulf"
+                condition=bonus
+            [/objective]
+            note={EARLY_FINISH_BONUS_NOTE}
         [/objectives]
     [/event]
 
@@ -405,10 +409,23 @@
             id=Graur-Tan
             message= _ "You won't get very far! After them!"
         [/message]
-        [endlevel]
-            result=victory
-            bonus=yes
-        [/endlevel]
+        [if]
+            [have_unit]
+                id=Wrulf
+            [/have_unit]
+            [then]
+                [endlevel]
+                    result=victory
+                    bonus=no
+                [/endlevel]                
+            [/then]
+            [else]
+                [endlevel]
+                    result=victory
+                    bonus=yes
+                [/endlevel]
+            [/else]
+        [/if]
     [/event]
 
     [event]


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to