Browse Source

new quest: 137 - Temple Champion 1

Kerberos 17 years ago
parent
commit
de7d51a599
20 changed files with 223 additions and 1 deletions
  1. 1 0
      datapack_development/data/scripts.cfg
  2. 7 0
      datapack_development/data/scripts/quests/137_TempleChampionPart1/30070-00.htm
  3. 6 0
      datapack_development/data/scripts/quests/137_TempleChampionPart1/30070-01.htm
  4. 5 0
      datapack_development/data/scripts/quests/137_TempleChampionPart1/30070-02.htm
  5. 7 0
      datapack_development/data/scripts/quests/137_TempleChampionPart1/30070-03.htm
  6. 4 0
      datapack_development/data/scripts/quests/137_TempleChampionPart1/30070-04.htm
  7. 9 0
      datapack_development/data/scripts/quests/137_TempleChampionPart1/30070-05.htm
  8. 8 0
      datapack_development/data/scripts/quests/137_TempleChampionPart1/30070-06.htm
  9. 10 0
      datapack_development/data/scripts/quests/137_TempleChampionPart1/30070-07.htm
  10. 7 0
      datapack_development/data/scripts/quests/137_TempleChampionPart1/30070-08.htm
  11. 6 0
      datapack_development/data/scripts/quests/137_TempleChampionPart1/30070-09.htm
  12. 7 0
      datapack_development/data/scripts/quests/137_TempleChampionPart1/30070-10.htm
  13. 5 0
      datapack_development/data/scripts/quests/137_TempleChampionPart1/30070-11.htm
  14. 8 0
      datapack_development/data/scripts/quests/137_TempleChampionPart1/30070-12.htm
  15. 5 0
      datapack_development/data/scripts/quests/137_TempleChampionPart1/30070-13.htm
  16. 6 0
      datapack_development/data/scripts/quests/137_TempleChampionPart1/30070-14.htm
  17. 8 0
      datapack_development/data/scripts/quests/137_TempleChampionPart1/30070-15.htm
  18. 5 0
      datapack_development/data/scripts/quests/137_TempleChampionPart1/30070-16.htm
  19. 107 0
      datapack_development/data/scripts/quests/137_TempleChampionPart1/__init__.py
  20. 2 1
      datapack_development/sql/etcitem.sql

+ 1 - 0
datapack_development/data/scripts.cfg

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

+ 7 - 0
datapack_development/data/scripts/quests/137_TempleChampionPart1/30070-00.htm

@@ -0,0 +1,7 @@
+<html><body>High Priest Sylvain:<br>
+You are neither the Hands nor the Feet of the Temple of Einhasad....<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>
+You may ask Priest Shegfield about becoming the Hands of the Temple, and you can speak with Priest Glyvka about becoming the Feet of the Temple...<br>
+(Only characters who have completed the Feet of the Temple and Hands of the Temple quests are permitted to take on this quest.)
+</body></html>

+ 6 - 0
datapack_development/data/scripts/quests/137_TempleChampionPart1/30070-01.htm

@@ -0,0 +1,6 @@
+<html><body>High Priest Sylvain:<br>
+You have now become both the Hands and the Feet of the Temple of Einhasad.<br>
+Before you can carry out even more important missions, however, you must achieve the title of the Limbs of the Temple.<br>
+To do so, you must pass a simple oral exam.<br>
+<a action="bypass -h Quest 137_TempleChampionPart1 30070-02.htm">Begin the oral exam.</a>
+</body></html>

+ 5 - 0
datapack_development/data/scripts/quests/137_TempleChampionPart1/30070-02.htm

@@ -0,0 +1,5 @@
+<html><body>High Priest Sylvain:<br>
+This oral exam will test your knowledge of certain basic principles that should be known to the Hands or the Feet of the Temple.<br>
+Are you ready to begin?<br>
+<a action="bypass -h Quest 137_TempleChampionPart1 30070-03.htm">"I am ready."</a>
+</body></html>

+ 7 - 0
datapack_development/data/scripts/quests/137_TempleChampionPart1/30070-03.htm

@@ -0,0 +1,7 @@
+<html><body>High Priest Sylvain:<br>
+Who established the Temple after receiving the goddess' message, sent through an angel with three wings during the early years of the Elmoreden Empire?<br>
+<a action="bypass -h Quest 137_TempleChampionPart1 30070-04.htm">Baium.</a><br>
+<a action="bypass -h Quest 137_TempleChampionPart1 30070-05.htm">Schuneimann.</a><br>
+<a action="bypass -h Quest 137_TempleChampionPart1 30070-04.htm">Frintezza.</a><br>
+<a action="bypass -h Quest 137_TempleChampionPart1 30070-04.htm">Beleth.</a><br>
+</body></html>

+ 4 - 0
datapack_development/data/scripts/quests/137_TempleChampionPart1/30070-04.htm

@@ -0,0 +1,4 @@
+<html><body>High Priest Sylvain:<br>
+Hem... I do not think you are sufficiently knowledgeable about the history and traditions of our Temple.<br>
+Study hard and return to me when you are ready to take the test again.
+</body></html>

+ 9 - 0
datapack_development/data/scripts/quests/137_TempleChampionPart1/30070-05.htm

@@ -0,0 +1,9 @@
+<html><body>High Priest Sylvain:<br>
+Correct.<br>
+Let us move on to the next question.<br>
+Einhasad is the patron goddess of which race?<br>
+<a action="bypass -h Quest 137_TempleChampionPart1 30070-04.htm">Elves.</a><br>
+<a action="bypass -h Quest 137_TempleChampionPart1 30070-04.htm">Orcs.</a><br>
+<a action="bypass -h Quest 137_TempleChampionPart1 30070-04.htm">Dwarves.</a><br>
+<a action="bypass -h Quest 137_TempleChampionPart1 30070-06.htm">Humans.</a>
+</body></html>

+ 8 - 0
datapack_development/data/scripts/quests/137_TempleChampionPart1/30070-06.htm

@@ -0,0 +1,8 @@
+<html><body>High Priest Sylvain:<br>
+Correct!<br>We will move on to the final question.<br>
+How should political and military power, currently fragmented throughout this chaotic continent, best be concentrated and used?<br>
+<a action="bypass -h Quest 137_TempleChampionPart1 30070-04.htm">"The power should be in the hands of adventurers."</a><br>
+<a action="bypass -h Quest 137_TempleChampionPart1 30070-04.htm">"The power should be balanced by distributing it among the various races."</a><br>
+<a action="bypass -h Quest 137_TempleChampionPart1 30070-07.htm">"The Temple of Einhasad should be the center of all power."</a><br>
+<a action="bypass -h Quest 137_TempleChampionPart1 30070-04.htm">"The power should be used according to the will of all the people: peasants, rulers and adventurers."</a>
+</body></html>

+ 10 - 0
datapack_development/data/scripts/quests/137_TempleChampionPart1/30070-07.htm

@@ -0,0 +1,10 @@
+<html><body>High Priest Sylvain:<br>
+Excellent!<br>
+Your knowledge of the history, traditions and aims of the Temple of Einhasad is impressive.<br><br>
+I now confer upon you the title of the Limbs of the Temple.<br>
+...<br>
+You have now entered the inner circle of our order and will report directy to me as High Priest.<br>
+I will assign you missions of vital importance to the preservation and success of our Temple...<br>
+I already have a mission in mind for you. Listen carefully...<br>
+<a action="bypass -h Quest 137_TempleChampionPart1 30070-08.htm">Listen.</a>
+</body></html>

+ 7 - 0
datapack_development/data/scripts/quests/137_TempleChampionPart1/30070-08.htm

@@ -0,0 +1,7 @@
+<html><body>High Priest Sylvain:<br>
+Many of our regional temples have recently reported certain signs and omens that we cannot ignore...<br>
+We dispatched an inspector to investigate, but apparently something befell his party near the Execution Grounds.<br>
+He was carrying the final report on his discoveries when, we suspect, he and his companions were attacked.<br><br>
+Defeat monsters at the Execution Grounds -- <font color="LEVEL">Amber Basilisks, Strains, Ghouls, Granite Golems, Dead Seekers and Hangman Trees</font> -- and bring me the <font color="LEVEL">pieces of the inspector's report</font>.<br>
+It should be approximately <font color="LEVEL">30 pages</font> altogether...
+</body></html>

+ 6 - 0
datapack_development/data/scripts/quests/137_TempleChampionPart1/30070-09.htm

@@ -0,0 +1,6 @@
+<html><body>High Priest Sylvain:<br>
+Ah...<br>
+You have recovered the remains of the inspector's report? Good.<br>
+We will piece it back together and analyze its contents.<br>This may take some time; please take some refreshment and make yourself comfortable.<br>
+<a action="bypass -h Quest 137_TempleChampionPart1 30070-10.htm">Wait.</a>
+</body></html>

+ 7 - 0
datapack_development/data/scripts/quests/137_TempleChampionPart1/30070-10.htm

@@ -0,0 +1,7 @@
+<html><body>High Priest Sylvain:<br>
+Hmm... This is unbelievable...<br>
+The signs reported by many of our brethren signify the advent of an angel!<br>
+Our man was investigating when and where the angel would come down to earth.<br>Apparently, he found an eyewitness who claims to have actually seen the angel...<br>
+If true, this means that Einhasad may be sending us another message, just as she did to Emperor Schuneimann long ago...<br>
+<a action="bypass -h Quest 137_TempleChampionPart1 30070-11.htm">Keep listening.</a>
+</body></html>

+ 5 - 0
datapack_development/data/scripts/quests/137_TempleChampionPart1/30070-11.htm

@@ -0,0 +1,5 @@
+<html><body>High Priest Sylvain:<br>
+During the reign of Emperor Schuneimann, you remember, an angel appeared and gave the emperor some of the goddess' power so that he might destroy his enemies and establish Einhasad's Temple.<br>
+It can be no accident that another angel has appeared at this particular time.<br>
+<a action="bypass -h Quest 137_TempleChampionPart1 30070-12.htm">Keep listening.</a>
+</body></html>

+ 8 - 0
datapack_development/data/scripts/quests/137_TempleChampionPart1/30070-12.htm

@@ -0,0 +1,8 @@
+<html><body>High Priest Sylvain:<br>
+Emperor Schuneimann established our Temple in accordance with the goddess' instructions relayed through the angel with three wings. Now, though, we are besieged on all sides.<br>
+Some say that Einhasad is not the goddess of the people, and I am sad to say that this heresy has taken root and spread.<br>
+Others, many of whom were once members of this Temple, have forsaken us by claiming that truth cannot be found with us, but rather in the desert and among the people...<br>
+Some of our brethren have been misled, and we earnestly desire that they return to fellowship with us.<br>
+But those false prophets will be punished harshly by Einhasad, cast into the eternal dark...<br>
+<a action="bypass -h Quest 137_TempleChampionPart1 30070-13.htm">Keep listening.</a>
+</body></html>

+ 5 - 0
datapack_development/data/scripts/quests/137_TempleChampionPart1/30070-13.htm

@@ -0,0 +1,5 @@
+<html><body>High Priest Sylvain:<br>
+These false prophets are planning to cause chaos by instigating the Revolutionaries of Dusk to rebel against the rightful Rulers of Dawn, who respect order and justice.<br>
+Many of their followers, however, are still faithful children of the goddess who have simply been misled. We must persuade them to repent and return to us before it is too late...<br>
+<a action="bypass -h Quest 137_TempleChampionPart1 30070-14.htm">Keep listening.</a>
+</body></html>

+ 6 - 0
datapack_development/data/scripts/quests/137_TempleChampionPart1/30070-14.htm

@@ -0,0 +1,6 @@
+<html><body>High Priest Sylvain:<br>
+Even those who challenge the authority of the Temple must give heed to this momentous event, the advent of the angel...<br>
+It is obvious the angel has appeared at this time in order to confirm the legitimacy and authority of the Temple.<br>
+We must make contact with the angel and, as Schuneimann did long ago, receive power from the goddess in order to make our foes quake with fear!<br>
+<a action="bypass -h Quest 137_TempleChampionPart1 30070-15.htm">Keep listening.</a>
+</body></html>

+ 8 - 0
datapack_development/data/scripts/quests/137_TempleChampionPart1/30070-15.htm

@@ -0,0 +1,8 @@
+<html><body>High Priest Sylvain:<br>
+We will now, based on the inspector's report, write a manifesto setting out the Temple's legitimacy and authority. We will then send it to the groups opposed to us.<br>
+In doing so, we will offer them a final chance to repent for forsaking us, and return to our loving fold...<br>
+None of this would be possible without the document you recovered.<br>
+Excellent work! You have already justified my faith in you.<br>
+I know your efforts will not go unrewarded, either in this life or the next.<br>
+<a action="bypass -h Quest 137_TempleChampionPart1 30070-16.htm">"I will."</a>
+</body></html>

+ 5 - 0
datapack_development/data/scripts/quests/137_TempleChampionPart1/30070-16.htm

@@ -0,0 +1,5 @@
+<html><body>High Priest Sylvain:<br>
+(After saying goodbye, you hear the High Priest muttering softly to himself.)<br>
+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>
+Perhaps an experienced adventurer would offer advantages on both counts...
+</body></html>

+ 107 - 0
datapack_development/data/scripts/quests/137_TempleChampionPart1/__init__.py

@@ -0,0 +1,107 @@
+# 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 = "137_TempleChampionPart1"
+
+# NPCs
+SYLVAIN = 30070
+
+# ITEMs
+FRAGMENT = 10340
+
+# MONSTERs
+NPC=[20083,20144,20199,20200,20201,20202]
+
+class Quest (JQuest) :
+
+ def __init__(self,id,name,descr):
+    JQuest.__init__(self,id,name,descr)
+    self.questItemIds = [FRAGMENT]
+
+ def onEvent (self,event,st) :
+    htmltext = event
+    id = st.getState()
+    cond = st.getInt("cond")
+    if event == "30070-02.htm" :
+       st.set("cond","1")
+       st.setState(State.STARTED)
+       st.set("talk","0")
+       st.playSound("ItemSound.quest_accept")
+    elif event == "30070-05.htm" :
+       st.set("talk","1")
+    elif event == "30070-06.htm" :
+       st.set("talk","2")
+    elif event == "30070-08.htm" :
+       st.unset("talk")
+       st.set("cond","2")
+       st.playSound("ItemSound.quest_middle")
+    elif event == "30070-16.htm" :
+       st.takeItems(10334, -1)
+       st.takeItems(10339, -1)
+       st.giveItems(57, 69146)
+       st.playSound("ItemSound.quest_finish")
+       st.unset("talk")
+       st.exitQuest(False)
+       if player.getLevel() >= 35 and player.getLevel() <= 43:
+          st.addExpAndSp(219975,13047)
+    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.COMPLETED :
+       htmltext = "<html><body>This quest has already been completed.</body></html>"
+    elif npcId == SYLVAIN :
+       if cond == 0 :
+          if player.getLevel() >= 35 and st.getQuestItemsCount(10334) and st.getQuestItemsCount(10339):
+             htmltext = "30070-01.htm"
+          else:
+             htmltext = "30070-00.htm"
+             st.exitQuest(1)
+       elif cond == 1 :
+          if st.getInt("talk") == 0:
+             htmltext = "30070-03.htm"
+          elif st.getInt("talk") == 1:
+             htmltext = "30070-05.htm"
+          elif st.getInt("talk") == 2:
+             htmltext = "30070-06.htm"
+       elif cond == 2 :
+          htmltext = "30070-08.htm"
+       elif cond == 3 and st.getQuestItemsCount(FRAGMENT) >= 30:
+          htmltext = "30070-09.htm"
+          st.set("talk","1")
+          st.takeItems(FRAGMENT, -1)
+       elif cond == 3 and st.getInt("talk") == 1:
+          htmltext = "30070-10.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")==2 :
+       if st.getQuestItemsCount(FRAGMENT) < 30:
+          st.giveItems(FRAGMENT,1)
+          if st.getQuestItemsCount(FRAGMENT) >= 30:
+             st.set("cond","3")
+             st.playSound("ItemSound.quest_middle")
+          else :
+             st.playSound("ItemSound.quest_itemget")
+    return
+
+QUEST       = Quest(137,qn,"Temple Champion - 1")
+
+QUEST.addStartNpc(SYLVAIN)
+QUEST.addTalkId(SYLVAIN)
+for mob in NPC :
+   QUEST.addKillId(mob)

+ 2 - 1
datapack_development/sql/etcitem.sql

@@ -7426,4 +7426,5 @@ INSERT INTO `etcitem` VALUES
 (10336,"Giants' Experimental Tool", "false", "quest", 0, "stackable", "wood", "none", -1, 0, NULL, "true", "true", "true", "true", "", ""),
 (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", "quest", "none", 0, "stackable", "wood", "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", "", "");