diff options
author | killercube <killercube@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-20 03:24:38 +0000 |
---|---|---|
committer | killercube <killercube@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-20 03:24:38 +0000 |
commit | c9c66502e813bcbcc40f4933d68577e4788c2193 (patch) | |
tree | 30e9dc8daaff3b03cb23d0fb5169abd857f9f389 /npc/sample | |
parent | 1dfd1a61d98470ec7238143a76620a891836f45a (diff) | |
download | hercules-c9c66502e813bcbcc40f4933d68577e4788c2193.tar.gz hercules-c9c66502e813bcbcc40f4933d68577e4788c2193.tar.bz2 hercules-c9c66502e813bcbcc40f4933d68577e4788c2193.tar.xz hercules-c9c66502e813bcbcc40f4933d68577e4788c2193.zip |
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6663 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/sample')
-rw-r--r-- | npc/sample/gstorage_test.txt | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/npc/sample/gstorage_test.txt b/npc/sample/gstorage_test.txt index aa6749ec0..88ab05b96 100644 --- a/npc/sample/gstorage_test.txt +++ b/npc/sample/gstorage_test.txt @@ -1,3 +1,40 @@ +/* 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;
+}
+*/
+
// カプラギルド倉庫サービス テストスクリプト
prontera.gat,165,188,4 script ギルド倉庫カプラ 112,{
cutin "kafra_06",2;
|