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/scripts.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/scripts.conf') diff --git a/npc/scripts.conf b/npc/scripts.conf index ee908344b..ff49c4080 100644 --- a/npc/scripts.conf +++ b/npc/scripts.conf @@ -2,6 +2,8 @@ // Critical functions "npc/functions/permissions.txt", +"npc/functions/main.txt", +"npc/functions/util.txt", // General-purpose Framework functions "npc/functions/array.txt", @@ -13,7 +15,6 @@ "npc/functions/math.txt", // Misc functions -"npc/functions/main.txt", "npc/functions/asleep.txt", "npc/functions/barber.txt", "npc/functions/bank.txt", @@ -45,7 +46,6 @@ "npc/functions/news.txt", "npc/functions/riddle.txt", "npc/functions/confused-tree-dict.txt", -"npc/functions/util.txt", "npc/functions/soul_menhir.txt", // quest debug -- cgit v1.2.3-70-g09d2