From 31825ccc2dde034a218d9ad466dd721c40b5651d Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sun, 8 Jul 2012 19:30:07 +0000 Subject: Okie ladies and gentleman if this commit breaks anything it's jman's and maki's fault, yes, blame them. Fixing pre-re / re npc support, moving /config/ folder to src root so other servers may also make use of the #define renewal dir and other stuff. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16382 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/pre-re/quests/mrsmile.txt | 112 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 npc/pre-re/quests/mrsmile.txt (limited to 'npc/pre-re/quests/mrsmile.txt') diff --git a/npc/pre-re/quests/mrsmile.txt b/npc/pre-re/quests/mrsmile.txt new file mode 100644 index 000000000..faf2402f1 --- /dev/null +++ b/npc/pre-re/quests/mrsmile.txt @@ -0,0 +1,112 @@ +//===== rAthena Script ======================================= +//= Mr. Smile Quest +//===== By: ================================================== +//= kobra_k88, Akaru +//===== Current Version: ===================================== +//= 1.4a +//===== Compatible With: ===================================== +//= rAthena SVN +//===== Description: ========================================= +//= [Aegis Conversion] +//= Trade Clover, Fluff and Jellopy for a Mr. Smile mask. +//===== Additional Comments: ================================= +//= 1.4 Rescripted to Aegis 10.3 standards. [L0ne_W0lf] +//= 1.4a Fixed a little Typo error in duplicates. (bugreport:749) [Samuray22] +//============================================================ + +- script Smile Assistance::SmileHelper 92,{ + mes "[Smile Girl]"; + mes "Hi ~ Hi ~"; + mes "This is Smile Assistance."; + mes "How may I help you ?"; + next; + switch(select("^3355FFMr. Smile^000000 ?:Construct ^3355FFMr. Smile^000000 :Quit")) { + case 1: + mes "[Smile Girl]"; + mes "National Event held by the command of ^5577FFHis majesty Tristram the 3rd^000000,"; + mes "that intends to encourage the nation of the Rune-Midgarts Kingdom"; + mes " to play in more enjoyable atmosphere!"; + mes "I am ^3355FF' Smile Assistance '^000000,"; + mes ".. who leads the national event under the name of "; + mes "^3355FFSmile throughout the Rune-Midgarts Kingdom~^000000"; + next; + mes "[Smile Girl]"; + mes "With simple and easy-to-get items,"; + mes "I can provide you"; + mes "^3355FF' Mr. Smile '^000000."; + mes "The requirements are followings."; + next; + mes "[Smile Girl]"; + mes "^3355FF10 Jellopy^000000"; + mes "^3355FF10 Fluff^000000"; + mes "^3355FF10 Clover^000000"; + next; + mes "[Smile Girl]"; + mes "With this event"; + mes "Everybody will be happy and smile,"; + mes "getting together with other people,"; + mes "And will try to make Ragnarok the most enjoyable game in the world."; + close; + case 2: + if (countitem(909) > 9 && countitem(914) > 9 && countitem(705) > 9) { + mes "[Smile Girl]"; + mes "Congratulations !"; + mes "Now please take this Mr.Smile."; + next; + delitem 909,10; //Jellopy + delitem 914,10; //Fluff + delitem 705,10; //Clover + getitem 2278,1; //Mr_Smile + mes "[Smile Girl]"; + mes "His majesty,Tristram the 3rd"; + mes "has promised to try his best to make Ragnarok better and more enjoyable."; + next; + mes "The fact mentioned above"; + mes "was announced by"; + mes "the Public Information Bureau of the Rune-Midgarts Kingom."; + close; + } + else { + mes "[Smile Girl]"; + mes "Oh - unfortunately"; + mes "You have not brought"; + mes "enough items for Mr. Smile."; + mes "^3355FF10 Jellopy^000000"; + mes "^3355FF10 Fluff^000000"; + mes "^3355FF10 Clover^000000"; + mes "Please check the requirements above."; + close; + } + case 3: + mes "[Smile Girl]"; + mes "Thank you for visiting us."; + mes "We .."; + mes "The Rune-Midgarts Kingdom"; + mes "always try to make Ragnarok"; + mes "better and more enjoyable game."; + next; + mes "[Smile Girl]"; + mes "We sincerely ask you"; + mes "to cooperate."; + mes "The fact mentioned above"; + mes "was announced by the Public Information Bureau of the Rune-Midgarts Kingom."; + close; + } +} + +// Additional Smile Assistance staff +alberta,113,53,4 duplicate(SmileHelper) Smile Assistance#alb 92 +aldebaran,136,135,4 duplicate(SmileHelper) Smile Assistance#alde 92 +geffen,119,107,4 duplicate(SmileHelper) Smile Assistance#gef 92 +izlude,129,118,4 duplicate(SmileHelper) Smile Assistance#iz 92 +moc_ruins,59,154,3 duplicate(SmileHelper) Smile Assistance#moc 92 +payon,186,104,5 duplicate(SmileHelper) Smile Assistance#pay 92 +prontera,157,187,4 duplicate(SmileHelper) Smile Assistance#prt 92 + +//============================================================ +// Old changelog +//============================================================ +//= Fully working. 1.1 Optimized +//= 1.2 updated Payon coords [Lupus] +//= 1.3 fixed exploit [Lupus] +//============================================================ -- cgit v1.2.3-60-g2f50