From 1127771e46133a1d3051fcc7e41000f394120c30 Mon Sep 17 00:00:00 2001 From: euphyy Date: Sat, 16 Jun 2012 22:51:54 +0000 Subject: > Reorganization: * Cleaned up "Custom Scripts" configuration file (scripts_custom.conf) * Moved "Event King Items" scripts from events to quests (custom\quests\kings_items.txt) * Moved "p_track" from events to etc (custom\etc\p_track.txt) * Renamed "lvl99_quest" to "jewel_case" for easier identification (custom\quests\jewel_case.txt) * Deleted "2006_dogs_year" event script (pointless and incomplete) > Script changes: * Cleaned/standardized "Valentine Event Script" (events\valentinesday.txt) * Cleaned "Slotted Sunglasses Quest" (custom\quests\sunglasses.txt) * Optimized "Lord Kaho's Horns Quest" (custom\quests\kahohorn.txt) * Cleaned and optimized "Balmung & Lord Kaho's Horns Quest" (custom\quests\kaho_balmung.txt) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16313 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/custom/etc/p_track.txt | 67 +++++++++++++++ npc/custom/events/2006_dogs_year.txt | 97 --------------------- npc/custom/events/kings_items.txt | 79 ----------------- npc/custom/events/p_track.txt | 67 --------------- npc/custom/events/valentinesdayexp.txt | 2 +- npc/custom/quests/jewel_case.txt | 66 ++++++++++++++ npc/custom/quests/kaho_balmung.txt | 99 +++++++-------------- npc/custom/quests/kahohorn.txt | 119 ++++++++++---------------- npc/custom/quests/kings_items.txt | 79 +++++++++++++++++ npc/custom/quests/lvl99_quest.txt | 66 -------------- npc/custom/quests/sunglasses.txt | 151 +++++++++++++-------------------- npc/events/valentinesday.txt | 104 ++++++++++------------- npc/scripts_custom.conf | 96 +++++++++------------ 13 files changed, 437 insertions(+), 655 deletions(-) create mode 100644 npc/custom/etc/p_track.txt delete mode 100644 npc/custom/events/2006_dogs_year.txt delete mode 100644 npc/custom/events/kings_items.txt delete mode 100644 npc/custom/events/p_track.txt create mode 100644 npc/custom/quests/jewel_case.txt create mode 100644 npc/custom/quests/kings_items.txt delete mode 100644 npc/custom/quests/lvl99_quest.txt (limited to 'npc') diff --git a/npc/custom/etc/p_track.txt b/npc/custom/etc/p_track.txt new file mode 100644 index 000000000..87794ac28 --- /dev/null +++ b/npc/custom/etc/p_track.txt @@ -0,0 +1,67 @@ +//===== rAthena Script ======================================= +//= Poring Track Main NPCs +//===== By: ================================================== +//= erKURITA +//===== Current Version: ===================================== +//= 1.3 +//===== Compatible With: ===================================== +//= rAthena SVN +//===== Description: ========================================= +//= Poring Track core NPCs and warpers. +//===== Additional Comments: ================================= +//= 1.2 Removed Duplicates [Silent] +//= 1.3 Merged and cleaned. [Euphy] +//============================================================ + +hugel,58,72,5 script Yan#track1 86,{ + callfunc "P_TrackEnt","[Yan]","p_track01"; + end; +} +hugel,62,68,1 script Yalmire#track1 86,{ + callfunc "P_TrackEnt","[Yalmire]","p_track02"; + end; +} + +function script P_TrackEnt { + mes getarg(0); + mes "Hi "+strcharinfo(0)+", welcome to the Poring Track!"; + next; + switch(select("Information:I want to try it!:Not today.")) { + case 1: + mes getarg(0); + mes "Well... it's quite fun, that's all I can say. Try it!"; + close; + case 2: + mes getarg(0); + mes "The entrance fee is 500z. would you like to go in?"; + next; + if(select("Yes, please!:No thanks.")==2) { + mes getarg(0); + mes "You're missing out!"; + close; } + mes getarg(0); + if (Zeny < 500) { + mes "You can't enter without paying."; close; } + mes "Here we go!"; + close2; + set Zeny, Zeny-500; + warp getarg(1),75,41; + end; + case 3: + mes getarg(0); + mes "See you later!"; + close; + } +} + +p_track01,76,36,2 script Yan#track2 86,{ end; } +p_track01,41,57,5 script Lady#track1::P_track 845,{ end; } +p_track01,67,34,6 script Erudite::P_Spectator1 107,{ end; } +p_track01,44,49,3 script Edward 881,{ end; } +p_track01,27,47,3 script Yuri#P_track 853,{ end; } + +p_track02,76,36,2 script Yalmire#track2 86,{ end; } +p_track02,30,45,3 script Nagya 755,{ end; } +p_track02,42,49,3 script Asgahrd 733,{ end; } +p_track02,67,33,1 script Blacksmith#track1 726,{ end; } +p_track02,41,57,5 duplicate(P_track) Lady#track2 845 \ No newline at end of file diff --git a/npc/custom/events/2006_dogs_year.txt b/npc/custom/events/2006_dogs_year.txt deleted file mode 100644 index 494fbb3bc..000000000 --- a/npc/custom/events/2006_dogs_year.txt +++ /dev/null @@ -1,97 +0,0 @@ -//===== rAthena Script ======================================= -//= Eastern New Year 2006 The Year Of The Fire Dog -//===== By: ================================================== -//= Lupus (1.0) -//===== Current Version: ===================================== -//= 1.1 -//===== Compatible With: ===================================== -//= 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) -//= 1.1 Commented out monster spawn as it is a custom mob and [L0ne_W0lf] -//= not in the mob database. -//============================================================ - -prontera,149,167,6 script Maria 81,{ - mes "[Maria]"; - //month - if((gettime(6)==1 && (gettime(5)==28 || gettime(5)==29))==0) { - mes "Happy New Year Of The Fire Dog! Woof!"; - close; - } - - mes "Happy New Year of The Fire Dog!"; - if(rand(2))mes "By the way, 'Dogs' fit the most to the ones, born in years of Horse, Tiger and Rabbit."; - next; - menu "Tell me about Japanese traditions",-, - "Tell me about Chinese New Year",M_NGCH, - "Tell me about Korean New Year",M_NGCO, - "I need a doggy costume!",M_PRIZE, - "Happy New Year to you.",LEnd; - - mes "[Maria]"; - mes "Japan..."; - mes "Put here some notes in English about their HNY."; - next; - mes "[Maria]"; - mes "Put here some notes in English about their HNY."; - close; - -M_NGCH: - mes "[Maria]"; - mes "China..."; - mes "Put here some notes in English about their HNY."; - next; - mes "[Maria]"; - mes "Put here some notes in English about their HNY."; - close; - -M_NGCO: - mes "[Maria]"; - mes "Korea..."; - mes "Put here some notes in English about their HNY."; - next; - mes "[Maria]"; - mes "Put here some notes in English about their HNY."; - close; - -M_PRIZE: - mes "[Maria]"; - if(countitem(12132)>9) { - mes "You should use all of your old costumes first!"; - close; - } - mes "Some buddhistic books tell us legends about humans to dogs reincarnation... Buy ^FF0000this magic doggie costume^000000 for just ^0000FF999 Zeny^000000!"; - mes "And prove old legends yourself!"; - next; - menu "I'll buy one.",-,"No, thank you.",LEnd; - - mes "[Maria]"; - if(Zeny<999) goto NoZ; - set Zeny,Zeny-999; - getitem 12132,1; - mes "Here you go. Its form will show true power of your spirit."; - emotion 15; - close; - NoZ: - mes "Oh dear, you lack of zeny. I have 7 puppies to feed, you know..."; - emotion 17; - close; - LEnd: - mes "[Maria]"; - mes "Happy New Year of the Fire Me!!! Woof-woof!"; - emotion rand(19,20); - close; - -OnInit: - //Magic Doggie Costum - setitemscript 12132,"{ misceffect 215; if(BaseLevel>97){disguise 1022;end;}if(BaseLevel>90){disguise 1296;end;}if(BaseLevel>80){disguise 1106;end;}if(BaseLevel>50){disguise 1013;end;}if(BaseLevel>40){disguise 1135;end;}disguise 1107;}"; - end; -} - -// Requires custom monster. -//prontera,0,0,0,0 monster Fire Dog 1987,50,3600000,1800000,0 diff --git a/npc/custom/events/kings_items.txt b/npc/custom/events/kings_items.txt deleted file mode 100644 index 8140827c1..000000000 --- a/npc/custom/events/kings_items.txt +++ /dev/null @@ -1,79 +0,0 @@ -//===== rAthena Script ======================================= -//= Event King Items -//===== By: ================================================== -//= $ephiroth -//===== Current Version: ===================================== -//= 1.1 -//===== Compatible With: ===================================== -//= rAthena SVN -//===== Description: ========================================= -//= Grand Circlet Quest combined with Excalibur Quest. -//===== Additional Comments: ================================= -//= 2006/09/27: 1.0 Release and fully working. [$ephiroth] -//= 1.1 Optimized. [Euphy] -//============================================================ - -prt_castle,80,170,4 script King of Prontera 108,{ - mes "[King of Prontera]"; - mes "Hello, can you help me?"; - next; - if(select("Sure, what can I do?:Sorry, I'm busy.")==2) { - mes "[King of Prontera]"; - mes "Ok, that's fine, I'm sure someone else will help."; - close; } - mes "[King of Prontera]"; - mes "Thank you. Well, my daughter next to me is a little rowdy..."; - mes "If you get her these items I'm sure she'll calm down."; - mes "I'll give you my crown or my sword as a reward."; - next; - setarray .@Items1[0],5007,742,30,741,50,753,20,732,1,710,20,629,20; - setarray .@Items2[0],1137,2254,1,2282,1,714,1; - switch(select("What do you need?:I have the items!:Forget it.")) { - case 1: - for(set .@i,1; .@i<3; set .@i,.@i+1) { - mes "[King of Prontera]"; - mes "If you could get me:"; - for(set .@j,1; .@j 5) goto L_ERR; - set @needmon,@flag_num*5000; - if (Zeny < @needmon) goto L_NOTENO; - set Zeny,Zeny - @needmon; - getitem 558,@flag_num; + input .@i; + if (.@i <= 0) close; mes "[Stephen]"; + if (.@i > 5) { + mes "I'm sorry, but I can't give you that many."; + close; } + if (Zeny < .@i*5000) { + mes "I'm sorry, but it seems you can't afford to buy these off me."; + close; } + set Zeny, Zeny - .@i*5000; + getitem 558,.@i; mes "There you go!"; mes "You can give that to someone as a gift, or enjoy it yourself!"; - mes "Mmm....sweet chocolate..."; + mes "Mmm... sweet chocolate..."; mes "Visit me anytime...!"; close; - -L_ERR: - mes "[Stephen]"; - mes "I'm sorry but I can't give you that many."; -L_NONE: - close; - -L_NOTENO: - mes "[Stephen]"; - mes "I'm sorry but it seems you can't afford to buy these off me."; - close; } // Jainie -- Gives information about Valentine Event ------------------------ @@ -97,44 +86,43 @@ prt_castle,54,34,4 script Carl Orleans 47,{ mes "[Carl Orleans]"; mes "Yes?"; next; - menu "I want some hand made chocolate...",-,"I'm lost, sorry to bother you.",M_WAT; - + if(select("I want some hand made chocolate...:I'm lost, sorry to bother you.")==2) { + mes "[Carl Orleans]"; + mes "Oh... well, if you want me to make some of my special Hand Made Chocolate...."; + mes "You will need to give me at least ^0000FF 3 Chocolates^000000."; + next; + mes "[Carl Orleans]"; + mes "That's right, only ^0000FF 3 Chocolates^000000"; + mes "Bring them to me and you'll get what you came for."; + next; + mes "[Carl Orleans]"; + mes "See You."; + close; } mes "[Carl Orleans]"; mes "Well, I just might be able to fulfill your needs..."; next; - if (countitem(558) >=3) goto L_ENO; - mes "I'm sorry you do not have enough Chocolate Bars to do this"; - close; - -L_ENO: - delitem 558,3; mes "[Carl Orleans]"; - mes "You got 3 pieces of pure chocolate I see."; + if (countitem(558) < 3) { + mes "I'm sorry, you don't have enough Chocolate Bars to do this."; + close; } + delitem 558,3; + mes "You got 3 pieces of pure chocolate, I see."; mes "Give them to me..."; next; + mes "[Carl Orleans]"; mes "Ok, now I will only create my special hand made chocolates if you promise to use it wisely."; next; + mes "[Carl Orleans]"; mes "....Hmmmmmm....."; mes "Well..."; next; - mes "Here."; + mes "[Carl Orleans]"; getitem 559,1; + mes "Here."; mes "I hope you give it to someone special, because its a special chocolate."; mes "As you know... only I can create this."; next; - mes "Enjoy."; - close; - -M_WAT: - mes "[Carl Orleans]"; - mes "Oh..well, if you want me to make some of my special Hand Made Chocolate...."; - mes "You will need to give me at least ^0000FF 3 Chocolates^000000."; - next; mes "[Carl Orleans]"; - mes "That's right, only ^0000FF 3 Chocolates^000000"; - mes "Bring them to me and you'll get what you came for."; - next; - mes "[Carl Orleans]"; - mes "See You."; + mes "Enjoy."; close; -} +} \ No newline at end of file diff --git a/npc/scripts_custom.conf b/npc/scripts_custom.conf index 0dea7ca90..2fbd6899b 100644 --- a/npc/scripts_custom.conf +++ b/npc/scripts_custom.conf @@ -40,35 +40,18 @@ //npc: npc/custom/etc/rpsroulette.txt // -- Black Jack //npc: npc/custom/etc/blackjack.txt -// -- Airplane script (unofficial) -//npc: npc/custom/etc/airplane.txt // -- Hire ninja squads to assassinate an enemy! //npc: npc/custom/etc/shifty_assassin.txt // -- Train your monsters to fight against other players' monsters //npc: npc/custom/etc/monster_arena.txt // -- Raceway mini-game //npc: npc/custom/etc/morroc_raceway.txt -// -- Dev NPCs (NPCs named after devs...) -//npc: npc/custom/etc/devnpc.txt // -- Unofficial poetry //npc: npc/custom/etc/wandering_poets.txt // -- Random change of Drop/Exp rates 1x ~ 1.5x every 6 hours on your server -//npc: npc/custom/floating_rates.txt -// -- Disable shops in the Prontera streets and open a special market place. -//npc: npc/custom/market.txt - -// -------------------------------------------------------------- -// BattleGround (please read conf/battle/battleground.conf before -// uncommenting battleground scripts). -// -------------------------------------------------------------- -//npc: npc/custom/battleground/bg_common.txt -//npc: npc/custom/battleground/bg_tierra_01.txt -//npc: npc/custom/battleground/bg_tierra_02.txt -//npc: npc/custom/battleground/bg_flavius_01.txt -//npc: npc/custom/battleground/bg_flavius_02.txt -//npc: npc/custom/battleground/bg_kvm01.txt -//npc: npc/custom/battleground/bg_kvm02.txt -//npc: npc/custom/battleground/bg_kvm03.txt +//npc: npc/custom/etc/floating_rates.txt +// -- Custom Poring Track files +//npc: npc/custom/etc/p_track.txt // ----------------------- Quest Scripts ----------------------- // -- Treasure Hunters Guild Quests (40 Quests + Special Guild Shop) @@ -77,50 +60,55 @@ //npc: npc/custom/quests/thq/THQS_QuestNPC.txt //npc: npc/custom/quests/thq/THQS_Quests.txt //npc: npc/custom/quests/thq/THQS_TTShop.txt -// -- Godly Equipments Quests -//npc: npc/custom/quests/valhallen.txt -// -- Misc +// -- Equipment Quests //npc: npc/custom/quests/magicalhatquest.txt -//npc: npc/custom/quests/fashion.txt //npc: npc/custom/quests/elvenear.txt +//npc: npc/custom/quests/fashion.txt //npc: npc/custom/quests/ironcane.txt //npc: npc/custom/quests/sunglasses.txt -//npc: npc/custom/quests/berzebub.txt -// -- Bandit Beard headgear quest (very long and safe quest) //npc: npc/custom/quests/bandit_beard.txt -// -- Dead Branch (and Bloody Branch) quest (safe to use) -//npc: npc/custom/quests/dead_branch.txt -// -- Removed Hats with official quests. Only 6 hats are left //npc: npc/custom/quests/event_6_new_hats.txt -// -- Both Lord Kaho (GM Item), but different and quest.txt has Balmung (GM Item) too -// -- Warning! It might break your server balance. -//npc: npc/custom/quests/kaho_balmung.txt -//npc: npc/custom/quests/kahohorn.txt -// -- Nice Custom thanatos Tower Statues Quest -//npc: npc/custom/quests/tha_statues.txt -// -- A quest for Jewel Case for 99 Level Players of any 2nd Class -//npc: npc/custom/quests/lvl99_quest.txt -// -- Quest for: Bird Nest,Lion Mask,Skeleton Manteau,Fashion Hip Sack,Sales Banner //npc: npc/custom/quests/may_hats.txt -// -- Extracted custom quests from the official Umbalian Quests (better, don't use) -//npc: npc/custom/quests/sphinx_mask.txt -//npc: npc/custom/quests/umbalian_language.txt -// -- Custom Kiel Mansion Dungeon Quest -//npc: npc/custom/quests/kiel_quest.txt -// -- Custom Bongun Accessory/Bongun taming item quest +//npc: npc/custom/quests/kings_items.txt +// -- Misc Item Quests +//npc: npc/custom/quests/dead_branch.txt +//npc: npc/custom/quests/berzebub.txt +//npc: npc/custom/quests/jewel_case.txt //npc: npc/custom/quests/bongunsword.txt -// -- Custom Baphomet Jr. Taming item quest. //npc: npc/custom/quests/bookofthedevil.txt -// -- A custom event for 3 holidays: X-Mas, Karachun and New Year -// -- Should be activated between 8 December and 8 January +// -- Godly Equipment Quests (be careful!) +//npc: npc/custom/quests/valhallen.txt +//npc: npc/custom/quests/kaho_balmung.txt +//npc: npc/custom/quests/kahohorn.txt + +// ----------------------- Event Scripts ----------------------- +// -- X-Mas, Karachun, and New Year (8 Dec. ~ 8 Jan.) //npc: npc/custom/events/xmas_rings_event.txt -// -- Grand Circlet Quest combined with Excalibur Quest -//npc: npc/custom/events/kings_items.txt -// -- Custom Halloween Event +// -- Custom Valentine's Day event +//npc: npc/custom/events/valentinesdayexp.txt +// -- Custom Halloween scripts //npc: npc/custom/events/hallow06.txt //npc: npc/custom/events/uneasy_cemetery.txt //npc: npc/custom/events/draculax.txt -//npc: npc/custom/events/2006_dogs_year.txt -//npc: npc/custom/events/valentinesdayexp.txt -// -- Poring track files -//npc: npc/custom/events/p_track.txt +// -- Hyegun event +//npc: npc/custom/events/hyegun_event.txt + +// ----------------------- Unofficial Scripts ----------------------- +// -- Unofficial Airplane script +//npc: npc/custom/etc/airplane.txt +// -- Thanatos Tower Statues Quest +//npc: npc/custom/quests/tha_statues.txt +// -- Custom quests from official Umbalian Quests +//npc: npc/custom/quests/sphinx_mask.txt +//npc: npc/custom/quests/umbalian_language.txt +// -- Custom Kiel Mansion Dungeon Quest +//npc: npc/custom/quests/kiel_quest.txt +// -- Unofficial Battlegrounds +//npc: npc/custom/battleground/bg_common.txt +//npc: npc/custom/battleground/bg_tierra_01.txt +//npc: npc/custom/battleground/bg_tierra_02.txt +//npc: npc/custom/battleground/bg_flavius_01.txt +//npc: npc/custom/battleground/bg_flavius_02.txt +//npc: npc/custom/battleground/bg_kvm01.txt +//npc: npc/custom/battleground/bg_kvm02.txt +//npc: npc/custom/battleground/bg_kvm03.txt \ No newline at end of file -- cgit v1.2.3-60-g2f50