Browse Source

new quest: 138 - Temple Champion 2

Kerberos 17 years ago
parent
commit
2d37f6a91c
33 changed files with 365 additions and 1 deletions
  1. 1 0
      datapack_development/data/scripts.cfg
  2. 6 0
      datapack_development/data/scripts/quests/138_TempleChampionPart2/30070-00.htm
  3. 10 0
      datapack_development/data/scripts/quests/138_TempleChampionPart2/30070-01.htm
  4. 8 0
      datapack_development/data/scripts/quests/138_TempleChampionPart2/30070-02.htm
  5. 4 0
      datapack_development/data/scripts/quests/138_TempleChampionPart2/30070-03.htm
  6. 9 0
      datapack_development/data/scripts/quests/138_TempleChampionPart2/30070-04.htm
  7. 9 0
      datapack_development/data/scripts/quests/138_TempleChampionPart2/30070-05.htm
  8. 8 0
      datapack_development/data/scripts/quests/138_TempleChampionPart2/30118-01.htm
  9. 7 0
      datapack_development/data/scripts/quests/138_TempleChampionPart2/30118-02.htm
  10. 5 0
      datapack_development/data/scripts/quests/138_TempleChampionPart2/30118-03.htm
  11. 8 0
      datapack_development/data/scripts/quests/138_TempleChampionPart2/30118-04.htm
  12. 5 0
      datapack_development/data/scripts/quests/138_TempleChampionPart2/30118-05.htm
  13. 4 0
      datapack_development/data/scripts/quests/138_TempleChampionPart2/30118-06.htm
  14. 3 0
      datapack_development/data/scripts/quests/138_TempleChampionPart2/30118-07.htm
  15. 5 0
      datapack_development/data/scripts/quests/138_TempleChampionPart2/30118-08.htm
  16. 6 0
      datapack_development/data/scripts/quests/138_TempleChampionPart2/30118-09.htm
  17. 3 0
      datapack_development/data/scripts/quests/138_TempleChampionPart2/30118-10.htm
  18. 12 0
      datapack_development/data/scripts/quests/138_TempleChampionPart2/30474-01.htm
  19. 5 0
      datapack_development/data/scripts/quests/138_TempleChampionPart2/30474-02.htm
  20. 3 0
      datapack_development/data/scripts/quests/138_TempleChampionPart2/30474-03.htm
  21. 7 0
      datapack_development/data/scripts/quests/138_TempleChampionPart2/30474-04.htm
  22. 3 0
      datapack_development/data/scripts/quests/138_TempleChampionPart2/30474-05.htm
  23. 6 0
      datapack_development/data/scripts/quests/138_TempleChampionPart2/30666-01.htm
  24. 6 0
      datapack_development/data/scripts/quests/138_TempleChampionPart2/30666-02.htm
  25. 5 0
      datapack_development/data/scripts/quests/138_TempleChampionPart2/30666-03.htm
  26. 9 0
      datapack_development/data/scripts/quests/138_TempleChampionPart2/30666-04.htm
  27. 8 0
      datapack_development/data/scripts/quests/138_TempleChampionPart2/30666-05.htm
  28. 8 0
      datapack_development/data/scripts/quests/138_TempleChampionPart2/30666-06.htm
  29. 9 0
      datapack_development/data/scripts/quests/138_TempleChampionPart2/30666-07.htm
  30. 6 0
      datapack_development/data/scripts/quests/138_TempleChampionPart2/30666-08.htm
  31. 6 0
      datapack_development/data/scripts/quests/138_TempleChampionPart2/30666-09.htm
  32. 165 0
      datapack_development/data/scripts/quests/138_TempleChampionPart2/__init__.py
  33. 6 1
      datapack_development/sql/etcitem.sql

+ 1 - 0
datapack_development/data/scripts.cfg

@@ -225,6 +225,7 @@ quests/134_TempleMissionary/__init__.py
 quests/135_TempleExecutor/__init__.py
 quests/136_MoreThanMeetsTheEye/__init__.py
 quests/137_TempleChampionPart1/__init__.py
+quests/138_TempleChampionPart2/__init__.py
 quests/151_SaveMySister1/__init__.py
 quests/152_ShardsOfGolem/__init__.py
 quests/153_WharfOldtimersFavor/__init__.py

+ 6 - 0
datapack_development/data/scripts/quests/138_TempleChampionPart2/30070-00.htm

@@ -0,0 +1,6 @@
+<html><body>High Priest Sylvain:<br>
+You are not ready for manifesto yet....<br>
+I'm a bit uncomfortable entrusting you with an important mission for the Temple.<br>
+There is some classified information about the Temple involved here, you see... Please understand...<br>
+(This quest may only be undertaken by characters who have reached level 36 and completed the "Temple Champion - 1" quest.)
+</body></html>

+ 10 - 0
datapack_development/data/scripts/quests/138_TempleChampionPart2/30070-01.htm

@@ -0,0 +1,10 @@
+<html><body>High Priest Sylvain:<br>
+Ah, the Limbs of the Temple...<br>
+...<br>
+We wish to distribute our manifesto -- which argues that the advent of the angel proves the Temple's legitimacy and authority -- to the various breakaway groups.<br>
+This will give them a final chance to repent of their apostasy and return to our loving fold, and in so doing escape eternal punishment.<br>
+But it will be very difficult to disseminate the manifesto to each group -- many lie in dangerous areas and many more will suspect a trick and refuse to meet with any representative we send...<br>
+However, an experienced adventurer might be able to both reach these groups and convince them to hear him out.<br>
+Will you help us?<br>
+<a action="bypass -h Quest 138_TempleChampionPart2 30070-02.htm">"I will."</a>
+</body></html>

+ 8 - 0
datapack_development/data/scripts/quests/138_TempleChampionPart2/30070-02.htm

@@ -0,0 +1,8 @@
+<html><body>High Priest Sylvain:<br>
+Thanks to your efforts, we were able to recreate the missing inspector's report.<br>
+Based on his findings, we have written a manifesto showing that the advent of the angel proves the authority and legitimacy of the Temple.<br>
+We wish to distribute this document to the groups who have broken ties with us.<br>
+If you give this to Preacher Sla, he will be able to disseminate it to those groups.<br>
+But...<br><br>
+<a action="bypass -h Quest 138_TempleChampionPart2 30070-03.htm">"But?"</a>
+</body></html>

+ 4 - 0
datapack_development/data/scripts/quests/138_TempleChampionPart2/30070-03.htm

@@ -0,0 +1,4 @@
+<html><body>High Priest Sylvain:<br>
+But it may be difficult for you obtain an audience with Preacher Sla. His philosophy differs somewhat from ours...<br>
+First seek out <font color="LEVEL">Priestess Pupina</font>, who will be able to guide you in contacting Preacher Sla.
+</body></html>

+ 9 - 0
datapack_development/data/scripts/quests/138_TempleChampionPart2/30070-04.htm

@@ -0,0 +1,9 @@
+<html><body>High Priest Sylvain:<br>
+(Tell him that you met Preacher Sla and gave him the manifesto, and have returned with a message from him.)<br>
+Only a strong and unified Temple can bring peace to this continent, and only concentrated power can protect the people.<br>
+Besides, the angel of Einhasad has obviously come down to empower us in our holy mission. What else would it mean?<br>
+But even with this clear evidence, I see they will not accept the truth. I just do not understand them...<br>
+We are now attempting to determine the angel's exact whereabouts.<br>
+Once we contact the angel, surely even the apostates must accept our authority.<br>
+<a action="bypass -h Quest 138_TempleChampionPart2 30070-05.htm">"Is the investigation under way?"</a>
+</body></html>

+ 9 - 0
datapack_development/data/scripts/quests/138_TempleChampionPart2/30070-05.htm

@@ -0,0 +1,9 @@
+<html><body>High Priest Sylvain:<br>
+We have commissioned Shadow Fox, the information dealer, to gather information about the angel from his sources...<br>
+I dislike the secrecy associated with using an outsider like that, but I accept the need for it at this delicate juncture.<br>
+If you wish to help search for the angel, contact Shadow Fox.<br>
+He will not reveal himself directly, so you should <font color="LEVEL">ask Warehouse Keeper Mia in Heine how to contact Shadow Fox</font>...<br>
+She has already told him that an experienced adventurer would be an asset in the search.<br>
+Tell Warehouse Keeper Mia that I sent you and she should speed you on your way to Shadow Fox.<br><br>
+You have served us well in this matter. May Einhasad guard you on your journey!
+</body></html>

+ 8 - 0
datapack_development/data/scripts/quests/138_TempleChampionPart2/30118-01.htm

@@ -0,0 +1,8 @@
+<html><body>Priestess Pupina:<br>
+Greetings, adventurer who carries out the mission of the Temple! <br>
+Do you wish to meet Preacher Sla?<br>
+As you know, the preachers' goals differ somewhat from the goals of the Temple priests.<br>
+Preachers believe that the Temple's rigid rules and ceremonies often serve as a barrier to a true understanding of and relationship with the goddess.<br>
+And given the Temple's close association with the aristocracy, many preachers are critical that the priests are more concerned with personal status and wealth than true service.<br>
+<a action="bypass -h Quest 138_TempleChampionPart2 30118-02.htm">"I see."</a>
+</body></html>

+ 7 - 0
datapack_development/data/scripts/quests/138_TempleChampionPart2/30118-02.htm

@@ -0,0 +1,7 @@
+<html><body>Priestess Pupina:<br>
+I believe that the Temple is a vital part of our religion, but that it also is in need of reform.<br>
+As you can guess, such a view has cast me into some disfavor with my superiors.<br>
+I also maintain friendly relations with many preachers, something else that is in practice frowned upon.<br>
+Since you occupy a high position in the service of the Temple, if you wish to speak with Preacher Sla you will need to prove that your views are not those of the conservative Temple hierarchy.<br>
+<a action="bypass -h Quest 138_TempleChampionPart2 30118-03.htm">"Then what should I do?"</a>
+</body></html>

+ 5 - 0
datapack_development/data/scripts/quests/138_TempleChampionPart2/30118-03.htm

@@ -0,0 +1,5 @@
+<html><body>Priestess Pupina:<br>
+Those hypocrital Temple priests pray, study, heal and give money to charity, to be sure -- but they refuse to risk dirtying their robes by actual venturing out among the poor and downtrodden.<br>
+If you can show that you do not share their aloofness, I will write you a letter of recommendation that you may give to Preacher Sla.<br>
+<a action="bypass -h Quest 138_TempleChampionPart2 30118-04.htm">"I will prove myself."</a>
+</body></html>

+ 8 - 0
datapack_development/data/scripts/quests/138_TempleChampionPart2/30118-04.htm

@@ -0,0 +1,8 @@
+<html><body>Priestess Pupina:<br>
+<font color="LEVEL">Grand Master Angus in the Town of Giran</font> is charged with the raising of Dark Elves.<br>
+We have heard word that one of the Dark Elven trainees was involved in a serious accident.<br>
+I think Angus may need help to deal with it. I will ask him for more information, but I must warn you that in rendering him aid you will almost certainly be violating the rules of your order.<br>
+Angus knows Preacher Sla well, however, and if you help him I am sure that he will write a letter of recommendation on your behalf.<br>Knowing that you may be asked to break the Temple code, do you still want to undertake this task?<br>
+<a action="bypass -h Quest 138_TempleChampionPart2 30118-05.htm">"I cannot. I must abide by the rules of the Temple in all things."</a><br>
+<a action="bypass -h Quest 138_TempleChampionPart2 30118-06.htm">"I believe that Einhasad prefers mercy to blind obedience. I will certainly help if I can."</a>
+</body></html>

+ 5 - 0
datapack_development/data/scripts/quests/138_TempleChampionPart2/30118-05.htm

@@ -0,0 +1,5 @@
+<html><body>Priestess Pupina:<br>
+I understand.<br>
+I do not question your decision, but I must tell you that with that attitude, even if you meet Preacher Sla, he will not converse with you.<br>
+If you change your mind, please let me know...
+</body></html>

+ 4 - 0
datapack_development/data/scripts/quests/138_TempleChampionPart2/30118-06.htm

@@ -0,0 +1,4 @@
+<html><body>Priestess Pupina:<br>
+Good!<br>
+Then go help <font color="LEVEL">Grand Master Angus in the Town of Giran</font>. After you have obtained his letter of recommendation, return to me here.
+</body></html>

+ 3 - 0
datapack_development/data/scripts/quests/138_TempleChampionPart2/30118-07.htm

@@ -0,0 +1,3 @@
+<html><body>Priestess Pupina:<br>
+Go help <font color="LEVEL">Grand Master Angus in the Town of Giran</font>. After you have obtained his letter of recommendation, return to me here.
+</body></html>

+ 5 - 0
datapack_development/data/scripts/quests/138_TempleChampionPart2/30118-08.htm

@@ -0,0 +1,5 @@
+<html><body>Priestess Pupina:<br>
+Ah, I see you have brought me a letter from Angus...<br>Let me see...<br>
+Hmm...according to this, you assisted in a ritual to Shilen, whom Einhasad imprisoned long ago. There can be no doubt that you have violated the rules of the Temple in this matter -- and gravely.<br>
+<a action="bypass -h Quest 138_TempleChampionPart2 30118-09.htm">"Every race has its own rituals and customs. As an adventurer all too familiar with death, Angus' sorrow touched me, as did his desire to lay the trainee's soul to rest. What I did in no way helped Shilen, but it did give a measure of peace to the dead man's friends. I would hope they would do the same for me."</a>
+</body></html>

+ 6 - 0
datapack_development/data/scripts/quests/138_TempleChampionPart2/30118-09.htm

@@ -0,0 +1,6 @@
+<html><body>Priestess Pupina:<br>
+That is well and wisely said! Both your actions and your words prove that you are very different from those arrogant Temple priests, obessed with the letter of the law rather than its spirit.<br>
+You have proved that you are indeed a reasonable person.<br>
+I will write you the letter of recommendation. Show it to <font color="LEVEL">Preacher Sla</font> in the wilderness, and perhaps he will treat you as a friend.<br>
+May the light of Einhasad shine upon your journey and guard you from every danger...
+</body></html>

+ 3 - 0
datapack_development/data/scripts/quests/138_TempleChampionPart2/30118-10.htm

@@ -0,0 +1,3 @@
+<html><body>Priestess Pupina:<br>
+You will be able to <font color="LEVEL">speak with Preacher Sla if you show him my letter of recommendation</font>.
+</body></html>

+ 12 - 0
datapack_development/data/scripts/quests/138_TempleChampionPart2/30474-01.htm

@@ -0,0 +1,12 @@
+<html><body>Grand Master Angus:<br>
+(Angus looks very sad...)<br><br>
+Hmm...<br>
+You wish to help me?<br>
+Well then... One of the Dark Elven trainees was accidentally killed during an actual fighting drill in Death Pass.<br>
+I am preparing a ritual that will permit his soul to return to Shilen in peace.<br>
+I do this in accord with the customs of his people...<br>
+To perform the ritual, however, we will need his belongings, which were lost in Death Pass.<br>
+You belong to the Temple of Einhasad, do you not?<br>
+Are you sure that you wish to provide aid to a follower of Shilen?<br>
+<a action="bypass -h Quest 138_TempleChampionPart2 30474-02.htm">"Every race has its own customs. I have faced dangers and lost friends as well, and I am touched by your sorrow. I will help you if I can."</a>
+</body></html>

+ 5 - 0
datapack_development/data/scripts/quests/138_TempleChampionPart2/30474-02.htm

@@ -0,0 +1,5 @@
+<html><body>Grand Master Angus:<br>
+Oh! You are very different, I see, from those arrogant priests of the Temple of Einhasad.<br>
+Thank you!<br>
+Please go to Death Pass and defeat <font color="LEVEL">Wyrms, Guardian Basilisks, Road Scavengers and Fettered Souls</font>. Bring back <font color="LEVEL">10 Relics of the Dark Elven Trainee</font>.
+</body></html>

+ 3 - 0
datapack_development/data/scripts/quests/138_TempleChampionPart2/30474-03.htm

@@ -0,0 +1,3 @@
+<html><body>Grand Master Angus:<br>
+Hurry! Please go to Death Pass and hunt <font color="LEVEL">Wyrms, Guardian Basilisks, Road Scavengers and Fettered Souls</font>. Bring back <font color="LEVEL">10 Relics of the Dark Elven Trainee</font>.
+</body></html>

+ 7 - 0
datapack_development/data/scripts/quests/138_TempleChampionPart2/30474-04.htm

@@ -0,0 +1,7 @@
+<html><body>Grand Master Angus:<br>
+You have returned with all of this belongings!<br1>
+Shilen be praised!<br>
+Thanks to your help, we will be able to send the soul of the dead Dark Elven trainee to rest with Shilen.<br>
+We are in your debt.<br>
+I will write you a letter of recommendation so that others of my faith will not treat you like one of those arrogant priests of the Temple of Einhasad.
+</body></html>

+ 3 - 0
datapack_development/data/scripts/quests/138_TempleChampionPart2/30474-05.htm

@@ -0,0 +1,3 @@
+<html><body>Grand Master Angus:<br>
+You are looking for Preacher Sla? Take my letter of recommendation to <font color="LEVEL">Priest Pupina</font>.
+</body></html>

+ 6 - 0
datapack_development/data/scripts/quests/138_TempleChampionPart2/30666-01.htm

@@ -0,0 +1,6 @@
+<html><body>Preacher Sla:<br>
+Hmmph! By the look of you, you must be associated with the Temple of Einhasad.<br>
+I have nothing to say to such a person.<br>
+Even if we were to talk, I know how it would end...<br>
+<a action="bypass -h Quest 138_TempleChampionPart2 30666-02.htm">Show him Pupina's letter of recommendation.</a>
+</body></html>

+ 6 - 0
datapack_development/data/scripts/quests/138_TempleChampionPart2/30666-02.htm

@@ -0,0 +1,6 @@
+<html><body>Preacher Sla:<br>
+What's this, then? Hmm...<br>
+(Preacher Sla reads Pupina's letter of recommendation.)<br>
+Well, well. You might be a person I can civilly converse with after all. Tell me, stranger, why are you here?<br>
+<a action="bypass -h Quest 138_TempleChampionPart2 30666-03.htm">Give him the Temple Manifesto.</a>
+</body></html>

+ 5 - 0
datapack_development/data/scripts/quests/138_TempleChampionPart2/30666-03.htm

@@ -0,0 +1,5 @@
+<html><body>Preacher Sla:<br>
+(Preacher Sla reads the manifesto.)<br>
+So...the angel of Einhasad has fallen to earth... Amazing...<br>
+<a action="bypass -h Quest 138_TempleChampionPart2 30666-04.htm">"Then do you admit that the Temple holds the truth in these matters?"</a>
+</body></html>

+ 9 - 0
datapack_development/data/scripts/quests/138_TempleChampionPart2/30666-04.htm

@@ -0,0 +1,9 @@
+<html><body>Preacher Sla:<br>
+See here...<br>
+According to my studies, there is a distinct possibility that Einhasad is not the creator of the Humans after all...<br>
+I have uncovered certain ancient sources that predate the Elmoreden period and survived Emperor Schuneimann's purges. They suggest that humanity was in fact created in another fashion altogether.<br>
+In my opinion, the Humans who conquered this continent needed a myth in order to dignify themselves and secure their control over the empire...<br>
+The Temple of Einhasad was accordingly formed chiefly for political reasons.<br>
+Think about it. It certainly explains why the Temple has fostered such an intimate relationship with the Rulers of Dawn, the ones with secular power.<br>
+<a action="bypass -h Quest 138_TempleChampionPart2 30666-05.htm">"But isn't it true that an angel with 3 pairs of wings delivered both a message and a measure of the goddess' power to Emperor Schuneimann?"</a>
+</body></html>

+ 8 - 0
datapack_development/data/scripts/quests/138_TempleChampionPart2/30666-05.htm

@@ -0,0 +1,8 @@
+<html><body>Preacher Sla:<br>
+Yes, I admit that miracle actually happened.<br>
+Much of Emperor Schuneimann's recorded actions and abilities cannot be explained apart from whatever power he received from Einhasad.<br>
+But I think the deal went both ways. I have discovered that Einhasad possibly required some kind of assistance from this Human who had conquered the continent.<br>
+In his turn, Schuneimann needed legitimacy, which he gained through performing miracles.<br>
+I think the two of them concluded some sort of contract with each other...<br>
+<a action="bypass -h Quest 138_TempleChampionPart2 30666-06.htm">Keep listening.</a>
+</body></html>

+ 8 - 0
datapack_development/data/scripts/quests/138_TempleChampionPart2/30666-06.htm

@@ -0,0 +1,8 @@
+<html><body>Preacher Sla:<br>
+It seems that Einhasad desperately wants to stop something...what exactly, we still don't know.<br>
+Perhaps it has to do with the elimination of the followers of Shilen and the monsters spawned by the dark goddess...<br>
+That makes sense, considering how harshly Emperor Schuneimann persecuted Dark Wizards, Shilen's disciples and the followers of Gran Kain. Interestingly, by the way, those persecutions began after his first miracle... Coincidence? I'm inclined to think not.<br>
+My research is still in progress, so there are still many questions.<br>
+But I was able to find some evidence that may show a linkage...<br>
+<a action="bypass -h Quest 138_TempleChampionPart2 30666-07.htm">"What does this have to do with the manifesto I showed you?"</a>
+</body></html>

+ 9 - 0
datapack_development/data/scripts/quests/138_TempleChampionPart2/30666-07.htm

@@ -0,0 +1,9 @@
+<html><body>Preacher Sla:<br>
+Since the beginning, the Temple has been deeply involved in politics, even as it continues to stubbornly insist on its divine legitimacy.<br>
+But look closer at this manifesto...<br>
+The possible presence of the angel here could either support their claims or be their ruin.<br>
+What if the angel offers a glimpse of the divine that is vastly different than what the Temple has maintained is the truth?<br>
+Its entire foundation will collapse...<br>
+The only way to be sure, of course, is to find this angel and learn why he has come...<br>
+<a action="bypass -h Quest 138_TempleChampionPart2 30666-08.htm">"I understand. I will deliver your message to my superiors." </a>
+</body></html>

+ 6 - 0
datapack_development/data/scripts/quests/138_TempleChampionPart2/30666-08.htm

@@ -0,0 +1,6 @@
+<html><body>Preacher Sla:<br>
+I can see your confusion.<br>
+Despite what you may have heard me say, don't lose your faith in the goddess. Regardless of race or rank, Einhasad's light and healing magic is still very much present in our world.<br>I do not know what happened between Einhasad and Emperor Schuneimann, but... <br>
+It is my belief that it is not the goddess who is at fault for the misfortunes that have befallen her people; it is rather the fault of those who exploit her name for their own power and advancement.<br>
+Go tell <font color="LEVEL">High Priest Sylvain</font> what I just told you.
+</body></html>

+ 6 - 0
datapack_development/data/scripts/quests/138_TempleChampionPart2/30666-09.htm

@@ -0,0 +1,6 @@
+<html><body>Preacher Sla:<br>
+Don't lose your faith in the goddess. Regardless of race or rank, Einhasad's light and healing magic is still very much present in our world.<br>
+I do not know what happened between Einhasad and Emperor Schuneimann, but... <br>
+It is my belief that it is not the goddess who is at fault for the misfortunes that have befallen her people; it is rather the fault of those who exploit her name for their own power and advancement.<br>
+Go tell <font color="LEVEL">High Priest Sylvain</font> what I just told you.
+</body></html>

+ 165 - 0
datapack_development/data/scripts/quests/138_TempleChampionPart2/__init__.py

@@ -0,0 +1,165 @@
+# Made by Kerberos
+# this script is part of the Official L2J Datapack Project.
+# Visit http://forum.l2jdp.com for more details.
+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
+
+qn = "138_TempleChampionPart2"
+
+# NPCs
+SYLVAIN = 30070
+PUPINA = 30118
+ANGUS = 30474
+SLA = 30666
+
+# ITEMs
+MANIFESTO = 10341
+RELIC = 10342
+ANGUS_REC = 10343
+PUPINA_REC = 10344
+
+# MONSTERs
+NPC=[20176,20550,20551,20552]
+
+class Quest (JQuest) :
+
+ def __init__(self,id,name,descr):
+    JQuest.__init__(self,id,name,descr)
+    self.questItemIds = [MANIFESTO,RELIC,ANGUS_REC,PUPINA_REC]
+
+ def onEvent (self,event,st) :
+    htmltext = event
+    id = st.getState()
+    cond = st.getInt("cond")
+    if event == "30070-02.htm" :
+       st.set("cond","1")
+       st.playSound("ItemSound.quest_accept")
+       st.giveItems(MANIFESTO, 1)
+    elif event == "30070-05.htm" :
+       st.giveItems(57, 84593)
+       st.playSound("ItemSound.quest_finish")
+       st.exitQuest(False)
+       if player.getLevel() >= 36 and player.getLevel() <= 44:
+          st.addExpAndSp(219975,13047)
+    elif event == "30070-03.htm" :
+       st.set("cond","2")
+       st.playSound("ItemSound.quest_middle")
+    elif event == "30118-06.htm" :
+       st.set("cond","3")
+       st.playSound("ItemSound.quest_middle")
+    elif event == "30118-09.htm" :
+       st.set("cond","6")
+       st.playSound("ItemSound.quest_middle")
+       st.set("talk","0")
+       st.giveItems(PUPINA_REC, 1)
+    elif event == "30474-02.htm" :
+       st.set("cond","4")
+       st.playSound("ItemSound.quest_middle")
+    elif event == "30666-02.htm" :
+       st.set("talk","1")
+       st.takeItems(PUPINA_REC, -1)
+    elif event == "30666-03.htm" :
+       st.set("talk","2")
+       st.takeItems(MANIFESTO, -1)
+    elif event == "30666-08.htm" :
+       st.set("cond","7")
+       st.playSound("ItemSound.quest_middle")
+       st.unset("talk")
+    return htmltext
+
+ def onTalk (self,npc,player):
+    htmltext = "<html><body>You are either not on a quest that involves this NPC, or you don't meet this NPC's minimum quest requirements.</body></html>"
+    st = player.getQuestState(qn)
+    if not st : return htmltext
+
+    npcId = npc.getNpcId()
+    id = st.getState()
+    cond = st.getInt("cond")
+    if id == State.CREATED : return htmltext
+    if id == State.COMPLETED :
+       htmltext = "<html><body>This quest has already been completed.</body></html>"
+    elif npcId == SYLVAIN :
+       if cond == 0 :
+          if player.getLevel() >= 36:
+             htmltext = "30070-01.htm"
+          else:
+             htmltext = "30070-00.htm"
+             st.exitQuest(1)
+       elif cond == 1 :
+          htmltext = "30070-02.htm"
+       elif cond in [2,3,4,5,6] :
+          htmltext = "30070-03.htm"
+       elif cond == 7 :
+          htmltext = "30070-04.htm"
+    elif npcId == PUPINA :
+       if cond == 2 :
+          htmltext = "30118-01.htm"
+       elif cond in [3,4] :
+          htmltext = "30118-07.htm"
+       elif cond == 5 :
+          htmltext = "30118-08.htm"
+          st.takeItems(ANGUS_REC, -1)
+       elif cond == 6 :
+          htmltext = "30118-10.htm"
+    elif npcId == ANGUS :
+       if cond == 3 :
+          htmltext = "30474-01.htm"
+       elif cond == 4 :
+          if st.getQuestItemsCount(RELIC) >= 10:
+             htmltext = "30474-04.htm"
+             st.takeItems(RELIC, -1)
+             st.giveItems(ANGUS_REC, 1)
+             st.set("cond","5")
+             st.playSound("ItemSound.quest_middle")
+          else:
+             htmltext = "30474-03.htm"
+       elif cond == 5 :
+          htmltext = "30474-05.htm"
+    elif npcId == SLA :
+       if cond == 6 :
+          if st.getInt("talk") == 0:
+             htmltext = "30666-01.htm"
+          elif st.getInt("talk") == 1:
+             htmltext = "30666-02.htm"
+          elif st.getInt("talk") == 2:
+             htmltext = "30666-03.htm"
+       elif cond == 7 :
+          htmltext = "30666-09.htm"
+    return htmltext
+
+ def onKill(self,npc,player,isPet):
+    st = player.getQuestState(qn)
+    if not st : return
+    if st.getState() != State.STARTED : return
+    if st.getInt("cond")==4 :
+       if st.getQuestItemsCount(RELIC) < 10:
+          st.giveItems(RELIC,1)
+          if st.getQuestItemsCount(RELIC) >= 10:
+             st.playSound("ItemSound.quest_middle")
+          else :
+             st.playSound("ItemSound.quest_itemget")
+    return
+
+ def onFirstTalk (self,npc,player):
+   st = player.getQuestState(qn)
+   if not st :
+      st = self.newQuestState(player)
+   qs = st.getPlayer().getQuestState("137_TempleChampionPart1")
+   if qs :
+      if qs.getState() == State.COMPLETED :
+         if st.getState() == State.CREATED :
+            st.setState(State.STARTED)
+   npc.showChatWindow(player)
+   return
+
+QUEST       = Quest(138,qn,"Temple Champion - 2")
+
+QUEST.addFirstTalkId(SYLVAIN) #this quest doesnt have starter npc, quest will appear in list only when u finish quest 137
+QUEST.addTalkId(SYLVAIN)
+QUEST.addTalkId(PUPINA)
+QUEST.addTalkId(ANGUS)
+QUEST.addTalkId(SLA)
+for mob in NPC :
+   QUEST.addKillId(mob)

+ 6 - 1
datapack_development/sql/etcitem.sql

@@ -7427,4 +7427,9 @@ INSERT INTO `etcitem` VALUES
 (10337,"Giants' Technology Report", "false", "quest", 0, "stackable", "wood", "none", -1, 0, NULL, "true", "true", "true", "true", "", ""),
 (10338,"Rouke's Report", "false", "quest", 0, "stackable", "paper", "none", -1, 0, NULL, "true", "true", "true", "true", "", ""),
 (10339,"Badge - Temple Missionary", "false", "quest", 0, "stackable", "wood", "none", -1, 0, NULL, "true", "true", "true", "true", "", ""),
-(10340,"Report Fragment", "false", "quest", 0, "stackable", "wood", "none", -1, 0, NULL, "true", "true", "true", "true", "", "");
+(10340,"Report Fragment", "false", "quest", 0, "stackable", "wood", "none", -1, 0, NULL, "true", "true", "true", "true", "", ""),
+(10341,"Temple Manifesto", "false", "quest", 0, "stackable", "wood", "none", -1, 0, NULL, "true", "true", "true", "true", "", ""),
+(10342,"Relics of the Dark Elf Trainee", "false", "quest", 0, "stackable", "wood", "none", -1, 0, NULL, "true", "true", "true", "true", "", ""),
+(10343,"Angus' Recommendation", "false", "quest", 0, "stackable", "wood", "none", -1, 0, NULL, "true", "true", "true", "true", "", ""),
+(10344,"Pupina's Recommendation", "false", "quest", 0, "stackable", "wood", "none", -1, 0, NULL, "true", "true", "true", "true", "", "");
+