diff options
author | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-03-31 18:57:22 +0000 |
---|---|---|
committer | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-03-31 18:57:22 +0000 |
commit | 6f88f2409f1853ae205573257865462540f935fc (patch) | |
tree | 30598fa37157d159bce0f8712a8b2b38047e2eab /doc/sample/gstorage_test.txt | |
parent | d35717644b58c55b50098b3b0a08cf8002d39cca (diff) | |
download | hercules-6f88f2409f1853ae205573257865462540f935fc.tar.gz hercules-6f88f2409f1853ae205573257865462540f935fc.tar.bz2 hercules-6f88f2409f1853ae205573257865462540f935fc.tar.xz hercules-6f88f2409f1853ae205573257865462540f935fc.zip |
Moved /npc/sample/ to /doc/sample. These are examples, not actual npcs.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14277 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc/sample/gstorage_test.txt')
-rw-r--r-- | doc/sample/gstorage_test.txt | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/doc/sample/gstorage_test.txt b/doc/sample/gstorage_test.txt new file mode 100644 index 000000000..6c97fa2bc --- /dev/null +++ b/doc/sample/gstorage_test.txt @@ -0,0 +1,70 @@ +/* Guild Warehouse Service Test-Script +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(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,165,188,4 script ギルド倉庫カプラ 112,{ + cutin "kafra_06",2; + + mes"[ギルド倉庫カプラ]"; + mes "カプラギルド倉庫サービスです。"; + mes "毎度ご利用ありがとうございます♪"; + mes "テスト用なので金は貰いません。"; + next; + menu "ギルド倉庫を利用する",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 "ギルドメンバーが倉庫を使用中です。"; + mes "しばらく待ってから利用してください。"; + goto GS_EXIT4; + +GS_EXIT2: + mes "ギルドに所属してない方は利用することができません。"; + goto GS_EXIT4; + +GS_EXIT3: + mes "またのご利用をお待ちしています♪"; + +GS_EXIT4: + cutin "kafra_06",255; + close; +}
\ No newline at end of file |