* Implemented Official Cooking Quest.
- Optimized Rachel donation quest, and added Rachel Guide. - Fixed the name of one of Rachel's shops. (Tool Dealer -> Fruit Gardener) - Fixed some typos in the Kyle Hyre Quest's additional comments. git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10714 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
Date Added
|
||||
======
|
||||
2007/06/07
|
||||
* Rev. 10714 Implemented Official Cooking Quest. [L0ne_W0lf]
|
||||
- Optimized Rachel donation quest, and added Rachel Guide.
|
||||
- Fixed the name of one of Rachel's shops. (Tool Dealer -> Fruit Gardener)
|
||||
- Fixed some typos in the Kyle Hyre Quest's additional comments.
|
||||
* Fixed a bug and some typos to Socket Enchant NPC. [SinSloth]
|
||||
- Added totally custom Moscovia warps by Azazel [Lupus]
|
||||
2007/06/06
|
||||
|
||||
96
npc/guides/guides_rachel.txt
Normal file
96
npc/guides/guides_rachel.txt
Normal file
@@ -0,0 +1,96 @@
|
||||
rachel,138,146,5 script Rachel Guide 934,{
|
||||
mes "[Rachel Guide]";
|
||||
mes "Welcome to the capital of";
|
||||
mes "Arunafeltz, Rachel where a warm";
|
||||
mes "breath of goddess Freya reaches.";
|
||||
mes "If this is the first time for you";
|
||||
mes "to use the guide services, why";
|
||||
mes "don't you check the \"Notice\" menu first?";
|
||||
while(1) {
|
||||
next;
|
||||
switch(select("Village Guide:Remove Marks from Mini-Map:Notice:Cancel")) {
|
||||
case 1:
|
||||
mes "[Rachel Guide]";
|
||||
mes "I can tell you any building location as long as it is in Rachel.";
|
||||
mes "So where do you want to go?";
|
||||
if (.@compass_check == 0) {
|
||||
mes "Would you like me";
|
||||
mes "to mark locations";
|
||||
mes "on your Mini-Map?";
|
||||
next;
|
||||
if (select("Yes:No") == 1) set .@compass_check,1;
|
||||
next;
|
||||
|
||||
}
|
||||
while(1) {
|
||||
if (.@wait_button_chk == 0) set .@wait_button_chk,1;
|
||||
else next;
|
||||
|
||||
switch(select("Cheshrumnir:Inn:Weapon Shop:Tool Shop:Airport:Cancel")) {
|
||||
case 1:
|
||||
mes "[Rachel Guide]";
|
||||
mes "Cheshrumnir is a holy ground where pope, the incarnation of goddess Freya stays.";
|
||||
mes "Take the road to the norh to find the building.";
|
||||
if (.@compass_check == 1) viewpoint 1,150,249,1,0xFF0000;
|
||||
break;
|
||||
case 2:
|
||||
mes "[Rachel Guide]";
|
||||
mes "You can rest your fatigue off the journey in the Inn.";
|
||||
mes "The left building next to me is the Inn of Rachel.";
|
||||
if (.@compass_check == 1) viewpoint 1,115,149,2,0xFF00FF;
|
||||
break;
|
||||
case 3:
|
||||
mes "[Rachel Guide]";
|
||||
mes "Do you want to check out the weapons that are sold in Rachel?";
|
||||
mes "The weapon shop is located nearby the western gate.";
|
||||
if (.@compass_check == 1) viewpoint 1,42,87,3,0x99FFFF;
|
||||
break;
|
||||
case 4:
|
||||
mes "[Rachel Guide]";
|
||||
mes "Rachel tool shop sells the best quality potions.";
|
||||
mes "It's located nearby the western gate.";
|
||||
if (.@compass_check == 1) viewpoint 1,83,78,4,0x0000FF;
|
||||
break;
|
||||
case 5:
|
||||
mes "[Rachel Guide]";
|
||||
mes "The Airport is located outside the eastern gate.";
|
||||
if (.@compass_check == 1) viewpoint 1,273,125,5,0x00FF00;
|
||||
break;
|
||||
case 6:
|
||||
mes "[Rachel Guide]";
|
||||
mes "If you like to get rid of all the location marks on your Mini-Map,";
|
||||
mes "just ask me again, and choose \"Remove Marks from Mini-Map\" menu.";
|
||||
set .@Exitloop,1;
|
||||
break;
|
||||
}
|
||||
if (.@Exitloop) break;
|
||||
}
|
||||
break;
|
||||
|
||||
case 2:
|
||||
viewpoint 2,150,249,1,0xFF0000;
|
||||
viewpoint 2,115,149,2,0xFF00FF;
|
||||
viewpoint 2,42,87,3,0x99FFFF;
|
||||
viewpoint 2,83,78,4,0x0000FF;
|
||||
viewpoint 2,273,125,5,0x00FF00;
|
||||
mes "[Rachel Guide]";
|
||||
mes "Okay, they are gone now. If you have more locations to ask, just let me know.";
|
||||
break;
|
||||
case 3:
|
||||
mes "[Rachel Guide]";
|
||||
mes "When you are using the ''Village Guide'' menu,";
|
||||
mes "make sure that building locations will be marked on your mini-map at the upper right side of your screen.";
|
||||
mes "If you cannot see your mini-map, use the short cut key ''ctrl+tab'' or press the ''Map'' button on your basic information windows, okay?";
|
||||
mes "And you can also zoom out your mini-map by using the ''-'' button in case you cannot view the entire map of the village.";
|
||||
break;
|
||||
case 4:
|
||||
mes "[Rachel Guide]";
|
||||
mes "Hope you have a wonderfull journey";
|
||||
mes "in Arunafeltz.";
|
||||
set .@Exitloop2,1;
|
||||
break;
|
||||
}
|
||||
if (.@Exitloop2) break;
|
||||
}
|
||||
close;
|
||||
}
|
||||
@@ -25,6 +25,7 @@
|
||||
//= 1.9 Uncommented Homunculus shop, since Homunculus is working on trunk now. [Evera]
|
||||
//= 1.9a Pet Merchant -> Lighthalzen [erKURITA]
|
||||
//= 1.9b Added items to Chivas Regal
|
||||
//= 1.9c Slight update for Rachel shop: Tool Dealer -> Fruit Gardener [L0ne_W0lf]
|
||||
//============================================================
|
||||
|
||||
|
||||
@@ -279,9 +280,9 @@ prt_in,164,140,4 shop Weapon Dealer 66,1146:-1,1245:-1
|
||||
//RACHEL
|
||||
//=======================================================
|
||||
ra_in01,175,364,3 shop Armor Dealer 919,2101:-1,2103:-1,2403:-1,2405:-1,2503:-1,2321:-1,2314:-1,2309:-1,2335:-1,2628:-1
|
||||
ra_in01,254,300,3 shop Tool Dealer 931,512:-1,513:-1
|
||||
ra_in01,257,269,3 shop Tool Dealer 919,501:-1,502:-1,503:-1,504:-1,506:-1,645:-1,656:-1,601:-1,602:-1,611:-1,1065:-1,610:-1
|
||||
ra_in01,176,389,3 shop Weapon Dealer 931,1201:-1,1207:-1,1216:-1,1107:-1,1122:-1,1116:-1,1154:-1,1407:-1,1457:-1,1354:-1,1519:-1,13003:-1,1601:-1,1604:-1,1607:-1
|
||||
ra_in01,254,300,3 shop Fruit Gardener 931,512:-1,513:-1
|
||||
rachel,65,80,0 shop Vegetable Gardener 919,515:-1,535:-1,516:-1
|
||||
|
||||
//=======================================================
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
//= Made .KHQuestBusy$ into a temp global variable. $@KHQuestBusy$.
|
||||
//= 2.0 Changed the labels on the "Big Doors" to "Identifier Names" to prevent an error with using getvariableofnpc [L0ne_W0lf]
|
||||
//= 2.1 Fifth door now checks for a variable HIGHER or EQUAL to 74 not 84, as pointed out by Stollen. [L0ne_W0lf]
|
||||
//= 2.2 Another fix for elly, no longer RESETS to 26 when you tak to her. [L0ne_W0lf]
|
||||
//= 2.2 Another fix for Elly, no longer RESETS to 26 when you talk to her. [L0ne_W0lf]
|
||||
//= 2.3 Should NOT have been setting .KHQuestBusy at all. It's not used or accessed anymore. Removed. [L0ne_W0lf]
|
||||
//= 2.4 Lots of fixes (4ish) from Valandi. [L0ne_W0lf]
|
||||
//= Added a getmapuser check to the mapwarp in KHTimerEnd so it's not trying to warp out 0 users. [L0ne_W0lf]
|
||||
@@ -48,7 +48,7 @@
|
||||
//= Fixed where Golden_Key and Exquisite_Button are deleted.
|
||||
//= Removed KHTimerEnd, and instead use OnReset.
|
||||
//= Fixed typo in the second NPC that gives Black Keycards.
|
||||
//= Added and Monster Warps. (Keeps monsters from being in dungeon quest area.) Non-functional though.
|
||||
//= Added Monster Warps. (Keeps monsters from being in dungeon quest area.) [Non-functional]
|
||||
//= 2.6 Stupid mistake, accidentally had 4 copies of the same script in 1... [L0ne_W0lf the bonehead]
|
||||
//= 2.7 Fixed the wrong name being displayed for Kiel Hyre in one dialog.
|
||||
//= Removed $@KH_DoorInvoker entirely. The quest is now working like it should according to iRO.
|
||||
@@ -57,12 +57,12 @@
|
||||
//= 2.8 Fixed the weight checking in Vandt, and added official dialog. [L0ne_W0lf]
|
||||
//= Added weight checks for all NPCs that give items. Semi-official dialog.
|
||||
//= Got the missing portion of dialog for Mills'.
|
||||
//= Will add further improper dialogs as I get to them on the second runthrough of the quest.
|
||||
//= Will add further proper dialogs as I get to them on the second runthrough of the quest.
|
||||
//= 2.8a minor optimization with extra goto, else or empty switch [Lupus]
|
||||
//= 2.9 Fixed the "enablenpc problem with the missing spaces. No idea how it happened. [L0ne_W0lf]
|
||||
//= 3.0 Fixed a typo in Elly, in her room. (<= should have been <) [L0ne_W0lf]
|
||||
//= 2.9 Fixed the "enablenpc" problem with the missing spaces. No idea how it happened. [L0ne_W0lf]
|
||||
//= 3.0 Fixed a typo in Elly, in her room. (was <= should have been <) [L0ne_W0lf]
|
||||
//= Added an 'end;' to the cookie basket. Kiel Hyre's final dialog will now delete all quest-related items.
|
||||
//= 3.1 Moved hte "delitem" for all related quest items to the poroper NPC. [L0ne_W0lf
|
||||
//= 3.1 Moved the "delitem" for all related quest items to the proper NPC. [L0ne_W0lf]
|
||||
//============================================================
|
||||
|
||||
//============================================================================
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -3,7 +3,7 @@
|
||||
//===== By: ==================================================
|
||||
//= L0ne_W0lf
|
||||
//===== Current Version: =====================================
|
||||
//= 1.0
|
||||
//= 1.1
|
||||
//===== Compatible With: =====================================
|
||||
//= eAthena SVN
|
||||
//===== Description: =========================================
|
||||
@@ -28,12 +28,13 @@
|
||||
//= Sanctuary Quest:
|
||||
//= - Actually two quests in one. Donation and dungeon quest.
|
||||
//= - Requires 10000 donations before players can start the quest.
|
||||
//= - Variable in use: ra_tem_q (max 22) (unset at end)
|
||||
//= - Variable in use: ra_tem_q (max 23) (unset at end)
|
||||
//= - 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]
|
||||
//============================================================
|
||||
|
||||
// Lost Child Quest (Prerequisite to High Priest quest)
|
||||
@@ -1266,7 +1267,7 @@ rachel,263,32,3 script Kid#ra_in01 931,{
|
||||
//End of Lost Child quest
|
||||
//============================================================
|
||||
|
||||
//Bruspetti Quest (Continuation of Lighthalzen "Friendship" quest)
|
||||
//Bruspetti Quest (Perequisite: Lighthalzen "Friendship" quest)
|
||||
//============================================================
|
||||
ra_in01,235,194,5 script Katinshuell 931,{
|
||||
if (rach_vice > 21) {
|
||||
@@ -3128,6 +3129,7 @@ ice_dun02,120,105,3 script Man Stuck in Ice#cave 924,5,5,{
|
||||
mes "any ideas on breaking";
|
||||
mes "this cold prison of ice?";
|
||||
next;
|
||||
//Need proper check for Hammer_of_Wind and Gray_Necklace
|
||||
mes "["+strcharinfo(0)+"]";
|
||||
mes "Well, he made this";
|
||||
mes "magic hammer which is";
|
||||
@@ -3864,10 +3866,9 @@ OnTouch:
|
||||
mes "Please don't do that!";
|
||||
close;
|
||||
}
|
||||
|
||||
warp "ra_temin",169,23;
|
||||
end;
|
||||
}
|
||||
warp "ra_temin",169,23;
|
||||
end;
|
||||
}
|
||||
|
||||
ra_temple,116,174,3 script Nemma#ra_temple 920,{
|
||||
@@ -3955,85 +3956,15 @@ ra_temple,116,174,3 script Nemma#ra_temple 920,{
|
||||
switch(select("50,000z - 1 Lottery Ticket:100,000z - 2 Lottery Ticket:150,000z - 3 Lottery Ticket:Cancel")) {
|
||||
|
||||
case 1:
|
||||
cutin "ra_nemma01",2;
|
||||
mes "[Priestess Nemma]";
|
||||
mes "So, " + strcharinfo(0) + "...";
|
||||
mes "I just want to make sure:";
|
||||
mes "you want to donate 50,000 ";
|
||||
mes "zeny, and receive 1 Lottery ";
|
||||
mes "Ticket. Is that correct?";
|
||||
next;
|
||||
if (select("No:Yes") == 1) goto L_DoNotDonate;
|
||||
if (zeny >= 50000) {
|
||||
set .@now_weight,MaxWeight-Weight;
|
||||
if (.@now_weight < 10) {
|
||||
goto L_OverWeight;
|
||||
}
|
||||
set $rachel_donate,$rachel_donate+1;
|
||||
getitem 7570,1; //Temple_Lottery_Ticket
|
||||
set zeny,zeny-50000;
|
||||
set ra_have_donated,1;
|
||||
if ($rachel_donate > 9999) goto L_ProgressReport1;
|
||||
else goto L_ProgressReport2;
|
||||
}
|
||||
else {
|
||||
set .@Donate$,"50,000";
|
||||
goto L_NotEnoughZeny;
|
||||
}
|
||||
callsub S_Donate,50000,"50,000",1;
|
||||
break;
|
||||
|
||||
case 2:
|
||||
mes "[Priestess Nemma]";
|
||||
mes "So, " + strcharinfo(0) + "...";
|
||||
mes "I just want to make sure:";
|
||||
mes "you want to donate 100,000 ";
|
||||
mes "zeny, and receive 2 Lottery ";
|
||||
mes "Ticket. Is that correct?";
|
||||
next;
|
||||
if (select("No:Yes") == 1) goto L_DoNotDonate;
|
||||
if (zeny >= 100000) {
|
||||
set .@now_weight,MaxWeight-Weight;
|
||||
if (.@now_weight < 20) {
|
||||
goto L_OverWeight;
|
||||
}
|
||||
set $rachel_donate,$rachel_donate+2;
|
||||
getitem 7570,2; //Temple_Lottery_Ticket
|
||||
set zeny,zeny-100000;
|
||||
set ra_have_donated,1;
|
||||
if ($rachel_donate > 9999) goto L_ProgressReport1;
|
||||
else goto L_ProgressReport2;
|
||||
}
|
||||
else {
|
||||
set .@Donate$,"100,000";
|
||||
goto L_NotEnoughZeny;
|
||||
}
|
||||
callsub S_Donate,100000,"100,000",3;
|
||||
break;
|
||||
|
||||
case 3:
|
||||
mes "[Priestess Nemma]";
|
||||
mes "So, " + strcharinfo(0) + "...";
|
||||
mes "I just want to make sure:";
|
||||
mes "you want to donate 150,000 ";
|
||||
mes "zeny, and receive 3 Lottery ";
|
||||
mes "Ticket. Is that correct?";
|
||||
next;
|
||||
if (select("No:Yes") == 1) goto L_DoNotDonate;
|
||||
if (zeny >= 150000) {
|
||||
set .@now_weight,MaxWeight-Weight;
|
||||
if (.@now_weight < 30) {
|
||||
goto L_OverWeight;
|
||||
}
|
||||
set $rachel_donate,$rachel_donate+3;
|
||||
getitem 7570,3; //Temple_Lottery_Ticket
|
||||
set zeny,zeny-150000;
|
||||
set ra_have_donated,1;
|
||||
if ($rachel_donate > 9999) goto L_ProgressReport1;
|
||||
else goto L_ProgressReport2;
|
||||
}
|
||||
else {
|
||||
set .@Donate$,"150,000";
|
||||
goto L_NotEnoughZeny;
|
||||
}
|
||||
callsub S_Donate,150000,"150,000",3;
|
||||
break;
|
||||
|
||||
case 4:
|
||||
@@ -4077,82 +4008,15 @@ ra_temple,116,174,3 script Nemma#ra_temple 920,{
|
||||
switch(select("50,000z - 1 Lottery Ticket:100,000z - 2 Lottery Ticket:150,000z - 3 Lottery Ticket:Cancel")) {
|
||||
|
||||
case 1:
|
||||
cutin "ra_nemma01",2;
|
||||
mes "[Priestess Nemma]";
|
||||
mes "So, " + strcharinfo(0) + "...";
|
||||
mes "I just want to make sure:";
|
||||
mes "you want to donate 50,000 ";
|
||||
mes "zeny, and receive 1 Lottery ";
|
||||
mes "Ticket. Is that correct?";
|
||||
next;
|
||||
if (select("No:Yes") == 1) goto L_DoNOtDonate;
|
||||
if (zeny >= 50000) {
|
||||
set .@now_weight,MaxWeight-Weight;
|
||||
if (.@now_weight < 10) {
|
||||
goto L_OverWeight;
|
||||
}
|
||||
set $rachel_donate,$rachel_donate+1;
|
||||
getitem 7570,1; //Temple_Lottery_Ticket
|
||||
set zeny,zeny-50000;
|
||||
if ($rachel_donate > 9999) goto L_ProgressReport1;
|
||||
else goto L_ProgressReport2;
|
||||
}
|
||||
else {
|
||||
set .@Donate$,"50,000";
|
||||
goto L_NotEnoughZeny;
|
||||
}
|
||||
callsub S_Donate,50000,"50,000",1;
|
||||
break;
|
||||
|
||||
case 2:
|
||||
mes "[Priestess Nemma]";
|
||||
mes "So, " + strcharinfo(0) + "...";
|
||||
mes "I just want to make sure:";
|
||||
mes "you want to donate 100,000 ";
|
||||
mes "zeny, and receive 2 Lottery ";
|
||||
mes "Ticket. Is that correct?";
|
||||
next;
|
||||
if (select("No:Yes") == 1) goto L_DoNotDonate;
|
||||
if (zeny >= 100000) {
|
||||
set .@now_weight,MaxWeight-Weight;
|
||||
if (.@now_weight < 20) {
|
||||
goto L_OverWeight;
|
||||
}
|
||||
set $rachel_donate,$rachel_donate+2;
|
||||
getitem 7570,2; //Temple_Lottery_Ticket
|
||||
set zeny,zeny-100000;
|
||||
if ($rachel_donate > 9999) goto L_ProgressReport1;
|
||||
else goto L_ProgressReport2;
|
||||
}
|
||||
else {
|
||||
set .@Donate$,"100,000";
|
||||
goto L_NotEnoughZeny;
|
||||
}
|
||||
callsub S_Donate,100000,"100,000",3;
|
||||
break;
|
||||
|
||||
case 3:
|
||||
mes "[Priestess Nemma]";
|
||||
mes "So, " + strcharinfo(0) + "...";
|
||||
mes "I just want to make sure:";
|
||||
mes "you want to donate 150,000 ";
|
||||
mes "zeny, and receive 3 Lottery ";
|
||||
mes "Ticket. Is that correct?";
|
||||
next;
|
||||
if (select("No:Yes") == 1) goto L_DoNotDonate;
|
||||
if (zeny >= 150000) {
|
||||
set .@now_weight,MaxWeight-Weight;
|
||||
if (.@now_weight < 30) {
|
||||
goto L_OverWeight;
|
||||
}
|
||||
set $rachel_donate,$rachel_donate+3;
|
||||
getitem 7570,3; //Temple_Lottery_Ticket
|
||||
set zeny,zeny-150000;
|
||||
if ($rachel_donate > 9999) goto L_ProgressReport1;
|
||||
else goto L_ProgressReport2;
|
||||
}
|
||||
else {
|
||||
set .@Donate$,"150,000";
|
||||
goto L_NotEnoughZeny;
|
||||
}
|
||||
callsub S_Donate,150000,"150,000",3;
|
||||
break;
|
||||
|
||||
case 4:
|
||||
@@ -4398,76 +4262,6 @@ ra_temple,116,174,3 script Nemma#ra_temple 920,{
|
||||
|
||||
}
|
||||
|
||||
L_DoNotDonate:
|
||||
mes "[Priestess Nemma]";
|
||||
mes "Oh, I see. Well, if you";
|
||||
mes "don't have enough zeny with";
|
||||
mes "you, then you can just come";
|
||||
mes "back and donate later. Our";
|
||||
mes "goddess Freya smiles on the";
|
||||
mes "generous and rewards the patient!";
|
||||
goto L_End;
|
||||
|
||||
L_NotEnoughZeny:
|
||||
mes "[Priestess Nemma]";
|
||||
mes "I'm sorry, but you have";
|
||||
mes "less than "+@Donate$+" zeny...";
|
||||
mes "I know it's asking a lot,";
|
||||
mes "but those are the rules that";
|
||||
mes "I've been told to follow, so...";
|
||||
mes "Well, maybe another time, yes?";
|
||||
goto L_End;
|
||||
|
||||
|
||||
L_OverWeight:
|
||||
cutin "ra_nemma02",2;
|
||||
mes "[Priestess Nemma]";
|
||||
mes "I can scarcely believe it...";
|
||||
mes "You're carrying so much stuff,";
|
||||
mes "you don't even have enough";
|
||||
mes "room for a Lottery Ticket.";
|
||||
mes "You'd better put some of";
|
||||
mes "your things in Storage, yes?";
|
||||
next;
|
||||
cutin "ra_nemma01",2;
|
||||
mes "[Priestess Nemma]";
|
||||
mes "Don't worry, I'll still be";
|
||||
mes "here after you make more";
|
||||
mes "space available in your";
|
||||
mes "Inventory. Hurry back, and";
|
||||
mes "donate if you can, okay?";
|
||||
goto L_End;
|
||||
|
||||
L_ProgressReport1:
|
||||
cutin "ra_nemma03",2;
|
||||
mes "[Priestess Nemma]";
|
||||
mes "There you are~";
|
||||
mes "Thanks so much for";
|
||||
mes "your donation! I'm sure";
|
||||
mes "that Freya is smiling down";
|
||||
mes "upon you, and will reward";
|
||||
mes "you for your generosity~";
|
||||
goto L_End;
|
||||
|
||||
L_ProgressReport2:
|
||||
set .@Remaining,10000-$rachel_donate;
|
||||
cutin "ra_nemma03",2;
|
||||
mes "[Priestess Nemma]";
|
||||
mes "Thank you so much! We'll be";
|
||||
mes "continuing to accept donations";
|
||||
mes "until we reach our target. Once";
|
||||
mes "we receive "+.@Remaining+" more donations";
|
||||
mes "in increments of 50,000 zeny,";
|
||||
mes "our fundraiser will finish.";
|
||||
next;
|
||||
mes "[Priestess Nemma]";
|
||||
mes "If you're feeling so";
|
||||
mes "inclined, come back later";
|
||||
mes "and make another contribution.";
|
||||
mes "Thanks again, and may Freya";
|
||||
mes "always watch over you.";
|
||||
goto L_End;
|
||||
|
||||
L_End:
|
||||
close2;
|
||||
cutin "",255;
|
||||
@@ -4477,6 +4271,91 @@ OnEmotion:
|
||||
emotion e_omg;
|
||||
end;
|
||||
|
||||
S_Donate:
|
||||
cutin "ra_nemma01",2;
|
||||
mes "[Priestess Nemma]";
|
||||
mes "So, " + strcharinfo(0) + "...";
|
||||
mes "I just want to make sure:";
|
||||
mes "you want to donate "+getarg(1);
|
||||
mes "zeny, and receive 1 Lottery ";
|
||||
mes "Ticket. Is that correct?";
|
||||
next;
|
||||
if (select("No:Yes") == 1) {
|
||||
mes "[Priestess Nemma]";
|
||||
mes "Oh, I see. Well, if you";
|
||||
mes "don't have enough zeny with";
|
||||
mes "you, then you can just come";
|
||||
mes "back and donate later. Our";
|
||||
mes "goddess Freya smiles on the";
|
||||
mes "generous and rewards the patient!";
|
||||
return;
|
||||
}
|
||||
if (zeny >= getarg(0)) {
|
||||
if (!checkweight(7570,getarg(2))) {
|
||||
cutin "ra_nemma02",2;
|
||||
mes "[Priestess Nemma]";
|
||||
mes "I can scarcely believe it...";
|
||||
mes "You're carrying so much stuff,";
|
||||
mes "you don't even have enough";
|
||||
mes "room for a Lottery Ticket.";
|
||||
mes "You'd better put some of";
|
||||
mes "your things in Storage, yes?";
|
||||
next;
|
||||
cutin "ra_nemma01",2;
|
||||
mes "[Priestess Nemma]";
|
||||
mes "Don't worry, I'll still be";
|
||||
mes "here after you make more";
|
||||
mes "space available in your";
|
||||
mes "Inventory. Hurry back, and";
|
||||
mes "donate if you can, okay?";
|
||||
return;
|
||||
}
|
||||
set $rachel_donate,$rachel_donate+getarg(2);
|
||||
getitem 7570,getarg(2); //Temple_Lottery_Ticket
|
||||
set zeny,zeny-getarg(0);
|
||||
set ra_have_donated,1;
|
||||
if ($rachel_donate > 9999) {
|
||||
cutin "ra_nemma03",2;
|
||||
mes "[Priestess Nemma]";
|
||||
mes "There you are~";
|
||||
mes "Thanks so much for";
|
||||
mes "your donation! I'm sure";
|
||||
mes "that Freya is smiling down";
|
||||
mes "upon you, and will reward";
|
||||
mes "you for your generosity~";
|
||||
return;
|
||||
}
|
||||
else {
|
||||
set .@Remaining,10000-$rachel_donate;
|
||||
cutin "ra_nemma03",2;
|
||||
mes "[Priestess Nemma]";
|
||||
mes "Thank you so much! We'll be";
|
||||
mes "continuing to accept donations";
|
||||
mes "until we reach our target. Once";
|
||||
mes "we receive "+.@Remaining+" more donations";
|
||||
mes "in increments of 50,000 zeny,";
|
||||
mes "our fundraiser will finish.";
|
||||
next;
|
||||
mes "[Priestess Nemma]";
|
||||
mes "If you're feeling so";
|
||||
mes "inclined, come back later";
|
||||
mes "and make another contribution.";
|
||||
mes "Thanks again, and may Freya";
|
||||
mes "always watch over you.";
|
||||
return;
|
||||
}
|
||||
}
|
||||
else {
|
||||
mes "[Priestess Nemma]";
|
||||
mes "I'm sorry, but you have";
|
||||
mes "less than "+@Donate$+" zeny...";
|
||||
mes "I know it's asking a lot,";
|
||||
mes "but those are the rules that";
|
||||
mes "I've been told to follow, so...";
|
||||
mes "Well, maybe another time, yes?";
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
rachel,243,37,3 script Kid#Candy Addict 921,{
|
||||
@@ -5567,8 +5446,6 @@ L_End:
|
||||
|
||||
ra_temin,170,46,3 script Panno#rachel 920,{
|
||||
cutin "ra_fano03",2;
|
||||
if (MISC_QUEST & 8192) goto L_Redeem_Tickets;
|
||||
|
||||
if (ra_tem_q == 10) {
|
||||
mes "[Priestess Panno]";
|
||||
mes "Good day.";
|
||||
@@ -5594,67 +5471,13 @@ ra_temin,170,46,3 script Panno#rachel 920,{
|
||||
mes "know, in case you were saving";
|
||||
mes "them for some weird reason.";
|
||||
next;
|
||||
if (select("Yes:No") == 1) {
|
||||
mes "[Priestess Panno]";
|
||||
mes "Here we go";
|
||||
mes "Excited? Mm";
|
||||
mes "I can redeem only";
|
||||
mes "1 Lottery Ticket at";
|
||||
mes "a time. Your reward";
|
||||
mes "for this ticket is...";
|
||||
next;
|
||||
cutin "ra_fano02",2;
|
||||
if (countitem(7570) > 0) {
|
||||
mes "[Priestess Panno]";
|
||||
mes "^FF0000This^000000. It's been in our";
|
||||
mes "storage for a while, but";
|
||||
mes "I hope this is acceptable";
|
||||
mes "as a token of the temple's";
|
||||
mes "gratitude. May Freya smile";
|
||||
mes "upon you for your generosity...";
|
||||
delitem 7570,1;
|
||||
set .@bonus_donate,rand(100);
|
||||
if (.@bonus_donate == 99) {
|
||||
set .@bonus_donate2,rand(100);
|
||||
if (.@bonus_donate2 > 0 && .@bonus_donate2 < 11) getitem 616,1; //Old Card Album 0.1%
|
||||
else if (.@bonus_donate2 > 10 && .@bonus_donate2 < 31) getitem 617,1; //Old Violet Box 0.2%
|
||||
else if (.@bonus_donate2 > 30 && .@bonus_donate2 < 61) getitem 603,1; //Old Blue Box 0.3%
|
||||
else getitem 607,1; //Yggdrasil Berry 0.4%
|
||||
}
|
||||
else if (.@bonus_donate > 88 && .@bonus_donate < 96) getitem 644,1; //Gift Box 7%
|
||||
else if (.@bonus_donate > 76 && .@bonus_donate < 89) getitem 607,1; //Yggdrasil Berry 12%
|
||||
else if (.@bonus_donate > 65 && .@bonus_donate < 77) getitem 505,1; //Blue Potion 11%
|
||||
else if (.@bonus_donate > 57 && .@bonus_donate < 66) getitem 604,1; //Dead Branch 8%
|
||||
else if (.@bonus_donate > 45 && .@bonus_donate < 58) getitem 608,1; //Yggdrasil Seed 12%
|
||||
else if (.@bonus_donate > 5 && .@bonus_donate < 11) getitem 518,1; //Honey 5%
|
||||
else if (.@bonus_donate > 0 && .@bonus_donate < 6) getitem 526,1; //Royal Jelly 5%
|
||||
else getitem 547,1; //Condensed White Potion 39%
|
||||
goto L_End;
|
||||
}
|
||||
|
||||
mes "[Priestess Panno]";
|
||||
mes "You...";
|
||||
mes "Don't have any Lottery";
|
||||
mes "Tickets to redeem";
|
||||
mes "We're not distributing";
|
||||
mes "them now, but maybe you";
|
||||
mes "can ask your friends for one.";
|
||||
next;
|
||||
cutin "ra_fano03",2;
|
||||
mes "[Priestess Panno]";
|
||||
mes "May Freya be with you.";
|
||||
goto L_End;
|
||||
}
|
||||
|
||||
else {
|
||||
mes "[Priestess Panno]";
|
||||
mes "You can redeem your";
|
||||
mes "Lottery Tickets at any";
|
||||
mes "time, so please visit";
|
||||
mes "me at your leisure.";
|
||||
mes "Go with Freya.";
|
||||
goto L_End;
|
||||
}
|
||||
if (select("Yes:No") == 1) goto L_Lottery;
|
||||
mes "[Priestess Panno]";
|
||||
mes "You can redeem your";
|
||||
mes "Lottery Tickets at any";
|
||||
mes "time, so please visit";
|
||||
mes "me at your leisure.";
|
||||
mes "Go with Freya.";
|
||||
goto L_End;
|
||||
|
||||
case 2:
|
||||
@@ -5882,86 +5705,31 @@ ra_temin,170,46,3 script Panno#rachel 920,{
|
||||
goto L_End;
|
||||
}
|
||||
|
||||
else if (ra_tem_q >= 12) {
|
||||
L_Redeem_Tickets:
|
||||
else if (ra_tem_q >= 12 || MISC_QUEST & 8192) {
|
||||
cutin "ra_fano03",2;
|
||||
mes "[Priestess Panno]";
|
||||
mes "Good day.";
|
||||
mes "Have you come to";
|
||||
mes "redeem Lottery Tickets?";
|
||||
next;
|
||||
if (select("Yes:No") == 1) {
|
||||
if (select("Yes:No") == 1) goto L_Lottery;
|
||||
if (ra_tem_q == 12) {
|
||||
cutin "ra_fano01",2;
|
||||
mes "[Priestess Panno]";
|
||||
mes "Here we go";
|
||||
mes "Excited? Mm";
|
||||
mes "I can redeem only";
|
||||
mes "1 Lottery Ticket at";
|
||||
mes "a time. Your reward";
|
||||
mes "for this ticket is...";
|
||||
next;
|
||||
cutin "ra_fano02",2;
|
||||
if (countitem(7570) > 0) {
|
||||
mes "[Priestess Panno]";
|
||||
mes "^FF0000This^000000. It's been in our";
|
||||
mes "storage for a while, but";
|
||||
mes "I hope this is acceptable";
|
||||
mes "as a token of the temple's";
|
||||
mes "gratitude. May Freya smile";
|
||||
mes "upon you for your generosity...";
|
||||
delitem 7570,1;
|
||||
set .@bonus_donate,rand(100);
|
||||
if (.@bonus_donate == 99) {
|
||||
set .@bonus_donate2,rand(100);
|
||||
if (.@bonus_donate2 > 0 && .@bonus_donate2 < 11) getitem 616,1; //Old Card Album 0.1%
|
||||
else if (.@bonus_donate2 > 10 && .@bonus_donate2 < 31) getitem 617,1; //Old Violet Box 0.2%
|
||||
else if (.@bonus_donate2 > 30 && .@bonus_donate2 < 61) getitem 603,1; //Old Blue Box 0.3%
|
||||
else getitem 607,1; //Yggdrasil Berry 0.4%
|
||||
}
|
||||
else if (.@bonus_donate > 88 && .@bonus_donate < 96) getitem 644,1; //Gift Box 7%
|
||||
else if (.@bonus_donate > 76 && .@bonus_donate < 89) getitem 607,1; //Yggdrasil Berry 12%
|
||||
else if (.@bonus_donate > 65 && .@bonus_donate < 77) getitem 505,1; //Blue Potion 11%
|
||||
else if (.@bonus_donate > 57 && .@bonus_donate < 66) getitem 604,1; //Dead Branch 8%
|
||||
else if (.@bonus_donate > 45 && .@bonus_donate < 58) getitem 608,1; //Yggdrasil Seed 12%
|
||||
else if (.@bonus_donate > 5 && .@bonus_donate < 11) getitem 518,1; //Honey 5%
|
||||
else if (.@bonus_donate > 0 && .@bonus_donate < 6) getitem 526,1; //Royal Jelly 5%
|
||||
else getitem 547,1; //Condensed White Potion 39%
|
||||
goto L_End;
|
||||
}
|
||||
|
||||
mes "[Priestess Panno]";
|
||||
mes "You...";
|
||||
mes "Don't have any Lottery";
|
||||
mes "Tickets to redeem";
|
||||
mes "We're not distributing";
|
||||
mes "them now, but maybe you";
|
||||
mes "can ask your friends for one.";
|
||||
next;
|
||||
cutin "ra_fano03",2;
|
||||
mes "[Priestess Panno]";
|
||||
mes "May Freya be with you.";
|
||||
goto L_End;
|
||||
mes "I already told you";
|
||||
mes "everything I know.";
|
||||
mes "Remember to keep";
|
||||
mes "quiet about what I said.";
|
||||
}
|
||||
|
||||
else {
|
||||
if (ra_tem_q == 12) {
|
||||
cutin "ra_fano01",2;
|
||||
mes "[Priestess Panno]";
|
||||
mes "I already told you";
|
||||
mes "everything I know.";
|
||||
mes "Remember to keep";
|
||||
mes "quiet about what I said.";
|
||||
}
|
||||
|
||||
else {
|
||||
cutin "ra_fano02",2;
|
||||
mes "[Priestess Panno]";
|
||||
mes "This is a holy place";
|
||||
mes "Behave yourself, and";
|
||||
mes "respect those who have";
|
||||
mes "come here just to worship.";
|
||||
}
|
||||
|
||||
cutin "ra_fano02",2;
|
||||
mes "[Priestess Panno]";
|
||||
mes "This is a holy place";
|
||||
mes "Behave yourself, and";
|
||||
mes "respect those who have";
|
||||
mes "come here just to worship.";
|
||||
}
|
||||
goto L_End;
|
||||
|
||||
}
|
||||
|
||||
@@ -5972,7 +5740,59 @@ ra_temin,170,46,3 script Panno#rachel 920,{
|
||||
mes "Behave yourself, and";
|
||||
mes "respect those who have";
|
||||
mes "come here just to worship.";
|
||||
goto L_End;
|
||||
}
|
||||
|
||||
L_Lottery:
|
||||
mes "[Priestess Panno]";
|
||||
mes "Here we go";
|
||||
mes "Excited? Mm";
|
||||
mes "I can redeem only";
|
||||
mes "1 Lottery Ticket at";
|
||||
mes "a time. Your reward";
|
||||
mes "for this ticket is...";
|
||||
next;
|
||||
cutin "ra_fano02",2;
|
||||
if (countitem(7570) > 0) {
|
||||
mes "[Priestess Panno]";
|
||||
mes "^FF0000This^000000. It's been in our";
|
||||
mes "storage for a while, but";
|
||||
mes "I hope this is acceptable";
|
||||
mes "as a token of the temple's";
|
||||
mes "gratitude. May Freya smile";
|
||||
mes "upon you for your generosity...";
|
||||
delitem 7570,1;
|
||||
set .@bonus_donate,rand(100);
|
||||
if (.@bonus_donate == 99) {
|
||||
set .@bonus_donate2,rand(100);
|
||||
if (.@bonus_donate2 > 0 && .@bonus_donate2 < 11) getitem 616,1; //Old Card Album 0.1%
|
||||
else if (.@bonus_donate2 > 10 && .@bonus_donate2 < 31) getitem 617,1; //Old Violet Box 0.2%
|
||||
else if (.@bonus_donate2 > 30 && .@bonus_donate2 < 61) getitem 603,1; //Old Blue Box 0.3%
|
||||
else getitem 607,1; //Yggdrasil Berry 0.4+%
|
||||
}
|
||||
else if (.@bonus_donate > 88 && .@bonus_donate < 96) getitem 644,1; //Gift Box 7%
|
||||
else if (.@bonus_donate > 76 && .@bonus_donate < 89) getitem 607,1; //Yggdrasil Berry 12%
|
||||
else if (.@bonus_donate > 65 && .@bonus_donate < 77) getitem 505,1; //Blue Potion 11%
|
||||
else if (.@bonus_donate > 57 && .@bonus_donate < 66) getitem 604,1; //Dead Branch 8%
|
||||
else if (.@bonus_donate > 45 && .@bonus_donate < 58) getitem 608,1; //Yggdrasil Seed 12%
|
||||
else if (.@bonus_donate > 5 && .@bonus_donate < 11) getitem 518,1; //Honey 5%
|
||||
else if (.@bonus_donate > 0 && .@bonus_donate < 6) getitem 526,1; //Royal Jelly 5%
|
||||
else getitem 547,1; //Condensed White Potion 39%
|
||||
goto L_End;
|
||||
}
|
||||
mes "[Priestess Panno]";
|
||||
mes "You...";
|
||||
mes "Don't have any Lottery";
|
||||
mes "Tickets to redeem";
|
||||
mes "We're not distributing";
|
||||
mes "them now, but maybe you";
|
||||
mes "can ask your friends for one.";
|
||||
next;
|
||||
cutin "ra_fano03",2;
|
||||
mes "[Priestess Panno]";
|
||||
mes "May Freya be with you.";
|
||||
goto L_End;
|
||||
|
||||
L_End:
|
||||
close2;
|
||||
cutin "",255;
|
||||
|
||||
@@ -146,6 +146,7 @@ npc: npc/guides/guides_yun.txt
|
||||
npc: npc/guides/guides_umb.txt
|
||||
npc: npc/guides/guides_nif.txt
|
||||
npc: npc/guides/guides_hu.txt
|
||||
npc: npc/guides/guides_rachel.txt
|
||||
// --------------------------------------------------------------
|
||||
// ---------------- Kafras & Cool Event Corp. -------------------
|
||||
npc: npc/kafras/functions_kafras.txt
|
||||
|
||||
Reference in New Issue
Block a user