diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/30692-1.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/30692-1.htm new file mode 100644 index 0000000000000000000000000000000000000000..a7e2554d5910e755935a4e3da798b8e88af36c96 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/30692-1.htm @@ -0,0 +1,5 @@ +<html><body>Master Stedmiel:<br> +You must mean the Poetry Book with the stories of Beleth. I had forgotten about it, it was such a long time ago.<br> +A poet at the time collected the stories of old heroes. This is important work you are doing! Here's the book.<br> +<a action="bypass -h Quest 241_PossessorOfAPreciousSoul_1 30692-2.htm">"Thank you."</a> +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/30692-2.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/30692-2.htm new file mode 100644 index 0000000000000000000000000000000000000000..510cebbc3c343b32858dc61800fd210f917b7a62 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/30692-2.htm @@ -0,0 +1,4 @@ +<html><body>Master Stedmiel:<br> +I hope Talien's work bears fruit. Hearing the stories of old heroes will help people know their own ideals. +Tell him I have great expectations! +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/30692-3.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/30692-3.htm new file mode 100644 index 0000000000000000000000000000000000000000..c7250282150555c999677931b4c4641933f9dfe3 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/30692-3.htm @@ -0,0 +1,4 @@ +<html><body>Master Stedmiel:<br> +Did you deliver the Poetry Book to Talien yet? This is the only copy, so be extra careful. +Tell Talien I expect the best. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/30753-1.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/30753-1.htm new file mode 100644 index 0000000000000000000000000000000000000000..fb270555f12e66d2ee7716f16d387abe1c77793d --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/30753-1.htm @@ -0,0 +1,6 @@ +<html><body>Gabrielle:<br> +One of my ancestors participated in the Antharas conquest. People call them the Seventeen Nemeses of the Land Dragon.<br> +All I know is pieces of stories that I heard from my grandparents. There are many tales, and I don't know which is true. +The poet may know, if you can get him to talk.<br> +<a action="bypass -h Quest 241_PossessorOfAPreciousSoul_1 30753-2.htm">"Who is he?"</a> +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/30753-2.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/30753-2.htm new file mode 100644 index 0000000000000000000000000000000000000000..1defe6c119a02bf96054d46f1b01c6e855777fa7 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/30753-2.htm @@ -0,0 +1,6 @@ +<html><body>Gabrielle:<br> +I don't know if you met Gilmore, the Watchman of the Land Dragon Antharas. +He's one of the Seventeen Nemeses. He sacrificed himself and became undead to monitor Antharas' movements +in the Dragon Valley and to protect the seal made by the Founding Emperor Shunaiman. He would know what happened, +he was there. It's dangerous, so watch yourself! +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/30753-3.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/30753-3.htm new file mode 100644 index 0000000000000000000000000000000000000000..62094ffb6868546a16bc5001b6e442404857963a --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/30753-3.htm @@ -0,0 +1,4 @@ +<html><body>Gabrielle:<br> +Go to the entrance of the Dragon Valley and meet Gilmore, the watchman of the Land Dragon Antharas. +Since he was there, he must know the story. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/30754-1.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/30754-1.htm new file mode 100644 index 0000000000000000000000000000000000000000..40042285900306bdc73ea08768eabaad690c1863 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/30754-1.htm @@ -0,0 +1,4 @@ +<html><body>Antharas Watchman Gilmore:<br> +There is someone who's still looking for the old stories. Well, they happened such a long time ago, but I can never forget them. However, I am walking down the road of swords and watching the Land Dragon. I'm not a storyteller or poet like Talien. <br> +<a action="bypass -h Quest 241_PossessorOfAPreciousSoul_1 30754-2.htm">Wasn't there anyone who recorded the event at the time?</a> +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/30754-2.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/30754-2.htm new file mode 100644 index 0000000000000000000000000000000000000000..52162e7e531bfd7b9a53e6dc764631793a56bd6a --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/30754-2.htm @@ -0,0 +1,7 @@ +<html><body>Antharas Watchman Gilmore:<br> +Of the seventeen of us, the Elf Witch Baraham was best at telling stories and keeping records. +She kept journals even during our difficult travels. She can tell you where to find what Talien is looking for.<br> +One problem remains, she has turned into an evil creature and can't tell the stories anymore. +She's the only one who knows what really happened, and it's heart-breaking.<br>There is hope yet. +She still has the records. Find her in a cave in the Bee Hive area and take them from her. That's all I know. Good luck! +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/30754-3.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/30754-3.htm new file mode 100644 index 0000000000000000000000000000000000000000..1bc03c45cf68f1379e3bdad20edb439e62d1c20c --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/30754-3.htm @@ -0,0 +1,4 @@ +<html><body>Antharas Watchman Gilmore:<br> +Baraham is now an evil creature living in a cave in the Bee Hive area. +Find her and you'll find the records. Good luck! +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31042-1.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31042-1.htm new file mode 100644 index 0000000000000000000000000000000000000000..36881e571954f57105a1c60d174bf8b7e4251d4b --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31042-1.htm @@ -0,0 +1,6 @@ +<html><body>Kantabilon:<br> +I can't believe somebody still knows about the song! Yes, I have a crystal like that. +It's my most cherished possession, but I will gladly give it to someone who appreciates it's value!<br> +There is one problem that must be solved first, otherwise taking the crystal won't help you.<br> +<a action="bypass -h Quest 241_PossessorOfAPreciousSoul_1 31042-2.htm">"What can I do to help?"</a> +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31042-2.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31042-2.htm new file mode 100644 index 0000000000000000000000000000000000000000..181bae8c5f078d71f8b947c2944f4fdca7f5aaa9 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31042-2.htm @@ -0,0 +1,6 @@ +<html><body>Kantabilon:<br> +The Echo Crystal is a fragile object and is easily broken. +This one is worn out after so many years, and needs to be restored. +It's delicate work requiring specialized tools. I'll need the long and sturdy claws of Malruk succubi from the Dragon Valley.<br> +Bring me ten sharp claws. Make sure they are in excellent condition! +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31042-3.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31042-3.htm new file mode 100644 index 0000000000000000000000000000000000000000..076da4f3a691cce35044fb810f52ace9af65633d --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31042-3.htm @@ -0,0 +1,4 @@ +<html><body>Kantabilon:<br> +These are perfect. I'll start working on it right away. It shouldn't take very long.<br> +<a action="bypass -h Quest 241_PossessorOfAPreciousSoul_1 31042-5.htm">Wait</a> +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31042-4.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31042-4.htm new file mode 100644 index 0000000000000000000000000000000000000000..b2a8818efa1fef2dc926661977cf1f5a84212a53 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31042-4.htm @@ -0,0 +1,5 @@ +<html><body>Kantabilon:<br> +I need the claws of Malruk Succubi to mend this Echo Crystal. +I can't repair it without the proper tools. Go to the Dragon Valley to get the claws for me. +I need at least 10 of them. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31042-5.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31042-5.htm new file mode 100644 index 0000000000000000000000000000000000000000..eaef86dc75c5398b413328906970a53b5abfb06e --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31042-5.htm @@ -0,0 +1,5 @@ +<html><body>Kantabilon:<br> +Now it will make the proper sound! Take it to Talien, your poet friend.<br> +I don't need you to reimburse me. I'd rather see the crystal being used for a worthy purpose than sitting in this dusty warehouse. +Now hurry! +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31042-6.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31042-6.htm new file mode 100644 index 0000000000000000000000000000000000000000..fa258b9a1673a2e781b2779d1ff0fe126f03d447 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31042-6.htm @@ -0,0 +1,3 @@ +<html><body>Kantabilon:<br> +Take the Echo Crystal and go back to your poet friend. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31272-1.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31272-1.htm new file mode 100644 index 0000000000000000000000000000000000000000..0baff1b2466b79f87801be5abbefceab5a323e39 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31272-1.htm @@ -0,0 +1,5 @@ +<html><body><BODY>Head Blacksmith Noel:<br> +Not just anybody can restore weapons of the old Empire, what makes you think you can help me? +I can't even entrust Hilda or Feynn with the job! Well, Caradine does think highly of you.<br> +<a action="bypass -h Quest 241_PossessorOfAPreciousSoul_1 31272-2.htm">"I can help."</a> +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31272-2.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31272-2.htm new file mode 100644 index 0000000000000000000000000000000000000000..cad344b2f80642863b7ac9d52a56511f46550f4a --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31272-2.htm @@ -0,0 +1,4 @@ +<html><body><BODY>Head Blacksmith Noel:<br> +OK, I'll give you the job. We need about five units of Lunargent, and a bottle of Hellfire Oil. +Meet Magic Trader Wesley in the Ivory Tower. He'll tell you where to find them, or maybe you could get them from other Adventurers. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31272-3.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31272-3.htm new file mode 100644 index 0000000000000000000000000000000000000000..c29cafbcdb600f4625261fded6dded5354620290 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31272-3.htm @@ -0,0 +1,4 @@ +<html><body>Head Blacksmith Noel:<br> +That took a while, but you did it. I have something to tell you.<br> +<a action="bypass -h Quest 241_PossessorOfAPreciousSoul_1 31272-5.htm">Listen</a> +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31272-4.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31272-4.htm new file mode 100644 index 0000000000000000000000000000000000000000..5b0ab80f8cd050db6d0e2325cff05217d0eb017d --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31272-4.htm @@ -0,0 +1,3 @@ +<html><body><BODY>Head Blacksmith Noel:<br> +You came back empty-handed? Hurry up and get five units of Lunargent and a bottle of Hellfire Oil! +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31272-5.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31272-5.htm new file mode 100644 index 0000000000000000000000000000000000000000..b5ea6166788eb2709ed1bad2564a2aea7700e164 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31272-5.htm @@ -0,0 +1,3 @@ +<html><body><BODY>Head Blacksmith Noel:<br> +Caradine wants to see you as soon as possible. You should go now. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31272-7.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31272-7.htm new file mode 100644 index 0000000000000000000000000000000000000000..e911419a57005abaf2c7e1864965638fb715b181 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31272-7.htm @@ -0,0 +1,3 @@ +<html><body><BODY>Head Blacksmith Noel:<br> +Didn't I tell you? Caradine was urgently looking for you. Hurry up and go see her! +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31336-1.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31336-1.htm new file mode 100644 index 0000000000000000000000000000000000000000..777b1bcfdb1fbb9845847e90a9a61a775fb5dd9b --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31336-1.htm @@ -0,0 +1,4 @@ +<html><body>Grand Seer Rahorakti:<br> +Welcome. Are you the one Kassandra was talking about? She's the girl with the nightmares. To prepare medicine for her I need a very rare herb. Will you help me save her?<br> +<a action="bypass -h Quest 241_PossessorOfAPreciousSoul_1 31336-2.htm">"I'll help."</a> +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31336-2.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31336-2.htm new file mode 100644 index 0000000000000000000000000000000000000000..7b5f8fa3288fb9b1e91e7e9e6bbe8854484f6883 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31336-2.htm @@ -0,0 +1,5 @@ +<html><body>Grand Seer Rahorakti:<br> +Excellent! I need a very rare herb called Crimson Moss that can only be gathered once a year. +I can tell you an easy way to get it, however. Go to the Swamp of Screams east of here and kill the Splinter Stakatos. +Cut them open and you'll find the herb! I must have five units of it. May the Star of Destiny guide your path! +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31336-3.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31336-3.htm new file mode 100644 index 0000000000000000000000000000000000000000..8282b436ba924c65d1d9c2029499f1e3322d4c50 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31336-3.htm @@ -0,0 +1,4 @@ +<html><body>Grand Seer Rahorakti:<br> +Now I can make a drug to control evil dream spirits and restore her vitality! It won't take long.<br> +<a action="bypass -h Quest 241_PossessorOfAPreciousSoul_1 31336-5.htm">Wait</a> +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31336-4.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31336-4.htm new file mode 100644 index 0000000000000000000000000000000000000000..cfc0a47c8c08b8c47f649760a2475ae14b367231 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31336-4.htm @@ -0,0 +1,4 @@ +<html><body>Grand Seer Rahorakti:<br> +Should the one who holds the Star of Destiny really be doing favors for someone else? +Go to the Swamp of Screams and get five units of Crimson Moss by killing Splinter Stakatos and cutting them open. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31336-5.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31336-5.htm new file mode 100644 index 0000000000000000000000000000000000000000..679d3f94ac30f92919cde9aabb1259e5fd57e9e0 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31336-5.htm @@ -0,0 +1,4 @@ +<html><body>Grand Seer Rahorakti:<br> +Take this to the dreaming girl now. With Paagrio's blessing she will fulfill her important destiny, +harsh as it may be. Keep her safe! +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31336-6.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31336-6.htm new file mode 100644 index 0000000000000000000000000000000000000000..4d6bdbda245898e2e1e4f3e16cb2c6cf0f77f762 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31336-6.htm @@ -0,0 +1,3 @@ +<html><body>Grand Seer Rahorakti:<br> +Take the medicine that I, Rahorakti, made you, to the dreaming girl of flame, Kassandra. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-1.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-1.htm new file mode 100644 index 0000000000000000000000000000000000000000..485a35dfef7896c25215c8ccbc7245bb74daf6d5 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-1.htm @@ -0,0 +1,5 @@ +<html><body>Talien:<br> +Do you know the story of the seventeen heroes who challenged the Land Dragon Antharas? It's fascinating! Such a heroic sacrifice! It could be an epic poem! In fact, it's one of my all-time favorite stories! It's what motivated me to become a bohemian poet! It's always been my dream to write a great epic poem tying all the pieces of this story together.<br> +Unfortunately, I only know a few fragments of it that I heard from my grandfather. I'm trying to collect everything I can about this story. I'm looking for someone who can help me. Will you do it?<br> +<a action="bypass -h Quest 241_PossessorOfAPreciousSoul_1 31739-4.htm">"I'll help you."</a> +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-11.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-11.htm new file mode 100644 index 0000000000000000000000000000000000000000..42d337bb52be91b081af6e7de48624cc5e8ee014 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-11.htm @@ -0,0 +1,7 @@ +<html><body>Talien:<br> +Welcome back! I've been reading the records you gave me and I found something very interesting!<br> +The stories all have something in common. They all met the Lady of the Lake and came across the Star of Destiny.<br> +Is this the Echo Crystal that contains the Forgotten Song? Great job! We can only listen to it once. +We can create a musical score if we take this to my friend, Barbado.<br>Will you continue to help me?<br> +<a action="bypass -h Quest 241_PossessorOfAPreciousSoul_1 31739-12.htm">"I'll do it."</a> +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-12.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-12.htm new file mode 100644 index 0000000000000000000000000000000000000000..1621845cbad1015bd55309c3c46c8b183bffd0b5 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-12.htm @@ -0,0 +1,4 @@ +<html><body>Talien:<br> +This last story is about the heroes who confronted the devil Beleth. A poet recorded those terrible events in shocking detail. +The record is kept by an Elf named Stedmiel in Hunters Village. Go there and ask him for it. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-13.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-13.htm new file mode 100644 index 0000000000000000000000000000000000000000..4030a459925515ba2aa83ef4f93b585da76b7f89 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-13.htm @@ -0,0 +1,4 @@ +<html><body>Talien:<br> +Like I told you last time, go meet Stedmiel in Hunters Village, and ask him about the records of the story +about soldiers who fought against Devil Beleth. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-14.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-14.htm new file mode 100644 index 0000000000000000000000000000000000000000..65e790fdcbcce3a137406379078fa2d6c7c6c26c --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-14.htm @@ -0,0 +1,6 @@ +<html><body>Talien:<br> +Is this the book? Great job! I'm sorry I didn't recognize you!<br> +Why didn't you say something? I never imagined I was making someone of your stature run errands for me! +I've heard all about you! Please forgive me if I offended you!<br>Somebody wants to meet you. Will you meet him?<br> +<a action="bypass -h Quest 241_PossessorOfAPreciousSoul_1 31739-15.htm">"Ok."</a> +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-15.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-15.htm new file mode 100644 index 0000000000000000000000000000000000000000..df1f02cbdc440edd2476018c666e447f359739a5 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-15.htm @@ -0,0 +1,3 @@ +<html><body>Talien:<br> +Virgil in Rune Castle Town is a very important supporter of our cause. He wants to meet you. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-16.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-16.htm new file mode 100644 index 0000000000000000000000000000000000000000..37cd053e6dd56bc0c504ebac82d5eb6b706bc3ef --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-16.htm @@ -0,0 +1,3 @@ +<html><body>Talien:<br> +Ah, you haven't left yet. My sponsor Virgil is in Rune Castle Town now. Go meet him there. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-2.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-2.htm new file mode 100644 index 0000000000000000000000000000000000000000..6a8e18af871ff91e5c48cc815d54237654609466 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-2.htm @@ -0,0 +1,8 @@ +<html><body>Talien:<br> +Do you know the story of the seventeen heroes who challenged the Land Dragon Antharas? +It's fascinating! Such a heroic sacrifice! It could be an epic poem! In fact, it's one of my all-time favorite stories! +It's what motivated me to become a bohemian poet! It's always been my dream to write a great epic poem tying +all the pieces of this story together.<br>Unfortunately, I only know a few fragments of it that I heard from my grandfather. +I'm trying to collect everything I can about this story. I'm looking for someone who can help me. +Good help is so hard to find these days.<br> (This quest may only be undertaken by sub-class characters of level 50 or above.) +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-4.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-4.htm new file mode 100644 index 0000000000000000000000000000000000000000..b1de1c437c09fd7046b1393b645714952813c689 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-4.htm @@ -0,0 +1,6 @@ +<html><body>Talien:<br> +Awesome! Thank you! Now, where should we begin? I suppose we should speak to the ones who know the story best.<br> +A descendant of one of the seventeen heroes is living in Giran Castle Town. +Her name is Gabrielle. I couldn't even think of visiting her, since I'd have to cross the Death Pass. +Would you visit her on my behalf? She probably has literature or materials related to her ancestor! +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-5.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-5.htm new file mode 100644 index 0000000000000000000000000000000000000000..ce10ff6a25b01c936a89e4ff745ccbda88144aca --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-5.htm @@ -0,0 +1,4 @@ +<html><body>Talien:<br> +Why haven't you left yet? Do I need to remind you how important this is? +Visit Gabrielle in Giran Castle Town and ask her to tell you the story of the seventeen heroes. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-6.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-6.htm new file mode 100644 index 0000000000000000000000000000000000000000..9e0a533cffd8a8f752acfbc5d804193eef0ca0f6 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-6.htm @@ -0,0 +1,7 @@ +<html><body>Talien:<br> +Come in! Is this the record? Great job! The record of the seventeen heroes who confronted the Land Dragon!<br> +This is truly fascinating! Now I can write all about the story! What remarkable people! +If only they could've survived their heroic encounter with Antharas! What dreams they must have had!<br> +That brings me to my point... I still need to gather much more information. Will you help me a little bit more?<br> +<a action="bypass -h Quest 241_PossessorOfAPreciousSoul_1 31739-8.htm">"I'll do it."</a> +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-8.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-8.htm new file mode 100644 index 0000000000000000000000000000000000000000..6e699a9bfa2039c7f4ab491a3ed4293d34c481bf --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-8.htm @@ -0,0 +1,7 @@ +<html><body>Talien:<br> +Have you heard the song about King Raul and the 5 clan members who helped him to unify the kingdom? +Everyone in Aden knows that one! I'm afraid many of the details have been lost to history. +It was a beautiful song, sung by the bards in the time of King Raul. Now it's been forgotten.<br> +I've heard that a Dwarven artisan in Heine has captured the song in an Echo Crystal. He's known as a Melody Maestro. +Find him and bring me the crystal. It will be a great help. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-9.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-9.htm new file mode 100644 index 0000000000000000000000000000000000000000..542d92445b47493c24d6ba200f55f8c86e56551e --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31739-9.htm @@ -0,0 +1,4 @@ +<html><body>Talien:<br> +Bring me the Echo Crystal that contains the song about King Raul and the 5 clan members. +A Dwarven artisan in Heine known as the Melody Maestro has the crystal. Please do this for me. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31740-1.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31740-1.htm new file mode 100644 index 0000000000000000000000000000000000000000..738f92e53bd58781c1de2d1a6fb2f3e1963dbe63 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31740-1.htm @@ -0,0 +1,4 @@ +<html><body>Caradine:<br> +Divine grace has brought you here to help us finish our work! The Lady of the Lake would never forsake us.<br> I'm honored to meet you!<br> +<a action="bypass -h Quest 241_PossessorOfAPreciousSoul_1 31740-2.htm">"I'll help you."</a> +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31740-2.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31740-2.htm new file mode 100644 index 0000000000000000000000000000000000000000..c8ac6ad1757fe4125648758cce7aa1b8cecd5083 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31740-2.htm @@ -0,0 +1,5 @@ +<html><body>Caradine:<br> +My group has built monuments to the Heroes in many towns, and have restored the Grand Olympiad Games to the splendor of the era of giants. +Visit Head Blacksmith Noel at his shop. He's an expert on adapting ancient weapons for modern-day Heroes. +He's been having problems lately, however. Please go and see if you can help him. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31740-3.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31740-3.htm new file mode 100644 index 0000000000000000000000000000000000000000..4d5e5fe09efc65c99a6c62ff0828fe4909b9041c --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31740-3.htm @@ -0,0 +1,3 @@ +<html><body>Caradine:<br> +Go and help Noel. He runs the Blacksmith Shop. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31740-4.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31740-4.htm new file mode 100644 index 0000000000000000000000000000000000000000..4d25f3ea6e84493a0e19392c60ab64e656d2f691 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31740-4.htm @@ -0,0 +1,4 @@ +<html><body>Caradine:<br> +Good to see you! Thank you for helping us. We've been trying to find you since we received this letter from Virgil, addressed to you.<br> +<a action="bypass -h Quest 241_PossessorOfAPreciousSoul_1 31740-5.htm">"Let me see the letter."</a> +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31740-5.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31740-5.htm new file mode 100644 index 0000000000000000000000000000000000000000..baaab53e88815d5de50bdf887533f6d26c2f0cff --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31740-5.htm @@ -0,0 +1,3 @@ +<html><body>Caradine:<br> +Virgil's in trouble! Go to him immediately! +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31742-1.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31742-1.htm new file mode 100644 index 0000000000000000000000000000000000000000..97460947eec37e90b2e6603a9d93facb17f662f0 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31742-1.htm @@ -0,0 +1,7 @@ +<html><body>Virgil:<br> +I've been waiting for you.<br>You've undertaken the trial as the ranking guild member, +and helped Reorin save his wife's soul and restore his reputation. You don't have to live the life of a criminal anymore. +Drinking Mimir's Elixir allows you to create your own destiny. It was no coincidence that Talien met you. +It all matches my granddaughter's dream!<br> +<a action="bypass -h Quest 241_PossessorOfAPreciousSoul_1 31742-2.htm">"What dream?"</a> +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31742-2.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31742-2.htm new file mode 100644 index 0000000000000000000000000000000000000000..702a7179ef4e2f3d89b742ade8e30b4588253247 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31742-2.htm @@ -0,0 +1,6 @@ +<html><body>Virgil:<br> +My granddaughter Kassandra suffers from a grave illness. She was always weak, +but her nightmares are robbing her of what little strength she has left.<br> +She was born with a special gift to foresee the future in her dreams. Ogmar thinks you might be able to help, +so I asked you to come. He knows all the details, talk to him. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31742-3.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31742-3.htm new file mode 100644 index 0000000000000000000000000000000000000000..aa547f9579bd27aed710c672b82de456d8d3ce98 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31742-3.htm @@ -0,0 +1,3 @@ +<html><body>Virgil:<br> +Kassandra's nightmare has some important details concerning you. Ogmar knows the story, talk to him. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31742-4.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31742-4.htm new file mode 100644 index 0000000000000000000000000000000000000000..7171511dbe85aa305f0c64a2074b8b7bdfc266aa --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31742-4.htm @@ -0,0 +1,5 @@ +<html><body>Virgil:<br> +I knew you could do it! She looks better already. Thank you.<br>I don't know how to tell you, +but there's someone who worships the Lady of the Lake who wants to see you. Do you want to meet her?<br> +<a action="bypass -h Quest 241_PossessorOfAPreciousSoul_1 31742-5.htm">"Yes."</a> +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31742-5.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31742-5.htm new file mode 100644 index 0000000000000000000000000000000000000000..83f20f511dcb5ab0c1bdb07081b5b169820a4621 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31742-5.htm @@ -0,0 +1,4 @@ +<html><body>Virgil:<br> +Look for an Elf named Caradine in Goddard Castle Town. She's the daughter of the family that worships the Lady of the Lake. + Go see her. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31742-6.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31742-6.htm new file mode 100644 index 0000000000000000000000000000000000000000..b304a56552d22e4f0883f027fb174b6dc8eb1c19 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31742-6.htm @@ -0,0 +1,3 @@ +<html><body>Virgil:<br> +Go to Goddard Castle Town and meet Caradine. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31743-1.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31743-1.htm new file mode 100644 index 0000000000000000000000000000000000000000..3ca04caa54ee1d8086ff5f8b5a29a0bcd83020d4 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31743-1.htm @@ -0,0 +1,4 @@ +<html><body>Kassandra:<br> +What is this...? Oh, it smells rancid! No way I'll take that!<br> +<a action="bypass -h Quest 241_PossessorOfAPreciousSoul_1 31743-2.htm">"But you must!"</a> +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31743-2.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31743-2.htm new file mode 100644 index 0000000000000000000000000000000000000000..f6f42c6a9ed8dba380a6ea82383f7c6259500043 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31743-2.htm @@ -0,0 +1,3 @@ +<html><body>Kassandra:<br> +Eww! It's bitter.<br>I think my headache is going away! My grandpa wants you to go see him. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31743-3.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31743-3.htm new file mode 100644 index 0000000000000000000000000000000000000000..0ce88dfd1e160bc3ed931c05732e8dcead829e4a --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31743-3.htm @@ -0,0 +1,3 @@ +<html><body>Kassandra:<br> +My grandfather wants to see you right now! Hurry up! +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31744-1.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31744-1.htm new file mode 100644 index 0000000000000000000000000000000000000000..7f45a0e70c3d421707adcf1f2f326a8846d59907 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31744-1.htm @@ -0,0 +1,5 @@ +<html><body>Ogmar:<br> +Kassandra is my friend Virgil's child. I saw the Grand Seer about her once, +he said her nightmares are depleting her strength. He can make the drug to cure her!<br> +<a action="bypass -h Quest 241_PossessorOfAPreciousSoul_1 31744-2.htm">"Where is he?"</a> +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31744-2.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31744-2.htm new file mode 100644 index 0000000000000000000000000000000000000000..74fcdf9e6f09fc3538dda7fec701700970c371e1 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31744-2.htm @@ -0,0 +1,3 @@ +<html><body>Ogmar:<br> +You'll find Grand Seer Rahorakti in the Sage's Library in the basement of this building. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31744-3.htm b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31744-3.htm new file mode 100644 index 0000000000000000000000000000000000000000..7b1484f9e6e722ac5fa9e7ed7bec13d571d58f95 --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/31744-3.htm @@ -0,0 +1,3 @@ +<html><body>Ogmar:<br> +The Sage's Library is under this building. Find Grand Seer Rahorakti there. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/__init__.py b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..5704415118a2cdb2db0e014973696ac90a57f4fe --- /dev/null +++ b/datapack_development/data/jscript/quests/241_PossessorOfAPreciousSoul_1/__init__.py @@ -0,0 +1,304 @@ +# Made by disKret +import sys +from net.sf.l2j.gameserver.model.quest import State +from net.sf.l2j.gameserver.model.quest import QuestState +from net.sf.l2j.gameserver.model.quest.jython import QuestJython as JQuest + +#NPC +STEDMIEL = 30692 +GABRIELLE = 30753 +GILMORE = 30754 +KANTABILON = 31042 +NOEL = 31272 +RAHORAKTI = 31336 +TALIEN = 31739 +CARADINE = 31740 +VIRGIL = 31742 +KASSANDRA = 31743 +OGMAR = 31744 + +#QUEST ITEM +LEGEND_OF_SEVENTEEN = 7587 +MALRUK_SUCCUBUS_CLAW = 7597 +ECHO_CRYSTAL = 7589 +POETRY_BOOK = 7588 +CRIMSON_MOSS = 7598 +RAHORAKTIS_MEDICINE = 7599 +LUNARGENT = 6029 +HELLFIRE_OIL = 6033 +VIRGILS_LETTER = 7677 + +#CHANCE +CHANCE_FOR_QUEST_ITEMS = 100 + +#MOB +BARAHAM = 27113 + +class Quest (JQuest) : + + def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr) + + def onEvent (self,event,st) : + htmltext = event + cond = st.getInt("cond") + if event == "31739-4.htm" : + if cond == 0 and st.player.isSubClassActive() : + st.setState(STARTED) + st.set("cond","1") + st.playSound("ItemSound.quest_accept") + if event == "30753-2.htm" : + if cond == 1 and st.player.isSubClassActive() : + st.set("cond","2") + st.playSound("ItemSound.quest_middle") + if event == "30754-2.htm" : + if cond == 2 and st.player.isSubClassActive() : + st.set("cond","3") + st.playSound("ItemSound.quest_middle") + if event == "31739-8.htm" : + if cond == 4 and st.player.isSubClassActive() : + st.set("cond","5") + st.takeItems(LEGEND_OF_SEVENTEEN,1) + st.playSound("ItemSound.quest_middle") + if event == "31042-2.htm" : + if cond == 5 and st.player.isSubClassActive() : + st.set("cond","6") + st.playSound("ItemSound.quest_middle") + if event == "31042-5.htm" : + if cond == 7 and st.player.isSubClassActive() : + st.set("cond","8") + st.takeItems(MALRUK_SUCCUBUS_CLAW,10) + st.giveItems(ECHO_CRYSTAL,1) + st.playSound("ItemSound.quest_middle") + if event == "31739-12.htm" : + if cond == 8 and st.player.isSubClassActive() : + st.set("cond","9") + st.takeItems(ECHO_CRYSTAL,1) + st.playSound("ItemSound.quest_accept") + if event == "30692-2.htm" : + if cond == 9 and st.player.isSubClassActive() : + st.set("cond","10") + st.giveItems(POETRY_BOOK,1) + st.playSound("ItemSound.quest_accept") + if event == "31739-15.htm" : + if cond == 10 and st.player.isSubClassActive() : + st.set("cond","11") + st.takeItems(POETRY_BOOK,1) + st.playSound("ItemSound.quest_accept") + if event == "31742-2.htm" : + if cond == 11 and st.player.isSubClassActive() : + st.set("cond","12") + st.playSound("ItemSound.quest_accept") + if event == "31744-2.htm" : + if cond == 12 and st.player.isSubClassActive() : + st.set("cond","13") + st.playSound("ItemSound.quest_accept") + if event == "31336-2.htm" : + if cond == 13 and st.player.isSubClassActive() : + st.set("cond","14") + st.playSound("ItemSound.quest_accept") + if event == "31336-5.htm" : + if cond == 15 and st.player.isSubClassActive() : + st.set("cond","16") + st.takeItems(CRIMSON_MOSS,5) + st.giveItems(RAHORAKTIS_MEDICINE,1) + st.playSound("ItemSound.quest_accept") + if event == "31743-2.htm" : + if cond == 16 and st.player.isSubClassActive() : + st.set("cond","17") + st.takeItems(RAHORAKTIS_MEDICINE,1) + st.playSound("ItemSound.quest_accept") + if event == "31742-5.htm" : + if cond == 17 and st.player.isSubClassActive() : + st.set("cond","18") + st.playSound("ItemSound.quest_accept") + if event == "31740-2.htm" : + if cond == 18 and st.player.isSubClassActive() : + st.set("cond","19") + st.playSound("ItemSound.quest_accept") + if event == "31272-2.htm" : + if cond == 19 and st.player.isSubClassActive() : + st.set("cond","20") + st.playSound("ItemSound.quest_accept") + if event == "31272-5.htm" : + if cond == 20 and st.player.isSubClassActive() : + st.takeItems(LUNARGENT,5) + st.takeItems(HELLFIRE_OIL,1) + st.set("cond","21") + st.playSound("ItemSound.quest_accept") + if event == "31740-5.htm" : + if cond == 21 and st.player.isSubClassActive() : + st.giveItems(VIRGILS_LETTER,1) + st.set("cond","0") + st.playSound("ItemSound.quest_finish") + st.setState(COMPLETED) + return htmltext + + def onTalk (Self,npc,st) : + htmltext = "<html><body>I have nothing to say you</body></html>" + npcId = npc.getNpcId() + cond = st.getInt("cond") + id = st.getState() + if id == CREATED : + st.set("cond","0") + if st.getPlayer().isSubClassActive() : + if npcId == TALIEN : + if cond == 0 : + if id == COMPLETED : + htmltext = "<html><head><body>This quest have already been completed.</body></html>" + elif st.getPlayer().getLevel() < 50 : + htmltext = "31739-2.htm" + st.exitQuest(1) + elif st.getPlayer().getLevel() >= 50 : + htmltext = "31739-1.htm" + if cond == 1 : + htmltext = "31739-5.htm" + if cond == 4 and st.getQuestItemsCount(LEGEND_OF_SEVENTEEN) == 1 : + htmltext = "31739-6.htm" + if cond == 5 : + htmltext = "31739-9.htm" + if cond == 8 and st.getQuestItemsCount(ECHO_CRYSTAL) == 1 : + htmltext = "31739-11.htm" + if cond == 9 : + htmltext = "31739-13.htm" + if cond == 10 and st.getQuestItemsCount(POETRY_BOOK) == 1 : + htmltext = "31739-14.htm" + if cond == 11 : + htmltext = "31739-16.htm" + if npcId == GABRIELLE : + if cond == 1 : + htmltext = "30753-1.htm" + if cond == 2 : + htmltext = "30753-3.htm" + if npcId == GILMORE : + if cond == 2 : + htmltext = "30754-1.htm" + if cond == 3 : + htmltext = "30754-3.htm" + if npcId == KANTABILON : + if cond == 5 : + htmltext = "31042-1.htm" + if cond == 6 : + htmltext = "31042-4.htm" + if cond == 7 and st.getQuestItemsCount(MALRUK_SUCCUBUS_CLAW) == 10 : + htmltext = "31042-3.htm" + if cond == 8 : + htmltext = "31042-6.htm" + if npcId == STEDMIEL : + if cond == 9 : + htmltext = "30692-1.htm" + if cond == 10 : + htmltext = "30692-3.htm" + if npcId == VIRGIL : + if cond == 11 : + htmltext = "31742-1.htm" + if cond == 12 : + htmltext = "31742-3.htm" + if cond == 17 : + htmltext = "31742-4.htm" + if cond == 18 : + htmltext = "31742-6.htm" + if npcId == OGMAR : + if cond == 12 : + htmltext = "31744-1.htm" + if cond == 13 : + htmltext = "31744-3.htm" + if npcId == RAHORAKTI : + if cond == 13 : + htmltext = "31336-1.htm" + if cond == 14 : + htmltext = "31336-4.htm" + if cond == 15 and st.getQuestItemsCount(CRIMSON_MOSS) == 5 : + htmltext = "31336-3.htm" + if cond == 16 : + htmltext = "31336-6.htm" + if npcId == KASSANDRA : + if cond == 16 and st.getQuestItemsCount(RAHORAKTIS_MEDICINE) == 1 : + htmltext = "31743-1.htm" + if cond == 17 : + htmltext = "31743-3.htm" + if npcId == CARADINE : + if cond == 18 : + htmltext = "31740-1.htm" + if cond == 19 : + htmltext = "31740-3.htm" + if cond == 21 : + htmltext = "31740-4.htm" + if npcId == NOEL : + if cond == 19 : + htmltext = "31272-1.htm" + if cond == 20 and st.getQuestItemsCount(LUNARGENT) < 5 and st.getQuestItemsCount(HELLFIRE_OIL) < 1 : + htmltext = "31272-4.htm" + if cond == 20 and st.getQuestItemsCount(LUNARGENT) >= 5 and st.getQuestItemsCount(HELLFIRE_OIL) >= 1 : + htmltext = "31272-3.htm" + if cond == 21 : + htmltext = "31272-7.htm" + else : + htmltext = "31739-2.htm" + st.exitQuest(1) + return htmltext + + def onKill (self,npc,st) : + npcId = npc.getNpcId() + cond = st.getInt("cond") + chance = st.getRandom(100) + if npcId == BARAHAM and cond == 3 : + st.set("cond","4") + st.giveItems(LEGEND_OF_SEVENTEEN,1) + st.playSound("ItemSound.quest_itemget") + if npcId in [20244,20245,20283,21508] : + if cond == 6 and CHANCE_FOR_QUEST_ITEMS > chance and st.getQuestItemsCount(MALRUK_SUCCUBUS_CLAW) < 10 : + st.giveItems(MALRUK_SUCCUBUS_CLAW,1) + st.playSound("ItemSound.quest_itemget") + if st.getQuestItemsCount(MALRUK_SUCCUBUS_CLAW) == 10 : + st.set("cond","7") + st.playSound("ItemSound.quest_middle") + if npcId in range(21508,215013) : + if cond == 14 and CHANCE_FOR_QUEST_ITEMS > chance and st.getQuestItemsCount(CRIMSON_MOSS) < 5 : + st.giveItems(CRIMSON_MOSS,1) + st.playSound("ItemSound.quest_itemget") + if st.getQuestItemsCount(CRIMSON_MOSS) == 5 : + st.set("cond","15") + st.playSound("ItemSound.quest_middle") + return + +QUEST = Quest(241,"241_PossessorOfAPreciousSoul_1","Possessor Of A Precious Soul - 1") +CREATED = State('Start', QUEST) +STARTED = State('Started', QUEST) +COMPLETED = State('Completed', QUEST) + +QUEST.setInitialState(CREATED) +QUEST.addStartNpc(TALIEN) +CREATED.addTalkId(TALIEN) +STARTED.addTalkId(TALIEN) +STARTED.addTalkId(STEDMIEL) +STARTED.addTalkId(GABRIELLE) +STARTED.addTalkId(GILMORE) +STARTED.addTalkId(KANTABILON) +STARTED.addTalkId(NOEL) +STARTED.addTalkId(RAHORAKTI) +STARTED.addTalkId(CARADINE) +STARTED.addTalkId(VIRGIL) +STARTED.addTalkId(KASSANDRA) +STARTED.addTalkId(OGMAR) + +STARTED.addKillId(BARAHAM) +STARTED.addKillId(20244) +STARTED.addKillId(20245) +STARTED.addKillId(20283) +STARTED.addKillId(21508) + +STARTED.addKillId(21508) +STARTED.addKillId(21509) +STARTED.addKillId(21510) +STARTED.addKillId(21511) +STARTED.addKillId(21512) + +STARTED.addQuestDrop(BARAHAM,LEGEND_OF_SEVENTEEN,1) +STARTED.addQuestDrop(BARAHAM,MALRUK_SUCCUBUS_CLAW,1) +STARTED.addQuestDrop(BARAHAM,ECHO_CRYSTAL,1) +STARTED.addQuestDrop(BARAHAM,POETRY_BOOK,1) +STARTED.addQuestDrop(BARAHAM,CRIMSON_MOSS,1) +STARTED.addQuestDrop(BARAHAM,RAHORAKTIS_MEDICINE,1) +STARTED.addQuestDrop(BARAHAM,VIRGILS_LETTER,1) + +print "importing quests: 241: Possessor Of A Precious Soul - 1" diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/30738-1.htm b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/30738-1.htm new file mode 100644 index 0000000000000000000000000000000000000000..14b279f734c429c94ee4a529292f5aff566f64b2 --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/30738-1.htm @@ -0,0 +1,4 @@ +<html><body>Alchemist Matild:<br> +My mentor sent you for the Sight of One-Hundred Eyes, didn't she? Wait here, I'll get the materials.<br> +<a action="bypass -h Quest 242_PossessorOfAPreciousSoul_2 30738-2.htm">"I'll wait."</a> +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/30738-2.htm b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/30738-2.htm new file mode 100644 index 0000000000000000000000000000000000000000..e4a7d94b892a7210b72c1b2b82914259864bab6d --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/30738-2.htm @@ -0,0 +1,3 @@ +<html><body>Alchemist Matild:<br> +Thanks for waiting. Here you are! Please give my best regards to my mentor. I haven't seen her for over a year. Tell Witch Kalis I'm taking good care of her house! +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/30738-3.htm b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/30738-3.htm new file mode 100644 index 0000000000000000000000000000000000000000..2fc1dd2cce6c07ab2e2c74ef99fd88686cae044f --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/30738-3.htm @@ -0,0 +1,3 @@ +<html><body>Alchemist Matild:<br> +Go ahead. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/30759-1.htm b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/30759-1.htm new file mode 100644 index 0000000000000000000000000000000000000000..f752a343e3300bbf1d5989dbefe42d126b1751ae --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/30759-1.htm @@ -0,0 +1,4 @@ +<html><body>Witch Kalis:<br> +I owe the Mysterious Dark Knight a favor, so I'll help you. I need to use the Sight of One-Hundred Eyes spell to find the owner of this hair. I'm missing some key ingredients, though.<br> +<a action="bypass -h Quest 242_PossessorOfAPreciousSoul_2 30759-2.htm">"Where can I find them?"</a> +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/30759-2.htm b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/30759-2.htm new file mode 100644 index 0000000000000000000000000000000000000000..8fd4bc6d67e3d254ad92be0cbc6c6aaee21a52bd --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/30759-2.htm @@ -0,0 +1,3 @@ +<html><body>Witch Kalis:<br> +Find my disciple Matild at my hut, in the forest east of the Ivory Tower in Oren. Tell her you need the materials for the Sight of One-Hundred Eyes spell. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/30759-3.htm b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/30759-3.htm new file mode 100644 index 0000000000000000000000000000000000000000..0358d91f43346cca429f8c308c92a5c010304301 --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/30759-3.htm @@ -0,0 +1,3 @@ +<html><body>Witch Kalis:<br> +Find Matild to get the materials for the spell. Aren't you supposed to be in a hurry? +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/30759-4.htm b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/30759-4.htm new file mode 100644 index 0000000000000000000000000000000000000000..005032096c870b4ec3b8bee0f33b86707fcb39d7 --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/30759-4.htm @@ -0,0 +1,4 @@ +<html><body>Witch Kalis:<br> +Good work. Now wait a moment while I cast the spell...<br> +<a action="bypass -h Quest 242_PossessorOfAPreciousSoul_2 30759-5.htm">Wait</a> +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/30759-5.htm b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/30759-5.htm new file mode 100644 index 0000000000000000000000000000000000000000..56cdfd25671db8a86983d584cd0cdc26f3e12a6a --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/30759-5.htm @@ -0,0 +1,3 @@ +<html><body>Witch Kalis:<br> +I've found a very faint trace of the Lady of the Lake in the Valley of Saints. Her life force is weakening. You'd better hurry! +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/30759-6.htm b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/30759-6.htm new file mode 100644 index 0000000000000000000000000000000000000000..c18fd0b1fbb6fcbb39e94323c986e6b9ebb24aef --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/30759-6.htm @@ -0,0 +1,3 @@ +<html><body>Witch Kalis:<br> +Aren't you supposed to be in a hurry? +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31742-1.htm b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31742-1.htm new file mode 100644 index 0000000000000000000000000000000000000000..da8fa58489312e4486a72378de6478635f6f8721 --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31742-1.htm @@ -0,0 +1,4 @@ +<html><body>Virgil:<br> +You came just in time. Something big is happening. You're the only one who can help.<br> +<a action="bypass -h Quest 242_PossessorOfAPreciousSoul_2 31742-3.htm">Quest</a> +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31742-2.htm b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31742-2.htm new file mode 100644 index 0000000000000000000000000000000000000000..dba20837a3db6cddf077675d114758750bc31e14 --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31742-2.htm @@ -0,0 +1,3 @@ +<html><body>Virgil:<br> +I can't find him. I hope nothing bad has happened.<br>(This quest is available only for sub-class characters of level 60 or above.) +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31742-3.htm b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31742-3.htm new file mode 100644 index 0000000000000000000000000000000000000000..439e92ff912bb2cae4b8dee794aafb1fd0709134 --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31742-3.htm @@ -0,0 +1,3 @@ +<html><body>Virgil:<br> +Three nights ago Kassandra had another nightmare and woke up screaming. Now she doesn't respond to anyone and stares aimlessly. Since she trusts you, maybe she'll talk to you. Please help her get over this illness. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31742-4.htm b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31742-4.htm new file mode 100644 index 0000000000000000000000000000000000000000..899e4d1b377d1beff147d66c99f625cb7b31c206 --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31742-4.htm @@ -0,0 +1,3 @@ +<html><body>Virgil:<br> +Please help my granddaughter. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31742-6.htm b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31742-6.htm new file mode 100644 index 0000000000000000000000000000000000000000..6efae760bfb5e6bf297b18c6a428f6ef645f9cae --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31742-6.htm @@ -0,0 +1,3 @@ +<html><body>Virgil:<br> +Good job, they're safe now. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31743-1.htm b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31743-1.htm new file mode 100644 index 0000000000000000000000000000000000000000..901d3154cb1da717f0df0edf73b22686113fec19 --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31743-1.htm @@ -0,0 +1,4 @@ +<html><body>Kassandra:<br> +I'm scared. What should I do?<br> +<a action="bypass -h Quest 242_PossessorOfAPreciousSoul_2 31743-2.htm">"Come on, get going!"</a> +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31743-2.htm b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31743-2.htm new file mode 100644 index 0000000000000000000000000000000000000000..3f5d45bc2fece53db64b7b04ed7fbeb4a1d4e5c2 --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31743-2.htm @@ -0,0 +1,4 @@ +<html><body>Kassandra:<br> +But... the golden princess... the princess...!<br> +<a action="bypass -h Quest 242_PossessorOfAPreciousSoul_2 31743-3.htm">"What's happening to her? What did you see in your dream?"</a> +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31743-3.htm b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31743-3.htm new file mode 100644 index 0000000000000000000000000000000000000000..d434875b3ca535511dbd23c9563cbcff9696dee3 --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31743-3.htm @@ -0,0 +1,5 @@ +<html><body>Kassandra:<br> +They had swords... so many... the princess is trying to escape, but she's caught... No! Don't hurt her!<br> +White feathers everywhere...! The princess is crying... she looks so sad... She is taken away!<br> +<a action="bypass -h Quest 242_PossessorOfAPreciousSoul_2 31743-4.htm">"Where to? What do you see around there? Please tell me!"</a> +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31743-4.htm b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31743-4.htm new file mode 100644 index 0000000000000000000000000000000000000000..ef41a2a13cd0fc971f9f55b059522cd0d990b0af --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31743-4.htm @@ -0,0 +1,4 @@ +<html><body>Kassandra:<br> +Green... brown... strange-looking trees...<br> +<a action="bypass -h Quest 242_PossessorOfAPreciousSoul_2 31743-5.htm">"What else? Tell me everything."</a> +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31743-5.htm b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31743-5.htm new file mode 100644 index 0000000000000000000000000000000000000000..dbd06be3c8ad73b42978e4b04c996c1f4050870e --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31743-5.htm @@ -0,0 +1,3 @@ +<html><body>Kassandra:<br> +That's all I can see. Ask Uncle Ogmar, he used to travel a lot, maybe he would know where it is. Please help the princess! +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31743-6.htm b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31743-6.htm new file mode 100644 index 0000000000000000000000000000000000000000..3b84d4c504d7cf5414207194cf0c16b5abc717f9 --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31743-6.htm @@ -0,0 +1,3 @@ +<html><body>Kassandra:<br> +You must go see Uncle Ogmar. Hurry! +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31743-7.htm b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31743-7.htm new file mode 100644 index 0000000000000000000000000000000000000000..bfe6401e61add72cae6b52569c62a83f2c0e544e --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31743-7.htm @@ -0,0 +1,3 @@ +<html><body>Kassandra:<br> +Thank you!<br>Grandpa Virgil, Uncle Ogmar! The princess is safe! +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31744-1.htm b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31744-1.htm new file mode 100644 index 0000000000000000000000000000000000000000..65bf5edcbde1f37c12404c9183475babd15d39da --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31744-1.htm @@ -0,0 +1,5 @@ +<html><body>Ogmar:<br> +Kassandra never had normal dreams. She may have the blood of a shaman in her veins. This nightmare must be a message. +Please tell me about her dream.<br> +<a action="bypass -h Quest 242_PossessorOfAPreciousSoul_2 31744-2.htm">"Well, she described..."</a> +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31744-2.htm b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31744-2.htm new file mode 100644 index 0000000000000000000000000000000000000000..9d1ab02ac27c10ec5160fbc59d1c2329b46b6301 --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31744-2.htm @@ -0,0 +1,4 @@ +<html><body>Ogmar:<br> +Tejakar Paagrio! That must be the Swamp of Screams. The valley between two tall peaks, that must be around the Gateway of Evil Spirits in the east of the swamp.<br> +Maybe we should look around there. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31744-3.htm b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31744-3.htm new file mode 100644 index 0000000000000000000000000000000000000000..1b37c8f377bff046911bc886d3dbd0e63ec601bf --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31744-3.htm @@ -0,0 +1,3 @@ +<html><body>Ogmar:<br> +Look for a clue on the path to the Gateway of Evil Spirits in the east of the swamp. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31746-1.htm b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31746-1.htm new file mode 100644 index 0000000000000000000000000000000000000000..19e87f8b7f3f415924fda70613598f656b20cf8c --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31746-1.htm @@ -0,0 +1,3 @@ +<html><body>Fallen Unicon:<br> +The Fallen Unicorn is surrounded by a strong force, making it impossible to get near it. The source of the force appears to be the four <font color="LEVEL">Cornerstones of Restraining</font> laid down around the Fallen Unicorn. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31746-2.htm b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31746-2.htm new file mode 100644 index 0000000000000000000000000000000000000000..d57720761ba8fa1e03fde3b561f474485e7a0485 --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31746-2.htm @@ -0,0 +1,3 @@ +<html><body>Fallen Unicorn:<br> +The unicorn staggers to its feet. The force field must be gone. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31747-1.htm b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31747-1.htm new file mode 100644 index 0000000000000000000000000000000000000000..8ae544df1aecdc800c31d4917b391f154e1f61b0 --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31747-1.htm @@ -0,0 +1,4 @@ +<html><body>Pure White Unicorn:<br> +[A familiar female voice] Thank you for your help... I'm too weak now to return to my original state, but don't worry. +It's too dangerous for you to stay any longer. You must go back to Kassandra and her grandfather. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31747-2.htm b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31747-2.htm new file mode 100644 index 0000000000000000000000000000000000000000..fa42ca7a31a43179211b69b966219376a5829e95 --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31747-2.htm @@ -0,0 +1,3 @@ +<html><body>Pure White Unicorn:<br> +[A familiar female voice] Hurry and return to the Dwarven girl, Kassandra. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31748-1.htm b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31748-1.htm new file mode 100644 index 0000000000000000000000000000000000000000..1625484e9c46380d26c4e1dca8092ce73ee3f1c8 --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31748-1.htm @@ -0,0 +1,3 @@ +<html><body>Cornerstone of Restraining:<br> +Looking closely, you see a hole to put in something like a bead. It looks like the orb in the hands of <font color="LEVEL">Restrainers of Glory</font>, who keep the cave, is going to fit into the hole perfectly. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31748-2.htm b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31748-2.htm new file mode 100644 index 0000000000000000000000000000000000000000..03c1ad3ef8c562bee30c2807ccd38b0947f6ee92 --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31748-2.htm @@ -0,0 +1,4 @@ +<html><body>Cornerstone of Restraining:<br> +You see a small hole.<br> +As soon as you put the orb in, the entire cornerstone is surrounded by bright light, and slowly disappears. You can save the unicorn if you make the remaining Cornerstones of Restraining disappear. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31751-1.htm b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31751-1.htm new file mode 100644 index 0000000000000000000000000000000000000000..b2562b9916acc0adfb5d19d1a73b350da66c69a2 --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31751-1.htm @@ -0,0 +1,6 @@ +<html><body>Mysterious Dark Knight:<br> +You missed her, my friend!<br> +I came running when I sensed she was in danger, but she was already gone. +The winged vermin wouldn't tell me where she was taken, so I had to use force!<br> +<a action="bypass -h Quest 242_PossessorOfAPreciousSoul_2 31751-2.htm">"Where do you think she is?"</a> +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31751-2.htm b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31751-2.htm new file mode 100644 index 0000000000000000000000000000000000000000..18bc08ed7ead27ccb3ec5387eb8965cc8f169ed8 --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31751-2.htm @@ -0,0 +1,3 @@ +<html><body>Mysterious Dark Knight:<br> +I don't know. It's hard to track these gangs. Maybe we can find a clue from the dead ones. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31751-3.htm b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31751-3.htm new file mode 100644 index 0000000000000000000000000000000000000000..ad682c558eed22a9af509010a16bd3f5647c5347 --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31751-3.htm @@ -0,0 +1,3 @@ +<html><body>Mysterious Dark Knight:<br> +Search the corpses, you're sure to find something. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31751-4.htm b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31751-4.htm new file mode 100644 index 0000000000000000000000000000000000000000..654a596ac4edfc428e57f5b9224c598fac6daba0 --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31751-4.htm @@ -0,0 +1,5 @@ +<html><body>Mysterious Dark Knight:<br> +Hmm... blonde hair. I'm not sure what that tells us, but I know how to find out.<br>Find Witch Kalis in south Oren. +She can use her spells to find out where she was taken. Tell her I sent you, she owes me a favor.<br>I must do my own research here. +Good luck, my friend. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31751-5.htm b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31751-5.htm new file mode 100644 index 0000000000000000000000000000000000000000..6a15d63992fcb49d619a707a4fb614a18137d2a2 --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31751-5.htm @@ -0,0 +1,5 @@ +<html><body>Mysterious Dark Knight:<br> +Meet a witch named Kalis south of Oren. She owes me a favor, so she'll help us.<br> +She should be able to tell us where the person who lost that blonde hair is.<br> +Now, be on your way! I'll continue my research here. May capricious destiny have mercy on you, my young friend! +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31752-1.htm b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31752-1.htm new file mode 100644 index 0000000000000000000000000000000000000000..b4c485b7f75c3c90f82edea4293155051e507bc2 --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31752-1.htm @@ -0,0 +1,3 @@ +<html><body>Angel Corpse:<br> +A long, blonde hair was found. Could it be from a blonde woman? +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31752-2.htm b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31752-2.htm new file mode 100644 index 0000000000000000000000000000000000000000..89345c36ed2b26e3565263db9031cca812ff98aa --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/31752-2.htm @@ -0,0 +1,3 @@ +<html><body>Angel Corpse:<br> +Nothing unusual. +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/__init__.py b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..3f7c19af82b8cd7f87c91b939984e19f31fea1ef --- /dev/null +++ b/datapack_development/data/jscript/quests/242_PossessorOfAPreciousSoul_2/__init__.py @@ -0,0 +1,209 @@ +# Made by disKret +import sys +from net.sf.l2j.gameserver.model.quest import State +from net.sf.l2j.gameserver.model.quest import QuestState +from net.sf.l2j.gameserver.model.quest.jython import QuestJython as JQuest + +#NPC +VIRGIL = 31742 +KASSANDRA = 31743 +OGMAR = 31744 +FALLEN_UNICORN = 31746 +PURE_UNICORN = 31747 +CORNERSTONE = 31748 +MYSTERIOUS_KNIGHT = 31751 +ANGEL_CORPSE = 31752 +KALIS = 30759 +MATILD = 30738 + +#QUEST ITEM +VIRGILS_LETTER = 7677 +GOLDEN_HAIR = 7590 +ORB_oF_BINDING = 7595 +SORCERY_INGREDIENT = 7596 +CARADINE_LETTER = 7678 + +#CHANCE FOR HAIR DROP +CHANCE_FOR_HAIR = 20 + +#MOB +RESTRAINER_OF_GLORY = 27317 + +class Quest (JQuest) : + + def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr) + + def onEvent (self,event,st) : + htmltext = event + cond = st.getInt("cond") + if event == "31742-3.htm" : + if cond == 0 : + st.setState(STARTED) + st.takeItems(VIRGILS_LETTER,1) + st.set("cond","1") + st.playSound("ItemSound.quest_accept") + if event == "31743-2.htm" : + return htmltext + if event == "31743-3.htm" : + return htmltext + if event == "31743-4.htm" : + return htmltext + if event == "31743-5.htm" : + if cond == 1 : + st.set("cond","2") + st.setState(STARTED) + st.playSound("ItemSound.quest_accept") + if event == "31744-2.htm" : + if cond == 2 : + st.set("cond","3") + st.playSound("ItemSound.quest_middle") + if event == "31751-2.htm" : + if cond == 3 : + st.set("cond","4") + st.playSound("ItemSound.quest_middle") + if event == "30759-2.htm" : + if cond == 6 : + st.set("cond","7") + st.playSound("ItemSound.quest_middle") + if event == "30738-2.htm" : + if cond == 7 : + st.set("cond","8") + st.giveItems(SORCERY_INGREDIENT,1) + st.playSound("ItemSound.quest_middle") + if event == "30759-5.htm" : + if cond == 8 : + st.set("cond","9") + st.takeItems(GOLDEN_HAIR,1) + st.takeItems(SORCERY_INGREDIENT,1) + st.playSound("ItemSound.quest_middle") + return htmltext + + def onTalk (Self,npc,st): + htmltext = "<html><head><body>I have nothing to say you</body></html>" + chance = st.getRandom(100) + cornerstones = st.getInt("cornerstones") + npcId = npc.getNpcId() + id = st.getState() + if id == CREATED : + st.set("cond","0") + st.set("cornerstones","0") + cond = int(st.get("cond")) + if st.getPlayer().isSubClassActive() : + if npcId == VIRGIL and cond == 0 and st.getQuestItemsCount(VIRGILS_LETTER) == 1 : + if id == COMPLETED : + htmltext = "<html><head><body>This quest have already been completed.</body></html>" + elif st.getPlayer().getLevel() < 60 : + htmltext = "31742-2.htm" + st.exitQuest(1) + elif st.getPlayer().getLevel() >= 60 : + htmltext = "31742-1.htm" + if npcId == VIRGIL and cond == 1 : + htmltext = "31742-4.htm" + if npcId == KASSANDRA and cond == 1 : + htmltext = "31743-1.htm" + if npcId == KASSANDRA and cond == 2 : + htmltext = "31743-6.htm" + if npcId == OGMAR and cond == 2 : + htmltext = "31744-1.htm" + if npcId == OGMAR and cond == 3 : + htmltext = "31744-3.htm" + if npcId == MYSTERIOUS_KNIGHT and cond == 3 : + htmltext = "31751-1.htm" + if npcId == MYSTERIOUS_KNIGHT and cond == 4 : + htmltext = "31751-3.htm" + if npcId == ANGEL_CORPSE and cond == 4 : + npc.reduceCurrentHp(10000,npc) + if CHANCE_FOR_HAIR < chance : + htmltext = "31752-2.htm" + else : + st.set("cond","5") + st.giveItems(GOLDEN_HAIR,1) + st.playSound("ItemSound.quest_middle") + htmltext = "31752-1.htm" + if npcId == ANGEL_CORPSE and cond == 5 : + htmltext = "31752-2.htm" + if npcId == MYSTERIOUS_KNIGHT and cond == 5 and st.getQuestItemsCount(GOLDEN_HAIR) == 1 : + htmltext = "31751-4.htm" + st.set("cond","6") + st.playSound("ItemSound.quest_middle") + if npcId == MYSTERIOUS_KNIGHT and cond == 6 : + htmltext = "31751-5.htm" + if npcId == KALIS and cond == 6 : + htmltext = "30759-1.htm" + if npcId == KALIS and cond == 7 : + htmltext = "30759-3.htm" + if npcId == MATILD and cond == 7 : + htmltext = "30738-1.htm" + if npcId == MATILD and cond == 8 : + htmltext = "30738-3.htm" + if npcId == KALIS and cond == 8 and st.getQuestItemsCount(SORCERY_INGREDIENT) == 1 : + htmltext = "30759-4.htm" + if npcId == KALIS and cond == 9 : + htmltext = "30759-6.htm" + if npcId == FALLEN_UNICORN and cond == 9 : + htmltext = "31746-1.htm" + if npcId == CORNERSTONE and cond == 9 and st.getQuestItemsCount(ORB_oF_BINDING) == 0 : + htmltext = "31748-1.htm" + if npcId == CORNERSTONE and cond == 9 and st.getQuestItemsCount(ORB_oF_BINDING) >= 1 : + htmltext = "31748-2.htm" + st.takeItems(ORB_oF_BINDING,1) + npc.reduceCurrentHp(10000,npc) + st.set("cornerstones",str(cornerstones+1)) + st.playSound("ItemSound.quest_middle") + if cornerstones == 3 : + st.set("cond","10") + st.playSound("ItemSound.quest_middle") + if npcId == FALLEN_UNICORN and cond == 10 : + htmltext = "31746-2.htm" + npc.reduceCurrentHp(10000,npc) + st.getPcSpawn().addSpawn(PURE_UNICORN) + if npcId == PURE_UNICORN and cond == 10 : + st.set("cond","11") + st.playSound("ItemSound.quest_middle") + htmltext = "31747-1.htm" + if npcId == PURE_UNICORN and cond == 11 : + htmltext = "31747-2.htm" + if npcId == KASSANDRA and cond == 11 : + htmltext = "31743-7.htm" + if npcId == VIRGIL and cond == 11 : + htmltext = "31742-6.htm" + st.set("cond","0") + st.set("cornerstones","0") + st.giveItems(CARADINE_LETTER,1) + st.playSound("ItemSound.quest_finish") + st.setState(COMPLETED) + return htmltext + + def onKill (self,npc,st): + if int(st.get("cond")) == 9 and st.getQuestItemsCount(ORB_oF_BINDING) <= 4 : + st.giveItems(ORB_oF_BINDING,1) + st.playSound("ItemSound.quest_itemget") + return + +QUEST = Quest(242,"242_PossessorOfAPreciousSoul_2","Possessor Of A Precious Soul - 2") +CREATED = State('Start', QUEST) +STARTED = State('Started', QUEST) +COMPLETED = State('Completed', QUEST) + +QUEST.setInitialState(CREATED) +QUEST.addStartNpc(VIRGIL) +CREATED.addTalkId(VIRGIL) +STARTED.addTalkId(VIRGIL) +STARTED.addTalkId(KASSANDRA) +STARTED.addTalkId(OGMAR) +STARTED.addTalkId(MYSTERIOUS_KNIGHT) +STARTED.addTalkId(ANGEL_CORPSE) +STARTED.addTalkId(KALIS) +STARTED.addTalkId(MATILD) +STARTED.addTalkId(FALLEN_UNICORN) +STARTED.addTalkId(CORNERSTONE) +STARTED.addTalkId(PURE_UNICORN) + +STARTED.addKillId(RESTRAINER_OF_GLORY) + +STARTED.addQuestDrop(VIRGIL,GOLDEN_HAIR,1) +STARTED.addQuestDrop(VIRGIL,ORB_oF_BINDING,1) +STARTED.addQuestDrop(VIRGIL,SORCERY_INGREDIENT,1) +STARTED.addQuestDrop(VIRGIL,CARADINE_LETTER,1) + +print "importing quests: 242: Possessor Of A Precious Soul - 2" diff --git a/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/30721-1.htm b/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/30721-1.htm new file mode 100644 index 0000000000000000000000000000000000000000..2ffa2012cf2d58b225ae17c5a79d1597d5a820e4 --- /dev/null +++ b/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/30721-1.htm @@ -0,0 +1,4 @@ +<HTML><BODY>Magister Ladd:<br> +You came back with the three relics! Good job. We should hurry, you never know when our enemies might attack.<br> +<a action="bypass -h Quest 246_PossessorOfAPreciousSoul_3 30721-2.htm">"Here's the box."</a> +</BODY></HTML> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/30721-2.htm b/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/30721-2.htm new file mode 100644 index 0000000000000000000000000000000000000000..b144288da56688c96f551f6a81e34e109231eae1 --- /dev/null +++ b/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/30721-2.htm @@ -0,0 +1,4 @@ +<HTML><BODY>Magister Ladd:<br> +I have successfully removed the Soultrap spells on Waterbinder, Evergreen and Rain Song. Now I will send them where they belong. +I have no doubt that your destiny will be great.<br>Caradine left a letter for you. +</BODY></HTML> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31740-1.htm b/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31740-1.htm new file mode 100644 index 0000000000000000000000000000000000000000..1278628aa52e745b6e644ebf6964a51bf77c7331 --- /dev/null +++ b/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31740-1.htm @@ -0,0 +1,5 @@ +<HTML><BODY>Caradine:<br> +Welcome back! I heard what happened. Thank you on behalf of the group! I never imagined that there would be such resistance to our work!<br> +We're probably safe now, but the Lady of the Lake hasn't completely recovered yet. She still needs some more rest. Could you please help us some more?<br> +<a action="bypass -h Quest 246_PossessorOfAPreciousSoul_3 31740-4.htm">"I'll wait."</a> +</BODY></HTML> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31740-2.htm b/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31740-2.htm new file mode 100644 index 0000000000000000000000000000000000000000..875bd1f5d076d76262f643cd652ab1c359fa262d --- /dev/null +++ b/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31740-2.htm @@ -0,0 +1,7 @@ +<HTML><BODY>Caradine:<br> + +Welcome back! I heard what happened. Thank you on behalf of the group! I never imagined that there would be such resistance to our work!<br> +The battle has just begun! You'd better find a safe place to hide for a while!<br> +(This quest may only be undertaken by sub-class characters of level 65 or above who have completed the Noblesse - 2 Quest.) + +</BODY></HTML> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31740-4.htm b/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31740-4.htm new file mode 100644 index 0000000000000000000000000000000000000000..112038767b807c72aa02a330c4401ba81c327910 --- /dev/null +++ b/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31740-4.htm @@ -0,0 +1,3 @@ +<HTML><BODY>Caradine:<br> +Oh, wonderful! We really need the help! Ask Ossian over there, he'll tell you exactly what we need. +</BODY></HTML> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31740-5.htm b/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31740-5.htm new file mode 100644 index 0000000000000000000000000000000000000000..e6390ad035b1f175ce0d78ca5b706c77ac5367d8 --- /dev/null +++ b/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31740-5.htm @@ -0,0 +1,3 @@ +<HTML><BODY>Caradine:<br> +Ask Ossian, he'll tell you. +</BODY></HTML> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31741-1.htm b/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31741-1.htm new file mode 100644 index 0000000000000000000000000000000000000000..71f4ecdeba8b59988ee4ce3d57fdd57cee4d1a18 --- /dev/null +++ b/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31741-1.htm @@ -0,0 +1,6 @@ +<HTML><BODY>Ossian:<br> +You've seen the Lady of the Lake in person. She's not an ordinary Human. She can't appear in her original state in this world, +so she used magic to place her essence into three objects. She isn't able to recover her strength without them, and they were stolen during the attack.<br> +You must help us recover them!<br> +<a action="bypass -h Quest 246_PossessorOfAPreciousSoul_3 31741-2.htm">"I'll help."</a> +</BODY></HTML> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31741-11.htm b/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31741-11.htm new file mode 100644 index 0000000000000000000000000000000000000000..4f3912cfca3c6e075dda380fbb29cb222c64dfe4 --- /dev/null +++ b/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31741-11.htm @@ -0,0 +1,3 @@ +<HTML><BODY>Ossian:<br> +There's no time to lose! Hurry up and take the box containing the three sacred relics to Magister Ladd in the Ivory Tower. +</BODY></HTML> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31741-2.htm b/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31741-2.htm new file mode 100644 index 0000000000000000000000000000000000000000..3b88a6af2dd6447c9e7b016b58d8f17fb88cffee --- /dev/null +++ b/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31741-2.htm @@ -0,0 +1,3 @@ +<HTML><BODY>Ossian:<br>Two of the objects are in the Valley of Saints. <font color="LEVEL">Pilgrim of Splendor</font> has the ring called Waterbinder and +<font color="LEVEL">Judge of Splendor</font> has the necklace Evergreen.<br>Please get them for me, you're the only one who can. +</BODY></HTML> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31741-3.htm b/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31741-3.htm new file mode 100644 index 0000000000000000000000000000000000000000..068e2b37b4c91251dd1bbea291cfebee5a0fa5e1 --- /dev/null +++ b/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31741-3.htm @@ -0,0 +1,4 @@ +<HTML><BODY>Ossian:<br> +You got them! Your soul is truly holy.<br>Unfortunately, they still have the Soultrap spell on them, and she's too weak to break it.<br> +<a action="bypass -h Quest 246_PossessorOfAPreciousSoul_3 31741-5.htm">"What should I do?"</a> +</BODY></HTML> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31741-4.htm b/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31741-4.htm new file mode 100644 index 0000000000000000000000000000000000000000..9a92643a6e33e7525d77f59d2cf598510fb0e7af --- /dev/null +++ b/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31741-4.htm @@ -0,0 +1,4 @@ +<HTML><BODY>Ossian:<br> +Find the ring called Waterbinder and the necklace Evergreen, they hold his strength. +Pilgrims of Splendor and Judges of Splendor in the Valley of Saints have them. +</BODY></HTML> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31741-5.htm b/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31741-5.htm new file mode 100644 index 0000000000000000000000000000000000000000..121d27a9570b1c6ac1633a7e34ea626022beebe1 --- /dev/null +++ b/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31741-5.htm @@ -0,0 +1,4 @@ +<HTML><BODY>Ossian:<br> +Her staff, Rain Song, holds the most power of the three objects. With it, she'll be able to break the Soultrap spell on the others.<br> +Her greatest foe, the Flame of Splendor, Archangel Barakiel, is guarding the staff.<br>To get the staff, you must conquer him! +</BODY></HTML> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31741-7.htm b/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31741-7.htm new file mode 100644 index 0000000000000000000000000000000000000000..ee705c0f6d24317139bbcdbf3f04e733ac5a0795 --- /dev/null +++ b/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31741-7.htm @@ -0,0 +1,5 @@ +<HTML><BODY>Ossian:<br> +Rain Song! You've defeated Barakiel. You've proven your worth.<br> +I have discovered that a colleague of mine may be able to break the Soultrap spell. Get the objects to him and he will attempt it.<br> +<a action="bypass -h Quest 246_PossessorOfAPreciousSoul_3 31741-9.htm">"I'll take them in person."</a> +</BODY></HTML> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31741-8.htm b/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31741-8.htm new file mode 100644 index 0000000000000000000000000000000000000000..d9ccd6cbfe0ec4ba5c3e988dc335d845b5586a10 --- /dev/null +++ b/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31741-8.htm @@ -0,0 +1,3 @@ +<HTML><BODY>Ossian:<br> +Destroy Barakiel, the Flame of Splendor, to get the Rainsong staff. +</BODY></HTML> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31741-9.htm b/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31741-9.htm new file mode 100644 index 0000000000000000000000000000000000000000..0577c9f00e7d6361913b58ac543612e4c26ae12c --- /dev/null +++ b/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/31741-9.htm @@ -0,0 +1,4 @@ +<HTML><BODY>Ossian:<br>I hope you can come along, you never know when they'll attack again.<br> +Magister Ladd in the Ivory Tower is the Mage who can liberate the three relics in this box. +Bring them to him! Hurry, his enemies are on our heels. +</BODY></HTML> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/__init__.py b/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..6065c2f5c244279f59347946621f597af117482b --- /dev/null +++ b/datapack_development/data/jscript/quests/246_PossessorOfAPreciousSoul_3/__init__.py @@ -0,0 +1,151 @@ +# Made by disKret +import sys +from net.sf.l2j.gameserver.model.quest import State +from net.sf.l2j.gameserver.model.quest import QuestState +from net.sf.l2j.gameserver.model.quest.jython import QuestJython as JQuest + +#NPC +LADD = 30721 +CARADINE = 31740 +OSSIAN = 31741 + +#QUEST ITEM +CARADINE_LETTER = 7678 +CARADINE_LETTER_LAST = 7679 +WATERBINDER = 7591 +EVERGREEN = 7592 +RAIN_SONG = 7593 +RELIC_BOX = 7594 + +#MOBS +PILGRIM_OF_SPLENDOR = 21541 +JUDGE_OF_SPLENDOR = 21544 +BARAKIEL = 25325 + +#CHANCE FOR DROP +CHANCE_FOR_DROP = 5 + +class Quest (JQuest) : + + def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr) + + def onEvent (self,event,st) : + htmltext = event + cond = st.getInt("cond") + if event == "31740-4.htm" : + if cond == 0 : + st.setState(STARTED) + st.takeItems(CARADINE_LETTER,1) + st.set("cond","1") + st.playSound("ItemSound.quest_accept") + if event == "31741-2.htm" : + if cond == 1 : + st.set("cond","2") + st.playSound("ItemSound.quest_middle") + if event == "31741-5.htm" : + if cond == 3 : + st.set("cond","4") + st.takeItems(WATERBINDER,1) + st.takeItems(EVERGREEN,1) + st.playSound("ItemSound.quest_middle") + if event == "31741-9.htm" : + if cond == 5 : + st.set("cond","6") + st.takeItems(RAIN_SONG,1) + st.giveItems(RELIC_BOX,1) + st.playSound("ItemSound.quest_middle") + if event == "30721-2.htm" : + if cond == 6 : + st.set("cond","0") + st.takeItems(RELIC_BOX,1) + st.giveItems(CARADINE_LETTER_LAST,1) + st.playSound("ItemSound.quest_finish") + st.setState(COMPLETED) + return htmltext + + def onTalk (Self,npc,st): + htmltext = "<html><head><body>I have nothing to say you</body></html>" + cond = st.getInt("cond") + npcId = npc.getNpcId() + id = st.getState() + if id == CREATED : + st.set("cond","0") + if st.getPlayer().isSubClassActive() : + if npcId == CARADINE and cond == 0 and st.getQuestItemsCount(CARADINE_LETTER) == 1 : + if id == COMPLETED : + htmltext = "<html><head><body>This quest have already been completed.</body></html>" + elif st.getPlayer().getLevel() < 65 : + htmltext = "31740-2.htm" + st.exitQuest(1) + elif st.getPlayer().getLevel() >= 65 : + htmltext = "31740-1.htm" + if npcId == CARADINE and cond == 1 : + htmltext = "31740-5.htm" + if npcId == OSSIAN and cond == 1 : + htmltext = "31741-1.htm" + if npcId == OSSIAN and cond == 2 : + htmltext = "31741-4.htm" + if npcId == OSSIAN and cond == 3 and st.getQuestItemsCount(WATERBINDER) == 1 and st.getQuestItemsCount(EVERGREEN) == 1 : + htmltext = "31741-3.htm" + if npcId == OSSIAN and cond == 4 : + htmltext = "31741-8.htm" + if npcId == OSSIAN and cond == 5 and st.getQuestItemsCount(RAIN_SONG) == 1 : + htmltext = "31741-7.htm" + if npcId == OSSIAN and cond == 6 and st.getQuestItemsCount(RELIC_BOX) == 1 : + htmltext = "31741-11.htm" + if npcId == LADD and cond == 6 : + htmltext = "30721-1.htm" + return htmltext + + def onKill (self,npc,st): + npcId = npc.getNpcId() + chance = st.getRandom(100) + cond = st.getInt("cond") + if npcId == PILGRIM_OF_SPLENDOR : + if cond == 2 and st.getQuestItemsCount(WATERBINDER) < 1 : + if chance < CHANCE_FOR_DROP : + st.giveItems(WATERBINDER,1) + if st.getQuestItemsCount(EVERGREEN) < 1 : + st.playSound("ItemSound.quest_itemget") + else: + st.playSound("ItemSound.quest_middle") + st.set("cond","3") + if npcId == JUDGE_OF_SPLENDOR : + if cond == 2 and st.getQuestItemsCount(EVERGREEN) < 1 : + if chance < CHANCE_FOR_DROP : + st.giveItems(EVERGREEN,1) + if st.getQuestItemsCount(WATERBINDER) < 1 : + st.playSound("ItemSound.quest_itemget") + else: + st.playSound("ItemSound.quest_middle") + st.set("cond","3") + if npcId == BARAKIEL : + if cond == 4 and st.getQuestItemsCount(RAIN_SONG) < 1 : + st.giveItems(RAIN_SONG,1) + st.playSound("ItemSound.quest_middle") + st.set("cond","5") + return + +QUEST = Quest(246,"246_PossessorOfAPreciousSoul_3","Possessor Of A Precious Soul - 3") +CREATED = State('Start', QUEST) +STARTED = State('Started', QUEST) +COMPLETED = State('Completed', QUEST) + +QUEST.setInitialState(CREATED) +QUEST.addStartNpc(CARADINE) +CREATED.addTalkId(CARADINE) +STARTED.addTalkId(CARADINE) +STARTED.addTalkId(OSSIAN) +STARTED.addTalkId(LADD) + +STARTED.addKillId(PILGRIM_OF_SPLENDOR) +STARTED.addKillId(JUDGE_OF_SPLENDOR) +STARTED.addKillId(BARAKIEL) + +STARTED.addQuestDrop(CARADINE,CARADINE_LETTER_LAST,1) +STARTED.addQuestDrop(CARADINE,WATERBINDER,1) +STARTED.addQuestDrop(CARADINE,EVERGREEN,1) +STARTED.addQuestDrop(CARADINE,RAIN_SONG,1) +STARTED.addQuestDrop(CARADINE,RELIC_BOX,1) + +print "importing quests: 246: Possessor Of A Precious Soul - 3" diff --git a/datapack_development/data/jscript/quests/247_PossessorOfAPreciousSoul_4/31740-1.htm b/datapack_development/data/jscript/quests/247_PossessorOfAPreciousSoul_4/31740-1.htm new file mode 100644 index 0000000000000000000000000000000000000000..c517187b0af043b2fa1ef174de88108dc4eccee6 --- /dev/null +++ b/datapack_development/data/jscript/quests/247_PossessorOfAPreciousSoul_4/31740-1.htm @@ -0,0 +1,6 @@ +<html><body>Caradine:<br> +Thank you for coming. I asked you here because the time has come for you to meet her.<br> +Isn't that what you wanted? Prepare to have all your questions answered and your horizons broadened!<br> +Are you ready to change your life?<br> +<a action="bypass -h Quest 247_PossessorOfAPreciousSoul_4 31740-3.htm">"Yes, I am!"</a> +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/247_PossessorOfAPreciousSoul_4/31740-2.htm b/datapack_development/data/jscript/quests/247_PossessorOfAPreciousSoul_4/31740-2.htm new file mode 100644 index 0000000000000000000000000000000000000000..95f45bcfa8ba672fe84523ec6b8eba0c1d148098 --- /dev/null +++ b/datapack_development/data/jscript/quests/247_PossessorOfAPreciousSoul_4/31740-2.htm @@ -0,0 +1,5 @@ +<html><body>Caradine:<br> +Soon, you'll meet him. All your questions will be answered and a world of new possibilities will be opened to you.<br> +You're not quite ready yet.<br> +(This quest may only be undertaken by sub-class characters of level 75 or above.) +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/247_PossessorOfAPreciousSoul_4/31740-3.htm b/datapack_development/data/jscript/quests/247_PossessorOfAPreciousSoul_4/31740-3.htm new file mode 100644 index 0000000000000000000000000000000000000000..9fa61fea2ccce0c734bc951611ed7387ab5762fd --- /dev/null +++ b/datapack_development/data/jscript/quests/247_PossessorOfAPreciousSoul_4/31740-3.htm @@ -0,0 +1,6 @@ +<html><body>Caradine:<br> +You must meet her alone. My only role is to open the way for you. <br>Don't be frightened!<br> +She just wants to talk to you. What she'll say, I don't know, but you need to listen!<br> +Now, close your eyes and relax.<br> +<a action="bypass -h Quest 247_PossessorOfAPreciousSoul_4 31740-4.htm">"I'm ready."</a> +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/247_PossessorOfAPreciousSoul_4/31740-4.htm b/datapack_development/data/jscript/quests/247_PossessorOfAPreciousSoul_4/31740-4.htm new file mode 100644 index 0000000000000000000000000000000000000000..bdc95b90de63f7bdc8e55b4c60b402c57c8e77a9 --- /dev/null +++ b/datapack_development/data/jscript/quests/247_PossessorOfAPreciousSoul_4/31740-4.htm @@ -0,0 +1,4 @@ +<html><body>Caradine:<br> +My master wants to meet you. Are you ready? Close your eyes...<br> +<a action="bypass -h Quest 247_PossessorOfAPreciousSoul_4 31740-5.htm">"I'm ready."</a> +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/247_PossessorOfAPreciousSoul_4/31740-5.htm b/datapack_development/data/jscript/quests/247_PossessorOfAPreciousSoul_4/31740-5.htm new file mode 100644 index 0000000000000000000000000000000000000000..38a45054c3a767f3f36aabf553ef0f2a06c8f99c --- /dev/null +++ b/datapack_development/data/jscript/quests/247_PossessorOfAPreciousSoul_4/31740-5.htm @@ -0,0 +1,3 @@ +<html><body>Caradine:<br> +A new era dawns! May the blessings of starlight be with you... +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/247_PossessorOfAPreciousSoul_4/31740-6.htm b/datapack_development/data/jscript/quests/247_PossessorOfAPreciousSoul_4/31740-6.htm new file mode 100644 index 0000000000000000000000000000000000000000..77e3af41d3739f6a740702cb8a639e844532eb51 --- /dev/null +++ b/datapack_development/data/jscript/quests/247_PossessorOfAPreciousSoul_4/31740-6.htm @@ -0,0 +1,4 @@ +<html><body>Caradine:<br> +You haven't met him yet, have you? He's waiting! Go to him! Now, close your eyes...<br> +<a action="bypass -h menu_select?ask=247&reply=1">"I'm ready."</a> +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/247_PossessorOfAPreciousSoul_4/31745-1.htm b/datapack_development/data/jscript/quests/247_PossessorOfAPreciousSoul_4/31745-1.htm new file mode 100644 index 0000000000000000000000000000000000000000..c61bded252af367479fdb8730c6ea71e9c357efb --- /dev/null +++ b/datapack_development/data/jscript/quests/247_PossessorOfAPreciousSoul_4/31745-1.htm @@ -0,0 +1,4 @@ +<html><body>Lady of the Lake:<br> +Finally I meet the one who bears a holy soul.<br>I've been waiting.<br> +<a action="bypass -h Quest 247_PossessorOfAPreciousSoul_4 31745-2.htm">"I've been waiting to meet you, too."</a> +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/247_PossessorOfAPreciousSoul_4/31745-2.htm b/datapack_development/data/jscript/quests/247_PossessorOfAPreciousSoul_4/31745-2.htm new file mode 100644 index 0000000000000000000000000000000000000000..ee08fc33525171f117a85ed1ebd8bfea019dca9f --- /dev/null +++ b/datapack_development/data/jscript/quests/247_PossessorOfAPreciousSoul_4/31745-2.htm @@ -0,0 +1,6 @@ +<html><body>Lady of the Lake:<br> +Your path has been difficult, but your journey is not over yet. You must fulfill your destiny.<br> +I came here to find a new future, but my mother's wishes kept me from it. I can't help you much either.<br> +I will answer the question that you've had on your mind.<br> +<a action="bypass -h Quest 247_PossessorOfAPreciousSoul_4 31745-3.htm">"Who are you and why are you here?"</a> +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/247_PossessorOfAPreciousSoul_4/31745-3.htm b/datapack_development/data/jscript/quests/247_PossessorOfAPreciousSoul_4/31745-3.htm new file mode 100644 index 0000000000000000000000000000000000000000..5364748e3aa2120ee627237113ff8ca96defb63f --- /dev/null +++ b/datapack_development/data/jscript/quests/247_PossessorOfAPreciousSoul_4/31745-3.htm @@ -0,0 +1,8 @@ +<html><body>Lady of the Lake:<br> +Don't you know who I am?<br> +My mother lost everything that she loved, and her grief over the betrayal was overpowering. +I am the child who holds hope and faith in the future. Some call me the Goddess of Water, but that title really belongs to my sister. +My name is Eva.<br> +I will give my trust to a mortal over my own siblings, if they recite with conviction, and believe in that new future. Can you do that?<br> +<a action="bypass -h Quest 247_PossessorOfAPreciousSoul_4 31745-4.htm">"I will with my entire body and soul."</a> +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/247_PossessorOfAPreciousSoul_4/31745-4.htm b/datapack_development/data/jscript/quests/247_PossessorOfAPreciousSoul_4/31745-4.htm new file mode 100644 index 0000000000000000000000000000000000000000..b33652cc6e7252f0bb0d5ceb72206115cb911dcb --- /dev/null +++ b/datapack_development/data/jscript/quests/247_PossessorOfAPreciousSoul_4/31745-4.htm @@ -0,0 +1,4 @@ +<html><body>Lady of the Lake:<br> +The world is a battleground, where everyone fights for themselves. Can you allow your love for Humans to blossom even in this sad state?<br> +<a action="bypass -h Quest 247_PossessorOfAPreciousSoul_4 31745-5.htm">"Of course. As you wish."</a> +</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/247_PossessorOfAPreciousSoul_4/31745-5.htm b/datapack_development/data/jscript/quests/247_PossessorOfAPreciousSoul_4/31745-5.htm new file mode 100644 index 0000000000000000000000000000000000000000..6e1626723e0ac3dd4d8bcf43f16ccec7ab0b5f19 --- /dev/null +++ b/datapack_development/data/jscript/quests/247_PossessorOfAPreciousSoul_4/31745-5.htm @@ -0,0 +1,2 @@ +<html><body>Lady of the Lake:<br> +You and I will open a new future for this world with infinite possibilities! May you be eternally blessed.</body></html> \ No newline at end of file diff --git a/datapack_development/data/jscript/quests/247_PossessorOfAPreciousSoul_4/__init__.py b/datapack_development/data/jscript/quests/247_PossessorOfAPreciousSoul_4/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..11fe95d2bb370bb6c42bb22f95999967451cd10e --- /dev/null +++ b/datapack_development/data/jscript/quests/247_PossessorOfAPreciousSoul_4/__init__.py @@ -0,0 +1,92 @@ +# Made by disKret +import sys +from net.sf.l2j.gameserver.model.quest import State +from net.sf.l2j.gameserver.model.quest import QuestState +from net.sf.l2j.gameserver.model.quest.jython import QuestJython as JQuest + +#NPC +CARADINE = 31740 +LADY_OF_LAKE = 31745 + +#QUEST ITEM +CARADINE_LETTER_LAST = 7679 +NOBLESS_TIARA = 7694 + +class Quest (JQuest) : + + def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr) + + def onEvent (self,event,st) : + htmltext = event + cond = st.getInt("cond") + if event == "31740-3.htm" : + if cond == 0 : + st.set("cond","1") + st.setState(STARTED) + st.playSound("ItemSound.quest_accept") + if event == "31740-4.htm" : + if cond == 1 : + return htmltext + if event == "31740-5.htm" : + if cond == 1 : + st.set("cond","2") + st.takeItems(CARADINE_LETTER_LAST,1) + st.player.teleToLocation(143200,44000,-3040) + return htmltext + if event == "31740-5.htm" : + if cond == 2 : + return htmltext + if event == "31745-2.htm" : + if cond == 2 : + return htmltext + if event == "31745-3.htm" : + if cond == 2 : + return htmltext + if event == "31745-4.htm" : + if cond == 2 : + return htmltext + if event == "31745-5.htm" : + if cond == 2 : + st.set("cond","0") + # st.getPlayer().setNoble(True) - UNCOMMENT WHEN CHARACTERS TABLE WILL BE UPDATED WITH NOBLESS STATUS + st.giveItems(NOBLESS_TIARA,1) + st.playSound("ItemSound.quest_finish") + st.setState(COMPLETED) + return htmltext + + def onTalk (Self,npc,st): + htmltext = "<html><head><body>I have nothing to say you</body></html>" + cond = st.getInt("cond") + npcId = npc.getNpcId() + id = st.getState() + if id == CREATED : + st.set("cond","0") + if st.getPlayer().isSubClassActive() : + if npcId == CARADINE and cond == 0 and st.getQuestItemsCount(CARADINE_LETTER_LAST) == 1 : + if id == COMPLETED : + htmltext = "<html><head><body>This quest have already been completed.</body></html>" + elif st.getPlayer().getLevel() < 75 : + htmltext = "31740-2.htm" + st.exitQuest(1) + elif st.getPlayer().getLevel() >= 75 : + htmltext = "31740-1.htm" + if npcId == CARADINE and cond == 2 : + htmltext = "31740-6.htm" + if npcId == LADY_OF_LAKE and cond == 2 : + htmltext = "31745-6.htm" + if npcId == LADY_OF_LAKE and cond == 2 : + htmltext = "31745-1.htm" + return htmltext + +QUEST = Quest(247,"247_PossessorOfAPreciousSoul_4","Possessor Of A Precious Soul - 4") +CREATED = State('Start', QUEST) +STARTED = State('Started', QUEST) +COMPLETED = State('Completed', QUEST) + +QUEST.setInitialState(CREATED) +QUEST.addStartNpc(CARADINE) +CREATED.addTalkId(CARADINE) +STARTED.addTalkId(CARADINE) +STARTED.addTalkId(LADY_OF_LAKE) + +print "importing quests: 247: Possessor Of A Precious Soul - 4" diff --git a/datapack_development/data/jscript/quests/__init__.py b/datapack_development/data/jscript/quests/__init__.py index dcd32af8af5fccc41d90192b5e1fbea3e4ed67ab..3853115ae4824c22b7a79829c497c2ab9a0aa053 100644 --- a/datapack_development/data/jscript/quests/__init__.py +++ b/datapack_development/data/jscript/quests/__init__.py @@ -80,6 +80,10 @@ __all__ = [ '233_TestOfWarspirit', '234_FatesWhisper', '235_MimirsElixir', +'241_PossessorOfAPreciousSoul_1', +'242_PossessorOfAPreciousSoul_2', +'246_PossessorOfAPreciousSoul_3', +'247_PossessorOfAPreciousSoul_4', '257_GuardIsBusy1', '258_BringWolfPelt1', '259_RanchersPlea',