summaryrefslogtreecommitdiff
path: root/npc/guilds/storage.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-15 09:29:31 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-15 09:29:31 -0300
commit0ef89a7106f81e02426f2fb3d6499176098085df (patch)
tree29ab27c0da489c92322af7e0cace8e902051975a /npc/guilds/storage.txt
parent6e9a11a712f320762f4eaeb206bf6aec03b64be7 (diff)
downloadserverdata-0ef89a7106f81e02426f2fb3d6499176098085df.tar.gz
serverdata-0ef89a7106f81e02426f2fb3d6499176098085df.tar.bz2
serverdata-0ef89a7106f81e02426f2fb3d6499176098085df.tar.xz
serverdata-0ef89a7106f81e02426f2fb3d6499176098085df.zip
Introduce the "Normal Member" and the "Treasurer" guild roles.
Only Normal Member and above can use the Guild Storage.
Diffstat (limited to 'npc/guilds/storage.txt')
-rw-r--r--npc/guilds/storage.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/npc/guilds/storage.txt b/npc/guilds/storage.txt
index 97218fbb1..316071d9f 100644
--- a/npc/guilds/storage.txt
+++ b/npc/guilds/storage.txt
@@ -12,6 +12,11 @@ guilds,33,28,0 script Guild Storage NPC_NO_SPRITE,{
}
else
{
+ if (getguildrole(.@gid, getcharid(3)) > GPOS_5)
+ {
+ dispbottom l("Your position must be the one of a regular member or above.");
+ end;
+ }
if (guildopenstorage())
{
npctalkonce l("Someone else is using the guild storage right now. Please wait.");