
* Updated item_db and some related functions. * Updated item_trade table. * Fixed two item scripts with bMagicAtkEle. (bugreport:7385) * Fixed minor issue in guild storage sample script. (bugreport:7406) git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17209 54d463be-8e91-2dee-dedb-b68131a5f0ec
44 lines
1.2 KiB
Plaintext
44 lines
1.2 KiB
Plaintext
//===== rAthena Script =======================================
|
|
//= Sample: Guild Storage Test
|
|
//===== By: ==================================================
|
|
//= rAthena Dev Team
|
|
//===== Current Version: =====================================
|
|
//= 20130325
|
|
//===== Description: =========================================
|
|
//= Contains commands needed for a guild warehouse NPC.
|
|
//============================================================
|
|
|
|
prontera,165,188,4 script Guild Warehouse 112,{
|
|
cutin "kafra_06",2;
|
|
|
|
mes "[Guild Warehouse Coupler]";
|
|
mes "This is the guild warehouse coupler service.";
|
|
mes "You will not receive zeny for this is a test.";
|
|
next;
|
|
menu "Access Guild Warehouse", GS_OPEN, "Exit", GS_EXIT3;
|
|
|
|
GS_OPEN:
|
|
set @flag,guildopenstorage();
|
|
if(@flag == 1) goto GS_EXIT1;
|
|
if(@flag == 2) goto GS_EXIT2;
|
|
goto GS_EXIT4;
|
|
|
|
GS_EXIT1:
|
|
mes "[Guild Warehouse]";
|
|
mes "The guild warehouse is being used right now.";
|
|
mes "Please wait a while, then come back.";
|
|
goto GS_EXIT4;
|
|
|
|
GS_EXIT2:
|
|
mes "[Guild Warehouse]";
|
|
mes "You can't use this service if you're not in a guild!";
|
|
goto GS_EXIT4;
|
|
|
|
GS_EXIT3:
|
|
mes "[Guild Warehouser]";
|
|
mes "Come back whenever you want.";
|
|
|
|
GS_EXIT4:
|
|
cutin "kafra_06",255;
|
|
close;
|
|
} |