DM S09: Make secret passage bi-directional and open to all

Only after the player goes through it first.
This commit is contained in:
sigurdfdragon 2017-10-11 14:53:15 -04:00 committed by Jeffrey 'Sigurd' Westcoat
parent e8e1692ea7
commit 04667ded05

View file

@ -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