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 | |
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')
-rw-r--r-- | npc/custom/events/2006_dogs_year.txt | 9 | ||||
-rw-r--r-- | npc/custom/events/draculax.txt | 5 | ||||
-rw-r--r-- | npc/custom/events/hallow06.txt | 5 | ||||
-rw-r--r-- | npc/custom/events/hyegun_event.txt | 24 | ||||
-rw-r--r-- | npc/custom/events/kings_items.txt | 2 | ||||
-rw-r--r-- | npc/custom/events/p_track/p_track_core.txt | 9 | ||||
-rw-r--r-- | npc/custom/events/p_track/p_track_warpers.txt | 93 | ||||
-rw-r--r-- | npc/custom/events/uneasy_cemetery.txt | 5 | ||||
-rw-r--r-- | npc/custom/events/valentinesdayexp.txt | 3 | ||||
-rw-r--r-- | npc/custom/events/xmas_rings_event.txt | 3 |
10 files changed, 76 insertions, 82 deletions
diff --git a/npc/custom/events/2006_dogs_year.txt b/npc/custom/events/2006_dogs_year.txt index d9df6e373..494fbb3bc 100644 --- a/npc/custom/events/2006_dogs_year.txt +++ b/npc/custom/events/2006_dogs_year.txt @@ -5,18 +5,17 @@ //===== Current Version: ===================================== //= 1.1 //===== Compatible With: ===================================== -//= rAthena Version; 5xxx+ (with 'disguise' command) +//= rAthena SVN; 5000+ (with 'disguise' command) //===== Description: ========================================= //= Custom event: For 28-29 January //===== Additional Comments: ================================= //= 1.0 Tested, fully working.[Lupus] -//= Add some national info in English if you can. -//= (Mine was in Russian, and it's damn hard to translate 8) +//= Add some national info in English if you can. +//= (Mine was in Russian, and it's damn hard to translate 8) //= 1.1 Commented out monster spawn as it is a custom mob and [L0ne_W0lf] -// not in the mob database. +//= not in the mob database. //============================================================ - prontera,149,167,6 script Maria 81,{ mes "[Maria]"; //month diff --git a/npc/custom/events/draculax.txt b/npc/custom/events/draculax.txt index 1abd4e21d..13eb8fc8f 100644 --- a/npc/custom/events/draculax.txt +++ b/npc/custom/events/draculax.txt @@ -1,16 +1,15 @@ //===== rAthena Script ======================================= -//= Dracula X Script +//= Dracula X //===== By: ================================================== //= valaris (1.0) //===== Current Version: ===================================== //= 1.0a //===== Compatible With: ===================================== -//= rAthena RC4+ +//= rAthena SVN //===== Description: ========================================= //= Custom Dracula X Event //============================================================ - mag_dun02,72,182,1 script Dracula's Coffin::Dracula_Init -1,{ OnInit: diff --git a/npc/custom/events/hallow06.txt b/npc/custom/events/hallow06.txt index 9485abdc6..57c4ebdf6 100644 --- a/npc/custom/events/hallow06.txt +++ b/npc/custom/events/hallow06.txt @@ -5,15 +5,14 @@ //===== Current Version: ===================================== //= 1.2 //===== Compatible With: ===================================== -//= Latest Svn +//= rAthena SVN //===== Description: ========================================= //= Halloween Event Script //===== Additional Comments: ================================= -//= Version 1.1 - Added trick to script +//= 1.1 - Added trick to script //= 1.2 fixed bugs, optimized. Now uses 1 var instead of 3 [Lupus] //============================================================ - prontera,151,190,5 script Hallows' Eve Event 807,{ mes "[Hallows' Eve Event]"; if(Class == Job_Novice){ diff --git a/npc/custom/events/hyegun_event.txt b/npc/custom/events/hyegun_event.txt index 2a96dc57f..084df8eca 100644 --- a/npc/custom/events/hyegun_event.txt +++ b/npc/custom/events/hyegun_event.txt @@ -5,7 +5,7 @@ //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== -//= Any Athena Version I think +//= rAthena SVN //===== Description: ========================================= //= Event similar to iRO's Christmas event when searching for Antonios. //===== Additional Comments: ================================= @@ -20,13 +20,13 @@ in_sphinx1,0,0,0,0 monster Hyegun 1512,3,180000,30000,0 //Munak Quest pay_dun01,53,269,6 script Munak 1026,{ -if(event_hyegun==3) goto Lfinished; -mes "[^FF0000Munak^000000]"; -mes "Hello, kinda strange talking to a Munak huh?"; -mes "I'm a friendly Munak that wants to tell you something."; -menu "Listen to her story",Lok,"Leave",Lno; + if(event_hyegun==3) goto Lfinished; + mes "[^FF0000Munak^000000]"; + mes "Hello, kinda strange talking to a Munak huh?"; + mes "I'm a friendly Munak that wants to tell you something."; + menu "Listen to her story",Lok,"Leave",Lno; - Lok: +Lok: mes "[^FF0000Munak^000000]"; mes "Well see our father ^666600HyeGun^000000 has been terrible to us Munaks."; mes "We would like you to get revenge for what he has done to us."; @@ -37,7 +37,7 @@ menu "Listen to her story",Lok,"Leave",Lno; mes "Remember, you may only do this quest ^FF00003 times."; menu "Info about HyeGun",Lhyeinfo,"Give her the items",Litem,"Leave",Lno; - Lhyeinfo: +Lhyeinfo: mes "[^FF0000Munak^000000]"; mes "- HyeGun looks like us but he's a tanish color type with long hair."; mes "- He's been last seen in the first level of the 4 most popular dungeons."; @@ -45,7 +45,7 @@ menu "Listen to her story",Lok,"Leave",Lno; mes "Anything else?"; menu "Info about HyeGun",Lhyeinfo,"Give her the items",Litem,"Leave",Lno; - Litem: +Litem: mes "[^FF0000Munak^000000]"; mes "Ahh so you've completed the task so soon?"; mes "Good job"; @@ -59,17 +59,17 @@ menu "Listen to her story",Lok,"Leave",Lno; set event_hyegun,event_hyegun+1; close; - Lfinished: +Lfinished: mes "[^FF0000Munak^000000]"; mes "I'm sorry, you've already completed my task 3 times."; close; - Lno: +Lno: mes "[^FF0000Munak^000000]"; mes "Okay then, when you feel brave enough, come on back."; close; - Lnoitem: +Lnoitem: mes "[^FF0000Munak^000000]"; mes "Hey, you don't have the Yggdrasil Dew."; mes "Come back when you've gotten 3 of them."; diff --git a/npc/custom/events/kings_items.txt b/npc/custom/events/kings_items.txt index 1aed6bb1a..a706e037c 100644 --- a/npc/custom/events/kings_items.txt +++ b/npc/custom/events/kings_items.txt @@ -5,7 +5,7 @@ //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== -//= rAthena Version +//= rAthena SVN //===== Description: ========================================= //= Grand Circlet Quest combined with Excalibur Quest. //= Converted to rAthena format from Fusion. diff --git a/npc/custom/events/p_track/p_track_core.txt b/npc/custom/events/p_track/p_track_core.txt index 7edea017d..9b483fbf6 100644 --- a/npc/custom/events/p_track/p_track_core.txt +++ b/npc/custom/events/p_track/p_track_core.txt @@ -3,20 +3,21 @@ //===== By: ================================================== //= erKURITA //===== Current Version: ===================================== -//= 0.0000000000000002 +//= 1.2 //===== Compatible With: ===================================== -//= rAthena 1.0 +//= rAthena SVN //===== Description: ========================================= //= NPCs that has nothing to do with the race itself, but //= has important functions on the race itself. //===== Additional Comments: ================================= -//= 0.0000000000000002 Removed Duplicates [Silent] +//= 1.2 Removed Duplicates [Silent] //============================================================ + p_track01,41,57,5 script Lady#track1::P_track 845,{ end; } -p_track01,67,34,6 script Erudite::P_Spectator1 107,{ +p_track01,67,34,6 script Erudite::P_Spectator1 107,{ end; } 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; } diff --git a/npc/custom/events/uneasy_cemetery.txt b/npc/custom/events/uneasy_cemetery.txt index 570f88004..60d569483 100644 --- a/npc/custom/events/uneasy_cemetery.txt +++ b/npc/custom/events/uneasy_cemetery.txt @@ -1,11 +1,11 @@ //===== rAthena Script ======================================= -//= Uneasy Prontera Cemetery Quest (original script!) +//= Uneasy Prontera Cemetery Quest //===== By: ================================================== //= Lupus //===== Current Version: ===================================== //= 1.2a (Tested and fully working!) //===== Compatible With: ===================================== -//= rAthena Version 1.0 +//= rAthena SVN //===== Description: ========================================= //= A periodical quest of the Uneasy Cemetery (Kill undead / Prevent their appearance) //= Every day, at the midnight Prontera receive a wave of Undeads. @@ -19,7 +19,6 @@ //= 1.2a Changed item names to item IDs. [Samuray22] //============================================================ - prontera,3,3,3 script Uneasy_Check -1,{ end; diff --git a/npc/custom/events/valentinesdayexp.txt b/npc/custom/events/valentinesdayexp.txt index 1b4436934..edc2bacec 100644 --- a/npc/custom/events/valentinesdayexp.txt +++ b/npc/custom/events/valentinesdayexp.txt @@ -5,11 +5,10 @@ //===== Current Version: ===================================== //= 1.1 //===== Compatible With: ===================================== -//= Any Athena Version 45xx+ +//= rAthena SVN; 4500+ //===== Description: ========================================= // Close to other official stValentine event (added white chocolate) // Custom: Handmade choco gives some EXP bonuses to married people -// //===== Additional Comments: ================================= //= WARNING!! To use this event, dicable original valentinesday.txt //= You can use this event from 12 till 16 February 8) [Lupus] diff --git a/npc/custom/events/xmas_rings_event.txt b/npc/custom/events/xmas_rings_event.txt index b65f77cc2..1a52fd43a 100644 --- a/npc/custom/events/xmas_rings_event.txt +++ b/npc/custom/events/xmas_rings_event.txt @@ -5,7 +5,7 @@ //===== Current Version: ===================================== //= 1.2 //===== Compatible With: ===================================== -//= rAthena Version; 4880+ (with 'setItemScript' command) +//= rAthena SVN; 4880+ (with 'setItemScript' command) //===== Description: ========================================= //= Custom event: Karachun (from 8 Dec till 8 Jan), X-Mas, HNY //===== Additional Comments: ================================= @@ -14,7 +14,6 @@ //= 1.2 Fixed double quotes not being escaped [brianluau] //============================================================ - prontera,156,174,4 script Snower 713,{ mes "[Snower]"; if(Q_XMSRINGS==2){ |