summaryrefslogtreecommitdiff
path: root/npc/029-0/warps.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-03-10 19:35:52 -0300
committerJesusaves <cpntb1@ymail.com>2021-03-10 19:35:52 -0300
commit663b284860416b72c8dcee5604aab281855e4675 (patch)
treedbeafa9c76b5c8134cf21fb79254adfd80555136 /npc/029-0/warps.txt
parent47a9e160fdfb0664f3217a0d8a2bbfd1357eb6f0 (diff)
downloadserverdata-663b284860416b72c8dcee5604aab281855e4675.tar.gz
serverdata-663b284860416b72c8dcee5604aab281855e4675.tar.bz2
serverdata-663b284860416b72c8dcee5604aab281855e4675.tar.xz
serverdata-663b284860416b72c8dcee5604aab281855e4675.zip
Pentagram code for Fires of Steam event
Diffstat (limited to 'npc/029-0/warps.txt')
-rw-r--r--npc/029-0/warps.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/npc/029-0/warps.txt b/npc/029-0/warps.txt
index 714560b98..ac16f880d 100644
--- a/npc/029-0/warps.txt
+++ b/npc/029-0/warps.txt
@@ -27,7 +27,15 @@ function script FiresOfSteam_Warp {
end;
OnTouch:
if (FiresOfSteam_Warp(2)) goto L_Warp;
- // Additional conditions here (TODO)
+ // Additional conditions here
+ if ($FIRESOFSTEAM[1] > 0 ||
+ $FIRESOFSTEAM[2] > 0 ||
+ $FIRESOFSTEAM[3] > 0 ||
+ $FIRESOFSTEAM[4] > 0 ||
+ $FIRESOFSTEAM[5] > 0) {
+ dispbottom l("A magic barrier prevents you from enterering. Maybe it is a good idea to shut down the pentagrams first?");
+ end;
+ }
// Fallthrough
L_Warp:
warp "029-2", 35, 70;