summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-03-11 02:09:50 -0300
committerJesusaves <cpntb1@ymail.com>2021-03-11 02:09:50 -0300
commit164678da4ce1d78eb563aaf6817e094632c59150 (patch)
tree26e09ba79e551e9a5a832e77cfa9821427149159
parentca3356ed8ed98515c15554cc8352c72ec6d5de09 (diff)
downloadserverdata-164678da4ce1d78eb563aaf6817e094632c59150.tar.gz
serverdata-164678da4ce1d78eb563aaf6817e094632c59150.tar.bz2
serverdata-164678da4ce1d78eb563aaf6817e094632c59150.tar.xz
serverdata-164678da4ce1d78eb563aaf6817e094632c59150.zip
Allow Guild Storage to be used as well
-rw-r--r--npc/029-0/elora.txt2
-rw-r--r--npc/guilds/storage.txt2
2 files changed, 3 insertions, 1 deletions
diff --git a/npc/029-0/elora.txt b/npc/029-0/elora.txt
index 0a1ff54f7..3be00ee53 100644
--- a/npc/029-0/elora.txt
+++ b/npc/029-0/elora.txt
@@ -64,8 +64,8 @@ OnInit:
029-0,132,51,0 duplicate(Cynric) Cynric#FoS NPC_LLOYD
029-0,57,55,0 duplicate(Mercenary Trainer) Mercenary Trainer#FoS NPC_REDY_MALE_SWORD
029-0,123,84,0 duplicate(Estard) Estard#FoS NPC_KENTON
+029-0,143,120,0 duplicate(Guild Storage) Guild Storekeeper#FoS NPC_TERRY
029-0,58,118,0 duplicate(Neko) Neko#FoS1 NPC_KAYLO
-// TODO: Custom shop for ores and blueprints, and mobpt
// TODO: Magic School NPCs
// 029-1
diff --git a/npc/guilds/storage.txt b/npc/guilds/storage.txt
index d608d1e90..2f8db6d22 100644
--- a/npc/guilds/storage.txt
+++ b/npc/guilds/storage.txt
@@ -6,6 +6,8 @@
guilds,33,28,0 script Guild Storage NPC_NO_SPRITE,{
.@gid=getcharid(2);
+ if (.@gid < 1)
+ end;
if (getguildlvl(.@gid) < 2)
{
npctalkonce l("Your guild need to have at least level 2 to use storage feature.");