From 663b284860416b72c8dcee5604aab281855e4675 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 10 Mar 2021 19:35:52 -0300 Subject: Pentagram code for Fires of Steam event --- npc/029-0/warps.txt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'npc/029-0') 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; -- cgit v1.2.3-60-g2f50