Fix bug #6798. If you defeat Li'sar, she emits annoyed dialog and goes

away.  The end-of scenario dialog is conditioned appropriately.
This commit is contained in:
Eric S. Raymond 2007-07-20 14:52:21 +00:00
parent 1d30b62010
commit 7a5784e558

View File

@ -53,7 +53,7 @@
[side]
type=Princess
description=Li'sar
description="Li'sar"
user_description= _ "Li'sar"
side=2
canrecruit=1
@ -243,7 +243,7 @@
message= _ "Winter quickly bears down upon us. We have only a few days to make the crossing, and the nearest bridge is far upstream. To be trapped south of the river when winter arrives would be suicide. Asheviere would have us trapped like rats! Look to the west! Asheviere has a border fort, and it seems to be full of soldiers! We must cross here, and quickly!"
[/message]
[message]
description=Li'sar
description="Li'sar"
message= _ "There they are! So it is true, they foiled the undead. Now they are trying to leave Wesnoth. We can't let them cross the river. After them, men!"
[/message]
@ -265,6 +265,10 @@
[/message]
[/else]
[/if]
[set_variable]
name=lisar_still_here
value=1
[/set_variable]
[/event]
#if the players marches over to lisar, reinforcements appear
@ -326,6 +330,22 @@
{FORD_GUARD 5 27}
[/event]
# Defeating Li'sar just sends her away
[event]
name=die
[filter]
description=Li'sar
[/filter]
[message]
description=Li'sar
message= _ "You drive me from the field, but you have not vanquished me, impostor!"
[/message]
[set_variable]
name=lisar_still_here
value=0
[/set_variable]
[/event]
[event]
name=turn 5
@ -383,20 +403,28 @@
message= _ "If we are to have any hope of penetrating into Knalga, we must continue north to seek help from the Dwarves of the Deep Mountains in the north."
[/message]
[message]
description=Li'sar
message= _ "I cannot believe it. They have made it away! We must make chase. After them, men! Let us cross the river too! We will meet again, foul impostor."
[/message]
[if]
[variable]
name=lisar_still_here
numerical_equals=1
[/variable]
[then]
[message]
description="Li'sar"
message= _ "I cannot believe it. They have made it away! We must make chase. After them, men! Let us cross the river too! We will meet again, foul impostor."
[/message]
[message]
description=Konrad
message= _ "Do you think she's really going to chase us, Delfador?"
[/message]
[message]
description=Konrad
message= _ "Do you think she's really going to chase us, Delfador?"
[/message]
[message]
description=Delfador
message= _ "It surely looks like she will try. But many more creatures than we have fought lurk in this river; that will make it difficult for her. We must continue onward. If she makes it across before winter, then so be it!"
[/message]
[message]
description=Delfador
message= _ "It surely looks like she will try. But many more creatures than we have fought lurk in this river; that will make it difficult for her. We must continue onward. If she makes it across before winter, then so be it!"
[/message]
[/then]
[/if]
[endlevel]
result=victory