DM S09: Make secret passage bi-directional and open to all
Only after the player goes through it first.
This commit is contained in:
parent
e8e1692ea7
commit
04667ded05
1 changed files with 14 additions and 8 deletions
|
@ -36,14 +36,7 @@
|
|||
speaker=unit
|
||||
message=_"A secret passage... I wonder where it leads..."
|
||||
[/message]
|
||||
[/event]
|
||||
[event]
|
||||
name=moveto
|
||||
first_time_only=no
|
||||
[filter]
|
||||
x={X}
|
||||
y={Y}
|
||||
[/filter]
|
||||
# move the player automatically the first time they find the passage
|
||||
[teleport]
|
||||
[filter]
|
||||
x={X}
|
||||
|
@ -61,6 +54,19 @@
|
|||
x={TO_X}
|
||||
y={TO_Y}
|
||||
[/scroll_to_unit]
|
||||
# now make the secret passage for real
|
||||
[tunnel]
|
||||
[filter]
|
||||
[/filter]
|
||||
[source]
|
||||
x={X}
|
||||
y={Y}
|
||||
[/source]
|
||||
[target]
|
||||
x={TO_X}
|
||||
y={TO_Y}
|
||||
[/target]
|
||||
[/tunnel]
|
||||
[/event]
|
||||
#enddef
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue