From b48091cf9413f0ce915d4b03cefb492db318f1f7 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 28 Jul 2018 15:04:22 -0300 Subject: Missing safety check --- npc/items/teleporter.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'npc/items') diff --git a/npc/items/teleporter.txt b/npc/items/teleporter.txt index 27453b248..64adb4120 100644 --- a/npc/items/teleporter.txt +++ b/npc/items/teleporter.txt @@ -21,6 +21,10 @@ OnUse: dispbottom l("You are hurt, and cannot use this."); end; } + if (BaseLevel < 20) { + dispbottom l("This is too powerful to you. Get level 20 before attempting to use."); + end; + } mesn; mesc l("Ozthokk, a great sage from the Land Of Fire, holds secrets of time and space travel."); -- cgit v1.2.3-60-g2f50