From 164678da4ce1d78eb563aaf6817e094632c59150 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 11 Mar 2021 02:09:50 -0300 Subject: Allow Guild Storage to be used as well --- npc/029-0/elora.txt | 2 +- npc/guilds/storage.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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."); -- cgit v1.2.3-60-g2f50