From e3afdc2af4c5e50c79237ee092e25f39b7428e47 Mon Sep 17 00:00:00 2001 From: Michieru Date: Thu, 24 Oct 2013 12:10:43 +0200 Subject: Update to last rAthena npc. Fix some typos change sc_bleeding to -> sc_blooding Updated RE EXP for quests_brasilis.txt --- npc/quests/quests_rachel.txt | 574 ++++++++++++++----------------------------- 1 file changed, 191 insertions(+), 383 deletions(-) (limited to 'npc/quests/quests_rachel.txt') diff --git a/npc/quests/quests_rachel.txt b/npc/quests/quests_rachel.txt index ed77ef22d..a7615a9e2 100644 --- a/npc/quests/quests_rachel.txt +++ b/npc/quests/quests_rachel.txt @@ -1,18 +1,16 @@ -//===== rAthena Script ======================================= +//===== Hercules Script ====================================== //= Rachel Quests -//===== By: ================================================== +//===== By: ================================================== //= L0ne_W0lf -//===== Current Version: ===================================== -//= 3.5 -//===== Compatible With: ===================================== -//= rAthena SVN -//===== Description: ========================================= +//===== Current Version: ===================================== +//= 3.6 +//===== Description: ========================================= //= Collection of Rachel Quests //= Lost Child Quest: //= - End of quest coincides with opening the Sanctuary. //= - Variable in use: lost_boy (max 13) //= Bruspetti Quest: -//= - [Aegis conversion] +//= - [Official Conversion] //= - Requires friendship quest as a prerequisite. //= - Variable in use: rach_vice (max 24) //= Ice Necklace Quest: @@ -25,34 +23,7 @@ //= - Variable in use: Once completed MISC_QUEST bit 8192 is set //= - Variable in use: ra_have_donated (0 no/1 yes) //= - Variable in use: $rachel_donate (max 10000) -//===== Additional Comments: ================================= -//= 1.0 First version, needs testing. [L0ne_W0lf] -//= 1.1 Some slight optimization. [L0ne_W0lf] -//= 1.2 Fixed Man Stuck in Ice only giving 1 Freezing Snow Powder. [L0ne_W0lf] -//= 1.3 Added the ability to redeem lottery tickets before donation max is met. [L0ne_W0lf] -//= 1.4 Removed an erroneous "case". Thanks, Jet. [L0ne_W0lf] -//= 1.5 Fixed a bug in Bruspetti quest. [SinSloth] -//= 1.5b Fixed some typos in various quests. [SinSloth] -//= 1.6 Fixed a couple bugs with the Pope's Office Guards... [L0ne_W0lf] -//= 1.7 Fixed Maheo, he will revert to his frozen state when clicked. [L0ne_W0lf] -//= Replaced instances of "+name+", with "+strcharinfo(0)". -//= 1.8 Various fixes: Hamion will now delete items used for Wind Hammer. [L0ne_W0lf] -//= Fixed EXP reward in Ice Necklace quest, fixed a typo in an NPC header. -//= Another minor fix to Hamion. "< 1" -> "< 2". Added a missing close to -//= the ontouch "key". Thanks to Gepard for pointing them out. -//= 1.9 Fixed a misorder with variable checkings. [SinSloth] -//= 2.0 Fixed experience gains to match upcoming rate adjustments. [SinSloth] -//= 2.1 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf] -//= 2.2 Maheo NPC now uses "setnpcdisplay" instead of two NPCs. [L0ne_W0lf] -//= 2.2a Corrected a Typo error ";;". [Samuray22] -//= 2.3 Added Zhed's portion of Thor Volcano Base Quest. (euRO) [L0ne_W0lf] -//= 2.4 Updated Zhed's Thor Vol. Base addition dialog to iRO's. [L0ne_W0lf] -//= 2.4a Further updates to Zhed's Veins addition. [L0ne_W0lf] -//= 2.5 Added Nameless Island quest addition. [L0ne_W0lf] -//= 2.6 Uncommented ontouchNPC label for Man Stuck in Ice. [L0ne_W0lf] -//= 2.7 Corrected overlaping warp coordinates. [L0ne_W0lf] -//= 2.8 Replaced effect numerics with constants. [L0ne_W0lf] -//= 2.9 Replaced effect numerics with constants. [Samuray22] +//===== Additional Comments: ================================= //= 3.0 Large reordering of Zhed, and Peace to the Arunafeltz addition. [L0ne_W0lf] //= Some more numeric conversion, and some other cleanup. //= 3.1 Updated Ice Necklace quest, added missing checks. [L0ne_W0lf] @@ -63,11 +34,12 @@ //= 3.4 Added quest log entries for: //= - Ice Necklace Quest //= - Thor Volcano Base Quest addition. -//= 3.5 Added renewal checks for exp distribution [Streusel] -//============================================================ +//= 3.5 Updated RE/Pre-RE EXP. [Euphy] +//= 3.6 Added questlog support. [Euphy] +//============================================================ -// Lost Child Quest (Prerequisite to High Priest quest) -//============================================================ +// Lost Child Quest (Prerequisite to High Priest quest) :: rachel_wonjumin +//============================================================ ra_in01,384,246,3 script Vincent#ra_in01 47,{ if (BaseLevel < 60) { mes "[Vincent]"; @@ -78,7 +50,6 @@ ra_in01,384,246,3 script Vincent#ra_in01 47,{ mes "work, brave adventurer."; close; } - if (lost_boy < 1) { mes "[Vincent]"; mes "I am Vincert, steward of"; @@ -95,9 +66,7 @@ ra_in01,384,246,3 script Vincent#ra_in01 47,{ mes "ask you for your help with"; mes "a problem on his behalf."; next; - switch(select("I'm too busy.:Sure, why not?")) { - case 1: mes "[Vincent]"; mes "I understand."; @@ -107,7 +76,6 @@ ra_in01,384,246,3 script Vincent#ra_in01 47,{ mes "later, then I'd like to ask for"; mes "your assistance once again."; close; - case 2: mes "[Vincent]"; mes "Thank you. You see,"; @@ -139,12 +107,10 @@ ra_in01,384,246,3 script Vincent#ra_in01 47,{ mes "You might want to question the"; mes "other servants of his whereabouts. Thanks again for your help."; set lost_boy,1; + setquest 8089; close; - } - } - else if ((lost_boy >= 1) && (lost_boy < 4)) { mes "[Vincent]"; mes "I suggest looking around"; @@ -153,7 +119,6 @@ ra_in01,384,246,3 script Vincent#ra_in01 47,{ mes "Phobe's current location."; close; } - else if ((lost_boy >= 4) && (lost_boy < 7)) { mes "[Vincent]"; mes "We're running out"; @@ -162,7 +127,6 @@ ra_in01,384,246,3 script Vincent#ra_in01 47,{ mes "as soon as you can."; close; } - else if (lost_boy == 7) { mes "[Vincent]"; mes "Ah...!"; @@ -298,9 +262,9 @@ ra_in01,384,246,3 script Vincent#ra_in01 47,{ mes "just a kid, so he's probably"; mes "hiding somewhere in town."; set lost_boy,8; + changequest 8094,8095; close; } - else if (lost_boy == 8) { mes "[Vincent]"; mes "The gem is very special..."; @@ -339,7 +303,6 @@ ra_in01,384,246,3 script Vincent#ra_in01 47,{ mes "hiding somewhere in town..."; close; } - else if (lost_boy == 9) { mes "[Vincent]"; mes "You came back!"; @@ -385,9 +348,9 @@ ra_in01,384,246,3 script Vincent#ra_in01 47,{ mes "Jenny about Phobe?"; mes "Sure, sure, I'll do that."; set lost_boy,10; + changequest 8097,8097; close; } - else if (lost_boy == 10) { mes "[Vincent]"; mes "Oh! While I return this"; @@ -402,7 +365,6 @@ ra_in01,384,246,3 script Vincent#ra_in01 47,{ mes "Sure, sure, I'll do that."; close; } - else if (lost_boy == 11) { mes "["+strcharinfo(0)+"]"; mes "I told Jenny that"; @@ -446,8 +408,9 @@ ra_in01,384,246,3 script Vincent#ra_in01 47,{ mes "I don't know what's inside,"; mes "but I know these items are"; mes "quite valuable nowadays..."; - getitem 617,1; //Old_Violet_Box set lost_boy,12; + changequest 8098,8099; + getitem 617,1; //Old_Violet_Box next; mes "[Vincent]"; mes "Ah, and this note is a"; @@ -462,7 +425,6 @@ ra_in01,384,246,3 script Vincent#ra_in01 47,{ mes "from Vincent.^000000"; close; } - else { mes "[Vincent]"; mes "Thank you for everything"; @@ -472,7 +434,6 @@ ra_in01,384,246,3 script Vincent#ra_in01 47,{ mes "hesitate to ask me, alright?"; close; } - } rachel,114,232,3 script Logan#ra_in01 869,{ @@ -486,7 +447,6 @@ rachel,114,232,3 script Logan#ra_in01 869,{ mes "don't distract me, please."; close; } - else if (lost_boy == 1) { mes "["+strcharinfo(0)+"]"; mes "Excuse me, but do"; @@ -532,9 +492,9 @@ rachel,114,232,3 script Logan#ra_in01 869,{ mes "inside the mansion. He's"; mes "been working here for a while."; set lost_boy,2; + changequest 8089,8090; close; } - else if (lost_boy == 2) { mes "[Logan]"; mes "If you want to learn"; @@ -545,7 +505,6 @@ rachel,114,232,3 script Logan#ra_in01 869,{ mes "the mansion is a good bet."; close; } - } ra_in01,372,200,3 script Manson#ra_in01 929,{ @@ -559,7 +518,6 @@ ra_in01,372,200,3 script Manson#ra_in01 929,{ mes "cleaning up after visitors."; close; } - else if (lost_boy == 1) { mes "[Manson]"; mes "You know, considering"; @@ -570,7 +528,6 @@ ra_in01,372,200,3 script Manson#ra_in01 929,{ mes "Sir Zhed here in the mansion."; close; } - else if (lost_boy == 2) { mes "["+strcharinfo(0)+"]"; mes "Excuse me, but do you"; @@ -633,9 +590,9 @@ ra_in01,372,200,3 script Manson#ra_in01 929,{ mes "now, and she'd appreciate"; mes "your help in finding Phobe."; set lost_boy,3; + changequest 8090,8091; close; } - else if (lost_boy == 3) { mes "[Manson]"; mes "You know, if you want to"; @@ -646,7 +603,6 @@ ra_in01,372,200,3 script Manson#ra_in01 929,{ mes "your help in finding Phobe."; close; } - else { mes "[Manson]"; mes "Nuts, there's so much"; @@ -656,7 +612,6 @@ ra_in01,372,200,3 script Manson#ra_in01 929,{ mes "Ah well, it's a living."; close; } - } rachel,48,237,3 script Jenny#ra_in01 894,{ @@ -669,7 +624,6 @@ rachel,48,237,3 script Jenny#ra_in01 894,{ mes "haven't been invited!"; close; } - else if (lost_boy == 3) { mes "["+strcharinfo(0)+"]"; mes "Excuse me, but are"; @@ -719,9 +673,9 @@ rachel,48,237,3 script Jenny#ra_in01 894,{ mes "Alright, I guess I can go"; mes "to the market and ask around."; set lost_boy,4; + changequest 8091,8092; close; } - else if ((lost_boy >= 3) && (lost_boy < 6)) { mes "[Jenny]"; mes "Please find Phobe,"; @@ -737,7 +691,6 @@ rachel,48,237,3 script Jenny#ra_in01 894,{ mes "Phobe was last seen."; close; } - else if (lost_boy == 6) { mes "[Jenny]"; mes "Please find Phobe,"; @@ -747,7 +700,6 @@ rachel,48,237,3 script Jenny#ra_in01 894,{ mes "about that boy, you know?"; close; } - else if ((lost_boy > 6) && (lost_boy < 11)) { mes "[Jenny]"; mes "Oh! You're back!"; @@ -760,7 +712,6 @@ rachel,48,237,3 script Jenny#ra_in01 894,{ mes "important to discuss"; mes "with Vincent first."; } - else if (lost_boy == 8) { mes "["+strcharinfo(0)+"]"; mes "Actually... Uh..."; @@ -769,7 +720,6 @@ rachel,48,237,3 script Jenny#ra_in01 894,{ mes "lead! Don't worry, I'll"; mes "find him soon, I promise."; } - else if (lost_boy == 9) { mes "["+strcharinfo(0)+"]"; mes "Actually... Uh..."; @@ -779,7 +729,6 @@ rachel,48,237,3 script Jenny#ra_in01 894,{ mes "some good news soon,"; mes "I promise. Se eyou later~"; } - else if (lost_boy == 10) { mes "["+strcharinfo(0)+"]"; mes "Yes, he's fine, just"; @@ -820,11 +769,10 @@ rachel,48,237,3 script Jenny#ra_in01 894,{ mes "happier. Thank you for"; mes "all of your help, adventurer~"; set lost_boy,11; + changequest 8097,8098; } - close; } - else if ((lost_boy > 10) && (lost_boy < 13)) { mes "[Jenny]"; mes "Thank you so much for"; @@ -835,9 +783,7 @@ rachel,48,237,3 script Jenny#ra_in01 894,{ mes "I am to you as a mother..."; close; } - end; - } rachel,138,73,5 script Idle Merchant#ra_in01 85,{ @@ -851,7 +797,6 @@ rachel,138,73,5 script Idle Merchant#ra_in01 85,{ mes "pack it up and go home."; close; } - else if (lost_boy == 4) { mes "["+strcharinfo(0)+"]"; mes "Excuse me?"; @@ -931,7 +876,6 @@ rachel,138,73,5 script Idle Merchant#ra_in01 85,{ set lost_boy,5; close; } - else if (lost_boy >= 5) { mes "["+strcharinfo(0)+"]"; mes "(^333333I better ask the other"; @@ -942,7 +886,6 @@ rachel,138,73,5 script Idle Merchant#ra_in01 85,{ mes "ridiculous mock vegetables.^000000)"; close; } - } rachel,120,47,3 script Idle Merchant#ra_in01_2 85,{ @@ -955,7 +898,6 @@ rachel,120,47,3 script Idle Merchant#ra_in01_2 85,{ mes "make a living like this."; close; } - else if (lost_boy == 5) { mes "["+strcharinfo(0)+"]"; mes "Excuse me,"; @@ -1003,9 +945,9 @@ rachel,120,47,3 script Idle Merchant#ra_in01_2 85,{ mes "in that ice cave. That place"; mes "can be plenty dangerous."; set lost_boy,6; + changequest 8092,8093; close; } - else if (lost_boy == 6) { mes "[Idle Merchant]"; mes "So yeah, last night,"; @@ -1038,8 +980,6 @@ rachel,120,47,3 script Idle Merchant#ra_in01_2 85,{ mes "can be plenty dangerous."; close; } - - } ra_fild01,245,325,3 script Suspicious Man#ra_in01 934,{ @@ -1052,7 +992,6 @@ ra_fild01,245,325,3 script Suspicious Man#ra_in01 934,{ mes "precious oxygen!"; close; } - if (lost_boy == 6) { mes "["+strcharinfo(0)+"]"; mes "Excuse me, but do you"; @@ -1133,9 +1072,9 @@ ra_fild01,245,325,3 script Suspicious Man#ra_in01 934,{ mes "to Vincent and make"; mes "him explain everything."; set lost_boy,7; + changequest 8093,8094; close; } - else if (lost_boy == 7) { mes "[Mogan]"; mes "It looks like he set"; @@ -1152,7 +1091,6 @@ ra_fild01,245,325,3 script Suspicious Man#ra_in01 934,{ mes "him explain everything."; close; } - } rachel,263,32,3 script Kid#ra_in01 931,{ @@ -1161,7 +1099,6 @@ rachel,263,32,3 script Kid#ra_in01 931,{ mes "Leave me alone!"; close; } - else if (lost_boy == 8) { mes "^3355FFYou catch a shining"; mes "glint from this boy's"; @@ -1246,9 +1183,9 @@ rachel,263,32,3 script Kid#ra_in01 931,{ mes "you should bring this red"; mes "jewel back to Vincent.^000000"; set lost_boy,9; + changequest 8095,8096; close; } - else if (lost_boy == 9) { mes "[Phobe]"; mes "I... I'm not ready"; @@ -1264,7 +1201,6 @@ rachel,263,32,3 script Kid#ra_in01 931,{ mes "jewel back to Vincent.^000000"; close; } - else { mes "["+strcharinfo(0)+"]"; mes "You know, you should"; @@ -1288,14 +1224,10 @@ rachel,263,32,3 script Kid#ra_in01 931,{ mes "Gosh... Fine."; close; } - } -//End of Lost Child quest -//============================================================ - -//Bruspetti Quest (Perequisite: Lighthalzen "Friendship" quest) -//============================================================ +// Bruspetti Quest (Perequisite: Lighthalzen "Friendship" quest) :: rachel_ryu +//============================================================ ra_in01,235,194,5 script Katinshuell 931,{ if (rach_vice > 21) { mes "[Katinshuell]"; @@ -1306,7 +1238,6 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "could have had a chance..."; close; } - else if ((rach_vice == 21) && (countitem(1201) > 0)) { mes "[Katinshuell]"; mes "Please... Please just"; @@ -1317,9 +1248,9 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "turn me in, go ahead..."; delitem 1201,1; //Knife set rach_vice,22; + changequest 8121,8122; close; } - else if (rach_vice == 21) { mes "[Katinshuell]"; mes "I suppose it's my"; @@ -1329,7 +1260,6 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "truly happy. Bruspetti..."; close; } - else if ((rach_vice == 20) && (countitem(1201) > 0)) { mes "[Katinshuell]"; mes "I suppose there's"; @@ -1434,7 +1364,6 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "God! My life sucks!"; close; } - else if (rach_vice == 21) { mes "[Katinshuell]"; mes "^333333*Pant pant*^000000"; @@ -1445,7 +1374,6 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "h-haunt me... Ha ha ha..."; close; } - else if ((rach_vice == 20) && (countitem(1201) > 0)) { mes "[Katinshuell]"; mes "I..."; @@ -1487,7 +1415,6 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "Mr. Katinshuell?"; close; } - else if ((rach_vice == 19) || (rach_vice == 20)) { mes "[Katinshuell]"; mes "I..."; @@ -1507,6 +1434,7 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "I... I don't have"; mes "to tell you anything!"; set rach_vice,20; + changequest 8120,8121; next; mes "[" + strcharinfo(0) + "]"; mes "(^333333He's still resisting"; @@ -1514,7 +1442,6 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "him to reveal the truth?^000000)"; close; } - else if (rach_vice == 18) { mes "[" + strcharinfo(0) + "]"; mes "Let's see..."; @@ -1581,7 +1508,6 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "........."; close; } - else if (rach_vice == 17) { mes "[Katinshuell]"; mes "Damn it! I don't want to"; @@ -1599,7 +1525,6 @@ ra_in01,235,194,5 script Katinshuell 931,{ set rach_vice,18; close; } - else if (rach_vice == 16) { mes "[Katinshuell]"; mes "Ha ha ha..."; @@ -1635,7 +1560,6 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "I don't know what"; mes "you're talking about!"; close; - case 2: mes "[" + strcharinfo(0) + "]"; mes "You know, I found out"; @@ -1684,7 +1608,6 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "backfired, so I'm going"; mes "to have to try this again.)^000000"; close; - case 2: mes "[" + strcharinfo(0) + "]"; mes "So while she was away"; @@ -1703,7 +1626,6 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "backfired, so I'm going"; mes "to have to try this again.)^000000"; close; - case 3: mes "[" + strcharinfo(0) + "]"; mes "Wait a second! Your break-up"; @@ -1739,7 +1661,6 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "backfired, so I'm going"; mes "to have to try this again.)^000000"; close; - case 2: mes "[" + strcharinfo(0) + "]"; mes "Hmm... Why are you"; @@ -1767,9 +1688,7 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "before I get really angry!"; close; } - } - case 3: mes "[" + strcharinfo(0) + "]"; mes "Freya's Spring."; @@ -1787,7 +1706,6 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "That's a pretty"; mes "good reason."; close; - case 4: mes "[" + strcharinfo(0) + "]"; mes "If Bruspetti is not"; @@ -1808,11 +1726,8 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "to question him again until"; mes "my gut feeling is satisfied!^000000)"; close; - } - } - else if ((rach_vice == 15) && (countitem(7571))) { mes "[Katinshuell]"; mes "Oh, it's you again."; @@ -1865,11 +1780,11 @@ ra_in01,235,194,5 script Katinshuell 931,{ next; mes "[Katinshuell]"; mes "......!"; + delitem 7571,1; //Diary_Of_Blue set rach_vice,16; - delitem 7571,1; //Blue_Diary + changequest 8119,8120; close; } - else if ((rach_vice == 10) || (rach_vice == 11)) { mes "[Katinshuell]"; mes "Argh! I'm so depressed."; @@ -1915,6 +1830,7 @@ ra_in01,235,194,5 script Katinshuell 931,{ close; } set rach_vice,11; + changequest 8114,8115; mes "[Katinshuell]"; mes "You happy, now?"; mes "Quit trying to pry into"; @@ -1924,7 +1840,6 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "you came to do, right?"; close; } - else if (rach_vice == 4) { mes "[Katinshuell]"; mes "Uh... "; @@ -1934,9 +1849,7 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "be left alone. Go away..."; close; } - else if (rach_vice == 3) { - set rach_vice,4; mes "[Katinshuell]"; mes "Eh? Oh, it's one of you"; mes "guys, those do-gooder"; @@ -1951,9 +1864,10 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "can't handle. Me and my"; mes "girlfriend are history now."; mes "It's over between us."; + set rach_vice,4; + changequest 8107,8108; close; } - else if (rach_vice == 2) { mes "[Katinshuell]"; mes "You're an adventurer,"; @@ -1970,7 +1884,6 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "of mine never cease to haunt me..."; close; } - else if (rach_vice == 1) { mes "[Katinshuell]"; mes "You're an adventurer,"; @@ -1986,7 +1899,6 @@ ra_in01,235,194,5 script Katinshuell 931,{ mes "left all alone, these thoughts of mine never cease to haunt me..."; close; } - else if (rach_vice == 0) { mes "[Katinshuell]"; mes "You're an adventurer,"; @@ -2042,7 +1954,6 @@ ra_in01,250,19,3 script Mr. Shendar 929,{ mes "Thanks, adventurer."; close; } - else if (rach_vice == 14) { mes "[Mr. Shendar]"; mes "So you have a pretty"; @@ -2066,7 +1977,6 @@ ra_in01,250,19,3 script Mr. Shendar 929,{ mes "to hate and distrust him!"; close; } - else if (rach_vice == 13) { mes "[Mr. Shendar]"; mes "Hey! Hey! Are you"; @@ -2117,7 +2027,6 @@ ra_in01,250,19,3 script Mr. Shendar 929,{ mes "around here? I'd better go"; mes "and ask him about this..."; next; - set rach_vice,14; mes "[Mr. Shendar]"; mes "Wait, where are"; mes "you going? I... I'm"; @@ -2146,9 +2055,10 @@ ra_in01,250,19,3 script Mr. Shendar 929,{ mes "father. Besides, adventurers"; mes "like you can offer her the"; mes "best protection..."; + set rach_vice,14; + changequest 8117,8118; close; } - else if (rach_vice == 9) { mes "[Mr. Shendar]"; mes "Curses! I should have never"; @@ -2158,9 +2068,7 @@ ra_in01,250,19,3 script Mr. Shendar 929,{ mes "is naturally too curious...!"; close; } - else if (rach_vice == 8) { - set rach_vice,9; mes "[Mr. Shendar]"; mes "What? My daughter went"; mes "to Lighthalzen? She doesn't"; @@ -2197,11 +2105,11 @@ ra_in01,250,19,3 script Mr. Shendar 929,{ mes "Oh, but how a father"; mes "worries. Will my sweet,"; mes "darling Bruspetti be alright?"; + set rach_vice,9; + changequest 8112,8113; close; } - else if ((rach_vice == 4) || (rach_vice == 5)) { - set rach_vice,5; mes "[Mr. Shendar]"; mes "I miss my daughter. Yes,"; mes "the house smells different"; @@ -2216,9 +2124,10 @@ ra_in01,250,19,3 script Mr. Shendar 929,{ mes "distinctively pleasant"; mes "scent about them. I guess"; mes "it must be pheremonal?"; + set rach_vice,5; + changequest 8108,8109; close; } - else if (rach_vice == 2) { mes "[Mr. Shendar]"; mes "Take my advice: never"; @@ -2237,9 +2146,7 @@ ra_in01,250,19,3 script Mr. Shendar 929,{ mes "little neck! At least, I should..."; close; } - else if (rach_vice == 1) { - set rach_vice,2; mes "[Mr. Shendar]"; mes "I just found out that"; mes "my precious daughter has"; @@ -2263,9 +2170,10 @@ ra_in01,250,19,3 script Mr. Shendar 929,{ mes "awful long time, but she's"; mes "also an adult now. I... I guess"; mes "she should be just fine."; + set rach_vice,2; + setquest 8106; close; } - mes "[Mr. Shendar]"; mes "I just found out that"; mes "my precious daughter has"; @@ -2295,7 +2203,6 @@ rachel,73,244,3 script Lachellen 919,{ mes "I can't wait to see her~"; close; } - else if ((rach_vice == 11) || (rach_vice == 12)) { mes "[Lachellen]"; mes "Oh, hello again~"; @@ -2317,7 +2224,6 @@ rachel,73,244,3 script Lachellen 919,{ next; } else if (.@input$ == "Freya's Spring") { - set rach_vice,12; mes "[Lachellen]"; mes "Freya's Spring?"; mes "Oh, I like that place!"; @@ -2340,6 +2246,8 @@ rachel,73,244,3 script Lachellen 919,{ mes "so you look like a real loser"; mes "if you go there alone. That's"; mes "why I want a boyfriend now..."; + set rach_vice,12; + changequest 8115,8116; next; } else { @@ -2358,7 +2266,6 @@ rachel,73,244,3 script Lachellen 919,{ mes "just a little bit."; close; } - else if (rach_vice == 7) { mes "[Lachellen]"; mes "Let's see... Bruspetti"; @@ -2377,9 +2284,7 @@ rachel,73,244,3 script Lachellen 919,{ mes "tell her I said ''hi,'' okay?"; close; } - else if (rach_vice == 6) { - set rach_vice,7; mes "[Lachellen]"; mes "Oh, Bruspetti's dad"; mes "was talking about how"; @@ -2411,11 +2316,11 @@ rachel,73,244,3 script Lachellen 919,{ mes "and her boyfriend usually"; mes "went on dates, you might"; mes "be able to find something."; + set rach_vice,7; + changequest 8110,8111; close; } - else if ((rach_vice == 2) || (rach_vice == 3)) { - set rach_vice,3; mes "[Lachellen]"; mes "Ooh, I'm so jealous"; mes "of Bruspetti! She's been"; @@ -2430,9 +2335,10 @@ rachel,73,244,3 script Lachellen 919,{ mes "she's also admitted that"; mes "she doesn't know much about"; mes "him. Let's see... He grew up in Lighthalzen? That's all she knows."; + set rach_vice,3; + changequest 8106,8107; close; } - mes "[Lachellen]"; mes "My friend Bruspetti"; mes "is a really nice girl~"; @@ -2509,7 +2415,6 @@ rachel,266,35,3 script Grandma#rachel 918,{ mes "not particularly special."; close; } - else if (rach_vice == 13) { mes "[Grandma]"; mes "When you get to be my"; @@ -2520,9 +2425,7 @@ rachel,266,35,3 script Grandma#rachel 918,{ mes "worry when I could've relaxed."; close; } - else if (rach_vice == 12) { - set rach_vice,13; mes "[Grandma]"; mes "Oh, back again, eh?"; mes "I guess you must really"; @@ -2549,6 +2452,8 @@ rachel,266,35,3 script Grandma#rachel 918,{ mes "to let go of whatever's"; mes "bothering you, and just"; mes "enjoy life as it is now."; + set rach_vice,13; + changequest 8116,8117; close; } mes "[Grandma]"; @@ -2568,7 +2473,6 @@ rachel,266,35,3 script Grandma#rachel 918,{ lhz_in02,213,207,0 script #ratrace1 111,4,4,{ OnTouch: if (rach_vice == 5) { - set rach_vice,6; mes "[" + strcharinfo(0) + "]"; mes "This..."; mes "This smell..."; @@ -2580,6 +2484,8 @@ OnTouch: mes "Wait, could this be"; mes "the scent that Bruspetti's"; mes "father mentioned earlier?"; + set rach_vice,6; + changequest 8109,8110; close; } end; @@ -2621,14 +2527,15 @@ OnTouch: mes "Who would be to blame?"; next; set rach_vice,24; - if(checkre(0)) { - if (BaseLevel > 90) getexp 130000,0; - else if (BaseLevel > 75) getexp 85000,0; - else getexp 45000,0; + completequest 8122; + if (checkre(3)) { + if (BaseLevel > 90) getexp 130000,0; + else if (BaseLevel > 75) getexp 85000,0; + else getexp 45000,0; } else { - if (BaseLevel > 90) getexp 1400000,0; - else if (BaseLevel > 75) getexp 800000,0; - else getexp 400000,0; + if (BaseLevel > 90) getexp 1300000,0; + else if (BaseLevel > 75) getexp 850000,0; + else getexp 450000,0; } mes "[" + strcharinfo(0) + "]"; mes "Somehow, I wish that"; @@ -2638,7 +2545,6 @@ OnTouch: mes "forgive himself."; close; } - else if (rach_vice == 22) { mes "[" + strcharinfo(0) + "]"; mes "This must be where"; @@ -2670,7 +2576,6 @@ OnTouch: mes "...What?"; close; } - else if (rach_vice == 8) { mes "[" + strcharinfo(0) + "]"; mes "That old woman told"; @@ -2680,9 +2585,7 @@ OnTouch: mes "make sure I tread carefully."; close; } - else if (rach_vice == 7) { - set rach_vice,8; mes "[???]"; mes "Oh, be very careful!"; mes "You don't want to get"; @@ -2700,6 +2603,8 @@ OnTouch: next; mes "[" + strcharinfo(0) + "]"; mes "Ah, I see."; + set rach_vice,8; + changequest 8111,8112; close; } end; @@ -2714,10 +2619,10 @@ ra_in01,255,25,0 script Book#ra_in 111,{ mes "you talk to Katinshuell.^000000"; close; } - else if (rach_vice == 14) { set rach_vice,15; - getitem 7571,1; //Blue_Diary + changequest 8118,8119; + getitem 7571,1; //Diary_Of_Blue mes "^3355FFThis must be"; mes "Bruspetti's diary!"; mes "You now have permission"; @@ -2726,25 +2631,22 @@ ra_in01,255,25,0 script Book#ra_in 111,{ mes "Katinshuell are connected...^000000"; close; } - else if ((rach_vice == 9) || (rach_vice == 10)) { - set rach_vice,10; mes "^3355FFThis must be"; mes "Bruspetti's diary!"; mes "But... reading it"; mes "would make you feel"; mes "like a real creep."; mes "So don't touch it.^000000"; + set rach_vice,10; + changequest 8113,8114; close; } } -//End of Bruspetti quest -//============================================================ - -// Ice Necklace/Summon Ktullanux Quest and Glacial Heart buyer -//============================================================ +// Ice Necklace/Summon Ktullanux Quest and Glacial Heart buyer :: rachel_tre +//============================================================ //iRO Changed this NPC to avoid "offending" people. //To enable how it originally looked, uncomment the //line below (npc header), and comment the line @@ -2931,12 +2833,9 @@ rachel,157,183,3 script Sincere Follower Urstia 916,{ mes "token of my appreication for"; mes " what you have done for me."; delitem 7573,1; //Magic_Necklace_ - if(checkre(0)) - getexp 70000,0; - else - getexp 700000,0; - completequest 2113; + getexp (checkre(3))?90000:700000,0; set ice_necklace_q,6; + completequest 2113; next; mes "["+strcharinfo(0)+"]"; mes "Oh, let's just say it was"; @@ -2997,12 +2896,12 @@ ice_dun02,120,105,3 script Man Stuck in Ice#cave 924,5,5,{ mes "this ice off of me!."; next; if (getskilllv("MG_FIREBOLT") > 0) { - misceffect EF_FIREBALL; + specialeffect EF_FIREBALL; mes "^3355FFYou cast Fire Bolt at"; mes "the ice..^000000"; } else { - misceffect EF_HIT2; + specialeffect EF_HIT2; mes "^3355FFYou hammer at the"; mes "ice with all your might.^000000"; } @@ -3163,8 +3062,8 @@ ice_dun02,120,105,3 script Man Stuck in Ice#cave 924,5,5,{ mes "this prison of ice. He can"; mes "be found near Freya's Spring:"; mes "beseech him on my behalf!"; - changequest 2109,2110; set ice_necklace_q,2; + changequest 2109,2110; close2; cutin "",255; end; @@ -3226,9 +3125,9 @@ ice_dun02,120,105,3 script Man Stuck in Ice#cave 924,5,5,{ mes "swung it down at the ice"; mes "with all of your strength.^000000"; next; - misceffect EF_TEIHIT3; - misceffect EF_FREEZE; - misceffect EF_ICECRASH; + specialeffect EF_TEIHIT3; + specialeffect EF_FREEZE; + specialeffect EF_ICECRASH; mes "^3355FF*Pzzzzz*"; mes "*CRASH!*^000000"; next; @@ -3239,7 +3138,7 @@ ice_dun02,120,105,3 script Man Stuck in Ice#cave 924,5,5,{ mes "After all of this"; mes "time! I'm free!"; next; - misceffect EF_BEGINSPELL4; + specialeffect EF_BEGINSPELL4; mes "[Maheo]"; mes "Now, all of the monsters"; mes "in this cave will taste the"; @@ -3252,7 +3151,7 @@ ice_dun02,120,105,3 script Man Stuck in Ice#cave 924,5,5,{ monster "ice_dun02",114,112,"Snowier",1775,1,"Man Stuck in Ice#cave::OnMyMobDead"; monster "ice_dun02",126,105,"Snowier",1775,1,"Man Stuck in Ice#cave::OnMyMobDead"; monster "ice_dun02",121,99,"Snowier",1775,1,"Man Stuck in Ice#cave::OnMyMobDead"; - misceffect EF_LORD; + specialeffect EF_LORD; killmonster "ice_dun02","Man Stuck in Ice#cave::OnMyMobDead"; mes "[Maheo]"; mes "Muhahahahahahahaha!"; @@ -3276,7 +3175,7 @@ ice_dun02,120,105,3 script Man Stuck in Ice#cave 924,5,5,{ mes "[Maheo]"; mes "Let's see, now..."; next; - misceffect EF_FROSTWEAPON; + specialeffect EF_FROSTWEAPON; mes "^3355FF*Ting*^000000"; next; mes "[Maheo]"; @@ -3286,12 +3185,12 @@ ice_dun02,120,105,3 script Man Stuck in Ice#cave 924,5,5,{ mes "And please don't mention"; mes "the fact that I trapped myself"; mes "in ice to anyone else, okay?"; + set ice_necklace_q,5; + changequest 2112,2113; + delitem 7569,1; //Hammer_Of_Wind delitem 7572,1; //Magic_Necklace - delitem 7569,1; //Wind Of_Hammer - getitem 7574,4; //Freezing Snow Powder getitem 7573,1; //Magic_Necklace_ - changequest 2112,2113; - set ice_necklace_q,5; + getitem 7574,4; //Ice_Particle close2; cutin "",255; setnpcdisplay "Man Stuck in Ice#cave",924; @@ -3396,8 +3295,8 @@ rachel,265,98,3 script Hamion#aru 930,{ mes "not one of those smithing tools."; mes "I'd help you if I could, but..."; mes "I'm just smart, not strong."; - changequest 2110,2111; set ice_necklace_q,3; + changequest 2110,2111; close; } else if (ice_necklace_q == 3) { @@ -3463,12 +3362,12 @@ rachel,265,98,3 script Hamion#aru 930,{ mes "This hammer will only work"; mes "once, so make sure that you"; mes "smash that ice properly!"; + delitem 1354,1; //Hammer delitem 996,5; //Rough_Wind - delitem 1354,1; //Empty_Scroll - delitem 7433,1; //Hammer - getitem 7569,1; //Hammer_of_Wind - changequest 2111,2112; + delitem 7433,1; //Scroll set ice_necklace_q,4; + changequest 2111,2112; + getitem 7569,1; //Hammer_of_Wind close; } else if (ice_necklace_q >= 4) { @@ -3579,7 +3478,7 @@ rachel,113,96,5 script Mohadian 929,10,10,{ mes "It's always a pleasure"; mes "doing business with you~"; delitem 7561,.@hearts; //Glacial Hearts - set zeny,zeny+.@totalprice; + set Zeny, Zeny+.@totalprice; close; } @@ -3592,7 +3491,6 @@ OnTouch: close; } end; - } ice_dun03,126,126,3 script Blazing Fire#ice1 802,{ @@ -3602,7 +3500,7 @@ ice_dun03,126,126,3 script Blazing Fire#ice1 802,{ mes "you can put this fire out"; mes "with conventional means.^000000"; if (ice_necklace_q > 4) { - if ($ktullanux_summon < 4) { + if ($@ktullanux_summon < 4) { if (countitem(7574) > 0) { next; select("Use Freezing Snow Powder."); @@ -3611,8 +3509,8 @@ ice_dun03,126,126,3 script Blazing Fire#ice1 802,{ mes "flickers before extinguising.^000000"; delitem 7574,1; //Freezing Snow Powder hideonnpc "Blazing Fire#ice1"; - set $ktullanux_summon,$ktullanux_summon+1; - if ($ktullanux_summon == 4) donpcevent "ice_boss#broad::OnStart"; + set $@ktullanux_summon,$@ktullanux_summon+1; + if ($@ktullanux_summon == 4) donpcevent "ice_boss#broad::OnStart"; } else if (countitem(7562) > 0) { next; @@ -3622,18 +3520,13 @@ ice_dun03,126,126,3 script Blazing Fire#ice1 802,{ mes "extinguising.^000000"; delitem 7562,1; //Ice Scale hideonnpc "Blazing Fire#ice1"; - set $ktullanux_summon,$ktullanux_summon+1; - if ($ktullanux_summon == 4) donpcevent "ice_boss#broad::OnStart"; + set $@ktullanux_summon,$@ktullanux_summon+1; + if ($@ktullanux_summon == 4) donpcevent "ice_boss#broad::OnStart"; close; } } } close; - -OnInit: - set $ktullanux_summon,0; - end; - } @@ -3644,7 +3537,7 @@ ice_dun03,172,126,0 script Blazing Fire#ice2 802,{ mes "you can put this fire out"; mes "with conventional means.^000000"; if (ice_necklace_q > 4) { - if ($ktullanux_summon < 4) { + if ($@ktullanux_summon < 4) { if (countitem(7574) > 0) { next; select("Use Freezing Snow Powder."); @@ -3653,8 +3546,8 @@ ice_dun03,172,126,0 script Blazing Fire#ice2 802,{ mes "flickers before extinguising.^000000"; delitem 7574,1; //Freezing Snow Powder hideonnpc "Blazing Fire#ice2"; - set $ktullanux_summon,$ktullanux_summon+1; - if ($ktullanux_summon == 4) donpcevent "ice_boss#broad::OnStart"; + set $@ktullanux_summon,$@ktullanux_summon+1; + if ($@ktullanux_summon == 4) donpcevent "ice_boss#broad::OnStart"; } else if (countitem(7562) > 0) { next; @@ -3664,18 +3557,13 @@ ice_dun03,172,126,0 script Blazing Fire#ice2 802,{ mes "extinguising.^000000"; delitem 7562,1; //Ice Scale hideonnpc "Blazing Fire#ice2"; - set $ktullanux_summon,$ktullanux_summon+1; - if ($ktullanux_summon == 4) donpcevent "ice_boss#broad::OnStart"; + set $@ktullanux_summon,$@ktullanux_summon+1; + if ($@ktullanux_summon == 4) donpcevent "ice_boss#broad::OnStart"; close; } } } close; - -OnInit: - set $ktullanux_summon,0; - end; - } ice_dun03,172,172,0 script Blazing Fire#ice3 802,{ @@ -3685,7 +3573,7 @@ ice_dun03,172,172,0 script Blazing Fire#ice3 802,{ mes "you can put this fire out"; mes "with conventional means.^000000"; if (ice_necklace_q > 4) { - if ($ktullanux_summon < 4) { + if ($@ktullanux_summon < 4) { if (countitem(7574) > 0) { next; select("Use Freezing Snow Powder."); @@ -3694,8 +3582,8 @@ ice_dun03,172,172,0 script Blazing Fire#ice3 802,{ mes "flickers before extinguising.^000000"; delitem 7574,1; //Freezing Snow Powder hideonnpc "Blazing Fire#ice3"; - set $ktullanux_summon,$ktullanux_summon+1; - if ($ktullanux_summon == 4) donpcevent "ice_boss#broad::OnStart"; + set $@ktullanux_summon,$@ktullanux_summon+1; + if ($@ktullanux_summon == 4) donpcevent "ice_boss#broad::OnStart"; } else if (countitem(7562) > 0) { next; @@ -3705,18 +3593,13 @@ ice_dun03,172,172,0 script Blazing Fire#ice3 802,{ mes "extinguising.^000000"; delitem 7562,1; //Ice Scale hideonnpc "Blazing Fire#ice3"; - set $ktullanux_summon,$ktullanux_summon+1; - if ($ktullanux_summon == 4) donpcevent "ice_boss#broad::OnStart"; + set $@ktullanux_summon,$@ktullanux_summon+1; + if ($@ktullanux_summon == 4) donpcevent "ice_boss#broad::OnStart"; close; } } } close; - -OnInit: - set $ktullanux_summon,0; - end; - } ice_dun03,127,172,0 script Blazing Fire#ice4 802,{ @@ -3726,7 +3609,7 @@ ice_dun03,127,172,0 script Blazing Fire#ice4 802,{ mes "you can put this fire out"; mes "with conventional means.^000000"; if (ice_necklace_q > 4) { - if ($ktullanux_summon < 4) { + if ($@ktullanux_summon < 4) { if (countitem(7574) > 0) { next; select("Use Freezing Snow Powder."); @@ -3735,8 +3618,8 @@ ice_dun03,127,172,0 script Blazing Fire#ice4 802,{ mes "flickers before extinguising.^000000"; delitem 7574,1; //Freezing Snow Powder hideonnpc "Blazing Fire#ice4"; - set $ktullanux_summon,$ktullanux_summon+1; - if ($ktullanux_summon == 4) donpcevent "ice_boss#broad::OnStart"; + set $@ktullanux_summon,$@ktullanux_summon+1; + if ($@ktullanux_summon == 4) donpcevent "ice_boss#broad::OnStart"; } else if (countitem(7562) > 0) { next; @@ -3746,18 +3629,13 @@ ice_dun03,127,172,0 script Blazing Fire#ice4 802,{ mes "extinguising.^000000"; delitem 7562,1; //Ice Scale hideonnpc "Blazing Fire#ice4"; - set $ktullanux_summon,$ktullanux_summon+1; - if ($ktullanux_summon == 4) donpcevent "ice_boss#broad::OnStart"; + set $@ktullanux_summon,$@ktullanux_summon+1; + if ($@ktullanux_summon == 4) donpcevent "ice_boss#broad::OnStart"; close; } } } close; - -OnInit: - set $ktullanux_summon,0; - end; - } ice_dun03,1,173,5 script ice_boss#broad -1,{ @@ -3797,7 +3675,6 @@ OnTimer21000: stopnpctimer; donpcevent "ice_boss#on::OnStart"; end; - } ice_dun03,1,174,3 script ice_boss#on -1,{ @@ -3822,7 +3699,7 @@ OnMyMobDead: OnTimer7200000: stopnpctimer; - set $ktullanux_summon,0; + set $@ktullanux_summon,0; hideoffnpc "Blazing Fire#ice1"; hideoffnpc "Blazing Fire#ice2"; hideoffnpc "Blazing Fire#ice3"; @@ -3837,10 +3714,10 @@ OnStart: enablenpc "#ice_4f_2"; enablenpc "#ice_4f_3"; enablenpc "#ice_4f_4"; - donpcevent "#ice_4f_1::OnEnable"; - donpcevent "#ice_4f_2::OnEnable"; - donpcevent "#ice_4f_3::OnEnable"; - donpcevent "#ice_4f_4::OnEnable"; + specialeffect EF_MAPPILLAR2,AREA,"#ice_4f_1"; + specialeffect EF_MAPPILLAR2,AREA,"#ice_4f_2"; + specialeffect EF_MAPPILLAR2,AREA,"#ice_4f_3"; + specialeffect EF_MAPPILLAR2,AREA,"#ice_4f_4"; end; OnTimer60000: @@ -3860,11 +3737,6 @@ OnTouch: OnInit: disablenpc "#ice_4f_1"; end; - -OnEnable: - misceffect EF_MAPPILLAR2; - end; - } ice_dun03,138,148,0 script #ice_4f_2 45,2,2,{ @@ -3875,11 +3747,6 @@ OnTouch: OnInit: disablenpc "#ice_4f_2"; end; - -OnEnable: - misceffect EF_MAPPILLAR2; - end; - } ice_dun03,161,148,0 script #ice_4f_3 45,2,2,{ @@ -3890,11 +3757,6 @@ OnTouch: OnInit: disablenpc "#ice_4f_3"; end; - -OnEnable: - misceffect EF_MAPPILLAR2; - end; - } ice_dun03,151,162,0 script #ice_4f_4 45,2,2,{ @@ -3905,19 +3767,10 @@ OnTouch: OnInit: disablenpc "#ice_4f_4"; end; - -OnEnable: - misceffect EF_MAPPILLAR2; - end; - } -// End of Ice Necklace/Summon Ktullanux Quest -//============================================================ - - -// Donation Lottery Quest/High Priest Quest -//============================================================ +// Donation Lottery Quest/High Priest Quest :: rachel_oz & rachel_ma1 +//============================================================ ra_temple,119,180,0 script Temple Entrance#ra_tem 45,1,1,{ OnTouch: if ($rachel_donate >= 10000) { @@ -3975,7 +3828,7 @@ ra_temple,116,174,3 script Nemma#ra_temple 920,{ mes "a contribution. Regardless,"; mes "we invite you to celebrate the"; mes "grace of the goddess with us."; - Emotion e_ho; + emotion e_ho; next; mes "[Priestess Nemma]"; mes "There's one High Priest that"; @@ -4019,21 +3872,16 @@ ra_temple,116,174,3 script Nemma#ra_temple 920,{ mes "of 50,000 zeny, and we can only"; mes "accept up to 150,000 zeny at once. It's a bit complicated, I know..."; next; - switch(select("50,000z - 1 Lottery Ticket:100,000z - 2 Lottery Ticket:150,000z - 3 Lottery Ticket:Cancel")) { - case 1: callsub S_Donate,1,"50,000"; break; - case 2: callsub S_Donate,2,"100,000"; break; - case 3: callsub S_Donate,3,"150,000"; break; - case 4: cutin "ra_nemma02",2; mes "[Priestess Nemma]"; @@ -4043,13 +3891,9 @@ ra_temple,116,174,3 script Nemma#ra_temple 920,{ mes "zeny. Even so, Freya is always"; mes "protecting you, wherever you go~"; break; - } - goto L_End; - } - else { cutin "ra_nemma03",2; mes "[Priestess Nemma]"; @@ -4059,9 +3903,7 @@ ra_temple,116,174,3 script Nemma#ra_temple 920,{ mes "while ago. So what brings you"; mes "to the temple today, hmm?"; next; - switch(select("I've come to donate again.:Just sight-seeing.:I came to attend the service.:I just wanted to see you again.")) { - case 1: mes "[Priestess Nemma]"; mes "You've come to make another"; @@ -4071,21 +3913,16 @@ ra_temple,116,174,3 script Nemma#ra_temple 920,{ mes "accept donations in increments of"; mes "50,000 zeny up to 150,000 zeny."; next; - switch(select("50,000z - 1 Lottery Ticket:100,000z - 2 Lottery Ticket:150,000z - 3 Lottery Ticket:Cancel")) { - case 1: callsub S_Donate,1,"50,000"; break; - case 2: callsub S_Donate,2,"100,000"; break; - case 3: callsub S_Donate,3,"150,000"; break; - case 4: cutin "ra_nemma02",2; mes "[Priestess Nemma]"; @@ -4095,10 +3932,8 @@ ra_temple,116,174,3 script Nemma#ra_temple 920,{ mes "zeny. Even so, Freya is always"; mes "protecting you, wherever you go~"; break; - } goto L_End; - case 2: mes "[Priestess Nemma]"; mes "Oh! If you'd like some"; @@ -4114,7 +3949,6 @@ ra_temple,116,174,3 script Nemma#ra_temple 920,{ mes "Well, anyway, she'll help"; mes "you out. See you later!"; break; - case 3: mes "[Priestess Nemma]"; mes "You're here for the"; @@ -4123,20 +3957,14 @@ ra_temple,116,174,3 script Nemma#ra_temple 920,{ mes "of calm that you can only"; mes "get from goddess Freya~"; break; - case 4: mes "[Priestess Nemma]"; mes "Oh, how sweet of you~"; break; - } - goto L_End; - } - } - else { if (MISC_QUEST & 8192) { cutin "ra_nemma01",2; @@ -4144,7 +3972,6 @@ ra_temple,116,174,3 script Nemma#ra_temple 920,{ mes "Welcome to our temple!"; goto L_End; } - if (ra_tem_q < 1) { mes "[Priestess Nemma]"; mes "Hello, there!"; @@ -4178,7 +4005,6 @@ ra_temple,116,174,3 script Nemma#ra_temple 920,{ set ra_tem_q,1; goto L_End; } - else if ((ra_tem_q >= 1) && (ra_tem_q < 10)) { mes "[Priestess Nemma]"; mes "If the gate's locked, then"; @@ -4194,7 +4020,6 @@ ra_temple,116,174,3 script Nemma#ra_temple 920,{ mes "Ooh, Panno, help me!"; goto L_End; } - else if (ra_tem_q == 10) { cutin "ra_nemma04",2; mes "[Priestess Nemma]"; @@ -4221,7 +4046,6 @@ ra_temple,116,174,3 script Nemma#ra_temple 920,{ mes "Oooh, what should I do?!"; goto L_End; } - else if (ra_tem_q == 11) { emotion e_ho; cutin "ra_nemma03",2; @@ -4234,7 +4058,6 @@ ra_temple,116,174,3 script Nemma#ra_temple 920,{ mes "Lottery Tickets inside, okay?"; goto L_End; } - else if (ra_tem_q == 12) { mes "[Priestess Nemma]"; mes "Mmm... I know what"; @@ -4262,7 +4085,6 @@ ra_temple,116,174,3 script Nemma#ra_temple 920,{ set ra_tem_q,13; goto L_End; } - else if (ra_tem_q == 13) { mes "[Priestess Nemma]"; mes "Hey, did you bring me"; @@ -4275,11 +4097,8 @@ ra_temple,116,174,3 script Nemma#ra_temple 920,{ next; if (countitem(12018) >= 20) { cutin "ra_nemma04",2; - delitem 12018,20; //FireCracker"; - if(checkre(0)) - getexp 20000,0; - else - getexp 200000,0; + delitem 12018,20; //Fire_Cracker + getexp (checkre(3))?50000:200000,0; set ra_tem_q,14; mes "[Priestess Nemma]"; mes "Yay!"; @@ -4310,7 +4129,6 @@ ra_temple,116,174,3 script Nemma#ra_temple 920,{ mes "but still. How much fun are"; mes "fireworks if there isn't a lot?"; } - else { cutin "ra_nemma01",2; mes "[Priestess Nemma]"; @@ -4320,16 +4138,13 @@ ra_temple,116,174,3 script Nemma#ra_temple 920,{ mes "back with, anyway~"; } goto L_End; - } - else { cutin "ra_nemma01",2; mes "[Priestess Nemma]"; mes "Welcome to our temple!"; } goto L_End; - } L_End: @@ -4357,7 +4172,7 @@ S_Donate: mes "generous and rewards the patient!"; return; } - if (zeny >= getarg(0)*50000) { + if (Zeny >= getarg(0)*50000) { if (!checkweight(7570,getarg(0))) { cutin "ra_nemma02",2; mes "[Priestess Nemma]"; @@ -4379,7 +4194,7 @@ S_Donate: } set $rachel_donate,$rachel_donate+getarg(0); getitem 7570,getarg(0); //Temple_Lottery_Ticket - set zeny,zeny-getarg(0)*50000; + set Zeny, Zeny-getarg(0)*50000; set ra_have_donated,1; if ($rachel_donate > 9999) { cutin "ra_nemma03",2; @@ -4422,7 +4237,6 @@ S_Donate: mes "Well, maybe another time, yes?"; return; } - } rachel,243,37,3 script Kid#Candy Addict 921,{ @@ -4459,22 +4273,17 @@ rachel,243,37,3 script Kid#Candy Addict 921,{ mes "[Kid]"; mes "Oh hey, do"; mes "you like candy?"; - if (ra_tem_q == 1) { next; switch(select("Not at all.:Yeah.:Sure, I love the stuff~:Not much.")) { - case 1: mes "[Kid]"; mes "Hmpf! Okay."; close; - case 2: break; - case 3: break; - case 4: mes "[Kid]"; mes "Oh. It's 'cause you're"; @@ -4486,10 +4295,7 @@ rachel,243,37,3 script Kid#Candy Addict 921,{ mes "Tell me, tell"; mes "me, how come?"; close; - } - - if (rand(1,2) != 2) { mes "[Kid]"; mes "Oh yeah...?"; @@ -4506,7 +4312,6 @@ rachel,243,37,3 script Kid#Candy Addict 921,{ mes "I tricked you!"; mes "You big big dummy!"; } - else { mes "[Kid]"; mes "Oh, you do?"; @@ -4622,14 +4427,11 @@ rachel,243,37,3 script Kid#Candy Addict 921,{ mes "cool secret, so promise"; mes "that you won't be mad anymore."; next; - switch(select("No, thanks.:What's that?")) { - case 1: mes "[Kid]"; mes "Please~"; break; - case 2: mes "[Kid]"; mes "Did you know that"; @@ -4654,16 +4456,11 @@ rachel,243,37,3 script Kid#Candy Addict 921,{ mes "be madder at you!"; set ra_tem_q,2; break; - } - } - } close; - } - else if (ra_tem_q == 2) { mes "[Kid]"; mes "You're leaving?"; @@ -4688,7 +4485,6 @@ rachel,243,37,3 script Kid#Candy Addict 921,{ mes "huh? Gosh! Some people!"; close; } - } ra_temple,67,209,0 script zawa00 -1,3,3,{ @@ -4715,7 +4511,6 @@ OnTouch: mes "you don't get caught?^000000"; close; } - else if ((ra_tem_q >= 3) && (ra_tem_q < 10)) { mes "^3355FFWould you like to"; mes "enter the temple"; @@ -4731,12 +4526,11 @@ OnTouch: mes "that you can enter.^000000"; close; } - end; } que_rachel,63,82,0 script Window#ra_temple 111,{ - mes "^3355FFThis window it open^000000"; + mes "^3355FFThis window is open.^000000"; next; if(select("Stay:Exit Through Window") == 2) { close2; @@ -4754,7 +4548,6 @@ OnTouch: set ra_tem_q,3; close; } - end; } @@ -4769,9 +4562,7 @@ OnTouch: set ra_tem_q,4; close; } - end; - } que_rachel,94,139,0 script zawa03 -1,10,10,{ @@ -4782,9 +4573,7 @@ OnTouch: set ra_tem_q,5; close; } - end; - } que_rachel,132,70,0 script zawa04 -1,10,10,{ @@ -4801,9 +4590,7 @@ OnTouch: set ra_tem_q,6; close; } - end; - } que_rachel,28,315,0 script Bloody Spot -1,5,5,{ @@ -4827,16 +4614,13 @@ OnTouch: set ra_tem_q,7; close; } - else { mes "^3355FFYou decide that your"; mes "time would be better spent"; mes "investigating something else.^000000"; close; } - } - else if (ra_tem_q == 7) { mes "^3355FFThis dark spot on the"; mes "ground is really creepy,"; @@ -4860,16 +4644,13 @@ OnTouch: set ra_tem_q,8; close; } - else { mes "^3355FFYou decide that your"; mes "time would be better spent"; mes "investigating something else.^000000"; close; } - } - else if (ra_tem_q == 8) { mes "^3355FFThis blood stain on the"; mes "ground is a pretty bad"; @@ -4879,7 +4660,6 @@ OnTouch: mes "bleeding does the same to you.^000000"; close; } - end; } @@ -4909,7 +4689,6 @@ OnTouch: set ra_tem_q,9; close; } - end; } @@ -4921,9 +4700,7 @@ que_rachel,160,37,0 duplicate(nemma01) nemma05 -1,5,5 que_rachel,169,18,0 script Quest Temple Exit#ra_tem 45,2,2,{ mes "^3355FFThe gate is closed.^000000"; next; - switch(select("Push Gate:Examine Gate:Kick Gate:Smash Gate with Weapon")) { - case 1: mes "^3355FFYou push the gate"; mes "with all of your might..."; @@ -4935,7 +4712,6 @@ que_rachel,169,18,0 script Quest Temple Exit#ra_tem 45,2,2,{ } mes "But it won't even budge.^000000"; break; - case 2: mes "^3355FFThere's some strange"; mes "machinery installed on"; @@ -4944,7 +4720,6 @@ que_rachel,169,18,0 script Quest Temple Exit#ra_tem 45,2,2,{ mes "a card or permit. The lights"; mes "are on, so it must be working.^000000"; break; - case 3: mes "^3355FFYou angrily kick the gate..."; if (ra_tem_q == 9) { @@ -4958,7 +4733,6 @@ que_rachel,169,18,0 script Quest Temple Exit#ra_tem 45,2,2,{ mes "gate refuses to open for you."; mes "Oh, and your foot hurts too.^000000."; break; - case 4: mes "^3355FFWait! That's not"; mes "a good idea. You can't"; @@ -4969,7 +4743,6 @@ que_rachel,169,18,0 script Quest Temple Exit#ra_tem 45,2,2,{ } close; - } ra_temin,277,159,3 script High Priest Zhed#rachel 932,{ @@ -5064,10 +4837,11 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 932,{ mes "you in your travels. Peace"; mes "be with you, "+strcharinfo(0)+"."; close2; - cutin "ra_gman",255; + cutin "",255; set lost_boy,13; + completequest 8099; specialeffect2 EF_ABSORBSPIRITS; - getexp 90000,0; + getexp (checkre(3))?90000:900000,0; end; } else if ((lost_boy == 13) && (ra_tem_q < 14)) { @@ -5107,7 +4881,7 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 932,{ mes "someone that I can really"; mes "rely on to do this for me..."; close2; - cutin "ra_gman",255; + cutin "",255; end; } cutin "ra_gman",2; @@ -5229,8 +5003,12 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 932,{ next; mes "^3355FFYou received a High"; mes "Priest's recommendation.^000000"; + close2; + cutin "",255; set ra_tem_q,15; set lost_boy,14; + setquest 8100; + end; } else if ((ra_tem_q == 15) || (ra_tem_q == 16)) { mes "[High Priest Zhed]"; @@ -5323,6 +5101,7 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 932,{ mes "discussion. Why don't you"; mes "wait and relax in the next room"; mes "over there in the meantime?"; + changequest 8101,8102; close2; cutin "",255; warp "ra_temin",297,156; @@ -5380,7 +5159,11 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 932,{ mes "the Holy Ground? Regardless..."; mes "If you want to go there, then"; mes "just go there. Who'll stop you?^000000"; + close2; + cutin "",255; set ra_tem_q,20; + changequest 8103,8104; + end; } else if ((ra_tem_q >= 20) && (ra_tem_q < 22)) { cutin "ra_gman2",2; @@ -5481,8 +5264,9 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 932,{ set MISC_QUEST,MISC_QUEST | 8192; set ra_tem_q,0; cutin "",255; + completequest 8105; specialeffect2 EF_ABSORBSPIRITS; - if(checkre(0)) + if (checkre(3)) getexp 90000,60000; else getexp 900000,600000; @@ -5553,6 +5337,7 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 932,{ mes "I'm sure that she can tell you"; mes "more about what happened."; set aru_monas,12; + changequest 17007,17008; next; mes "[High Priest Zhed]"; mes "If you do decide to"; @@ -5578,7 +5363,7 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 932,{ mes "me like that! Saying"; mes "it like that is kind of"; mes "overdoing it, isn't it?"; - emotion 54,1; + emotion e_sigh,1; next; mes "[High Priest Zhed]"; mes "Not at all. In fact, I'm"; @@ -5588,7 +5373,7 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 932,{ mes "by the Valkyries. Now, how"; mes "may I help you, my friend?"; next; - select("Mysterious Building in the Volcano:"); + select("Mysterious Building in the Volcano"); mes "["+strcharinfo(0)+"]"; mes "Actually, I was wondering"; mes "if you knew of anything about"; @@ -5791,10 +5576,10 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 932,{ mes "of a really good way"; mes "for you to infiltrate"; mes "that place. Hmmmm..."; - setquest 2114; set aru_vol,1; + setquest 2114; close2; - cutin "ra_gman",255; + cutin "",255; end; } else if ((aru_vol > 0) && (aru_vol < 5)) { @@ -5883,7 +5668,7 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 932,{ break; } close2; - cutin "ra_gman",255; + cutin "",255; end; } else if (aru_vol == 5) { @@ -5964,8 +5749,8 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 932,{ mes "best chance of entering the Thor"; mes "Volcano camp without suspicion."; delitem 7342,1; //File01 - changequest 2115,2116; set aru_vol,6; + changequest 2115,2116; } else { mes "["+strcharinfo(0)+"]"; @@ -5984,7 +5769,7 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 932,{ mes "best chance of entering the Thor"; mes "Volcano camp without suspicion."; close2; - cutin "ra_gman",255; + cutin "",255; end; } else if ((aru_vol > 6) && (aru_vol < 26)) { @@ -5997,7 +5782,7 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 932,{ mes "best chance of entering the Thor"; mes "Volcano camp without suspicion."; close2; - cutin "ra_gman",255; + cutin "",255; end; } else if (aru_vol == 26) { @@ -6039,14 +5824,11 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 932,{ mes "I will be contacting you again."; mes "Together, we can protect"; mes "peace between our nations."; - completequest 60213; set aru_vol,27; - if(checkre(0)) - getexp 20000,0; - else - getexp 200000,0; + completequest 60213; + getexp (checkre(3))?20000:200000,0; close2; - cutin "ra_gman",255; + cutin "",255; end; } else if (aru_vol > 26) { @@ -6118,7 +5900,7 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 932,{ mes "before the other High"; mes "Priests ruin our nation."; next; - Emotion e_omg,1; + emotion e_omg,1; mes "["+strcharinfo(0)+"]"; mes "Y-you're not thinking"; mes "of overthrowing the"; @@ -6126,7 +5908,7 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 932,{ mes "that a bit extreme?"; next; cutin "ra_gman2",2; - Emotion e_swt; + emotion e_swt; mes "[High Priest Zhed]"; mes "What? No, no!"; mes "Don't jump to conclusions"; @@ -6245,7 +6027,7 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 932,{ mes "I already have someone in"; mes "mind that might help us."; next; - Emotion 52,1; + emotion e_flash,1; mes "["+strcharinfo(0)+"]"; mes "That sounds good."; mes "Who is he?"; @@ -6258,7 +6040,7 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 932,{ mes "may even think I deserve"; mes "to be excommunicated..."; next; - Emotion e_no1,1; + emotion e_no1,1; mes "["+strcharinfo(0)+"]"; mes "Come on, it wouldn't"; mes "hurt to try! Besides,"; @@ -6484,7 +6266,7 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 932,{ mes "Your place in Valhalla is"; mes "already assured, I'm sure."; set aru_em,24; - getexp 150000,0; + getexp (checkre(3))?150000:1500000,0; } else { mes "[High Priest Zhed]"; @@ -7171,9 +6953,10 @@ ra_temsky,99,99,5 script Pope#rachel 936,{ mes "learning. Now I have to"; mes "go officiate services, so..."; mes "This is goodbye for now..."; - set ra_tem_q,17; close2; cutin "",255; + set ra_tem_q,17; + changequest 8100,8101; end; } else { @@ -7275,7 +7058,6 @@ OnTimer120000: stopnpctimer; hideonnpc "High Priestess Niren#ra"; end; - } ra_temin,293,144,0 script out1#rachel -1,3,3,{ @@ -7297,7 +7079,6 @@ OnTouch: end; } end; - } ra_temin,288,151,0 script hidden1#rachel -1,1,6,{ @@ -7456,11 +7237,10 @@ OnTouch: mes "For now, you may as well"; mes "talk to High Priest Zhed.^000000"; set ra_tem_q,19; + changequest 8102,8103; close; } - end; - } ra_temin,272,143,0 script key1#rachel -1,3,3,{ @@ -7485,7 +7265,6 @@ OnTouch: set ra_tem_q,21; close; } - end; } @@ -7511,10 +7290,8 @@ OnTouch: } close; } - mes "^3355FFThe door is locked.^000000"; close; - } que_san04,119,115,0 script imir1#rachel -1,2,2,{ @@ -7601,14 +7378,16 @@ OnTouch: mes "with Bekento, I'm letting"; mes "you off easy. Remember that."; next; - sc_start SC_Blind,600000,0; + sc_start SC_BLIND,600000,0; mes "^3355FFNiren began to chant"; mes "in a low voice, and your"; mes "eyelids grow heavier as you"; mes "grow drowsier and sleepier...^000000"; - set ra_tem_q,22; close2; + cutin "",255; hideonnpc "High Priestess Niren#r2"; + set ra_tem_q,22; + changequest 8104,8105; warp "rachel",163,152; end; } @@ -7641,7 +7420,7 @@ OnTouch: mes "back to Rachel Town. How long"; mes "have you been unconscious?^000000"; next; - sc_end SC_Blind; + sc_end SC_BLIND; mes "^3355FFIt would be best to"; mes "ask High Priest Zhed"; mes "about what had happened.^000000"; @@ -7686,5 +7465,34 @@ OnTouch: end; } -// End of Donation Lottery/High Priest quest //============================================================ +// Old changelog +//============================================================ +//= 1.0 First version, needs testing. [L0ne_W0lf] +//= 1.1 Some slight optimization. [L0ne_W0lf] +//= 1.2 Fixed Man Stuck in Ice only giving 1 Freezing Snow Powder. [L0ne_W0lf] +//= 1.3 Added the ability to redeem lottery tickets before donation max is met. [L0ne_W0lf] +//= 1.4 Removed an erroneous "case". Thanks, Jet. [L0ne_W0lf] +//= 1.5 Fixed a bug in Bruspetti quest. [SinSloth] +//= 1.5b Fixed some typos in various quests. [SinSloth] +//= 1.6 Fixed a couple bugs with the Pope's Office Guards... [L0ne_W0lf] +//= 1.7 Fixed Maheo, he will revert to his frozen state when clicked. [L0ne_W0lf] +//= Replaced instances of "+name+", with "+strcharinfo(0)". +//= 1.8 Various fixes: Hamion will now delete items used for Wind Hammer. [L0ne_W0lf] +//= Fixed EXP reward in Ice Necklace quest, fixed a typo in an NPC header. +//= Another minor fix to Hamion. "< 1" -> "< 2". Added a missing close to +//= the ontouch "key". Thanks to Gepard for pointing them out. +//= 1.9 Fixed a misorder with variable checkings. [SinSloth] +//= 2.0 Fixed experience gains to match upcoming rate adjustments. [SinSloth] +//= 2.1 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf] +//= 2.2 Maheo NPC now uses "setnpcdisplay" instead of two NPCs. [L0ne_W0lf] +//= 2.2a Corrected a Typo error ";;". [Samuray22] +//= 2.3 Added Zhed's portion of Thor Volcano Base Quest. (euRO) [L0ne_W0lf] +//= 2.4 Updated Zhed's Thor Vol. Base addition dialog to iRO's. [L0ne_W0lf] +//= 2.4a Further updates to Zhed's Veins addition. [L0ne_W0lf] +//= 2.5 Added Nameless Island quest addition. [L0ne_W0lf] +//= 2.6 Uncommented ontouchNPC label for Man Stuck in Ice. [L0ne_W0lf] +//= 2.7 Corrected overlaping warp coordinates. [L0ne_W0lf] +//= 2.8 Replaced effect numerics with constants. [L0ne_W0lf] +//= 2.9 Replaced effect numerics with constants. [Samuray22] +//============================================================ \ No newline at end of file -- cgit v1.2.3-70-g09d2