Author: esr
Date: Wed Apr  8 02:32:34 2009
New Revision: 34628

URL: http://svn.gna.org/viewcvs/wesnoth?rev=34628&view=rev
Log:
Address bug #13343: Sceptre of Fire: Krawg speaks "human".

The actual probklem was that the moveto event gave a speech generic to any 
unit, but could be triggered by Krawg.  Solution: a conditional on unit ID
in the event and special dialog for Krawg.

Modified:
    trunk/data/campaigns/Sceptre_of_Fire/scenarios/8_The_Dragon.cfg

Modified: trunk/data/campaigns/Sceptre_of_Fire/scenarios/8_The_Dragon.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Sceptre_of_Fire/scenarios/8_The_Dragon.cfg?rev=34628&r1=34627&r2=34628&view=diff
==============================================================================
--- trunk/data/campaigns/Sceptre_of_Fire/scenarios/8_The_Dragon.cfg (original)
+++ trunk/data/campaigns/Sceptre_of_Fire/scenarios/8_The_Dragon.cfg Wed Apr  8 
02:32:34 2009
@@ -184,7 +184,7 @@
         [message]
             speaker=Krawg
             message= _ "Wyy yoo no urrendrr? Alddey woont iz za wagic doun!"   
# wmllint: no spellcheck
-            # "Why don't we just surrender? All they want is that magic stone!"
+            #po: "Why don't we just surrender? All they want is that magic 
stone!"
         [/message]
         [message]
             speaker=Rugnur
@@ -279,10 +279,25 @@
             x,y=16,25
             side=1
         [/filter]
-        [message]
-            speaker=unit
-            message= _ "Look, I've found something here. It looks like a 
forge, heated by the lava. It looks magic, and it looks hot enough to make the 
Sceptre."
-        [/message]
+        [if]
+            [variable]
+                name=unit.id
+                value=Krawg
+            [/variable]
+            [then]
+                [message]
+                    speaker=Krawg
+                    #po: "(excited bird cry) Look! Forge here!"
+                    message= _ "Raaaawww! Loook! Forge heeeere!"
+                [/message]
+            [/then]
+            [else]
+                [message]
+                    speaker=unit
+                    message= _ "Look, I've found something here. It looks like 
a forge, heated by the lava. It looks magic, and it looks hot enough to make 
the Sceptre."
+                [/message]
+            [/else]
+        [/if]
         [message]
             speaker=Khrakrahs
             message= _ "That pretty metal rock is mine! Get away from it!"


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

Reply via email to