Tweaked the exit events.
This commit is contained in:
parent
ed43da24f3
commit
a80fb5618c
1 changed files with 27 additions and 44 deletions
|
@ -1190,49 +1190,34 @@
|
|||
name=moveto
|
||||
|
||||
[filter]
|
||||
role=escapee
|
||||
|
||||
[filter_location]
|
||||
x,y=40,15
|
||||
radius="$($this_unit.max_moves + 1)"
|
||||
|
||||
[filter_radius]
|
||||
terrain=!,X*
|
||||
[/filter_radius]
|
||||
[/filter_location]
|
||||
side=1
|
||||
x=1
|
||||
y=19-24
|
||||
[filter_wml]
|
||||
[variables]
|
||||
undercover=yes
|
||||
[/variables]
|
||||
[/filter_wml]
|
||||
[/filter]
|
||||
|
||||
[if]
|
||||
[have_unit]
|
||||
role=escapee
|
||||
count=2-3
|
||||
[/have_unit]
|
||||
[message]
|
||||
speaker=unit
|
||||
message= _ "Phew! I made it."
|
||||
[/message]
|
||||
|
||||
[then]
|
||||
[message]
|
||||
speaker=unit
|
||||
message= _ "I see the exit to the tunnel! Onward!"
|
||||
[/message]
|
||||
[message]
|
||||
role=escapee
|
||||
[not]
|
||||
x,y=$x1,$y1
|
||||
[/not]
|
||||
message= _ "Wait! We cannot go out that way. There are too many orcs. We must exit through the south-west gates."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=unit
|
||||
message= _ "Very well. We must go the other way."
|
||||
[/message]
|
||||
[/then]
|
||||
[message]
|
||||
side=1
|
||||
[not]
|
||||
x,y=$x1,$y1
|
||||
[/not]
|
||||
message= _ "Where are you going?! Come back!"
|
||||
[/message]
|
||||
|
||||
[else]
|
||||
[message]
|
||||
speaker=unit
|
||||
message= _ "Wait! We cannot go out that way. There are too many orcs. We must exit through the south-west gates."
|
||||
[/message]
|
||||
[/else]
|
||||
[/if]
|
||||
{FOREIGN_DEFEAT}
|
||||
|
||||
[endlevel]
|
||||
result=defeat
|
||||
[/endlevel]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
|
@ -1240,25 +1225,23 @@
|
|||
[filter]
|
||||
id=Gweddry
|
||||
x=1
|
||||
y=18-25
|
||||
y=19-24
|
||||
[/filter]
|
||||
[message]
|
||||
speaker=Gweddry
|
||||
message= _ "Good! We have escaped these accursed caves!"
|
||||
[/message]
|
||||
|
||||
|
||||
|
||||
[endlevel]
|
||||
result=victory
|
||||
bonus=yes
|
||||
{NEW_GOLD_CARRYOVER 100}
|
||||
[/endlevel]
|
||||
[/event]
|
||||
|
||||
|
||||
[event]
|
||||
name=victory
|
||||
|
||||
|
||||
{MODIFY_UNIT (
|
||||
side=1
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue