summaryrefslogtreecommitdiff
path: root/npc/003-1/cyndala.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-03-20 08:56:38 -0300
committerJesusaves <cpntb1@ymail.com>2018-03-20 08:56:38 -0300
commitfa768d6b1301c8ed5806b36ea2671d8c672a572f (patch)
tree71489fd6cb8a7bc0ae8cd0f652231e103d70bb2f /npc/003-1/cyndala.txt
parent45d0d0bcc1104d56304d6df15a0904d93e60bcb6 (diff)
downloadserverdata-fa768d6b1301c8ed5806b36ea2671d8c672a572f.tar.gz
serverdata-fa768d6b1301c8ed5806b36ea2671d8c672a572f.tar.bz2
serverdata-fa768d6b1301c8ed5806b36ea2671d8c672a572f.tar.xz
serverdata-fa768d6b1301c8ed5806b36ea2671d8c672a572f.zip
Stop using getgmlevel() and use is_gm() is_admin() and is_staff().
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)
Diffstat (limited to 'npc/003-1/cyndala.txt')
-rw-r--r--npc/003-1/cyndala.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/npc/003-1/cyndala.txt b/npc/003-1/cyndala.txt
index a4dc4c92d..7bb026b5e 100644
--- a/npc/003-1/cyndala.txt
+++ b/npc/003-1/cyndala.txt
@@ -3,7 +3,7 @@
// Saulc
// Jesusalva
// Description:
-// Will be with dye functions for a while...
+// Will be with dye functions for a while... May be wrong. Only Card2 is available
// Original code from evol
// Authors:
@@ -94,7 +94,7 @@
l("Excuse me."),
l("Could you bleach my clothes?"),
l("What can you say about dyes?"),
- rif(getgmlevel(), l("Technical problem, gimme info about an item."));
+ rif(is_staff(), l("Technical problem, gimme info about an item."));
switch (@menu)
{
@@ -119,6 +119,7 @@
{
mes sprintf("%d: Option: %d, Value: %d", .@i, getitemoptionidbyindex(.@item, .@i), getitemoptionvaluebyindex(.@item, .@i));
}
+ mes "Note named items (Card1 254 and 255) have Card3 and Card4 reserved";
break;
default:
speech S_FIRST_BLANK_LINE | S_LAST_NEXT, l("I wish you a good time in town.");