From fa768d6b1301c8ed5806b36ea2671d8c672a572f Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 20 Mar 2018 08:56:38 -0300 Subject: Stop using getgmlevel() and use is_gm() is_admin() and is_staff(). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Our four power levels: getgmlevel() → Sponsors, etc. is_staff() → GM 5, Developers, test server, etc. is_gm() → GM 80, Game Master, controls the world is_admin() → GM 99, Administrator, controls the uniserver (pun intended) --- npc/003-1-3/thief.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/003-1-3') diff --git a/npc/003-1-3/thief.txt b/npc/003-1-3/thief.txt index 9e3fd46e0..bdcfc2253 100644 --- a/npc/003-1-3/thief.txt +++ b/npc/003-1-3/thief.txt @@ -2,7 +2,7 @@ // Author: // Jesusalva // Description: -// Temporary NPC to block path to Halinarzo, later a controlled warp +// Temporary NPC to block path to Halinarzo, later a controlled warp. May be removed soon. 003-1-3,45,35,0 script Thief#temp003 NPC_PLAYER,0,0,{ @@ -15,7 +15,7 @@ close; OnTouch: - if (getgmlevel()) goto L_Warp; // if (BaseLevel >= 15) and this NPC must be invisible + if (is_admin()) goto L_Warp; // if (BaseLevel >= 15) and this NPC must be invisible warp "003-1-3", 45, 36; percentheal -10,0; mesn; -- cgit v1.2.3-60-g2f50