diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-03-10 19:35:52 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-03-10 19:35:52 -0300 |
commit | 663b284860416b72c8dcee5604aab281855e4675 (patch) | |
tree | dbeafa9c76b5c8134cf21fb79254adfd80555136 /npc/029-0/warps.txt | |
parent | 47a9e160fdfb0664f3217a0d8a2bbfd1357eb6f0 (diff) | |
download | serverdata-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.txt | 10 |
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; |