diff options
author | brianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-25 06:54:26 +0000 |
---|---|---|
committer | brianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-25 06:54:26 +0000 |
commit | 1d8592b23ce221f543fb9978c88620f70280c885 (patch) | |
tree | 66b363ecaa0da42195d2c9d1b8e5cd6fe8cc33a2 /npc/custom/events/p_track/p_track_warpers.txt | |
parent | 0f82fd5bc403400dc9464a8f02298416b99b0bbc (diff) | |
download | hercules-1d8592b23ce221f543fb9978c88620f70280c885.tar.gz hercules-1d8592b23ce221f543fb9978c88620f70280c885.tar.bz2 hercules-1d8592b23ce221f543fb9978c88620f70280c885.tar.xz hercules-1d8592b23ce221f543fb9978c88620f70280c885.zip |
- Standardized script headers, starting with /npc/custom/
http://rathena.org/wiki/Script_header
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15262 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/custom/events/p_track/p_track_warpers.txt')
-rw-r--r-- | npc/custom/events/p_track/p_track_warpers.txt | 93 |
1 files changed, 46 insertions, 47 deletions
diff --git a/npc/custom/events/p_track/p_track_warpers.txt b/npc/custom/events/p_track/p_track_warpers.txt index 83cbfc938..e3942cbe6 100644 --- a/npc/custom/events/p_track/p_track_warpers.txt +++ b/npc/custom/events/p_track/p_track_warpers.txt @@ -3,71 +3,70 @@ //===== By: ================================================== //= erKURITA //===== Current Version: ===================================== -//= 0.0000000000000002 +//= 1.2 //===== Compatible With: ===================================== -//= rAthena 1.0 +//= rAthena SVN //===== Description: ========================================= //= NPC's for the City of Hugel. //===== Additional Comments: ================================= -//= 0.0000000000000002 Removed Duplicates [Silent] +//= 1.2 Removed Duplicates [Silent] //============================================================ -//| Warp-in npcs + +// Warp-in npcs hugel,58,72,5 script Yan#track1 86,{ -//callfunc "P_TrackEnt",npcname,map name; -callfunc "P_TrackEnt","[Yan]","p_track01"; -end; + //callfunc "P_TrackEnt",npcname,map name; + callfunc "P_TrackEnt","[Yan]","p_track01"; + end; } hugel,62,68,1 script Yalmire#track1 86,{ -//callfunc "P_TrackEnt",npcname,map name; -callfunc "P_TrackEnt","[Yalmire]","p_track02"; -end; + //callfunc "P_TrackEnt",npcname,map name; + callfunc "P_TrackEnt","[Yalmire]","p_track02"; + end; } -//| Warp-out npcs - +// Warp-out npcs p_track01,76,36,2 script Yan#track2 86,{ -end; + end; } p_track02,76,36,2 script Yalmire#track2 86,{ -end; + end; } function script P_TrackEnt { - -mes getarg(0); -mes "Hi "+strcharinfo(0)+", Welcome to the Poring Track!"; -menu "Information",-,"I want to try it",L_Try,"Not today thanks",L_End; - next; - mes getarg(0); - mes "Bla blah, so fun"; - close; - L_Try: - next; - mes getarg(0); - mes "Ok, the entrance fee is 500z, would you like to go in?"; - menu "Yes Please",-,"No Thanks",L_End2; - if (Zeny < 500) { - next; - mes getarg(0); - mes "Sorry but you ain't got 500z, you can't enter"; - close; - } else - next; - mes getarg(0); - mes "Here we go!"; - close2; - set Zeny,Zeny-500; - warp getarg(1),75,41; - end; - L_End2: - next; - mes getarg(0); - mes "Oh well, you miss it"; - close; - L_End: + mes getarg(0); + mes "Hi "+strcharinfo(0)+", Welcome to the Poring Track!"; + menu "Information",-,"I want to try it",L_Try,"Not today thanks",L_End; + next; + mes getarg(0); + mes "Bla blah, so fun"; + close; +L_Try: + next; + mes getarg(0); + mes "Ok, the entrance fee is 500z, would you like to go in?"; + menu "Yes Please",-,"No Thanks",L_End2; + if (Zeny < 500) { next; mes getarg(0); - mes "Ok, see you later!"; + mes "Sorry but you ain't got 500z, you can't enter"; close; + } else + next; + mes getarg(0); + mes "Here we go!"; + close2; + set Zeny,Zeny-500; + warp getarg(1),75,41; + end; +L_End2: + next; + mes getarg(0); + mes "Oh well, you miss it"; + close; +L_End: + next; + mes getarg(0); + mes "Ok, see you later!"; + close; } |