summaryrefslogtreecommitdiff
path: root/npc/guilds/storage.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-14 14:10:28 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-14 14:10:28 -0300
commit8990e4fae71b152ff78308f83b43c9a2083419d2 (patch)
tree12c4066fbabf19ad63781748028ebc143ec5f700 /npc/guilds/storage.txt
parent2c090b90f74d4b1cfc5d43cb9556f99d5bb86d0a (diff)
downloadserverdata-8990e4fae71b152ff78308f83b43c9a2083419d2.tar.gz
serverdata-8990e4fae71b152ff78308f83b43c9a2083419d2.tar.bz2
serverdata-8990e4fae71b152ff78308f83b43c9a2083419d2.tar.xz
serverdata-8990e4fae71b152ff78308f83b43c9a2083419d2.zip
Add all (or most of) Guild Utils, except for guild average player level.
More feature is required, and recipes list are still ToDo. Guild Hall cannot be accessed (yet).
Diffstat (limited to 'npc/guilds/storage.txt')
-rw-r--r--npc/guilds/storage.txt26
1 files changed, 26 insertions, 0 deletions
diff --git a/npc/guilds/storage.txt b/npc/guilds/storage.txt
new file mode 100644
index 000000000..97218fbb1
--- /dev/null
+++ b/npc/guilds/storage.txt
@@ -0,0 +1,26 @@
+// Moubootaur Legends Script
+// Author:
+// Jesusalva
+// Description:
+// Guild Facility - Guild Storage
+
+guilds,33,28,0 script Guild Storage NPC_NO_SPRITE,{
+ .@gid=getcharid(2);
+ if (getguildlvl(.@gid) < 2)
+ {
+ npctalkonce l("Your guild need to have at least level 2 to use storage feature.");
+ }
+ else
+ {
+ if (guildopenstorage())
+ {
+ npctalkonce l("Someone else is using the guild storage right now. Please wait.");
+ }
+ }
+ end;
+
+OnInit:
+ .distance=2;
+ end;
+}
+