summaryrefslogblamecommitdiff
path: root/npc/sample/gstorage_test.txt
blob: 98761ea35bc02c671f2eb71020b5aa1631ebb5e0 (plain) (tree)





































































                                                                    
/* Guild Warehouse Service Test-Script 
prontera.gat,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(0);
	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;
}
*/

// �J�v���M���h�q�ɃT�[�r�X	�e�X�g�X�N���v�g
prontera.gat,165,188,4	script	�M���h�q�ɃJ�v��	112,{
	cutin "kafra_06",2;

	mes"[�M���h�q�ɃJ�v��]";
	mes "�J�v���M���h�q�ɃT�[�r�X�ł��B";
	mes "���x�����p���肪�Ƃ��������܂���";
	mes "�e�X�g�p�Ȃ̂ŋ��͖Ⴂ�܂���B";
	next;
	menu "�M���h�q�ɂ𗘗p����",GS_OPEN,"����ς�߂�",GS_EXIT3;

GS_OPEN:
	set @flag,guildopenstorage(0);
	if(@flag == 1) goto GS_EXIT1;
	if(@flag == 2) goto GS_EXIT2;
	goto GS_EXIT4;

GS_EXIT1:
	mes "�M���h�����o�[���q�ɂ��g�p���ł��B";
	mes "���΂炭�҂��Ă��痘�p���Ă��������B";
	goto GS_EXIT4;

GS_EXIT2:
	mes "�M���h�ɏ������ĂȂ����͗��p���邱�Ƃ��ł��܂���B";
	goto GS_EXIT4;

GS_EXIT3:
	mes "�܂��̂����p�����҂����Ă��܂���";

GS_EXIT4:
	cutin "kafra_06",255;
	close;
}