From df9d1379fd58086940073767ab10a692c93afea3 Mon Sep 17 00:00:00 2001 From: MobiusDev <8391001+MobiusDevelopment@users.noreply.github.com> Date: Mon, 1 Aug 2016 17:51:26 +0000 Subject: [PATCH] Quest Four Goblets (620). Contributed by gigilo1968. --- .../data/scripts/quests/MissingQuests.txt | 3 - .../quests/Q00620_FourGoblets/31452-01.html | 4 + .../quests/Q00620_FourGoblets/31452-02.html | 4 + .../quests/Q00620_FourGoblets/31452-3.htm | 4 + .../quests/Q00620_FourGoblets/31452-4.htm | 4 + .../quests/Q00620_FourGoblets/31452-5.htm | 4 + .../quests/Q00620_FourGoblets/31452-6.htm | 3 + .../quests/Q00620_FourGoblets/31453-1.htm | 5 + .../quests/Q00620_FourGoblets/31453-10.htm | 5 + .../quests/Q00620_FourGoblets/31453-11.htm | 5 + .../quests/Q00620_FourGoblets/31453-12.htm | 6 + .../quests/Q00620_FourGoblets/31453-13.htm | 4 + .../quests/Q00620_FourGoblets/31453-14.htm | 6 + .../quests/Q00620_FourGoblets/31453-15.htm | 6 + .../quests/Q00620_FourGoblets/31453-15a.htm | 5 + .../quests/Q00620_FourGoblets/31453-16.htm | 6 + .../quests/Q00620_FourGoblets/31453-17.htm | 6 + .../quests/Q00620_FourGoblets/31453-18.htm | 3 + .../quests/Q00620_FourGoblets/31453-19.htm | 3 + .../quests/Q00620_FourGoblets/31453-2.htm | 5 + .../quests/Q00620_FourGoblets/31453-20.htm | 9 + .../quests/Q00620_FourGoblets/31453-21.htm | 5 + .../quests/Q00620_FourGoblets/31453-21a.htm | 5 + .../quests/Q00620_FourGoblets/31453-22.htm | 5 + .../quests/Q00620_FourGoblets/31453-23.htm | 4 + .../quests/Q00620_FourGoblets/31453-24.htm | 6 + .../quests/Q00620_FourGoblets/31453-25.htm | 4 + .../quests/Q00620_FourGoblets/31453-26.htm | 5 + .../quests/Q00620_FourGoblets/31453-26a.htm | 4 + .../quests/Q00620_FourGoblets/31453-3.htm | 5 + .../quests/Q00620_FourGoblets/31453-4.htm | 6 + .../quests/Q00620_FourGoblets/31453-5.htm | 5 + .../quests/Q00620_FourGoblets/31453-6.htm | 6 + .../quests/Q00620_FourGoblets/31453-7.htm | 6 + .../quests/Q00620_FourGoblets/31453-8.htm | 6 + .../quests/Q00620_FourGoblets/31453-9.htm | 5 + .../quests/Q00620_FourGoblets/31454-1.htm | 4 + .../quests/Q00620_FourGoblets/31454-10.htm | 5 + .../quests/Q00620_FourGoblets/31454-11.htm | 4 + .../quests/Q00620_FourGoblets/31454-12.htm | 6 + .../quests/Q00620_FourGoblets/31454-13.htm | 3 + .../quests/Q00620_FourGoblets/31454-14.htm | 3 + .../quests/Q00620_FourGoblets/31454-15.htm | 3 + .../quests/Q00620_FourGoblets/31454-16.htm | 13 + .../quests/Q00620_FourGoblets/31454-17.htm | 3 + .../quests/Q00620_FourGoblets/31454-2.htm | 5 + .../quests/Q00620_FourGoblets/31454-3.htm | 5 + .../quests/Q00620_FourGoblets/31454-4.htm | 6 + .../quests/Q00620_FourGoblets/31454-5.htm | 4 + .../quests/Q00620_FourGoblets/31454-6.htm | 5 + .../quests/Q00620_FourGoblets/31454-7.htm | 4 + .../quests/Q00620_FourGoblets/31454-8.htm | 6 + .../quests/Q00620_FourGoblets/31454-9.htm | 4 + .../quests/Q00620_FourGoblets/31919-0.htm | 4 + .../quests/Q00620_FourGoblets/31919-1.htm | 4 + .../quests/Q00620_FourGoblets/31919-3.htm | 3 + .../quests/Q00620_FourGoblets/31919-4.htm | 3 + .../quests/Q00620_FourGoblets/31919-5.htm | 3 + .../quests/Q00620_FourGoblets/31919-6.htm | 3 + .../quests/Q00620_FourGoblets/31920-0.htm | 4 + .../quests/Q00620_FourGoblets/31921-E.htm | 4 + .../quests/Q00620_FourGoblets/31922-E.htm | 4 + .../quests/Q00620_FourGoblets/31923-E.htm | 4 + .../quests/Q00620_FourGoblets/31924-E.htm | 4 + .../Q00620_FourGoblets.java | 1265 +++++++++++++++++ .../Q10794_InvestigateTheForest.java | 1 - .../scripts/quests/QuestMasterHandler.java | 2 + 67 files changed, 1564 insertions(+), 4 deletions(-) create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31452-01.html create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31452-02.html create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31452-3.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31452-4.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31452-5.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31452-6.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-1.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-10.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-11.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-12.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-13.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-14.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-15.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-15a.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-16.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-17.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-18.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-19.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-2.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-20.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-21.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-21a.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-22.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-23.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-24.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-25.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-26.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-26a.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-3.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-4.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-5.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-6.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-7.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-8.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-9.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-1.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-10.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-11.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-12.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-13.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-14.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-15.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-16.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-17.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-2.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-3.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-4.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-5.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-6.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-7.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-8.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-9.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31919-0.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31919-1.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31919-3.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31919-4.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31919-5.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31919-6.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31920-0.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31921-E.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31922-E.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31923-E.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31924-E.htm create mode 100644 trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/Q00620_FourGoblets.java diff --git a/trunk/dist/game/data/scripts/quests/MissingQuests.txt b/trunk/dist/game/data/scripts/quests/MissingQuests.txt index f5861c5ac8..cf4092f45a 100644 --- a/trunk/dist/game/data/scripts/quests/MissingQuests.txt +++ b/trunk/dist/game/data/scripts/quests/MissingQuests.txt @@ -4,7 +4,6 @@ 180 Infernal Flames Burning in Crystal Prison 181 Devils Strike Back, Advent of Balok 245 Come to Me -353 Power of Darkness 459 The Villain of the Underground Mine, Teredor 460 Precious Research Material 462 Stuffed Ancient Heroes @@ -20,9 +19,7 @@ 483 Intended Tactic 491 In Nomine Patris 504 Competition for the Bandit Stronghold -505 Blood Offering 512 Blade Under Foot -620 Four Goblets 655 A Grand Plan for Taming Wild Beasts 665 Great Pirate Zaken's Treasure 666 Leona Blackbird's Treasure diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31452-01.html b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31452-01.html new file mode 100644 index 0000000000..ef1a386b14 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31452-01.html @@ -0,0 +1,4 @@ +Ghost of Wigoth:
+Come on, let's get out of here!
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31452-02.html b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31452-02.html new file mode 100644 index 0000000000..251a771a4e --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31452-02.html @@ -0,0 +1,4 @@ +Ghost of Wigoth:
+I already gathered three glasses. You did good too. I'm not brave enough to face those women.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31452-3.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31452-3.htm new file mode 100644 index 0000000000..ee2146c4ce --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31452-3.htm @@ -0,0 +1,4 @@ +Ghost of Wigoth:
+I'll tell you later. Let's get out of here first.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31452-4.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31452-4.htm new file mode 100644 index 0000000000..99d7b59bf0 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31452-4.htm @@ -0,0 +1,4 @@ +Ghost of Wigoth:
+They were Alectia, Tishas, Mekara, Morigul. Their devilish features bely their royal beauty. Let's get out of here.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31452-5.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31452-5.htm new file mode 100644 index 0000000000..5fee729f74 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31452-5.htm @@ -0,0 +1,4 @@ +Ghost of Wigoth:
+They were once my companions. Let's get out of here, quickly!
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31452-6.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31452-6.htm new file mode 100644 index 0000000000..dfcacb8af0 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31452-6.htm @@ -0,0 +1,3 @@ +Ghost of Wigoth:
+Come on, let's go. + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-1.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-1.htm new file mode 100644 index 0000000000..f7b0248901 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-1.htm @@ -0,0 +1,5 @@ +Nameless Spirit:
+Delusions of grandeur and venal greed have resulted in this holy sepulcher becoming infested with demons and other evil monsters! If I could, I would drive every one of those vile creatures from this sacred place!
+But unfortunately...
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-10.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-10.htm new file mode 100644 index 0000000000..85c9597d50 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-10.htm @@ -0,0 +1,5 @@ +Nameless Spirit:
+Naturally, I have a plan! After you defeat the shadows of Halisha, my friend will come and let you out. He'll teleport you to the Pilgrim's Temple and open the sealed boxes for you.
+My companion doesn't care for the shadows of Halisha, and he won't show up until they're all dead. Basically, you must defeat all the shadows if you are to escape! Don't forget to ask my friend to open all the boxes when you meet him.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-11.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-11.htm new file mode 100644 index 0000000000..a68a0e750a --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-11.htm @@ -0,0 +1,5 @@ +Nameless Spirit:
+Don't worry! Show your used sepulcher pass to the ghost of Elmoreden's chamberlain at the Pilgrim's Temple. She'll teleport you here again. The pass will let her know that you've been here before. You can find another ghost of Elmoreden's chamberlain near the gate of the Wall of Argos.
+Well, you got all that? What do you think? Will you help me?
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-12.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-12.htm new file mode 100644 index 0000000000..95e2daf2df --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-12.htm @@ -0,0 +1,6 @@ +Nameless Soul:
+Delusions of grandeur and venal greed has resulted in this holy sepulcher becoming infested with demons and other evil monsters. If I could, I would drive every one of those vile creatures from this sacred place!
+But unfortunately...
+Oh, never mind. Obviously, you're not ready! Come back when you've had more training!
+(This quest may only be undertaken by a character of level 74 - 80.) + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-13.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-13.htm new file mode 100644 index 0000000000..17c82b2a10 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-13.htm @@ -0,0 +1,4 @@ +Nameless Soul:
+I'm counting on you! Come back when you've collected all four cups. I'll take it from there.
+If you have any questions about the four sepulchers, just let me know! + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-14.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-14.htm new file mode 100644 index 0000000000..96fc910196 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-14.htm @@ -0,0 +1,6 @@ +Nameless Spirit:
+Slaughter the shadows of Halisha in the deepest part of the Four Sepulchers and bring me the four goblets
+
+
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-15.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-15.htm new file mode 100644 index 0000000000..2e12f84b9d --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-15.htm @@ -0,0 +1,6 @@ +Nameless Soul:
+At last, you've brought all of the four cups! I'll bet Wigoth had some stories to tell!? I suppose now I can tell you the truth. I'm the one I mentioned earlier who would help you escape.
+I finally came to my senses, and even after hiding in this grave, I was terrified that someone would steal my treasure! I've really been acting crazy lately!
+I thought the evil creatures would protect my treasure, and I ordered Wigoth to place all my treasure in the boxes and seal them. Actually, the shadows of Halisha are also...
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-15a.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-15a.htm new file mode 100644 index 0000000000..56c1b35427 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-15a.htm @@ -0,0 +1,5 @@ +Nameless Soul:
+They were my royal guards, Alectia, Tishas, Mekara and Morigul! I thought I'd make them stronger than ever to protect myself and my treasures. I was not thinking too clearly at that time! So I gave them over to the demon, with catastrophic results!
+Well, we can't let all your hard work go to waste! My friends may not be many, but I can trust them! They'll help me undo the damage I've done! If we are to restore the four sepulchers, I must confront my own demons!
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-16.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-16.htm new file mode 100644 index 0000000000..9c79a02d85 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-16.htm @@ -0,0 +1,6 @@ +Nameless Soul:
+My guards weren't the only ones given over to the demon. I'll tell you more about that later.
The restoration of the sepulchers will be hard work! You could help a lot by continuing to battle the creatures that infest that place!
Oh, here's your reward for bringing the four cups.Give it to the ghost of Elmoreden's chamberlain or the ghost of Elmoreden's page and they'll teleport you to the Imperial graveyard.
+
+
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-17.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-17.htm new file mode 100644 index 0000000000..fc06fb7e83 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-17.htm @@ -0,0 +1,6 @@ +Nameless Soul:
+You've brought all four cups! Restoring the sepulcher to its original state is going to take some time. Please continue to destroy as many of the evil creatures there as you can.
+
+
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-18.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-18.htm new file mode 100644 index 0000000000..b4bb97c050 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-18.htm @@ -0,0 +1,3 @@ +Nameless Spirit:
+I'll miss you. Thanks you for your help. + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-19.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-19.htm new file mode 100644 index 0000000000..94e933d3d7 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-19.htm @@ -0,0 +1,3 @@ +Nameless Soul:
+Excellent! I'll be counting on you! + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-2.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-2.htm new file mode 100644 index 0000000000..b6670be278 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-2.htm @@ -0,0 +1,5 @@ +Nameless Spirit:
+If we are to destroy them we must get the four goblets from them. You should look for the shadows of Halisha in the deepest part of the Four Sepulchers.
+Would you help me gather the four goblets? What do you have to lose? It'll be good for you!
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-20.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-20.htm new file mode 100644 index 0000000000..4a44c1f143 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-20.htm @@ -0,0 +1,9 @@ +Nameless Soul:
+What do you want to know?
+
+
+
+
+
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-21.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-21.htm new file mode 100644 index 0000000000..b381a2d107 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-21.htm @@ -0,0 +1,5 @@ +Nameless Soul:
+You can get the Sealed Boxes from the evil creatures inside the four sepulchers. These boxes are sealed with an incredible magic, impervious to even the most determined graverobber! Defeat the shadows of Halisha and my friend will help you escape and open the Sealed Boxes for you.
+By the way...
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-21a.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-21a.htm new file mode 100644 index 0000000000..098a8c5bed --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-21a.htm @@ -0,0 +1,5 @@ +Nameless Soul:
+By the way, my friend really hates the shadows of Halisha, and won't show up until you've defeated them. I don't have enough power to open the Sealed Boxes, so you'll need my companion to open them for you.
+My friend collects relics from the ancient Empire. Bring him some and he'll exchange it for something good...You can find out more from him.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-22.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-22.htm new file mode 100644 index 0000000000..ffc94528d2 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-22.htm @@ -0,0 +1,5 @@ +Nameless Soul:
+Entry is restricted to those who possess a sepulcher pass. The nobles who unknowingly came here to worship were cruelly massacred by evil creatures. Maybe we could get the passes from their corpses!
+They won't be easy to find, however. The ghost of an adventurer that haunts the gate of the Imperial graveyard will give us one if we do him a favor. The passes can only be used once, so you should get a few.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-23.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-23.htm new file mode 100644 index 0000000000..4975445733 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-23.htm @@ -0,0 +1,4 @@ +Nameless Soul:
+Entry to the sepulcher is only permitted at certain times. Only one party may enter at a time. All parties must have at least four members. When the gate opens, all party members should hurry inside to avoid being locked out. Once one party enters, no others may enter until the set time.
All party members are expected to do you a favor, and they all must have a sepulcher pass.
Once you satisfy these conditions, you should have no trouble getting in. But be careful what you ask for... This is not your average sepulcher!
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-24.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-24.htm new file mode 100644 index 0000000000..ee00dc1ebe --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-24.htm @@ -0,0 +1,6 @@ +Nameless Soul:
+When it is time for the party to leave the sepulcher, they are sent to the Temple of Pilgrims. You must defeat the shadow of Halisha before the next entry time.
+The sepulcher has several interconnected rooms, and you must find keys to open the locked doors. You can get the keys from evil creatures that appear when you open a suspicious box. Doors close periodically, so you'd better use them while they're open!
+You'll find the shadows of Halisha in one of the rooms.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-25.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-25.htm new file mode 100644 index 0000000000..d6877cb8dc --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-25.htm @@ -0,0 +1,4 @@ +Nameless Soul:
+The shadow of Halisha is located in the last room of each sepulcher. Each sepulcher, of which there are four, has a different shadow. Each of the shadows has four cups. By the way, the four shadows of Halisha change their location whenever they appear. This may turn out to be harder than you thought!
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-26.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-26.htm new file mode 100644 index 0000000000..dd4080733f --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-26.htm @@ -0,0 +1,5 @@ +Nameless Soul:
+After defeating the Shadow of Halisha, a friend of mine will come and teleport you to the Temple of Pilgrims. He'll open the Sealed Boxes for you there... Of course, if you don't defeat the shadow of Halisha in time, you'll be sent to the Temple of Pilgrims.
+It's quite a distance from the Temple of Pilgrims to the Imperial graveyard, isn't it?
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-26a.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-26a.htm new file mode 100644 index 0000000000..fe1f0ddc99 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-26a.htm @@ -0,0 +1,4 @@ +Nameless Soul:
+Don't worry! Show your used sepulcher pass to the ghost of Elmoreden's chamberlain at the Temple of Pilgrims. She'll teleport you back here. The pass proves that you've been here before. You can find another ghost of Elmoreden's chamberlain near the gate of the Wall of Argos.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-3.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-3.htm new file mode 100644 index 0000000000..ba4673f2ef --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-3.htm @@ -0,0 +1,5 @@ +Nameless Spirit:
+There are some very securely Sealed Boxes within the Four Sepulchers. They contain the treasures of the ancestors, and have been sealed against graverobbers with some extremely powerful magic. The demons are another very effective tool against thievery there. Sometimes, too effective!
+Well, why are we standing around wasting time? Let's get those boxes!
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-4.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-4.htm new file mode 100644 index 0000000000..2c8bab2595 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-4.htm @@ -0,0 +1,6 @@ +Nameless Spirit:
+I've got just the guy for the job! He'll open them for you. Some of the boxes will be empty, but you'll get lucky eventually! You can keep everything you find!
+My friend collects relics of the Empire. Bring him some and he'll give you something nice!
+Oh! I almost forgot! There are hidden traps set at the enterances to this sepulcher to discourage trespassers...
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-5.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-5.htm new file mode 100644 index 0000000000..912bee6b21 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-5.htm @@ -0,0 +1,5 @@ +Nameless Spirit:
+You must have a pass to enter the sepulcher.This is done to ensure the security fo the sacred final resting place to the Emperors. It's given to nobles who come to worship here. Unfortunately, the worshippers stopped coming when the monsters moved in.
+Sigh...
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-6.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-6.htm new file mode 100644 index 0000000000..aa7b7ba087 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-6.htm @@ -0,0 +1,6 @@ +Nameless Spirit:
+The nobles who unknowingly came here to worship were cruelly massacred by evil creatures. Maybe we could get the passes from their corpses!
+They won't be easy to find, however. The ghost of an adventurer that haunts the gate of the Imperial graveyard will give us one if we do him a favor. The passes can only be used once, so you should get a few.
+The pass isn't the only requirement for entry, though!
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-7.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-7.htm new file mode 100644 index 0000000000..e4757858ec --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-7.htm @@ -0,0 +1,6 @@ +Nameless Spirit:
+Entry to the sepulcher is only permitted at certain times. Only one party may enter at a time. All parties must have at least four memebers. When the gate opens, all party members should hurry inside to avoid being locked out. Once one party enters, no others may enter until the set time.
+All party members are expected to do you a favor, and they all must have a sepulcher pass.
+Once you satisfy these conditions, you should have no trouble getting in. But be careful what you ask for... This is not your average sepulcher!
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-8.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-8.htm new file mode 100644 index 0000000000..a6f4b940e1 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-8.htm @@ -0,0 +1,6 @@ +Nameless Spirit:
+When it is time for the party to leave the sepulcher, they are sent to the Pilgrim's Temple. You must defeat the shadow of Halisha before the next entry time.
+The sepulcher has several interconnected rooms, and you must find keys to open the locked doors. You can get the keys from evil creatures that appear when you open a suspicious box. Doors close periodically, so you'd better use them while they're open!
+You'll find the shadows of Halisha in one of the rooms.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-9.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-9.htm new file mode 100644 index 0000000000..e35c9706cb --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31453-9.htm @@ -0,0 +1,5 @@ +Nameless Spirit:
+Different shadows of Halisha inhabit each sepulcher. Each one has four different kinds of goblets. The four shadows are likely to appear in any location. This may turn out to be harder than you thought!
+Anyway, if you take the goblets from the shadows of Halisha, the door you came in through will be closed.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-1.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-1.htm new file mode 100644 index 0000000000..227dc739a0 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-1.htm @@ -0,0 +1,4 @@ +Ghost of Wigoth:
+Take the four glasses you gathered to the Nameless Soul in the Four Sepulchers. The exit is over there.
+Are you still gathering relics of the Elmoreden Empire? If you bring me 1000 relics, I'll trade them for a grade S weapon recipe. Call it nostalgia. + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-10.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-10.htm new file mode 100644 index 0000000000..74dcbd7686 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-10.htm @@ -0,0 +1,5 @@ +Ghost of Wigoth:
+If you like, I can open the Sealed Boxes for you.
+Are you still gathering relics of the Elmoreden Empire? If you bring me 1000 relics, I'll trade them for a grade S weapon recipe. Call it nostalgia.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-11.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-11.htm new file mode 100644 index 0000000000..8f3b286e3c --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-11.htm @@ -0,0 +1,4 @@ +Ghost of Wigoth:
+Are you still gathering relics of the Elmoreden Empire? If you bring me 1000 relics, I'll trade them for a grade S weapon recipe. Call it nostalgia.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-12.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-12.htm new file mode 100644 index 0000000000..3b34230edf --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-12.htm @@ -0,0 +1,6 @@ +Ghost of Wigoth:
+If you like, I can open the Sealed Boxes for you.
+Are you still gathering relics of the Elmoreden Empire? If you bring me 1000 relics, I'll trade them for a grade S weapon recipe. Call it nostalgia.
+
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-13.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-13.htm new file mode 100644 index 0000000000..eb7b92b77b --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-13.htm @@ -0,0 +1,3 @@ +Ghost of Wigoth:
+Look what's in the box! + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-14.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-14.htm new file mode 100644 index 0000000000..105c788829 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-14.htm @@ -0,0 +1,3 @@ +Ghost of Wigoth:
+The box is empty! + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-15.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-15.htm new file mode 100644 index 0000000000..2ba1b25b20 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-15.htm @@ -0,0 +1,3 @@ +Ghost of Wigoth:
+The box is broken! + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-16.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-16.htm new file mode 100644 index 0000000000..b2686c61eb --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-16.htm @@ -0,0 +1,13 @@ +Ghost of Wigoth:
+Which recipe do you want to trade for?
+
+
+
+
+
+
+
+
+
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-17.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-17.htm new file mode 100644 index 0000000000..2193591101 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-17.htm @@ -0,0 +1,3 @@ +Ghost of Wigoth:
+Gather more and I'll trade you again. + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-2.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-2.htm new file mode 100644 index 0000000000..1ea48303f3 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-2.htm @@ -0,0 +1,5 @@ +Ghost of Wigoth:
+Take the four glasses you gathered to the Nameless Soul in the Four Sepulchers later. If you like, I can open the Sealed Boxes for you.
+Are you still gathering relics of the Elmoreden Empire? If you bring me 1000 relics, I'll trade them for a grade S weapon recipe. Call it nostalgia.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-3.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-3.htm new file mode 100644 index 0000000000..85d188700f --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-3.htm @@ -0,0 +1,5 @@ +Ghost of Wigoth:
+Take the four glasses you gathered to the Nameless Soul in the Four Sepulchers later.
+Are you still gathering relics of the Elmoreden Empire? If you bring me 1000 relics, I'll trade them for a grade S weapon recipe. Call it nostalgia.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-4.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-4.htm new file mode 100644 index 0000000000..2b825362fb --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-4.htm @@ -0,0 +1,6 @@ +Ghost of Wigoth:
+Take the four glasses you gathered to the Nameless Soul in the Four Sepulchers later. If you like, I can open the Sealed Boxes for you.
+Are you still gathering relics of the Elmoreden Empire? If you bring me 1000 relics, I'll trade them for a grade S weapon recipe. Call it nostalgia.
+
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-5.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-5.htm new file mode 100644 index 0000000000..70de2c9cdf --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-5.htm @@ -0,0 +1,4 @@ +Ghost of Wigoth:
+Good job, the exit is over there.
+Are you still gathering relics of the Elmoreden Empire? If you bring me 1000 relics, I'll trade them for a grade S weapon recipe. Call it nostalgia. + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-6.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-6.htm new file mode 100644 index 0000000000..74dcbd7686 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-6.htm @@ -0,0 +1,5 @@ +Ghost of Wigoth:
+If you like, I can open the Sealed Boxes for you.
+Are you still gathering relics of the Elmoreden Empire? If you bring me 1000 relics, I'll trade them for a grade S weapon recipe. Call it nostalgia.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-7.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-7.htm new file mode 100644 index 0000000000..8f3b286e3c --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-7.htm @@ -0,0 +1,4 @@ +Ghost of Wigoth:
+Are you still gathering relics of the Elmoreden Empire? If you bring me 1000 relics, I'll trade them for a grade S weapon recipe. Call it nostalgia.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-8.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-8.htm new file mode 100644 index 0000000000..3b34230edf --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-8.htm @@ -0,0 +1,6 @@ +Ghost of Wigoth:
+If you like, I can open the Sealed Boxes for you.
+Are you still gathering relics of the Elmoreden Empire? If you bring me 1000 relics, I'll trade them for a grade S weapon recipe. Call it nostalgia.
+
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-9.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-9.htm new file mode 100644 index 0000000000..0fa528e186 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31454-9.htm @@ -0,0 +1,4 @@ +Ghost of Wigoth:
+The exit is over there.
+Are you still gathering relics of the Elmoreden Empire? If you bring me 1000 relics, I'll trade them for a grade S weapon recipe. Call it nostalgia. + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31919-0.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31919-0.htm new file mode 100644 index 0000000000..982cd29f43 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31919-0.htm @@ -0,0 +1,4 @@ +Ghost Chamberlain of Elmoreden:
+I teleport travelers to the Imperial Tomb. Only those who have visited the Four Sepulchers in the past may go there.
+To teleport, the traveler must carry a used pass for the sepulcher. I can also teleport those who possess any document that proves that they are directly connected to the Imperial Tomb. + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31919-1.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31919-1.htm new file mode 100644 index 0000000000..11799bcfb3 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31919-1.htm @@ -0,0 +1,4 @@ +Ghost Chamberlain of Elmoreden:
+Ah, you're helping him, eh? I'm not that strong anymore, but I've broken a seal or two! Unfortunately, when I try to do it now, it rarely works! I've started breaking quite a few boxes, too! But if you don't mind the risk, I'll try to open the box for you.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31919-3.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31919-3.htm new file mode 100644 index 0000000000..83b9722b6c --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31919-3.htm @@ -0,0 +1,3 @@ +Ghost Chamberlain of Elmoreden:
+Wow! Something came out of it! + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31919-4.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31919-4.htm new file mode 100644 index 0000000000..cbf87bdedc --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31919-4.htm @@ -0,0 +1,3 @@ +Ghost Chamberlain of Elmoreden:
+Hmm. The box is empty. + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31919-5.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31919-5.htm new file mode 100644 index 0000000000..86bc257832 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31919-5.htm @@ -0,0 +1,3 @@ +Ghost Chamberlain of Elmoreden:
+I'm so sorry! The box just disintegrated! + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31919-6.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31919-6.htm new file mode 100644 index 0000000000..1589e00ae7 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31919-6.htm @@ -0,0 +1,3 @@ +Ghost Chamberlain of Elmoreden:
+I don't see a box... Come back when you find one! + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31920-0.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31920-0.htm new file mode 100644 index 0000000000..982cd29f43 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31920-0.htm @@ -0,0 +1,4 @@ +Ghost Chamberlain of Elmoreden:
+I teleport travelers to the Imperial Tomb. Only those who have visited the Four Sepulchers in the past may go there.
+To teleport, the traveler must carry a used pass for the sepulcher. I can also teleport those who possess any document that proves that they are directly connected to the Imperial Tomb. + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31921-E.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31921-E.htm new file mode 100644 index 0000000000..83757f8c75 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31921-E.htm @@ -0,0 +1,4 @@ +Conquerors' Sepulcher Manager:
+Hark! Who goes there?
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31922-E.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31922-E.htm new file mode 100644 index 0000000000..f696f63bc3 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31922-E.htm @@ -0,0 +1,4 @@ +Emperors' Sepulcher Manager:
+Enter if you dare!
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31923-E.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31923-E.htm new file mode 100644 index 0000000000..9c2f36bc60 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31923-E.htm @@ -0,0 +1,4 @@ +Great Sages' Sepulcher Manager:
+Enter at your own risk.
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31924-E.htm b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31924-E.htm new file mode 100644 index 0000000000..64ceb5deea --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/31924-E.htm @@ -0,0 +1,4 @@ +Judges' Sepulcher Manager:
+Enter if you dare!
+ + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/Q00620_FourGoblets.java b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/Q00620_FourGoblets.java new file mode 100644 index 0000000000..13bbecf2b6 --- /dev/null +++ b/trunk/dist/game/data/scripts/quests/Q00620_FourGoblets/Q00620_FourGoblets.java @@ -0,0 +1,1265 @@ +/* + * This file is part of the L2J Mobius project. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +package quests.Q00620_FourGoblets; + +import com.l2jmobius.commons.util.Rnd; +import com.l2jmobius.gameserver.enums.QuestSound; +import com.l2jmobius.gameserver.instancemanager.FourSepulchersManager; +import com.l2jmobius.gameserver.model.actor.L2Npc; +import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance; +import com.l2jmobius.gameserver.model.quest.Quest; +import com.l2jmobius.gameserver.model.quest.QuestState; + +/** + * Zoey76: TODO: Use Location DTO instead of array of int. + * @author sandman + */ +public class Q00620_FourGoblets extends Quest +{ + // NPCs + private final static int NAMELESS_SPIRIT = 31453; + private final static int GHOST_OF_WIGOTH_1 = 31452; + private final static int GHOST_OF_WIGOTH_2 = 31454; + private final static int CONQ_SM = 31921; + private final static int EMPER_SM = 31922; + private final static int SAGES_SM = 31923; + private final static int JUDGE_SM = 31924; + private final static int GHOST_CHAMBERLAIN_1 = 31919; + private final static int GHOST_CHAMBERLAIN_2 = 31920; + private final static int[] NPCS = + { + NAMELESS_SPIRIT, + GHOST_OF_WIGOTH_1, + GHOST_OF_WIGOTH_2, + CONQ_SM, + EMPER_SM, + SAGES_SM, + JUDGE_SM, + GHOST_CHAMBERLAIN_1, + GHOST_CHAMBERLAIN_2 + }; + + // Reward + private final static int ANTIQUE_BROOCH = 7262; + // Items + private final static int ENTRANCE_PASS = 7075; + private final static int GRAVE_PASS = 7261; + private final static int[] GOBLETS = + { + 7256, + 7257, + 7258, + 7259 + }; + private final static int BOSS_1 = 25339; + private final static int BOSS_2 = 25342; + private final static int BOSS_3 = 25346; + private final static int BOSS_4 = 25349; + + private final static int RELIC = 7254; + private final static int SEALED_BOX = 7255; + private final static int[] QI = + { + ANTIQUE_BROOCH, + SEALED_BOX, + 7256, + 7257, + 7258, + 7259, + GRAVE_PASS, + ENTRANCE_PASS + }; + // Misc + private static final int MIN_LEVEL = 74; + private static final int MAX_LEVEL = 80; + + public Q00620_FourGoblets() + { + super(620); + addStartNpc(NAMELESS_SPIRIT); + + for (int i : NPCS) + { + addTalkId(i); + } + + for (int j : QI) + { + registerQuestItems(j); + } + + for (int id = 18120; id <= 18256; id++) + { + addKillId(id, BOSS_1, BOSS_2, BOSS_3, BOSS_4); + } + addCondLevel(MIN_LEVEL, MAX_LEVEL, "31453-12.htm"); + } + + @Override + public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) + { + String htmltext = event; + QuestState st = player.getQuestState(getName()); + if (st == null) + { + return htmltext; + } + + switch (event) + { + case "accept": + { + if ((st.getPlayer().getLevel() >= 74) && ((st.getPlayer().getLevel() <= 80))) + { + st.startQuest(); + htmltext = "31453-13.htm"; + giveItems(player, ENTRANCE_PASS, 1); + } + else + { + htmltext = "31453-12.htm"; + } + break; + } + case "11": + { + if (getQuestItemsCount(player, SEALED_BOX) >= 1) + { + htmltext = "31454-13.htm"; + takeItems(player, SEALED_BOX, 1); + int reward = 0; + int rnd = Rnd.get(5); + if (rnd == 0) + { + giveItems(player, 57, 10000); + reward = 1; + } + else if (rnd == 1) + { + if (Rnd.get(1000) < 848) + { + reward = 1; + int i = Rnd.get(1000); + if (i < 43) + { + giveItems(player, 1884, 42); + } + else if (i < 66) + { + giveItems(player, 1895, 36); + } + else if (i < 184) + { + giveItems(player, 1876, 4); + } + else if (i < 250) + { + giveItems(player, 1881, 6); + } + else if (i < 287) + { + giveItems(player, 5549, 8); + } + else if (i < 484) + { + giveItems(player, 1874, 1); + } + else if (i < 681) + { + giveItems(player, 1889, 1); + } + else if (i < 799) + { + giveItems(player, 1877, 1); + } + else if (i < 902) + { + giveItems(player, 1894, 1); + } + else + { + giveItems(player, 4043, 1); + } + } + else if (Rnd.get(1000) < 323) + { + reward = 1; + int i = Rnd.get(1000); + if (i < 335) + { + giveItems(player, 1888, 1); + } + else if (i < 556) + { + giveItems(player, 4040, 1); + } + else if (i < 725) + { + giveItems(player, 1890, 1); + } + else if (i < 872) + { + giveItems(player, 5550, 1); + } + else if (i < 962) + { + giveItems(player, 1893, 1); + } + else if (i < 986) + { + giveItems(player, 4046, 1); + } + else + { + giveItems(player, 4048, 1); + } + } + } + else if (rnd == 2) + { + if (Rnd.get(1000) < 847) + { + reward = 1; + int i = Rnd.get(1000); + if (i < 148) + { + giveItems(player, 1878, 8); + } + else if (i < 175) + { + giveItems(player, 1882, 24); + } + else if (i < 273) + { + giveItems(player, 1879, 4); + } + else if (i < 322) + { + giveItems(player, 1880, 6); + } + else if (i < 357) + { + giveItems(player, 1885, 6); + } + else if (i < 554) + { + giveItems(player, 1875, 1); + } + else if (i < 685) + { + giveItems(player, 1883, 1); + } + else if (i < 803) + { + giveItems(player, 5220, 1); + } + else if (i < 901) + { + giveItems(player, 4039, 1); + } + else + { + giveItems(player, 4044, 1); + } + } + else if (Rnd.get(1000) < 251) + { + reward = 1; + int i = Rnd.get(1000); + if (i < 350) + { + giveItems(player, 1887, 1); + } + else if (i < 587) + { + giveItems(player, 4042, 1); + } + else if (i < 798) + { + giveItems(player, 1886, 1); + } + else if (i < 922) + { + giveItems(player, 4041, 1); + } + else if (i < 966) + { + giveItems(player, 1892, 1); + } + else if (i < 996) + { + giveItems(player, 1891, 1); + } + else + { + giveItems(player, 4047, 1); + } + } + } + else if (rnd == 3) + { + if (Rnd.get(1000) < 31) + { + reward = 1; + int i = Rnd.get(1000); + if (i < 223) + { + giveItems(player, 730, 1); + } + else if (i < 893) + { + giveItems(player, 948, 1); + } + else + { + giveItems(player, 960, 1); + } + } + else if (Rnd.get(1000) < 50) + { + reward = 1; + int i = Rnd.get(1000); + if (i < 202) + { + giveItems(player, 729, 1); + } + else if (i < 928) + { + giveItems(player, 947, 1); + } + else + { + giveItems(player, 959, 1); + } + } + } + else if (rnd == 4) + { + if (Rnd.get(1000) < 329) + { + reward = 1; + int i = Rnd.get(1000); + if (i < 88) + { + giveItems(player, 6698, 1); + } + else if (i < 185) + { + giveItems(player, 6699, 1); + } + else if (i < 238) + { + giveItems(player, 6700, 1); + } + else if (i < 262) + { + giveItems(player, 6701, 1); + } + else if (i < 292) + { + giveItems(player, 6702, 1); + } + else if (i < 356) + { + giveItems(player, 6703, 1); + } + else if (i < 420) + { + giveItems(player, 6704, 1); + } + else if (i < 482) + { + giveItems(player, 6705, 1); + } + else if (i < 554) + { + giveItems(player, 6706, 1); + } + else if (i < 576) + { + giveItems(player, 6707, 1); + } + else if (i < 640) + { + giveItems(player, 6708, 1); + } + else if (i < 704) + { + giveItems(player, 6709, 1); + } + else if (i < 777) + { + giveItems(player, 6710, 1); + } + else if (i < 799) + { + giveItems(player, 6711, 1); + } + else if (i < 863) + { + giveItems(player, 6712, 1); + } + else if (i < 927) + { + giveItems(player, 6713, 1); + } + else + { + giveItems(player, 6714, 1); + } + } + else if (Rnd.get(1000) < 54) + { + reward = 1; + int i = Rnd.get(1000); + if (i < 100) + { + giveItems(player, 6688, 1); + } + else if (i < 198) + { + giveItems(player, 6689, 1); + } + else if (i < 298) + { + giveItems(player, 6690, 1); + } + else if (i < 398) + { + giveItems(player, 6691, 1); + } + else if (i < 499) + { + giveItems(player, 7579, 1); + } + else if (i < 601) + { + giveItems(player, 6693, 1); + } + else if (i < 703) + { + giveItems(player, 6694, 1); + } + else if (i < 801) + { + giveItems(player, 6695, 1); + } + else if (i < 902) + { + giveItems(player, 6696, 1); + } + else + { + giveItems(player, 6697, 1); + } + } + } + else if (reward == 0) + { + if (Rnd.get(2) == 0) + { + htmltext = "31454-14.htm"; + } + else + { + htmltext = "31454-15.htm"; + } + } + } + break; + } + case "12": + { + if ((getQuestItemsCount(player, GOBLETS[0]) >= 1) && (getQuestItemsCount(player, GOBLETS[1]) >= 1) && (getQuestItemsCount(player, GOBLETS[2]) >= 1) && (getQuestItemsCount(player, GOBLETS[3]) >= 1)) + { + takeItems(player, GOBLETS[0], -1); + takeItems(player, GOBLETS[1], -1); + takeItems(player, GOBLETS[2], -1); + takeItems(player, GOBLETS[3], -1); + if (getQuestItemsCount(player, ANTIQUE_BROOCH) < 1) + { + giveItems(player, ANTIQUE_BROOCH, 1); + } + st.setCond(2, true); + htmltext = "31453-16.htm"; + } + else + { + htmltext = "31453-14.htm"; + } + break; + } + case "13": + { + st.exitQuest(true, true); + htmltext = "31453-18.htm"; + break; + } + case "14": + { + htmltext = "31453-13.htm"; + if (st.getCond() == 2) + { + htmltext = "31453-19.htm"; + } + break; + } + case "15": + { + if (getQuestItemsCount(player, ANTIQUE_BROOCH) >= 1) + { + st.getPlayer().teleToLocation(178298, -84574, -7216); + htmltext = null; + } + else + { + if (getQuestItemsCount(player, GRAVE_PASS) >= 1) + { + takeItems(player, GRAVE_PASS, 1); + st.getPlayer().teleToLocation(178298, -84574, -7216); + htmltext = null; + } + else + { + htmltext = "31919-0.htm"; + } + } + break; + } + case "16": + { + if (getQuestItemsCount(player, ANTIQUE_BROOCH) >= 1) + { + st.getPlayer().teleToLocation(186942, -75602, -2834); + htmltext = null; + } + else + { + if (getQuestItemsCount(player, GRAVE_PASS) >= 1) + { + takeItems(player, GRAVE_PASS, 1); + st.getPlayer().teleToLocation(186942, -75602, -2834); + htmltext = null; + } + else + { + htmltext = "31920-0.htm"; + } + } + break; + } + case "17": + { + if (getQuestItemsCount(player, ANTIQUE_BROOCH) >= 1) + { + st.getPlayer().teleToLocation(169590, -90218, -2914); + } + else + { + takeItems(player, GRAVE_PASS, 1); + st.getPlayer().teleToLocation(169590, -90218, -2914); + htmltext = "31452-6.htm"; + } + break; + } + case "18": + { + if ((getQuestItemsCount(player, GOBLETS[0]) + getQuestItemsCount(player, GOBLETS[1]) + getQuestItemsCount(player, GOBLETS[2]) + getQuestItemsCount(player, GOBLETS[3])) < 3) + { + htmltext = "31452-3.htm"; + } + else if ((getQuestItemsCount(player, GOBLETS[0]) + getQuestItemsCount(player, GOBLETS[1]) + getQuestItemsCount(player, GOBLETS[2]) + getQuestItemsCount(player, GOBLETS[3])) == 3) + { + htmltext = "31452-4.htm"; + } + else if ((getQuestItemsCount(player, GOBLETS[0]) + getQuestItemsCount(player, GOBLETS[1]) + getQuestItemsCount(player, GOBLETS[2]) + getQuestItemsCount(player, GOBLETS[3])) >= 4) + { + htmltext = "31452-5.htm"; + } + break; + } + case "19": + { + htmltext = "31919-3.htm"; + takeItems(player, SEALED_BOX, 1); + int reward = 0; + int rnd = Rnd.get(5); + if (rnd == 0) + { + giveItems(player, 57, 10000); + reward = 1; + } + else if (rnd == 1) + { + if (Rnd.get(1000) < 848) + { + reward = 1; + int i = Rnd.get(1000); + if (i < 43) + { + giveItems(player, 1884, 42); + } + else if (i < 66) + { + giveItems(player, 1895, 36); + } + else if (i < 184) + { + giveItems(player, 1876, 4); + } + else if (i < 250) + { + giveItems(player, 1881, 6); + } + else if (i < 287) + { + giveItems(player, 5549, 8); + } + else if (i < 484) + { + giveItems(player, 1874, 1); + } + else if (i < 681) + { + giveItems(player, 1889, 1); + } + else if (i < 799) + { + giveItems(player, 1877, 1); + } + else if (i < 902) + { + giveItems(player, 1894, 1); + } + else + { + giveItems(player, 4043, 1); + } + } + else if (Rnd.get(1000) < 323) + { + reward = 1; + int i = Rnd.get(1000); + if (i < 335) + { + giveItems(player, 1888, 1); + } + else if (i < 556) + { + giveItems(player, 4040, 1); + } + else if (i < 725) + { + giveItems(player, 1890, 1); + } + else if (i < 872) + { + giveItems(player, 5550, 1); + } + else if (i < 962) + { + giveItems(player, 1893, 1); + } + else if (i < 986) + { + giveItems(player, 4046, 1); + } + else + { + giveItems(player, 4048, 1); + } + } + } + else if (rnd == 2) + { + if (Rnd.get(1000) < 847) + { + reward = 1; + int i = Rnd.get(1000); + if (i < 148) + { + giveItems(player, 1878, 8); + } + else if (i < 175) + { + giveItems(player, 1882, 24); + } + else if (i < 273) + { + giveItems(player, 1879, 4); + } + else if (i < 322) + { + giveItems(player, 1880, 6); + } + else if (i < 357) + { + giveItems(player, 1885, 6); + } + else if (i < 554) + { + giveItems(player, 1875, 1); + } + else if (i < 685) + { + giveItems(player, 1883, 1); + } + else if (i < 803) + { + giveItems(player, 5220, 1); + } + else if (i < 901) + { + giveItems(player, 4039, 1); + } + else + { + giveItems(player, 4044, 1); + } + } + else if (Rnd.get(1000) < 251) + { + reward = 1; + int i = Rnd.get(1000); + if (i < 350) + { + giveItems(player, 1887, 1); + } + else if (i < 587) + { + giveItems(player, 4042, 1); + } + else if (i < 798) + { + giveItems(player, 1886, 1); + } + else if (i < 922) + { + giveItems(player, 4041, 1); + } + else if (i < 966) + { + giveItems(player, 1892, 1); + } + else if (i < 996) + { + giveItems(player, 1891, 1); + } + else + { + giveItems(player, 4047, 1); + } + } + } + else if (rnd == 3) + { + if (Rnd.get(1000) < 31) + { + reward = 1; + int i = Rnd.get(1000); + if (i < 223) + { + giveItems(player, 730, 1); + } + else if (i < 893) + { + giveItems(player, 948, 1); + } + else + { + giveItems(player, 960, 1); + } + } + else if (Rnd.get(1000) < 5) + { + reward = 1; + } + int i = Rnd.get(1000); + if (i < 202) + { + giveItems(player, 729, 1); + } + else if (i < 928) + { + giveItems(player, 947, 1); + } + else + { + giveItems(player, 959, 1); + } + } + else if (rnd == 4) + { + if (Rnd.get(1000) < 329) + { + reward = 1; + int i = Rnd.get(1000); + if (i < 88) + { + giveItems(player, 6698, 1); + } + else if (i < 185) + { + giveItems(player, 6699, 1); + } + else if (i < 238) + { + giveItems(player, 6700, 1); + } + else if (i < 262) + { + giveItems(player, 6701, 1); + } + else if (i < 292) + { + giveItems(player, 6702, 1); + } + else if (i < 356) + { + giveItems(player, 6703, 1); + } + else if (i < 420) + { + giveItems(player, 6704, 1); + } + else if (i < 482) + { + giveItems(player, 6705, 1); + } + else if (i < 554) + { + giveItems(player, 6706, 1); + } + else if (i < 576) + { + giveItems(player, 6707, 1); + } + else if (i < 640) + { + giveItems(player, 6708, 1); + } + else if (i < 704) + { + giveItems(player, 6709, 1); + } + else if (i < 777) + { + giveItems(player, 6710, 1); + } + else if (i < 799) + { + giveItems(player, 6711, 1); + } + else if (i < 863) + { + giveItems(player, 6712, 1); + } + else if (i < 927) + { + giveItems(player, 6713, 1); + } + else + { + giveItems(player, 6714, 1); + } + } + else if (Rnd.get(1000) < 54) + { + reward = 1; + int i = Rnd.get(1000); + if (i < 100) + { + giveItems(player, 6688, 1); + } + else if (i < 198) + { + giveItems(player, 6689, 1); + } + else if (i < 298) + { + giveItems(player, 6690, 1); + } + else if (i < 398) + { + giveItems(player, 6691, 1); + } + else if (i < 499) + { + giveItems(player, 7579, 1); + } + else if (i < 601) + { + giveItems(player, 6693, 1); + } + else if (i < 703) + { + giveItems(player, 6694, 1); + } + else if (i < 801) + { + giveItems(player, 6695, 1); + } + else if (i < 902) + { + giveItems(player, 6696, 1); + } + else + { + giveItems(player, 6697, 1); + } + } + } + if (reward == 0) + { + if (Rnd.get(2) == 0) + { + htmltext = "31919-4.htm"; + } + else + { + htmltext = "31919-5.htm"; + } + } + break; + } + case "6881": + { + takeItems(player, RELIC, 1000); + giveItems(player, st.getInt(event), 1); + htmltext = "31454-17.htm"; + break; + } + case "6883": + { + takeItems(player, RELIC, 1000); + giveItems(player, st.getInt(event), 1); + htmltext = "31454-17.htm"; + break; + } + case "6885": + { + takeItems(player, RELIC, 1000); + giveItems(player, st.getInt(event), 1); + htmltext = "31454-17.htm"; + break; + } + case "6887": + { + takeItems(player, RELIC, 1000); + giveItems(player, st.getInt(event), 1); + htmltext = "31454-17.htm"; + break; + } + case "7580": + { + takeItems(player, RELIC, 1000); + giveItems(player, st.getInt(event), 1); + htmltext = "31454-17.htm"; + break; + } + case "6891": + { + takeItems(player, RELIC, 1000); + giveItems(player, st.getInt(event), 1); + htmltext = "31454-17.htm"; + break; + } + case "6893": + { + takeItems(player, RELIC, 1000); + giveItems(player, st.getInt(event), 1); + htmltext = "31454-17.htm"; + break; + } + case "6895": + { + takeItems(player, RELIC, 1000); + giveItems(player, st.getInt(event), 1); + htmltext = "31454-17.htm"; + break; + } + case "6897": + { + takeItems(player, RELIC, 1000); + giveItems(player, st.getInt(event), 1); + htmltext = "31454-17.htm"; + break; + } + case "6899": + { + takeItems(player, RELIC, 1000); + giveItems(player, st.getInt(event), 1); + htmltext = "31454-17.htm"; + break; + } + case "Enter": + { + if (st.getCond() > 0) + { + FourSepulchersManager.getInstance().tryEntry(npc, player); + return null; + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(L2Npc npc, L2PcInstance talker) + { + final QuestState st = getQuestState(talker, true); + String htmltext = getNoQuestMsg(talker); + + switch (npc.getId()) + { + case NAMELESS_SPIRIT: + { + if (st.isCreated()) + { + if ((st.getPlayer().getLevel() >= 74) && ((st.getPlayer().getLevel() <= 80))) + { + htmltext = "31453-1.htm"; + } + else + { + htmltext = "31453-12.htm"; + } + } + else if (st.getCond() == 1) + { + if ((getQuestItemsCount(talker, GOBLETS[0]) >= 1) && (getQuestItemsCount(talker, GOBLETS[1]) >= 1) && (getQuestItemsCount(talker, GOBLETS[2]) >= 1) && (getQuestItemsCount(talker, GOBLETS[3]) >= 1)) + { + htmltext = "31453-15.htm"; + } + else + { + htmltext = "31453-14.htm"; + } + } + else if (st.getCond() == 2) + { + htmltext = "31453-17.htm"; + } + break; + } + case GHOST_OF_WIGOTH_1: + { + if (st.getCond() == 1) + { + if ((getQuestItemsCount(talker, GOBLETS[0]) + getQuestItemsCount(talker, GOBLETS[1]) + getQuestItemsCount(talker, GOBLETS[2]) + getQuestItemsCount(talker, GOBLETS[3])) == 1) + { + htmltext = "31452-01.html"; + } + else if ((getQuestItemsCount(talker, GOBLETS[0]) + getQuestItemsCount(talker, GOBLETS[1]) + getQuestItemsCount(talker, GOBLETS[2]) + getQuestItemsCount(talker, GOBLETS[3])) > 1) + { + htmltext = "31452-02.html"; + } + } + else if (st.getCond() == 2) + { + htmltext = "31452-02.html"; + } + break; + } + case GHOST_OF_WIGOTH_2: + { + if (getQuestItemsCount(talker, RELIC) >= 1000) + { + if (getQuestItemsCount(talker, SEALED_BOX) >= 1) + { + if ((getQuestItemsCount(talker, GOBLETS[0]) >= 1) && (getQuestItemsCount(talker, GOBLETS[1]) >= 1) && (getQuestItemsCount(talker, GOBLETS[2]) >= 1) && (getQuestItemsCount(talker, GOBLETS[3]) >= 1)) + { + htmltext = "31454-4.htm"; + } + else + { + if ((getQuestItemsCount(talker, GOBLETS[0]) + getQuestItemsCount(talker, GOBLETS[1]) + getQuestItemsCount(talker, GOBLETS[2]) + getQuestItemsCount(talker, GOBLETS[3])) > 1) + { + htmltext = "31454-8.htm"; + } + else + { + htmltext = "31454-12.htm"; + } + } + } + else + { + if ((getQuestItemsCount(talker, GOBLETS[0]) >= 1) && (getQuestItemsCount(talker, GOBLETS[1]) >= 1) && (getQuestItemsCount(talker, GOBLETS[2]) >= 1) && ((getQuestItemsCount(talker, GOBLETS[3])) >= 1)) + { + htmltext = "31454-3.htm"; + } + else + { + if ((getQuestItemsCount(talker, GOBLETS[0]) + getQuestItemsCount(talker, GOBLETS[1]) + getQuestItemsCount(talker, GOBLETS[2]) + getQuestItemsCount(talker, GOBLETS[3])) > 1) + { + htmltext = "31454-7.htm"; + } + else + { + htmltext = "31454-11.htm"; + } + } + } + } + else + { + if (getQuestItemsCount(talker, SEALED_BOX) >= 1) + { + if ((getQuestItemsCount(talker, GOBLETS[0]) >= 1) && (getQuestItemsCount(talker, GOBLETS[1]) >= 1) && (getQuestItemsCount(talker, GOBLETS[2]) >= 1) && (getQuestItemsCount(talker, GOBLETS[3]) >= 1)) + { + htmltext = "31454-2.htm"; + } + else + { + if ((getQuestItemsCount(talker, GOBLETS[0]) + getQuestItemsCount(talker, GOBLETS[1]) + getQuestItemsCount(talker, GOBLETS[2]) + getQuestItemsCount(talker, GOBLETS[3])) > 1) + { + htmltext = "31454-6.htm"; + } + else + { + htmltext = "31454-10.htm"; + } + } + } + else + { + if ((getQuestItemsCount(talker, GOBLETS[0]) >= 1) && (getQuestItemsCount(talker, GOBLETS[1]) >= 1) && (getQuestItemsCount(talker, GOBLETS[2]) >= 1) && (getQuestItemsCount(talker, GOBLETS[3]) >= 1)) + { + htmltext = "31454-1.htm"; + } + else + { + if ((getQuestItemsCount(talker, GOBLETS[0]) + getQuestItemsCount(talker, GOBLETS[1]) + getQuestItemsCount(talker, GOBLETS[2]) + getQuestItemsCount(talker, GOBLETS[3])) > 1) + { + htmltext = "31454-5.htm"; + } + else + { + htmltext = "31454-9.htm"; + } + } + } + } + } + break; + case CONQ_SM: + { + htmltext = "31921-E.htm"; + } + break; + case EMPER_SM: + { + htmltext = "31922-E.htm"; + } + break; + case SAGES_SM: + { + htmltext = "31923-E.htm"; + } + break; + case JUDGE_SM: + { + htmltext = "31924-E.htm"; + } + break; + case GHOST_CHAMBERLAIN_1: + { + htmltext = "31919-1.htm"; + } + break; + } + return htmltext; + } + + @Override + public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon) + { + final QuestState st = killer.getQuestState(getName()); + final L2PcInstance partyMember = getRandomPartyMember(killer, 3); + int npcId = npc.getId(); + if ((st != null) && (st.getCond() > 0) && (npcId >= 18120) && (npcId <= 18256)) + { + if (Rnd.get(100) < 15) + { + giveItems(killer, SEALED_BOX, 1); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + } + if (getQuestItemsCount(killer, GRAVE_PASS) < 1) + { + giveItems(killer, GRAVE_PASS, 1); + } + if (getQuestItemsCount(killer, RELIC) < 1000) + { + giveItems(killer, RELIC, 1); + } + } + switch (npc.getId()) + { + case BOSS_1: + { + if (partyMember == null) + { + return null; + } + if ((npc.isInsideRadius(partyMember, 1000, true, false) && (getQuestItemsCount(partyMember, GOBLETS[0]) < 1))) + { + giveItems(partyMember, GOBLETS[0], 1); + } + } + break; + case BOSS_2: + { + if (partyMember == null) + { + return null; + } + if ((npc.isInsideRadius(partyMember, 1000, true, false) && (getQuestItemsCount(partyMember, GOBLETS[1]) < 1))) + { + giveItems(partyMember, GOBLETS[1], 1); + } + } + break; + case BOSS_3: + { + if (partyMember == null) + { + return null; + } + if ((npc.isInsideRadius(partyMember, 1000, true, false) && (getQuestItemsCount(partyMember, GOBLETS[2]) < 1))) + { + giveItems(partyMember, GOBLETS[2], 1); + } + } + break; + case BOSS_4: + { + if (partyMember == null) + { + return null; + } + if ((npc.isInsideRadius(partyMember, 1000, true, false) && (getQuestItemsCount(partyMember, GOBLETS[3]) < 1))) + { + giveItems(partyMember, GOBLETS[3], 1); + } + } + break; + } + return super.onKill(npc, killer, isSummon); + } +} \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/quests/Q10794_InvestigateTheForest/Q10794_InvestigateTheForest.java b/trunk/dist/game/data/scripts/quests/Q10794_InvestigateTheForest/Q10794_InvestigateTheForest.java index 322849fea8..728bd3fea1 100644 --- a/trunk/dist/game/data/scripts/quests/Q10794_InvestigateTheForest/Q10794_InvestigateTheForest.java +++ b/trunk/dist/game/data/scripts/quests/Q10794_InvestigateTheForest/Q10794_InvestigateTheForest.java @@ -72,7 +72,6 @@ public final class Q10794_InvestigateTheForest extends Quest 21596, // Requiem Lord 21597, // Requiem Lord 21599, // Requiem Priest - }; // Misc private static final int MIN_LEVEL = 65; diff --git a/trunk/dist/game/data/scripts/quests/QuestMasterHandler.java b/trunk/dist/game/data/scripts/quests/QuestMasterHandler.java index db17aa5c6e..82a720d7bd 100644 --- a/trunk/dist/game/data/scripts/quests/QuestMasterHandler.java +++ b/trunk/dist/game/data/scripts/quests/QuestMasterHandler.java @@ -146,6 +146,7 @@ import quests.Q00551_OlympiadStarter.Q00551_OlympiadStarter; import quests.Q00553_OlympiadUndefeated.Q00553_OlympiadUndefeated; import quests.Q00617_GatherTheFlames.Q00617_GatherTheFlames; import quests.Q00618_IntoTheFlame.Q00618_IntoTheFlame; +import quests.Q00620_FourGoblets.Q00620_FourGoblets; import quests.Q00621_EggDelivery.Q00621_EggDelivery; import quests.Q00622_SpecialtyLiquorDelivery.Q00622_SpecialtyLiquorDelivery; import quests.Q00623_TheFinestFood.Q00623_TheFinestFood; @@ -503,6 +504,7 @@ public class QuestMasterHandler Q00553_OlympiadUndefeated.class, Q00617_GatherTheFlames.class, Q00618_IntoTheFlame.class, + Q00620_FourGoblets.class, Q00621_EggDelivery.class, Q00622_SpecialtyLiquorDelivery.class, Q00623_TheFinestFood.class,