Author: shadowmaster
Date: Sun Sep 14 03:22:29 2008
New Revision: 29453

URL: http://svn.gna.org/viewcvs/wesnoth?rev=29453&view=rev
Log:
* Made Theta and Marcus not to speak certain lines that do not make
* sense when one of them isn't around, when the other is killed

(i.e. good for "The Pursuit")

Modified:
    trunk/data/campaigns/Northern_Rebirth/utils/herodeaths.cfg

Modified: trunk/data/campaigns/Northern_Rebirth/utils/herodeaths.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Northern_Rebirth/utils/herodeaths.cfg?rev=29453&r1=29452&r2=29453&view=diff
==============================================================================
--- trunk/data/campaigns/Northern_Rebirth/utils/herodeaths.cfg (original)
+++ trunk/data/campaigns/Northern_Rebirth/utils/herodeaths.cfg Sun Sep 14 
03:22:29 2008
@@ -269,14 +269,21 @@
         [/case]
         [case]
             value=5
-            [message]
-                speaker=Sister Theta
-                message= _ "Oh no, Marcus! We have failed in our mission to 
help Tallin!"
-            [/message]
-            [message]
-                speaker=Father Marcus
-                message= _ "Failed? Never! The word failure is not in our 
dictionary."
-            [/message]
+            [if]
+                [have_unit]
+                    id=Father Marcus
+                [/have_unit]
+                [then]
+                    [message]
+                        speaker=Sister Theta
+                        message= _ "Oh no, Marcus! We have failed in our 
mission to help Tallin!"
+                    [/message]
+                    [message]
+                        speaker=Father Marcus
+                        message= _ "Failed? Never! The word failure is not in 
our dictionary."
+                    [/message]
+                [/then]
+            [/if]
         [/case]
         [case]
             value=6
@@ -284,18 +291,25 @@
                 speaker=Sister Theta
                 message= _ "Alas! I am dying! Marcus darling, I wish you were 
beside me so that I may die in your arms! So that I may feel the kiss of your 
lips on mine one last time!"
             [/message]
-            [message]
-                speaker=Father Marcus
-                message= _ " *rolls eyes* Theta, do you always have to be so 
dramatic?"
-            [/message]
-            [message]
-                role=Supporter
-                message= _ "Um..... Father? Your wife just got killed..."
-            [/message]
-            [message]
-                speaker=Father Marcus
-                message= _ "Oh right. I CALL UPON THE LORDS OF LIGHT TO GRANT 
YOU LIFE!"
-            [/message]
+            [if]
+                [have_unit]
+                    id=Father Marcus
+                [/have_unit]
+                [then]
+                    [message]
+                        speaker=Father Marcus
+                        message= _ " *rolls eyes* Theta, do you always have to 
be so dramatic?"
+                    [/message]
+                    [message]
+                        role=Supporter
+                        message= _ "Um..... Father? Your wife just got 
killed..."
+                    [/message]
+                    [message]
+                        speaker=Father Marcus
+                        message= _ "Oh right. I CALL UPON THE LORDS OF LIGHT 
TO GRANT YOU LIFE!"
+                    [/message]
+                [/then]
+            [/if]
         [/case]
         [else]
             [message]
@@ -381,22 +395,29 @@
         variable=random
         [case]
             value=1
-            [message]
-                speaker=Father Marcus
-                message= _ "Theta, when this is all over, you should paint 
your face and join a theater."
-            [/message]
-            [message]
-                speaker=Sister Theta
-                message= _ "Hey, don't you always say that life is nothing but 
a drama?"
-            [/message]
-            [message]
-                speaker=Father Marcus
-                message= _ "Yes, it may be a drama, but that's no excuse for 
overacting!"
-            [/message]
-            [message]
-                speaker=Sister Theta
-                message= _ " *giggle* Who needs an excuse for overacting?"
-            [/message]
+            [if]
+                [have_unit]
+                    id=Father Marcus
+                [/have_unit]
+                [then]
+                    [message]
+                        speaker=Father Marcus
+                        message= _ "Theta, when this is all over, you should 
paint your face and join a theater."
+                    [/message]
+                    [message]
+                        speaker=Sister Theta
+                        message= _ "Hey, don't you always say that life is 
nothing but a drama?"
+                    [/message]
+                    [message]
+                        speaker=Father Marcus
+                        message= _ "Yes, it may be a drama, but that's no 
excuse for overacting!"
+                    [/message]
+                    [message]
+                        speaker=Sister Theta
+                        message= _ " *giggle* Who needs an excuse for 
overacting?"
+                    [/message]
+                [/then]
+            [/if]
         [/case]
         [case]
             value=2
@@ -404,18 +425,25 @@
                 speaker=Sister Theta
                 message= _ "Woha! That trick is a bit hard on the 
constitution."
             [/message]
-            [message]
-                speaker=Father Marcus
-                message= _ "Well, be grateful that you are alive."
-            [/message]
-            [message]
-                speaker=Sister Theta
-                message= _ " *giggle* Thank you honey."
-            [/message]
-            [message]
-                speaker=Father Marcus
-                message= _ "Thank the lords of light, not me!"
-            [/message]
+            [if]
+                [have_unit]
+                    id=Father Marcus
+                [/have_unit]
+                [then]
+                    [message]
+                        speaker=Father Marcus
+                        message= _ "Well, be grateful that you are alive."
+                    [/message]
+                    [message]
+                        speaker=Sister Theta
+                        message= _ " *giggle* Thank you honey."
+                    [/message]
+                    [message]
+                        speaker=Father Marcus
+                        message= _ "Thank the lords of light, not me!"
+                    [/message]
+                [/then]
+            [/if]
         [/case]
         [case]
             value=3
@@ -444,32 +472,46 @@
         [/case]
         [case]
             value=6
-            [message]
-                speaker=Father Marcus
-                message= _ "Theta, you should know by now that it is very 
unclerical to make such a spectacle of yourself."
-            [/message]
-            [message]
-                speaker=Sister Theta
-                message= _ "Come on, honey! Those were my dying words, after 
all!"
-            [/message]
-            [message]
-                speaker=Father Marcus
-                message= _ " *rolls eyes* Women!"
-            [/message]
+            [if]
+                [have_unit]
+                    id=Father Marcus
+                [/have_unit]
+                [then]
+                    [message]
+                        speaker=Father Marcus
+                        message= _ "Theta, you should know by now that it is 
very unclerical to make such a spectacle of yourself."
+                    [/message]
+                    [message]
+                        speaker=Sister Theta
+                        message= _ "Come on, honey! Those were my dying words, 
after all!"
+                    [/message]
+                    [message]
+                        speaker=Father Marcus
+                        message= _ " *rolls eyes* Women!"
+                    [/message]
+                [/then]
+            [/if]
         [/case]
         [else]
-            [message]
-                speaker=Sister Theta
-                message= _ "That's darned right!"
-            [/message]
-            [message]
-                speaker=Father Marcus
-                message= _ "Theta! Language like that coming from you! You 
should really stop hanging around the dwarves so much."
-            [/message]
-            [message]
-                speaker=Sister Theta
-                message= _ " *giggle* Sorry."
-            [/message]
+            [if]
+                [have_unit]
+                    id=Father Marcus
+                [/have_unit]
+                [then]
+                    [message]
+                        speaker=Sister Theta
+                        message= _ "That's darned right!"
+                    [/message]
+                    [message]
+                        speaker=Father Marcus
+                        message= _ "Theta! Language like that coming from you! 
You should really stop hanging around the dwarves so much."
+                    [/message]
+                    [message]
+                        speaker=Sister Theta
+                        message= _ " *giggle* Sorry."
+                    [/message]
+                [/then]
+            [/if]
         [/else]
     [/switch]
 
@@ -655,25 +697,39 @@
         [/case]
         [case]
             value=3
-            [message]
-                speaker=Sister Theta
-                message= _ "Marcus! You bad boy, always getting into trouble."
-            [/message]
-            [message]
-                speaker=Father Marcus
-                message= _ "Sorry, won't do it again. Promise!"
-            [/message]
+            [if]
+                [have_unit]
+                    id=Sister Theta
+                [/have_unit]
+                [then]
+                    [message]
+                        speaker=Sister Theta
+                        message= _ "Marcus! You bad boy, always getting into 
trouble."
+                    [/message]
+                    [message]
+                        speaker=Father Marcus
+                        message= _ "Sorry, won't do it again. Promise!"
+                    [/message]
+                [/then]
+            [/if]
         [/case]
         [case]
             value=4
-            [message]
-                speaker=Father Marcus
-                message= _ "I heard that, Theta."
-            [/message]
-            [message]
-                speaker=Sister Theta
-                message= _ "Hey, just trying to give him an incentive to drown 
himself."
-            [/message]
+            [if]
+                [have_unit]
+                    id=Sister Theta
+                [/have_unit]
+                [then]
+                    [message]
+                        speaker=Father Marcus
+                        message= _ "I heard that, Theta."
+                    [/message]
+                    [message]
+                        speaker=Sister Theta
+                        message= _ "Hey, just trying to give him an incentive 
to drown himself."
+                    [/message]
+                [/then]
+            [/if]
         [/case]
         [case]
             value=5
@@ -691,22 +747,29 @@
             [/message]
         [/case]
         [else]
-            [message]
-                speaker=Father Marcus
-                message= _ "Ahhh, Theta, you would make such a good housewife!"
-            [/message]
-            [message]
-                speaker=Sister Theta
-                message= _ "Yes, if you would ever buy me a house! *pouty 
face*"
-            [/message]
-            [message]
-                speaker=Father Marcus
-                message= _ "Geez Theta, don't you think that this isn't really 
a good time to talk about that?"
-            [/message]
-            [message]
-                speaker=Sister Theta
-                message= _ " *giggle* Sorry!"
-            [/message]
+            [if]
+                [have_unit]
+                    id=Sister Theta
+                [/have_unit]
+                [then]
+                    [message]
+                        speaker=Father Marcus
+                        message= _ "Ahhh, Theta, you would make such a good 
housewife!"
+                    [/message]
+                    [message]
+                        speaker=Sister Theta
+                        message= _ "Yes, if you would ever buy me a house! 
*pouty face*"
+                    [/message]
+                    [message]
+                        speaker=Father Marcus
+                        message= _ "Geez Theta, don't you think that this 
isn't really a good time to talk about that?"
+                    [/message]
+                    [message]
+                        speaker=Sister Theta
+                        message= _ " *giggle* Sorry!"
+                    [/message]
+                [/then]
+            [/if]
         [/else]
     [/switch]
 


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

Reply via email to