summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKisuka <Kisuka@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-07-28 18:44:22 +0000
committerKisuka <Kisuka@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-07-28 18:44:22 +0000
commitd93e35f0130d7ee50948fcc3f2711210f32b34b2 (patch)
treed67a069470ed00b0561c57f2d7a780e2ce35c64b
parent09c4d1ef3a04c03e254b16324cf3a2b83f1d0316 (diff)
downloadhercules-d93e35f0130d7ee50948fcc3f2711210f32b34b2.tar.gz
hercules-d93e35f0130d7ee50948fcc3f2711210f32b34b2.tar.bz2
hercules-d93e35f0130d7ee50948fcc3f2711210f32b34b2.tar.xz
hercules-d93e35f0130d7ee50948fcc3f2711210f32b34b2.zip
- Removed an # symbol in quest_db.txt
- Updated Moscovia quests (Added tide changes and fixed Marozka's time check). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13975 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--db/quest_db.txt2
-rw-r--r--npc/quests/quests_moscovia.txt223
2 files changed, 197 insertions, 28 deletions
diff --git a/db/quest_db.txt b/db/quest_db.txt
index 5f4879660..a2b03590d 100644
--- a/db/quest_db.txt
+++ b/db/quest_db.txt
@@ -214,7 +214,7 @@
3062,0,0,0,0,0,0,0,"Kids in Veins - Find the Locksmith!"
3063,0,0,0,0,0,0,0,"Kids in Veins - Mr. Lockenlock?"
3064,0,0,0,0,0,0,0,"Kids in Veins - Organic Chamelepu Soap"
-3065,0,0,0,0,0,0,0,"#Kids in Veins - Soap Ingredients"
+3065,0,0,0,0,0,0,0,"Kids in Veins - Soap Ingredients"
3066,0,0,0,0,0,0,0,"Kids in Veins - To make a Chamelepu Soap..."
3067,0,0,0,0,0,0,0,"Kids in Veins - Camel Appetite Stimulants"
3068,0,0,0,0,0,0,0,"Kids in Veins - Getting the Camel Dung"
diff --git a/npc/quests/quests_moscovia.txt b/npc/quests/quests_moscovia.txt
index 35cdeef99..95027d1b7 100644
--- a/npc/quests/quests_moscovia.txt
+++ b/npc/quests/quests_moscovia.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= Kisuka
//===== Current Version: =====================================
-//= 1.5
+//= 1.6
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
@@ -17,6 +17,7 @@
//= 1.3 Replaced occurrences of PcName. [brianluau]
//= 1.4 Added 'Koshei the Immortal' quest. [Kisuka]
//= 1.5 Fixes to 'Koshei the Immortal' quest. [Kisuka]
+//= 1.6 Added 'tides' to Ibanoff & Fixed time check for Marozka. [Kisuka]
//============================================================
//============================================================================
@@ -250,6 +251,26 @@ moscovia,171,71,3 script Berbayeff#npc 968,{
}
//----------------------------------------------------------------------------
+// Bulletin Board - List Tide Times
+//----------------------------------------------------------------------------
+moscovia,135,52,0 script Bulletin Board#npc 837,{
+ mes "[Charabel Schedule]";
+ mes "NOTICE, due to the varying";
+ mes "tides here in Moscovia,";
+ mes "the charabel can only";
+ mes "depart when the tide is low.";
+ next;
+ mes "[Charabel Schedule]";
+ mes "The Charabel can depart";
+ mes "between the following times:";
+ mes "^0000FF12:00am PST^000000 to ^0000FF3:00am PST";
+ mes "^0000FF6:00am PST^000000 to ^0000FF9:00am PST";
+ mes "^0000FF12:00pm PST^000000 to ^0000FF3:00pm PST";
+ mes "^0000FF6:00pm PST^000000 to ^0000FF9:00pm PST";
+ close;
+}
+
+//----------------------------------------------------------------------------
// Mr. Ibanoff - Docks
//----------------------------------------------------------------------------
moscovia,135,49,5 script Mr. Ibanoff#npc 964,{
@@ -489,26 +510,63 @@ moscovia,135,49,5 script Mr. Ibanoff#npc 964,{
mes "Oh. Are you ready to depart?";
mes "Good, let's see...";
next;
- if (gettime(3)>=7 && gettime(3)<20) {
+ if (gettime(3) >= 0 && gettime(3) < 3) {
mes "[Mr. Ibanoff]";
mes "Hmm. It's not a bad time.";
mes "We should hurry up";
- mes "before the sun sets.";
+ mes "while the tides are low.";
mes "The ship is prepared already";
mes "at a dock nearby, so we can depart";
mes "right away.";
close2;
warp "mosk_ship",94,110;
end;
- }else{
+ }
+ else if (gettime(3) >= 6 && gettime(3) < 9) {
+ mes "[Mr. Ibanoff]";
+ mes "Hmm. It's not a bad time.";
+ mes "We should hurry up";
+ mes "while the tides are low.";
+ mes "The ship is prepared already";
+ mes "at a dock nearby, so we can depart";
+ mes "right away.";
+ close2;
+ warp "mosk_ship",94,110;
+ end;
+ }
+ else if (gettime(3) >= 12 && gettime(3) < 15) {
+ mes "[Mr. Ibanoff]";
+ mes "Hmm. It's not a bad time.";
+ mes "We should hurry up";
+ mes "while the tides are low.";
+ mes "The ship is prepared already";
+ mes "at a dock nearby, so we can depart";
+ mes "right away.";
+ close2;
+ warp "mosk_ship",94,110;
+ end;
+ }
+ else if (gettime(3) >= 18 && gettime(3) < 21) {
+ mes "[Mr. Ibanoff]";
+ mes "Hmm. It's not a bad time.";
+ mes "We should hurry up";
+ mes "while the tides are low.";
+ mes "The ship is prepared already";
+ mes "at a dock nearby, so we can depart";
+ mes "right away.";
+ close2;
+ warp "mosk_ship",94,110;
+ end;
+ }
+ else {
mes "[Mr. Ibanoff]";
- mes "Gee. The sun has already set.";
+ mes "Gee. The tide is too high.";
mes "It's too dangerous to depart";
- mes "at night because of the waves";
+ mes "right now because of the waves";
mes "getting too rugged.";
next;
mes "[Mr. Ibanoff]";
- mes "When the sun rises again tomorrow,";
+ mes "When the sea calmes down a bit,";
mes "you can come back. We can't depart";
mes "right now.";
close;
@@ -535,27 +593,63 @@ moscovia,135,49,5 script Mr. Ibanoff#npc 964,{
mes "When you are ready to depart, tell me.";
close;
}
- if (gettime(3)>=7 && gettime(3)<20) {
- set mos_whale_edq,4;
+ if (gettime(3) >= 0 && gettime(3) < 3) {
mes "[Mr. Ibanoff]";
mes "Hmm. It's not a bad time.";
mes "We should hurry up";
- mes "before the sun sets.";
+ mes "while the tides are low.";
mes "The ship is prepared already";
mes "at a dock nearby, so we can depart";
mes "right away.";
close2;
warp "mosk_ship",94,110;
end;
- }else{
+ }
+ else if (gettime(3) >= 6 && gettime(3) < 9) {
+ mes "[Mr. Ibanoff]";
+ mes "Hmm. It's not a bad time.";
+ mes "We should hurry up";
+ mes "while the tides are low.";
+ mes "The ship is prepared already";
+ mes "at a dock nearby, so we can depart";
+ mes "right away.";
+ close2;
+ warp "mosk_ship",94,110;
+ end;
+ }
+ else if (gettime(3) >= 12 && gettime(3) < 15) {
mes "[Mr. Ibanoff]";
- mes "Gee. The sun has already set.";
+ mes "Hmm. It's not a bad time.";
+ mes "We should hurry up";
+ mes "while the tides are low.";
+ mes "The ship is prepared already";
+ mes "at a dock nearby, so we can depart";
+ mes "right away.";
+ close2;
+ warp "mosk_ship",94,110;
+ end;
+ }
+ else if (gettime(3) >= 18 && gettime(3) < 21) {
+ mes "[Mr. Ibanoff]";
+ mes "Hmm. It's not a bad time.";
+ mes "We should hurry up";
+ mes "while the tides are low.";
+ mes "The ship is prepared already";
+ mes "at a dock nearby, so we can depart";
+ mes "right away.";
+ close2;
+ warp "mosk_ship",94,110;
+ end;
+ }
+ else {
+ mes "[Mr. Ibanoff]";
+ mes "Gee. The tide is too high.";
mes "It's too dangerous to depart";
- mes "at night because of the waves";
+ mes "right now because of the waves";
mes "getting too rugged.";
next;
mes "[Mr. Ibanoff]";
- mes "When the sun rises again tomorrow,";
+ mes "When the sea calmes down a bit,";
mes "you can come back. We can't depart";
mes "right now.";
close;
@@ -686,26 +780,63 @@ moscovia,135,49,5 script Mr. Ibanoff#npc 964,{
mes "When you are ready to depart, tell me.";
close;
}
- if (gettime(3)>=7 && gettime(3)<20) {
+ if (gettime(3) >= 0 && gettime(3) < 3) {
mes "[Mr. Ibanoff]";
mes "Hmm. It's not a bad time.";
mes "We should hurry up";
- mes "before the sun sets.";
+ mes "while the tides are low.";
mes "The ship is prepared already";
mes "at a dock nearby, so we can depart";
mes "right away.";
close2;
warp "mosk_ship",94,110;
end;
- }else{
+ }
+ else if (gettime(3) >= 6 && gettime(3) < 9) {
+ mes "[Mr. Ibanoff]";
+ mes "Hmm. It's not a bad time.";
+ mes "We should hurry up";
+ mes "while the tides are low.";
+ mes "The ship is prepared already";
+ mes "at a dock nearby, so we can depart";
+ mes "right away.";
+ close2;
+ warp "mosk_ship",94,110;
+ end;
+ }
+ else if (gettime(3) >= 12 && gettime(3) < 15) {
mes "[Mr. Ibanoff]";
- mes "Gee. The sun has already set.";
+ mes "Hmm. It's not a bad time.";
+ mes "We should hurry up";
+ mes "while the tides are low.";
+ mes "The ship is prepared already";
+ mes "at a dock nearby, so we can depart";
+ mes "right away.";
+ close2;
+ warp "mosk_ship",94,110;
+ end;
+ }
+ else if (gettime(3) >= 18 && gettime(3) < 21) {
+ mes "[Mr. Ibanoff]";
+ mes "Hmm. It's not a bad time.";
+ mes "We should hurry up";
+ mes "while the tides are low.";
+ mes "The ship is prepared already";
+ mes "at a dock nearby, so we can depart";
+ mes "right away.";
+ close2;
+ warp "mosk_ship",94,110;
+ end;
+ }
+ else {
+ mes "[Mr. Ibanoff]";
+ mes "Gee. The tide is too high.";
mes "It's too dangerous to depart";
- mes "at night because of the waves";
+ mes "right now because of the waves";
mes "getting too rugged.";
next;
mes "[Mr. Ibanoff]";
- mes "When the sun rises again tomorrow,";
+ mes "When the sea calmes down a bit,";
mes "you can come back. We can't depart";
mes "right now.";
close;
@@ -728,26 +859,63 @@ moscovia,135,49,5 script Mr. Ibanoff#npc 964,{
mes "I can guess you'd like to go to";
mes "Whale Island once again...";
next;
- if (gettime(3)>=7 && gettime(3)<20) {
+ if (gettime(3) >= 0 && gettime(3) < 3) {
mes "[Mr. Ibanoff]";
mes "Hmm. It's not a bad time.";
mes "We should hurry up";
- mes "before the sun sets.";
+ mes "while the tides are low.";
mes "The ship is prepared already";
mes "at a dock nearby, so we can depart";
mes "right away.";
close2;
warp "mosk_ship",94,110;
end;
- }else{
+ }
+ else if (gettime(3) >= 6 && gettime(3) < 9) {
+ mes "[Mr. Ibanoff]";
+ mes "Hmm. It's not a bad time.";
+ mes "We should hurry up";
+ mes "while the tides are low.";
+ mes "The ship is prepared already";
+ mes "at a dock nearby, so we can depart";
+ mes "right away.";
+ close2;
+ warp "mosk_ship",94,110;
+ end;
+ }
+ else if (gettime(3) >= 12 && gettime(3) < 15) {
+ mes "[Mr. Ibanoff]";
+ mes "Hmm. It's not a bad time.";
+ mes "We should hurry up";
+ mes "while the tides are low.";
+ mes "The ship is prepared already";
+ mes "at a dock nearby, so we can depart";
+ mes "right away.";
+ close2;
+ warp "mosk_ship",94,110;
+ end;
+ }
+ else if (gettime(3) >= 18 && gettime(3) < 21) {
+ mes "[Mr. Ibanoff]";
+ mes "Hmm. It's not a bad time.";
+ mes "We should hurry up";
+ mes "while the tides are low.";
+ mes "The ship is prepared already";
+ mes "at a dock nearby, so we can depart";
+ mes "right away.";
+ close2;
+ warp "mosk_ship",94,110;
+ end;
+ }
+ else {
mes "[Mr. Ibanoff]";
- mes "Gee. The sun has already set.";
+ mes "Gee. The tide is too high.";
mes "It's too dangerous to depart";
- mes "at night because of the waves";
+ mes "right now because of the waves";
mes "getting too rugged.";
next;
mes "[Mr. Ibanoff]";
- mes "When the sun rises again tomorrow,";
+ mes "When the sea calmes down a bit,";
mes "you can come back. We can't depart";
mes "right now.";
close;
@@ -13694,10 +13862,11 @@ mosk_fild02,243,270,0 script Marozka#rus31 866,{
mes "I will begin making it now... let me see... Could you please come back to me in an hour?";
set rhea_rus_quiz,4;
set rus_time01,gettime(3);
+ set rus_time02,gettime(4);
close;
}
else if (rhea_rus_quiz == 4) {
- if (rus_time01 < gettime(3)) {
+ if (rus_time01 < gettime(3) || rus_time02 < gettime(4) || (rus_time02 == 6 && gettime(4) == 0)) {
mes "[Marozka]";
mes "Ah, just in time.";
mes "I have finally finished making the 'Golden Thread'. Just wait one more second and it'll be ready.";