TSG: in Choice in the Fog, Urza Afalas' sighted event is fired...

...also when the Lich is seen. Fixes bug #19758
This commit is contained in:
Elvish_Hunter 2012-05-31 08:26:51 +00:00
parent acc70d760f
commit d944bacfc6
3 changed files with 118 additions and 0 deletions

View file

@ -54,6 +54,8 @@ Version 1.11.0-svn:
* The Hammer of Thursagan:
* Fixed bug #19743: in Mages and Drakes, Perrin has two different messages about
apprentices, depending on the difficult level
* The South Guard:
* Fixed bug #19758: Urza Afalas' sighted event is fired also when the Lich is seen
* Tutorial:
* Applied patch #3203: Allow to end the scenario via the right-click menu.
* Fixed bug #19316: Narrator messages are now translated.

View file

@ -353,7 +353,96 @@
[/if]
[/event]
# the adventurers see the Lich, or the Lich moves in their vision area
[event]
name=sighted
[filter]
id="Mal M'Brin"
[/filter]
[filter_second]
side=1
[/filter_second]
[scroll_to]
x,y=$x1,$y1
[/scroll_to]
[delay]
time=500
[/delay]
[message]
speaker=second_unit
message= _ "We found the lich!"
[/message]
[fire_event]
name=sighted
[primary_unit]
id=Urza Afalas
[/primary_unit]
[secondary_unit]
id=$second_unit.id
[/secondary_unit]
[/fire_event]
[/event]
[event]
name=moveto
[filter]
id="Mal M'Brin"
[filter_vision]
side=1
[/filter_vision]
[/filter]
[scroll_to]
x,y=$x1,$y1
[/scroll_to]
[delay]
time=500
[/delay]
[message]
speaker=Deoran
message= _ "We found the lich!"
[/message]
[fire_event]
name=sighted
[primary_unit]
id=Urza Afalas
[/primary_unit]
[secondary_unit]
id=Deoran
[/secondary_unit]
[/fire_event]
[/event]
# The adventurers locate the bandits: a choice must be made
[event]
name=moveto
[filter]
id=Urza Afalas
[filter_vision]
side=1
[/filter_vision]
[/filter]
[fire_event]
name=sighted
[primary_unit]
id=Urza Afalas
[/primary_unit]
[secondary_unit]
id=Deoran
[/secondary_unit]
[/fire_event]
[/event]
[event]
name=sighted
@ -369,6 +458,23 @@
message= _ "I think I see something moving in the fog... it looks like an encampment!"
[/message]
[remove_shroud]
[filter_side]
side=1
[/filter_side]
x,y=$x1,$y1
radius=1
[/remove_shroud]
[lift_fog]
[filter_side]
side=1
[/filter_side]
x,y=$x1,$y1
radius=1
multiturn=yes #to allow resetting the fog at the end of this event
[/lift_fog]
[redraw]
side=1
[/redraw]
@ -644,6 +750,14 @@
[/command]
[/option]
[/message]
[reset_fog]
[filter_side]
side=1
[/filter_side]
x,y=$x1,$y1
radius=1
[/reset_fog]
[/event]
# Urza Afalas is killed

View file

@ -36,6 +36,8 @@ Version 1.11.0-svn:
in Silent Forest
* Silent Forest: the messages that appear upon killing the first Elf can be
translated differently depending on the Elf's gender
* The South Guard:
* Fixed bug #19758: Urza Afalas' sighted event is fired also when the Lich is seen
* Tutorial:
* Applied patch #3203: Allow to end the scenario via the right-click menu.
* Fixed bug #19316: Narrator messages are now translated.