Browse Source

BETA: Quests in Java by nonom:
* Secret Meeting With Ketra Orcs (11)
* Secret Meeting With Varka Silenos (12)
* Parcel Delivery (13)
* Whereabouts of the Archaeologist (14)
* Sweet Whispers (15)
* The Coming Darkness (16)
* Light and Darkness (17)
* Meeting with the Golden Ram (18)
* Added SQL update queries for quests that changed it's name.

Review, tests and fixes by me, thanks jurchiks for suggestions for improvements and typos.

Zoey76 13 years ago
parent
commit
f0c85d342a
100 changed files with 919 additions and 743 deletions
  1. 8 8
      L2J_DataPack_BETA/dist/game/data/scripts.cfg
  2. 0 80
      L2J_DataPack_BETA/dist/game/data/scripts/quests/11_SecretMeetingWithKetraOrcs/__init__.py
  3. 0 3
      L2J_DataPack_BETA/dist/game/data/scripts/quests/12_SecretMeetingWithVarkaSilenos/31258-03.htm
  4. 0 80
      L2J_DataPack_BETA/dist/game/data/scripts/quests/12_SecretMeetingWithVarkaSilenos/__init__.py
  5. 0 71
      L2J_DataPack_BETA/dist/game/data/scripts/quests/13_ParcelDelivery/__init__.py
  6. 0 69
      L2J_DataPack_BETA/dist/game/data/scripts/quests/14_WhereaboutsOfTheArchaeologist/__init__.py
  7. 0 3
      L2J_DataPack_BETA/dist/game/data/scripts/quests/15_SweetWhisper/31302-1a.htm
  8. 0 73
      L2J_DataPack_BETA/dist/game/data/scripts/quests/15_SweetWhisper/__init__.py
  9. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/16_TheComingDarkness/31517-0.htm
  10. 0 110
      L2J_DataPack_BETA/dist/game/data/scripts/quests/16_TheComingDarkness/__init__.py
  11. 0 136
      L2J_DataPack_BETA/dist/game/data/scripts/quests/17_LightAndDarkness/__init__.py
  12. 0 77
      L2J_DataPack_BETA/dist/game/data/scripts/quests/18_MeetingWithTheGoldenRam/__init__.py
  13. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q11_SecretMeetingWithKetraOrcs/31256-01.html
  14. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q11_SecretMeetingWithKetraOrcs/31256-02.html
  15. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q11_SecretMeetingWithKetraOrcs/31256-03.html
  16. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q11_SecretMeetingWithKetraOrcs/31296-01.htm
  17. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q11_SecretMeetingWithKetraOrcs/31296-02.html
  18. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q11_SecretMeetingWithKetraOrcs/31296-03.html
  19. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q11_SecretMeetingWithKetraOrcs/31296-04.html
  20. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q11_SecretMeetingWithKetraOrcs/31371-01.html
  21. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q11_SecretMeetingWithKetraOrcs/31371-02.html
  22. 3 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q11_SecretMeetingWithKetraOrcs/31371-03.html
  23. 147 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q11_SecretMeetingWithKetraOrcs/Q11_SecretMeetingWithKetraOrcs.java
  24. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q12_SecretMeetingWithVarkaSilenos/31258-01.html
  25. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q12_SecretMeetingWithVarkaSilenos/31258-02.html
  26. 3 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q12_SecretMeetingWithVarkaSilenos/31258-03.html
  27. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q12_SecretMeetingWithVarkaSilenos/31296-01.htm
  28. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q12_SecretMeetingWithVarkaSilenos/31296-02.html
  29. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q12_SecretMeetingWithVarkaSilenos/31296-03.html
  30. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q12_SecretMeetingWithVarkaSilenos/31296-04.html
  31. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q12_SecretMeetingWithVarkaSilenos/31378-01.html
  32. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q12_SecretMeetingWithVarkaSilenos/31378-02.html
  33. 3 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q12_SecretMeetingWithVarkaSilenos/31378-03.html
  34. 144 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q12_SecretMeetingWithVarkaSilenos/Q12_SecretMeetingWithVarkaSilenos.java
  35. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q13_ParcelDelivery/31274-00.htm
  36. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q13_ParcelDelivery/31274-01.html
  37. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q13_ParcelDelivery/31274-02.html
  38. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q13_ParcelDelivery/31539-00.html
  39. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q13_ParcelDelivery/31539-01.html
  40. 3 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q13_ParcelDelivery/31539-02.html
  41. 134 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q13_ParcelDelivery/Q13_ParcelDelivery.java
  42. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q14_WhereaboutsOfTheArchaeologist/31263-00.htm
  43. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q14_WhereaboutsOfTheArchaeologist/31263-01.html
  44. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q14_WhereaboutsOfTheArchaeologist/31263-02.html
  45. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q14_WhereaboutsOfTheArchaeologist/31538-00.html
  46. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q14_WhereaboutsOfTheArchaeologist/31538-01.html
  47. 3 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q14_WhereaboutsOfTheArchaeologist/31538-02.html
  48. 128 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q14_WhereaboutsOfTheArchaeologist/Q14_WhereaboutsOfTheArchaeologist.java
  49. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q15_SweetWhispers/31302-00.htm
  50. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q15_SweetWhispers/31302-00a.html
  51. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q15_SweetWhispers/31302-01.html
  52. 3 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q15_SweetWhispers/31302-1a.html
  53. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q15_SweetWhispers/31517-00.html
  54. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q15_SweetWhispers/31517-01.html
  55. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q15_SweetWhispers/31518-00.html
  56. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q15_SweetWhispers/31518-01.html
  57. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q15_SweetWhispers/31518-01a.html
  58. 142 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q15_SweetWhispers/Q15_SweetWhispers.java
  59. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q16_TheComingDarkness/31512-00.html
  60. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q16_TheComingDarkness/31512-01.html
  61. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q16_TheComingDarkness/31513-00.html
  62. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q16_TheComingDarkness/31513-01.html
  63. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q16_TheComingDarkness/31514-00.html
  64. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q16_TheComingDarkness/31514-01.html
  65. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q16_TheComingDarkness/31515-00.html
  66. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q16_TheComingDarkness/31515-01.html
  67. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q16_TheComingDarkness/31516-00.html
  68. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q16_TheComingDarkness/31516-01.html
  69. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q16_TheComingDarkness/31517-00.htm
  70. 2 2
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q16_TheComingDarkness/31517-01.htm
  71. 2 2
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q16_TheComingDarkness/31517-02.htm
  72. 3 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q16_TheComingDarkness/31517-02a.html
  73. 2 2
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q16_TheComingDarkness/31517-03.html
  74. 3 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q16_TheComingDarkness/31517-04.html
  75. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q16_TheComingDarkness/31517-05.html
  76. 152 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q16_TheComingDarkness/Q16_TheComingDarkness.java
  77. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31508-00.html
  78. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31508-01.html
  79. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31508-02.html
  80. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31508-03.html
  81. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31509-00.html
  82. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31509-01.html
  83. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31509-02.html
  84. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31509-03.html
  85. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31510-00.html
  86. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31510-01.html
  87. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31510-02.html
  88. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31510-03.html
  89. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31511-00.html
  90. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31511-01.html
  91. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31511-02.html
  92. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31511-03.html
  93. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31517-00.htm
  94. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31517-01.htm
  95. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31517-02.html
  96. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31517-02a.html
  97. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31517-03.html
  98. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31517-04.html
  99. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31517-05.html
  100. 3 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31517-06.html

+ 8 - 8
L2J_DataPack_BETA/dist/game/data/scripts.cfg

@@ -269,14 +269,14 @@ quests/7_ATripBegins/__init__.py
 quests/8_AnAdventureBegins/__init__.py
 quests/9_IntoTheCityOfHumans/__init__.py
 quests/10_IntoTheWorld/__init__.py
-quests/11_SecretMeetingWithKetraOrcs/__init__.py
-quests/12_SecretMeetingWithVarkaSilenos/__init__.py
-quests/13_ParcelDelivery/__init__.py
-quests/14_WhereaboutsOfTheArchaeologist/__init__.py
-quests/15_SweetWhisper/__init__.py
-quests/16_TheComingDarkness/__init__.py
-quests/17_LightAndDarkness/__init__.py
-quests/18_MeetingWithTheGoldenRam/__init__.py
+quests/Q11_SecretMeetingWithKetraOrcs/Q11_SecretMeetingWithKetraOrcs.java
+quests/Q12_SecretMeetingWithVarkaSilenos/Q12_SecretMeetingWithVarkaSilenos.java
+quests/Q13_ParcelDelivery/Q13_ParcelDelivery.java
+quests/Q14_WhereaboutsOfTheArchaeologist/Q14_WhereaboutsOfTheArchaeologist.java
+quests/Q15_SweetWhispers/Q15_SweetWhispers.java
+quests/Q16_TheComingDarkness/Q16_TheComingDarkness.java
+quests/Q17_LightAndDarkness/Q17_LightAndDarkness.java
+quests/Q18_MeetingWithTheGoldenRam/Q18_MeetingWithTheGoldenRam.java
 quests/Q19_GoToThePastureland/Q19_GoToThePastureland.java
 quests/Q20_BringUpWithLove/Q20_BringUpWithLove.java
 quests/21_HiddenTruth/__init__.py

+ 0 - 80
L2J_DataPack_BETA/dist/game/data/scripts/quests/11_SecretMeetingWithKetraOrcs/__init__.py

@@ -1,80 +0,0 @@
-#made by Emperorc
-import sys
-from com.l2jserver.gameserver.model.quest import State
-from com.l2jserver.gameserver.model.quest import QuestState
-from com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest
-
-qn = "11_SecretMeetingWithKetraOrcs"
-
-#NPCs
-Cadmon = 31296
-Leon = 31256
-Wahkan = 31371
-
-#Item
-Box = 7231
-
-class Quest (JQuest) :
-
- def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr)
-
- def onAdvEvent (self,event,npc, player) :
-     htmltext = event
-     st = player.getQuestState(qn)
-     if not st : return
-     if event == "31296-03.htm" :
-         st.set("cond","1")
-         htmltext = "31296-03.htm"
-         st.setState(State.STARTED)
-         st.playSound("ItemSound.quest_accept")
-     elif event == "31256-02.htm" :
-         st.set("cond","2")
-         htmltext = "31256-02.htm"
-         st.giveItems(Box,1)
-         st.playSound("ItemSound.quest_middle") 
-     elif event == "31371-02.htm" :
-         htmltext = "31371-02.htm"
-         st.takeItems(Box,-1)
-         st.addExpAndSp(82045,6047)
-         st.unset("cond")
-         st.exitQuest(False)
-         st.playSound("ItemSound.quest_finish")
-     return htmltext
-
- def onTalk (self,npc,player):
-     npcId = npc.getNpcId()
-     htmltext = Quest.getNoQuestMsg(player)
-     st = player.getQuestState(qn)
-     if not st : return htmltext
-
-     cond = st.getInt("cond")
-     id = st.getState()
-     if id == State.COMPLETED :
-        htmltext = Quest.getAlreadyCompletedMsg(player)
-     elif id == State.CREATED :
-       if st.getPlayer().getLevel() >= 74 :
-          htmltext = "31296-01.htm"
-       else :
-          htmltext = "31296-02.htm"
-          st.exitQuest(1)
-     elif id == State.STARTED :
-         if npcId == Cadmon :
-             if cond == 1 :
-                 htmltext = "31296-04.htm"
-         elif npcId == Leon :
-             if cond == 1 :
-                 htmltext = "31256-01.htm"
-             elif cond == 2 :
-                 htmltext = "31256-03.htm"
-         elif npcId == Wahkan and cond == 2 :
-             htmltext = "31371-01.htm"
-     return htmltext
-     
-QUEST       = Quest(11, qn, "Secret Meeting With Ketra Orcs")
-
-
-QUEST.addStartNpc(Cadmon)
-
-QUEST.addTalkId(Cadmon)
-QUEST.addTalkId(Leon)
-QUEST.addTalkId(Wahkan)

+ 0 - 3
L2J_DataPack_BETA/dist/game/data/scripts/quests/12_SecretMeetingWithVarkaSilenos/31258-03.htm

@@ -1,3 +0,0 @@
-<html><body>Trader Helmut:<br>
-What are you still doing here? Take the box of supplies to<font color="LEVEL"> Naran Ashanuk Herald of Varka</font>!
-</body></html>

+ 0 - 80
L2J_DataPack_BETA/dist/game/data/scripts/quests/12_SecretMeetingWithVarkaSilenos/__init__.py

@@ -1,80 +0,0 @@
-#made by Emperorc
-import sys
-from com.l2jserver.gameserver.model.quest import State
-from com.l2jserver.gameserver.model.quest import QuestState
-from com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest
-
-qn = "12_SecretMeetingWithVarkaSilenos"
-
-#NPCs
-Cadmon = 31296
-Helmut = 31258
-Naran = 31378
-
-#Item
-Box = 7232
-
-class Quest (JQuest) :
-
- def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr)
-
- def onAdvEvent (self,event,npc, player) :
-     htmltext = event
-     st = player.getQuestState(qn)
-     if not st : return
-     if event == "31296-03.htm" :
-         st.set("cond","1")
-         st.setState(State.STARTED)
-         st.playSound("ItemSound.quest_accept")
-         htmltext = "31296-03.htm"
-     elif event == "31258-02.htm" :
-         st.set("cond","2")
-         htmltext = "31258-02.htm"
-         st.giveItems(Box,1)
-     elif event == "31378-02.htm" :
-         htmltext = "31378-02.htm"
-         st.takeItems(Box,-1)
-         st.addExpAndSp(233125,18142)
-         st.set("cond","0")
-         st.exitQuest(False)
-         st.playSound("ItemSound.quest_finish")
-     return htmltext
-
- def onTalk (self,npc,player):
-     npcId = npc.getNpcId()
-     htmltext = Quest.getNoQuestMsg(player)
-     st = player.getQuestState(qn)
-     if not st : return htmltext
-
-     cond = st.getInt("cond")
-     id = st.getState()
-     if id == State.COMPLETED :
-        htmltext = Quest.getAlreadyCompletedMsg(player)
-     elif id == State.CREATED :
-         if st.getPlayer().getLevel() >= 74 :
-             htmltext = "31296-01.htm"
-         else :
-             htmltext = "31296-02.htm"
-             st.exitQuest(1)
-     elif id == State.STARTED :
-         if npcId == Cadmon :
-             if cond == 1 :
-                 htmltext = "31296-04.htm"
-         elif npcId == Helmut :
-             if cond == 1 :
-                 htmltext = "31258-01.htm"
-             elif cond == 2 :
-                 htmltext = "31258-03.htm"
-         elif npcId == Naran and cond == 2 :
-             htmltext = "31378-01.htm"
-     return htmltext
-     
-QUEST       = Quest(12, qn, "Secret Meeting With Varka Silenos")
-
-
-QUEST.addStartNpc(Cadmon)
-
-QUEST.addTalkId(Cadmon)
-
-QUEST.addTalkId(Helmut)
-QUEST.addTalkId(Naran)

+ 0 - 71
L2J_DataPack_BETA/dist/game/data/scripts/quests/13_ParcelDelivery/__init__.py

@@ -1,71 +0,0 @@
-# Made by disKret
-import sys
-from com.l2jserver.gameserver.model.quest import State
-from com.l2jserver.gameserver.model.quest import QuestState
-from com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest
-
-qn = "13_ParcelDelivery"
-
-#NPC
-FUNDIN = 31274
-VULCAN = 31539
-
-#QUEST ITEM
-PACKAGE = 7263
-
-class Quest (JQuest) :
-
- def __init__(self,id,name,descr):
-     JQuest.__init__(self,id,name,descr)
-     self.questItemIds = [PACKAGE]
-
- def onAdvEvent (self,event,npc, player) :
-   htmltext = event
-   st = player.getQuestState(qn)
-   if not st : return
-   cond = st.getInt("cond")
-   if event == "31274-2.htm" :
-     if cond == 0 :
-       st.set("cond","1")
-       st.setState(State.STARTED)
-       st.giveItems(PACKAGE,1)
-       st.playSound("ItemSound.quest_accept")
-   if event == "31539-1.htm" :
-     if cond == 1 and st.getQuestItemsCount(PACKAGE) == 1 :
-       st.takeItems(PACKAGE,1)
-       st.giveItems(57,157834)
-       st.addExpAndSp(589092,58794)
-       st.exitQuest(False)
-       st.set("cond","0")
-       st.playSound("ItemSound.quest_finish")
-     else :
-       htmltext = "You don't have required items"
-   return htmltext
-
- def onTalk (self,npc,player):
-   htmltext = Quest.getNoQuestMsg(player)
-   st = player.getQuestState(qn)
-   if not st : return htmltext
-
-   npcId = npc.getNpcId()
-   id = st.getState()
-   cond = st.getInt("cond")
-   if id == State.COMPLETED :
-      htmltext = Quest.getAlreadyCompletedMsg(player)
-   elif npcId == FUNDIN and id == State.CREATED :
-     if player.getLevel() < 74 : 
-       htmltext = "31274-1.htm"
-       st.exitQuest(1)
-     else : 
-       htmltext = "31274-0.htm"
-   elif npcId == FUNDIN and cond == 1 :
-     htmltext = "31274-2.htm"
-   elif npcId == VULCAN and cond == 1 and id == State.STARTED:
-     htmltext = "31539-0.htm"
-   return htmltext
-
-QUEST       = Quest(13,qn,"Parcel Delivery")
-
-QUEST.addStartNpc(31274)
-QUEST.addTalkId(31274)
-QUEST.addTalkId(31539)

+ 0 - 69
L2J_DataPack_BETA/dist/game/data/scripts/quests/14_WhereaboutsOfTheArchaeologist/__init__.py

@@ -1,69 +0,0 @@
-# Made by disKret
-import sys
-from com.l2jserver.gameserver.model.quest import State
-from com.l2jserver.gameserver.model.quest import QuestState
-from com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest
-
-qn = "14_WhereaboutsOfTheArchaeologist"
-
-#NPC
-LIESEL = 31263
-GHOST_OF_ADVENTURER = 31538
-
-#QUEST ITEM
-LETTER = 7253
-
-class Quest (JQuest) :
-
- def __init__(self,id,name,descr):
-     JQuest.__init__(self,id,name,descr)
-     self.questItemIds = [LETTER]
-
- def onAdvEvent (self,event,npc, player) :
-   htmltext = event
-   st = player.getQuestState(qn)
-   if not st : return
-   cond = st.getInt("cond")
-   if event == "31263-2.htm" and cond == 0 :
-     st.set("cond","1")
-     st.setState(State.STARTED)
-     st.giveItems(LETTER,1)
-     st.playSound("ItemSound.quest_accept")
-   elif event == "31538-1.htm" :
-     if cond == 1 and st.getQuestItemsCount(LETTER) == 1 :
-       st.takeItems(LETTER,1)
-       st.giveItems(57,136928)
-       st.addExpAndSp(325881,32524)
-       st.exitQuest(False)
-       st.set("cond","0")
-       st.playSound("ItemSound.quest_finish")
-     else :
-       htmltext = "You don't have required items"
-   return htmltext
-
- def onTalk (self,npc,player):
-   htmltext = Quest.getNoQuestMsg(player)
-   st = player.getQuestState(qn)
-   if not st : return htmltext
-   npcId = npc.getNpcId()
-   id = st.getState()
-   cond = st.getInt("cond")
-   if npcId == LIESEL and cond == 0 :
-     if id == State.COMPLETED :
-       htmltext = Quest.getAlreadyCompletedMsg(player)
-     elif player.getLevel() < 74 : 
-       htmltext = "31263-1.htm"
-       st.exitQuest(1)
-     elif player.getLevel() >= 74 : 
-       htmltext = "31263-0.htm"
-   elif npcId == LIESEL and cond == 1 :
-     htmltext = "31263-2.htm"
-   elif npcId == GHOST_OF_ADVENTURER and cond == 1 and id == State.STARTED:
-     htmltext = "31538-0.htm"
-   return htmltext
-
-QUEST       = Quest(14,qn,"Whereabouts Of The Archaeologist")
-
-QUEST.addStartNpc(LIESEL)
-QUEST.addTalkId(LIESEL)
-QUEST.addTalkId(GHOST_OF_ADVENTURER)

+ 0 - 3
L2J_DataPack_BETA/dist/game/data/scripts/quests/15_SweetWhisper/31302-1a.htm

@@ -1,3 +0,0 @@
-<html><body>Trader Vladimir:<br>
-Find the<font color="LEVEL"> mysterious Necromancer</font> at the entrance to the<font color="LEVEL"> Valley of Saints</font>. He'll help you test your fate.
-</body></html>

+ 0 - 73
L2J_DataPack_BETA/dist/game/data/scripts/quests/15_SweetWhisper/__init__.py

@@ -1,73 +0,0 @@
-# Made by disKret
-import sys
-from com.l2jserver.gameserver.model.quest import State
-from com.l2jserver.gameserver.model.quest import QuestState
-from com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest
-
-qn = "15_SweetWhisper"
-
-#NPC
-VLADIMIR = 31302
-HIERARCH = 31517
-M_NECROMANCER = 31518
-
-class Quest (JQuest) :
-
- def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr)
-
- def onAdvEvent (self,event,npc, player) :
-   htmltext = event
-   st = player.getQuestState(qn)
-   if not st : return
-   cond = st.getInt("cond")
-   if event == "31302-1.htm" :
-     st.set("cond","1")
-     st.setState(State.STARTED)
-     st.playSound("ItemSound.quest_accept")
-   if event == "31518-1.htm" :
-     if cond == 1 :
-       st.set("cond","2")
-       st.playSound("ItemSound.quest_middle")
-   if event == "31517-1.htm" :
-     if cond == 2 :
-       st.addExpAndSp(350531,28204)
-       st.unset("cond")
-       st.playSound("ItemSound.quest_finish")
-       st.exitQuest(False)
-   return htmltext
-
- def onTalk (self,npc,player):
-   htmltext = Quest.getNoQuestMsg(player)
-   st = player.getQuestState(qn)
-   if not st : return htmltext
-
-   npcId = npc.getNpcId()
-   cond = st.getInt("cond")
-   id = st.getState()
-   if id == State.COMPLETED :
-        htmltext = Quest.getAlreadyCompletedMsg(player)
-   elif id == State.CREATED :
-       if player.getLevel() >= 60 :
-         htmltext = "31302-0.htm"
-       else:
-         htmltext = "31302-0a.htm"
-         st.exitQuest(1)
-   elif id == State.STARTED :
-       if npcId == VLADIMIR and cond == 1:
-         htmltext = "31302-1a.htm"
-       elif npcId == M_NECROMANCER and cond == 1 :
-         htmltext = "31518-0.htm"
-       elif npcId == M_NECROMANCER and cond == 2 :
-         htmltext = "31518-1a.htm"
-       elif npcId == HIERARCH and cond == 2 :
-         htmltext = "31517-0.htm"
-   return htmltext
-
-QUEST       = Quest(15,qn,"Sweet Whisper")
-
-
-QUEST.addStartNpc(31302)
-QUEST.addTalkId(31302)
-
-QUEST.addTalkId(31517)
-QUEST.addTalkId(31518)

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/16_TheComingDarkness/31517-0.htm

@@ -1,4 +0,0 @@
-<html><body>Hierarch:<br>
-Brother, you've been with us for a long time! You've earned our trust, and therefore I belive you're ready for an important mission!<br>
-<a action="bypass -h Quest 16_TheComingDarkness 31517-1.htm">I'm ready!</a>
-</body></html> 

+ 0 - 110
L2J_DataPack_BETA/dist/game/data/scripts/quests/16_TheComingDarkness/__init__.py

@@ -1,110 +0,0 @@
-# Made by disKret, Ancient Legion Server
-import sys
-from com.l2jserver.gameserver.model.quest import State
-from com.l2jserver.gameserver.model.quest import QuestState
-from com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest
-
-qn = "16_TheComingDarkness"
-
-#NPC
-HIERARCH = 31517
-EVIL_ALTAR_1 = 31512
-EVIL_ALTAR_2 = 31513
-EVIL_ALTAR_3 = 31514
-EVIL_ALTAR_4 = 31515
-EVIL_ALTAR_5 = 31516
-
-#ITEMS
-CRYSTAL_OF_SEAL = 7167
-
-class Quest (JQuest) :
-
- def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr)
-
- def onAdvEvent (self,event,npc, player) :
-   htmltext = event
-   st = player.getQuestState(qn)
-   if not st : return
-   cond = st.getInt("cond")
-   if event == "31517-1.htm" :
-     return htmltext
-   if event == "31517-2.htm" :
-     st.giveItems(CRYSTAL_OF_SEAL,5)
-     st.set("cond","1")
-     st.setState(State.STARTED)
-     st.playSound("ItemSound.quest_accept")
-   if event == "31512-1.htm" :
-     if cond == 1 :
-       st.takeItems(CRYSTAL_OF_SEAL,1)
-       st.set("cond","2")
-       st.playSound("ItemSound.quest_middle")
-   if event == "31513-1.htm" :
-     if cond == 2 :
-       st.takeItems(CRYSTAL_OF_SEAL,1)
-       st.set("cond","3")
-       st.playSound("ItemSound.quest_middle")
-   if event == "31514-1.htm" :
-     if cond == 3 :
-       st.takeItems(CRYSTAL_OF_SEAL,1)
-       st.set("cond","4")
-       st.playSound("ItemSound.quest_middle")
-   if event == "31515-1.htm" :
-     if cond == 4 :
-       st.takeItems(CRYSTAL_OF_SEAL,1)
-       st.set("cond","5")
-       st.playSound("ItemSound.quest_middle")
-   if event == "31516-1.htm" :
-     if cond == 5 :
-       st.takeItems(CRYSTAL_OF_SEAL,1)
-       st.set("cond","6")
-       st.playSound("ItemSound.quest_middle")
-   return htmltext
-
- def onTalk (self,npc,player):
-   htmltext = Quest.getNoQuestMsg(player)
-   st = player.getQuestState(qn)
-   if not st : return htmltext
-
-   npcId = npc.getNpcId()
-   cond = st.getInt("cond")
-   id = st.getState()
-   if id == State.COMPLETED :
-      htmltext = Quest.getAlreadyCompletedMsg(player)
-   elif id == State.CREATED and npcId == HIERARCH:
-     st2 = player.getQuestState("17_LightAndDarkness")
-     if st2 and st2.getState() == State.COMPLETED :
-       if player.getLevel() >= 62 :
-         htmltext = "31517-0.htm"
-       else:
-         htmltext = "<html><body>(Only characters level 62 and above are permitted to undertake this quest.) </body></html>"
-         st.exitQuest(1)
-     else:
-       htmltext = "<html><body>Quest Light and Darkness need to be finished first.</body></html>"
-       st.exitQuest(1)
-   elif id == State.STARTED :    
-       if npcId == EVIL_ALTAR_1 and cond == 1 :
-         htmltext = "31512-0.htm"
-       if npcId == EVIL_ALTAR_2 and cond == 2 :
-         htmltext = "31513-0.htm"
-       if npcId == EVIL_ALTAR_3 and cond == 3 :
-         htmltext = "31514-0.htm"
-       if npcId == EVIL_ALTAR_4 and cond== 4 :
-         htmltext = "31515-0.htm"
-       if npcId == EVIL_ALTAR_5 and cond == 5 :
-         htmltext = "31516-0.htm"
-       if npcId == HIERARCH and cond == 6 :
-         st.addExpAndSp(865187,69172)
-         st.set("cond","0")
-         st.exitQuest(False)
-         st.playSound("ItemSound.quest_finish")
-         htmltext = "31517-3.htm"
-   return htmltext
-
-QUEST       = Quest(16,qn,"The Coming Darkness")
-
-
-QUEST.addStartNpc(31517)
-QUEST.addTalkId(31517)
-
-for altars in range(31512,31517):
-  QUEST.addTalkId(altars)

+ 0 - 136
L2J_DataPack_BETA/dist/game/data/scripts/quests/17_LightAndDarkness/__init__.py

@@ -1,136 +0,0 @@
-# Made with contributions from :
-# disKret, Skeleton & DrLecter.
-# this script is part of the Official L2J Datapack Project.
-# Visit http://www.l2jdp.com/forum/ for more details.
-
-import sys
-from com.l2jserver.gameserver.model.quest import State
-from com.l2jserver.gameserver.model.quest import QuestState
-from com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest
-
-qn = "17_LightAndDarkness"
-
-#NPC
-HIERARCH = 31517
-SAINT_ALTAR_1 = 31508
-SAINT_ALTAR_2 = 31509
-SAINT_ALTAR_3 = 31510
-SAINT_ALTAR_4 = 31511
-
-#ITEMS
-BLOOD_OF_SAINT = 7168
-
-class Quest (JQuest) :
-
- def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr)
-
- def onAdvEvent (self,event,npc, player) :
-   htmltext = event
-   st = player.getQuestState(qn)
-   if not st : return
-   cond = st.getInt("cond")
-   blood = st.getQuestItemsCount(BLOOD_OF_SAINT)
-   if event == "31517-02.htm" :
-     if st.getPlayer().getLevel() >= 61 :
-       st.giveItems(BLOOD_OF_SAINT,4)
-       st.set("cond","1")
-       st.setState(State.STARTED)
-       st.playSound("ItemSound.quest_accept")
-     else :
-       htmltext = "31517-02a.htm"
-       st.exitQuest(1)
-   if event == "31508-02.htm" and cond == 1 and blood :
-     htmltext = "31508-01.htm"
-     st.takeItems(BLOOD_OF_SAINT,1)
-     st.set("cond","2")
-     st.playSound("ItemSound.quest_middle")
-   elif event == "31509-02.htm" and cond == 2 and blood :
-     htmltext = "31509-01.htm"
-     st.takeItems(BLOOD_OF_SAINT,1)
-     st.set("cond","3")
-     st.playSound("ItemSound.quest_middle")
-   elif event == "31510-02.htm" and cond == 3 and blood :
-     htmltext = "31510-01.htm"
-     st.takeItems(BLOOD_OF_SAINT,1)
-     st.set("cond","4")
-     st.playSound("ItemSound.quest_middle")
-   elif event == "31511-02.htm" and cond == 4 and blood :
-     htmltext = "31511-01.htm"
-     st.takeItems(BLOOD_OF_SAINT,1)
-     st.set("cond","5")
-     st.playSound("ItemSound.quest_middle")
-   return htmltext
-
- def onTalk (self,npc,player):
-   htmltext = Quest.getNoQuestMsg(player)
-   st = player.getQuestState(qn)
-   if not st : return htmltext
-   npcId = npc.getNpcId()
-   cond = st.getInt("cond")
-   blood = st.getQuestItemsCount(BLOOD_OF_SAINT)
-   id = st.getState()
-   if id == State.COMPLETED :
-      htmltext = Quest.getAlreadyCompletedMsg(player)
-   if id == State.CREATED :
-      st2 = player.getQuestState("15_SweetWhisper")
-      if st2 and st2.getState() == State.COMPLETED:
-         htmltext = "31517-00.htm"
-      else :
-         htmltext = "<html><body>Quest Sweet Whisper need to be finished first.</body></html>"
-   elif id == State.STARTED :
-     if npcId == HIERARCH :
-      if cond < 5 :
-        if blood == 5 :
-           htmltext = "31517-04.htm"
-        else :
-           htmltext = "31517-05.htm"
-           st.exitQuest(1)
-           st.playSound("ItemSound.quest_giveup")
-      else :
-        st.addExpAndSp(697040,54887)
-        st.unset("cond")
-        st.exitQuest(False)
-        st.playSound("ItemSound.quest_finish")
-        htmltext = "31517-03.htm"
-     elif npcId == SAINT_ALTAR_1 :
-        if cond == 1 :
-          if blood :
-             htmltext = "31508-00.htm"
-          else :
-             htmltext = "31508-02.htm"
-        elif cond > 1 :
-          htmltext = "31508-03.htm"
-     elif npcId == SAINT_ALTAR_2 :
-        if cond == 2 :
-          if blood :
-             htmltext = "31509-00.htm"
-          else :
-             htmltext = "31509-02.htm"
-        elif cond > 2 :
-          htmltext = "31509-03.htm"
-     elif npcId == SAINT_ALTAR_3 :
-        if cond == 3 :
-          if blood :
-             htmltext = "31510-00.htm"
-          else :
-             htmltext = "31510-02.htm"
-        elif cond > 3 :
-          htmltext = "31510-03.htm"
-     elif npcId == SAINT_ALTAR_4 :
-        if cond == 4 :
-          if blood :
-             htmltext = "31511-00.htm"
-          else :
-             htmltext = "31511-02.htm"
-        elif cond > 4 :
-          htmltext = "31511-03.htm"
-   return htmltext
-
-QUEST       = Quest(17,qn,"Light and Darkness")
-
-
-QUEST.addStartNpc(HIERARCH)
-QUEST.addTalkId(HIERARCH)
-
-for altars in range(31508,31512):
-  QUEST.addTalkId(altars)

+ 0 - 77
L2J_DataPack_BETA/dist/game/data/scripts/quests/18_MeetingWithTheGoldenRam/__init__.py

@@ -1,77 +0,0 @@
-# Contributed by t0rm3nt0r to the Official L2J Datapack Project.
-# With some minor cleanup by DrLecter.
-# Visit http://www.l2jdp.com/forum/ for more details.
-
-import sys
-from com.l2jserver.gameserver.model.quest import State
-from com.l2jserver.gameserver.model.quest import QuestState
-from com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest
-
-qn = "18_MeetingWithTheGoldenRam"
-
-DONAL = 31314
-DAISY = 31315
-ABERCROMBIE = 31555
-BOX = 7245
-
-class Quest (JQuest) :
-
- def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr)
- 
- def onAdvEvent (self,event,npc, player) :
-     htmltext = event
-     st = player.getQuestState(qn)
-     if not st : return
-     if event == "31314-03.htm" :
-       if st.getPlayer().getLevel() >= 66 :
-         st.set("cond","1")
-         st.setState(State.STARTED)
-         st.playSound("ItemSound.quest_accept")
-       else :
-         htmltext = "31314-02.htm"
-         st.exitQuest(1)
-     elif event == "31315-02.htm" :
-       st.set("cond","2")
-       htmltext = "31315-02.htm"
-       st.giveItems(BOX,1)
-     elif event == "31555-02.htm" :
-       st.giveItems(57,40000)
-       st.takeItems(BOX,-1)
-       st.addExpAndSp(126668,11731)
-       st.unset("cond")
-       st.playSound("ItemSound.quest_finish")
-       st.exitQuest(False)
-     return htmltext
-
- def onTalk (self,npc,player):
-     npcId = npc.getNpcId()
-     htmltext = Quest.getNoQuestMsg(player)
-     st = player.getQuestState(qn)
-     if not st : return htmltext
-     id = st.getState()
-     cond = st.getInt("cond")
-     if id == State.COMPLETED :
-       htmltext = Quest.getAlreadyCompletedMsg(player)
-
-     elif id == State.CREATED and npcId == DONAL :
-       htmltext = "31314-01.htm"
-     elif id == State.STARTED :
-       if npcId == DONAL : 
-         htmltext = "31314-04.htm"
-       elif npcId == DAISY :
-         if cond < 2 :
-           htmltext = "31315-01.htm"
-         else :
-           htmltext = "31315-03.htm"
-       elif npcId == ABERCROMBIE and cond == 2 and st.getQuestItemsCount(BOX):
-           htmltext = "31555-01.htm"
-     return htmltext
-
-QUEST       = Quest(18, qn, "Meeting With The Golden Ram")
-
-
-QUEST.addStartNpc(DONAL)
-
-QUEST.addTalkId(DONAL)
-QUEST.addTalkId(DAISY)
-QUEST.addTalkId(ABERCROMBIE)

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/11_SecretMeetingWithKetraOrcs/31256-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q11_SecretMeetingWithKetraOrcs/31256-01.html

@@ -1,5 +1,5 @@
 <html><body>Trader Leon:<br>
 All right. Guard Cadmon sent you here, didn't he? I'm glad you made it here. A number of young men have tried to come here, but they all ran away even before they reached the Orc barracks. I've sustained a great loss.<br>
 As you know, the Ketra Orcs are the most daring and ferocious tribe. They never lag behind in terms of body structure or strength. So those who are weak run away at the sight of those orcs, causing me a great deal of trouble. But since Cadmon sent you here and you seem to possess great skills, I guess I don't have to worry about that. The task is simple. Take this box of supplies to the Ketra Orc outpost and deliver them to<font color="LEVEL"> Messenger Wahkan</font>. It won't be difficult to find Wahkan since he's staying in the base center. Although it may be a little difficult to enter the base...<br>
-<a action="bypass -h Quest 11_SecretMeetingWithKetraOrcs 31256-02.htm">"OK. Entrust me with the task."</a>
+<a action="bypass -h Quest 11_SecretMeetingWithKetraOrcs 31256-02.html">"OK. Entrust me with the task."</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/11_SecretMeetingWithKetraOrcs/31256-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q11_SecretMeetingWithKetraOrcs/31256-02.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/11_SecretMeetingWithKetraOrcs/31256-03.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q11_SecretMeetingWithKetraOrcs/31256-03.html


+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/11_SecretMeetingWithKetraOrcs/31296-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q11_SecretMeetingWithKetraOrcs/31296-01.htm

@@ -1,4 +1,4 @@
 <html><body>Guard Cadmon:<br>
 Are you interested in the Ketra Orcs, stranger? Well, if you are, I can tell you an interesting story. Right now, the Ketra Orcs are hiring mercenaries! It's a great opportunity to get into their outpost under the pretext of delivering military supplies! Are you interested?<br>
-<a action="bypass -h Quest 11_SecretMeetingWithKetraOrcs 31296-03.htm">"I'm interested!"</a>
+<a action="bypass -h Quest 11_SecretMeetingWithKetraOrcs 31296-03.html">"I'm interested!"</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/11_SecretMeetingWithKetraOrcs/31296-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q11_SecretMeetingWithKetraOrcs/31296-02.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/11_SecretMeetingWithKetraOrcs/31296-03.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q11_SecretMeetingWithKetraOrcs/31296-03.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/11_SecretMeetingWithKetraOrcs/31296-04.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q11_SecretMeetingWithKetraOrcs/31296-04.html


+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/11_SecretMeetingWithKetraOrcs/31371-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q11_SecretMeetingWithKetraOrcs/31371-01.html

@@ -1,4 +1,4 @@
 <html><body>Ketra's Messenger Wahkan:<br>
 What brings you to the land of the Ketra, stranger?<br>
-<a action="bypass -h Quest 11_SecretMeetingWithKetraOrcs 31371-02.htm">"Here are some military supplies."</a>
+<a action="bypass -h Quest 11_SecretMeetingWithKetraOrcs 31371-02.html">"Here are some military supplies."</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/11_SecretMeetingWithKetraOrcs/31371-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q11_SecretMeetingWithKetraOrcs/31371-02.html


+ 3 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q11_SecretMeetingWithKetraOrcs/31371-03.html

@@ -0,0 +1,3 @@
+<html><body>Ketra's Messenger Wahkan:<br>
+You don't have required items.
+</body></html>

+ 147 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q11_SecretMeetingWithKetraOrcs/Q11_SecretMeetingWithKetraOrcs.java

@@ -0,0 +1,147 @@
+/*
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 3 of the License, or (at your option) any later
+ * version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package quests.Q11_SecretMeetingWithKetraOrcs;
+
+import com.l2jserver.gameserver.model.actor.L2Npc;
+import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
+import com.l2jserver.gameserver.model.quest.Quest;
+import com.l2jserver.gameserver.model.quest.QuestState;
+import com.l2jserver.gameserver.model.quest.State;
+
+/**
+ * Secret Meeting With Ketra Orcs (11).<br>
+ * Original Jython script by Emperorc.
+ * @author nonom
+ */
+public class Q11_SecretMeetingWithKetraOrcs extends Quest
+{
+	private static final String qn = "11_SecretMeetingWithKetraOrcs";
+	
+	// NPCs
+	private static final int CADMON = 31296;
+	private static final int LEON = 31256;
+	private static final int WAHKAN = 31371;
+	
+	// Items
+	private static final int BOX = 7231;
+	
+	@Override
+	public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
+	{
+		String htmltext = event;
+		final QuestState st = player.getQuestState(qn);
+		if (st == null)
+		{
+			return htmltext;
+		}
+		
+		final int cond = st.getInt("cond");
+		switch (event)
+		{
+			case "31296-03.html":
+				st.set("cond", "1");
+				st.setState(State.STARTED);
+				st.playSound("ItemSound.quest_accept");
+				break;
+			case "31256-02.html":
+				if (cond == 1)
+				{
+					st.set("cond", "2");
+					st.giveItems(BOX, 1);
+					st.playSound("ItemSound.quest_middle");
+				}
+				break;
+			case "31371-02.html":
+				if ((cond == 2) && (st.hasQuestItems(BOX)))
+				{
+					st.takeItems(BOX, -1);
+					st.addExpAndSp(233125, 18142);
+					st.exitQuest(false);
+					st.playSound("ItemSound.quest_finish");
+				}
+				else
+				{
+					htmltext = "31371-03.html";
+				}
+				break;
+		}
+		return htmltext;
+	}
+	
+	@Override
+	public String onTalk(L2Npc npc, L2PcInstance player)
+	{
+		String htmltext = getNoQuestMsg(player);
+		QuestState st = player.getQuestState(qn);
+		
+		if (st == null)
+		{
+			return htmltext;
+		}
+		
+		int cond = st.getInt("cond");
+		int npcId = npc.getNpcId();
+		
+		switch (st.getState())
+		{
+			case State.COMPLETED:
+				htmltext = getAlreadyCompletedMsg(player);
+				break;
+			case State.CREATED:
+				if (npcId == CADMON)
+				{
+					htmltext = (player.getLevel() >= 74) ? "31296-01.htm" : "31296-02.html";
+				}
+				break;
+			case State.STARTED:
+				if ((npcId == CADMON) && (cond == 1))
+				{
+					htmltext = "31296-04.html";
+				}
+				else if (npcId == LEON)
+				{
+					if (cond == 1)
+					{
+						htmltext = "31256-01.html";
+						
+					}
+					else if (cond == 2)
+					{
+						htmltext = "31256-03.html";
+					}
+				}
+				else if ((npcId == WAHKAN) && (cond == 2))
+				{
+					htmltext = "31371-01.html";
+				}
+				break;
+		}
+		return htmltext;
+	}
+	
+	public Q11_SecretMeetingWithKetraOrcs(int questId, String name, String descr)
+	{
+		super(questId, name, descr);
+		
+		addStartNpc(CADMON);
+		
+		addTalkId(CADMON, LEON, WAHKAN);
+	}
+	
+	public static void main(String[] args)
+	{
+		new Q11_SecretMeetingWithKetraOrcs(11, qn, "Secret Meeting With Ketra Orcs");
+	}
+}

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/12_SecretMeetingWithVarkaSilenos/31258-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q12_SecretMeetingWithVarkaSilenos/31258-01.html

@@ -2,5 +2,5 @@
 Did Guard Cadmon send you? All right. I guess you are good enough.<br>
 Bear in mind that the Varka Silenos are different from other Silenos. They may look alike, but the Varka Silenos have traditionally been fearless soldiers. They are completely different from other Silenos who are engaged in stock farming. They are very particular about manners. You should try not to offend them.<br>
 Okay, here's the task. You need to take this box of supplies to the<font color="LEVEL"> Varka Silenos base</font>. Sounds simple, right? Even a three year old can do this.<br>
-<a action="bypass -h Quest 12_SecretMeetingWithVarkaSilenos 31258-02.htm">"All right. Entrust me with the task."</a>
+<a action="bypass -h Quest 12_SecretMeetingWithVarkaSilenos 31258-02.html">"All right. Entrust me with the task."</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/12_SecretMeetingWithVarkaSilenos/31258-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q12_SecretMeetingWithVarkaSilenos/31258-02.html


+ 3 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q12_SecretMeetingWithVarkaSilenos/31258-03.html

@@ -0,0 +1,3 @@
+<html><body>Trader Helmut:<br>
+What are you still doing here? Take the box of supplies to <font color="LEVEL">Naran Ashanuk Herald of Varka</font>!
+</body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/12_SecretMeetingWithVarkaSilenos/31296-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q12_SecretMeetingWithVarkaSilenos/31296-01.htm

@@ -1,4 +1,4 @@
 <html><body>Guard Cadmon:<br>
 Are you interested in the Varka Silenos, stranger? Well, if you are, I know an interesting story. They've been hiring mercenaries lately! It's a great opportunity to gain access to their barracks on the pretext of smuggling weapons in!<br>
-<a action="bypass -h Quest 12_SecretMeetingWithVarkaSilenos 31296-03.htm">"I'll do it."</a>
+<a action="bypass -h Quest 12_SecretMeetingWithVarkaSilenos 31296-03.html">"I'll do it."</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/12_SecretMeetingWithVarkaSilenos/31296-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q12_SecretMeetingWithVarkaSilenos/31296-02.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/12_SecretMeetingWithVarkaSilenos/31296-03.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q12_SecretMeetingWithVarkaSilenos/31296-03.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/12_SecretMeetingWithVarkaSilenos/31296-04.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q12_SecretMeetingWithVarkaSilenos/31296-04.html


+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/12_SecretMeetingWithVarkaSilenos/31378-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q12_SecretMeetingWithVarkaSilenos/31378-01.html

@@ -1,4 +1,4 @@
 <html><body>Varka's Messenger Naran Ashanuk:<br>
  What brings you to this land of the Varka, traveler of Zephyr Winds?<br>
-<a action="bypass -h Quest 12_SecretMeetingWithVarkaSilenos 31378-02.htm">"Hand over Helmut's chest of military supplies."</a>
+<a action="bypass -h Quest 12_SecretMeetingWithVarkaSilenos 31378-02.html">"Hand over Helmut's chest of military supplies."</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/12_SecretMeetingWithVarkaSilenos/31378-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q12_SecretMeetingWithVarkaSilenos/31378-02.html


+ 3 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q12_SecretMeetingWithVarkaSilenos/31378-03.html

@@ -0,0 +1,3 @@
+<html><body>Varka's Messenger Naran Ashanuk:<br>
+You don't have required items.
+</body></html>

+ 144 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q12_SecretMeetingWithVarkaSilenos/Q12_SecretMeetingWithVarkaSilenos.java

@@ -0,0 +1,144 @@
+/*
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 3 of the License, or (at your option) any later
+ * version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package quests.Q12_SecretMeetingWithVarkaSilenos;
+
+import com.l2jserver.gameserver.model.actor.L2Npc;
+import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
+import com.l2jserver.gameserver.model.quest.Quest;
+import com.l2jserver.gameserver.model.quest.QuestState;
+import com.l2jserver.gameserver.model.quest.State;
+
+/**
+ * Secret Meeting With Varka Silenos (12).<br>
+ * Original Jython script by Emperorc.
+ * @author nonom
+ */
+public class Q12_SecretMeetingWithVarkaSilenos extends Quest
+{
+	private static final String qn = "12_SecretMeetingWithVarkaSilenos";
+	
+	// NPCs
+	private static final int CADMON = 31296;
+	private static final int HELMUT = 31258;
+	private static final int NARAN = 31378;
+	
+	// Items
+	private static final int BOX = 7232;
+	
+	@Override
+	public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
+	{
+		String htmltext = event;
+		final QuestState st = player.getQuestState(qn);
+		if (st == null)
+		{
+			return htmltext;
+		}
+		
+		final int cond = st.getInt("cond");
+		switch (event)
+		{
+			case "31296-03.html":
+				st.set("cond", "1");
+				st.setState(State.STARTED);
+				st.playSound("ItemSound.quest_accept");
+				break;
+			case "31258-02.html":
+				if (cond == 1)
+				{
+					st.set("cond", "2");
+					st.giveItems(BOX, 1);
+					st.playSound("ItemSound.quest_middle");
+				}
+				break;
+			case "31378-02.html":
+				if ((cond == 2) && (st.hasQuestItems(BOX)))
+				{
+					st.takeItems(BOX, -1);
+					st.addExpAndSp(233125, 18142);
+					st.playSound("ItemSound.quest_finish");
+					st.exitQuest(false);
+				}
+				else
+				{
+					htmltext = "31378-03.html";
+				}
+				break;
+		}
+		return htmltext;
+	}
+	
+	@Override
+	public String onTalk(L2Npc npc, L2PcInstance player)
+	{
+		String htmltext = getNoQuestMsg(player);
+		final QuestState st = player.getQuestState(qn);
+		if (st == null)
+		{
+			return htmltext;
+		}
+		
+		final int npcId = npc.getNpcId();
+		switch (st.getState())
+		{
+			case State.COMPLETED:
+				htmltext = getAlreadyCompletedMsg(player);
+				break;
+			case State.CREATED:
+				if (npcId == CADMON)
+				{
+					htmltext = (player.getLevel() >= 74) ? "31296-01.htm" : "31296-02.html";
+				}
+				break;
+			case State.STARTED:
+				final int cond = st.getInt("cond");
+				if ((npcId == CADMON) && (cond == 1))
+				{
+					htmltext = "31296-04.html";
+				}
+				else if (npcId == HELMUT)
+				{
+					if (cond == 1)
+					{
+						htmltext = "31258-01.html";
+					}
+					else if (cond == 2)
+					{
+						htmltext = "31258-03.html";
+					}
+				}
+				else if ((npcId == NARAN) && (cond == 2))
+				{
+					htmltext = "31378-01.html";
+				}
+				break;
+		}
+		return htmltext;
+	}
+	
+	public Q12_SecretMeetingWithVarkaSilenos(int questId, String name, String descr)
+	{
+		super(questId, name, descr);
+		
+		addStartNpc(CADMON);
+		
+		addTalkId(CADMON, HELMUT, NARAN);
+	}
+	
+	public static void main(String[] args)
+	{
+		new Q12_SecretMeetingWithVarkaSilenos(12, qn, "Secret Meeting With Varka Silenos");
+	}
+}

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/13_ParcelDelivery/31274-0.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q13_ParcelDelivery/31274-00.htm

@@ -1,5 +1,5 @@
 <html><body>Mineral Trader Fundin:<br>
 I have an urgent delivery to the Gods' Cauldron area!<br>
 Would you deliver it for me?<br>
-<a action="bypass -h Quest 13_ParcelDelivery 31274-2.htm">Sure!</a>
+<a action="bypass -h Quest 13_ParcelDelivery 31274-02.html">Sure!</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/13_ParcelDelivery/31274-1.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q13_ParcelDelivery/31274-01.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/13_ParcelDelivery/31274-2.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q13_ParcelDelivery/31274-02.html


+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/13_ParcelDelivery/31539-0.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q13_ParcelDelivery/31539-00.html

@@ -1,5 +1,5 @@
 <html><body>Flame Blacksmith Vulcan:<br>
 Did Fundin send you? A little late, but at least you didn't break it.<br>
 Let me have it.<br>
-<a action="bypass -h Quest 13_ParcelDelivery 31539-1.htm">Here.</a>
+<a action="bypass -h Quest 13_ParcelDelivery 31539-01.html">Here.</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/13_ParcelDelivery/31539-1.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q13_ParcelDelivery/31539-01.html


+ 3 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q13_ParcelDelivery/31539-02.html

@@ -0,0 +1,3 @@
+<html><body>Flame Blacksmith Vulcan:<br>
+You don't have required items.
+</body></html>

+ 134 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q13_ParcelDelivery/Q13_ParcelDelivery.java

@@ -0,0 +1,134 @@
+/*
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 3 of the License, or (at your option) any later
+ * version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package quests.Q13_ParcelDelivery;
+
+import com.l2jserver.gameserver.model.actor.L2Npc;
+import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
+import com.l2jserver.gameserver.model.quest.Quest;
+import com.l2jserver.gameserver.model.quest.QuestState;
+import com.l2jserver.gameserver.model.quest.State;
+
+/**
+ * Parcel Delivery (13).<br>
+ * Original Jython script by Emperorc.
+ * @author nonom
+ */
+public class Q13_ParcelDelivery extends Quest
+{
+	private static final String qn = "13_ParcelDelivery";
+	
+	// NPCs
+	private static final int FUNDIN = 31274;
+	private static final int VULCAN = 31539;
+	
+	// Items
+	private static final int PACKAGE = 7263;
+	
+	@Override
+	public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
+	{
+		String htmltext = event;
+		final QuestState st = player.getQuestState(qn);
+		if (st == null)
+		{
+			return htmltext;
+		}
+		
+		switch (event)
+		{
+			case "31274-02.html":
+				st.set("cond", "1");
+				st.giveItems(PACKAGE, 1);
+				st.setState(State.STARTED);
+				st.playSound("ItemSound.quest_accept");
+				break;
+			case "31539-01.html":
+				if ((st.getInt("cond") == 1) && (st.hasQuestItems(PACKAGE)))
+				{
+					st.takeItems(PACKAGE, -1);
+					st.giveItems(57, 157834);
+					st.addExpAndSp(589092, 58794);
+					st.exitQuest(false);
+					st.playSound("ItemSound.quest_finish");
+				}
+				else
+				{
+					htmltext = "31539-02.html";
+				}
+				break;
+		}
+		return htmltext;
+	}
+	
+	@Override
+	public String onTalk(L2Npc npc, L2PcInstance player)
+	{
+		String htmltext = getNoQuestMsg(player);
+		final QuestState st = player.getQuestState(qn);
+		if (st == null)
+		{
+			return htmltext;
+		}
+		
+		final int npcId = npc.getNpcId();
+		switch (st.getState())
+		{
+			case State.COMPLETED:
+				htmltext = getAlreadyCompletedMsg(player);
+				break;
+			case State.CREATED:
+				if (npcId == FUNDIN)
+				{
+					htmltext = (player.getLevel() >= 74) ? "31274-00.htm" : "31274-01.html";
+				}
+				break;
+			case State.STARTED:
+				final int cond = st.getInt("cond");
+				if (cond == 1)
+				{
+					switch (npcId)
+					{
+						case FUNDIN:
+							htmltext = "31274-02.html";
+							break;
+						case VULCAN:
+							htmltext = "31539-00.html";
+							break;
+					}
+				}
+				break;
+		}
+		return htmltext;
+	}
+	
+	public Q13_ParcelDelivery(int questId, String name, String descr)
+	{
+		super(questId, name, descr);
+		
+		addStartNpc(FUNDIN);
+		
+		addTalkId(FUNDIN, VULCAN);
+		
+		questItemIds = new int[]
+		{
+			PACKAGE
+		};
+	}
+	
+	public static void main(String[] args)
+	{
+		new Q13_ParcelDelivery(13, qn, "Parcel Delivery");
+	}
+}

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/14_WhereaboutsOfTheArchaeologist/31263-0.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q14_WhereaboutsOfTheArchaeologist/31263-00.htm

@@ -1,5 +1,5 @@
 <html><body>Trader Liesel:<br>
 My friend left home to study archaeology a couple of years ago. His mother was just overcome by disease.<br>
 Could you deliver her last letter to him?<br>
-<a action="bypass -h Quest 14_WhereaboutsOfTheArchaeologist 31263-2.htm">Yes</a>
+<a action="bypass -h Quest 14_WhereaboutsOfTheArchaeologist 31263-02.html">Yes</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/14_WhereaboutsOfTheArchaeologist/31263-1.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q14_WhereaboutsOfTheArchaeologist/31263-01.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/14_WhereaboutsOfTheArchaeologist/31263-2.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q14_WhereaboutsOfTheArchaeologist/31263-02.html


+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/14_WhereaboutsOfTheArchaeologist/31538-0.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q14_WhereaboutsOfTheArchaeologist/31538-00.html

@@ -1,5 +1,5 @@
 <html><body>Ghost of Adventurer:<br>
 Huh? You were asked to give me this letter? Who writes a letter to a dead person? Hmm...Let me see...<br>
 Oh, it's from my mother! It's been so long since I've seen her! How is she?<br>
-<a action="bypass -h Quest 14_WhereaboutsOfTheArchaeologist 31538-1.htm">Your mother is dead.</a>
+<a action="bypass -h Quest 14_WhereaboutsOfTheArchaeologist 31538-01.html">Your mother is dead.</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/14_WhereaboutsOfTheArchaeologist/31538-1.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q14_WhereaboutsOfTheArchaeologist/31538-01.html


+ 3 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q14_WhereaboutsOfTheArchaeologist/31538-02.html

@@ -0,0 +1,3 @@
+<html><body>Ghost of Adventurer:<br>
+You don't have the required items.<br>
+</body></html>

+ 128 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q14_WhereaboutsOfTheArchaeologist/Q14_WhereaboutsOfTheArchaeologist.java

@@ -0,0 +1,128 @@
+/*
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 3 of the License, or (at your option) any later
+ * version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package quests.Q14_WhereaboutsOfTheArchaeologist;
+
+import com.l2jserver.gameserver.model.actor.L2Npc;
+import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
+import com.l2jserver.gameserver.model.quest.Quest;
+import com.l2jserver.gameserver.model.quest.QuestState;
+import com.l2jserver.gameserver.model.quest.State;
+
+/**
+ * Where abouts Of The Archaeologist (14).<br>
+ * Original Jython script by disKret.
+ * @author nonom
+ */
+public class Q14_WhereaboutsOfTheArchaeologist extends Quest
+{
+	private static final String qn = "14_WhereaboutsOfTheArchaeologist";
+	
+	// NPCs
+	private static final int LIESEL = 31263;
+	private static final int GHOST_OF_ADVENTURER = 31538;
+	
+	// Items
+	private static final int LETTER = 7253;
+	
+	@Override
+	public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
+	{
+		String htmltext = event;
+		final QuestState st = player.getQuestState(qn);
+		if (st == null)
+		{
+			return htmltext;
+		}
+		
+		switch (event)
+		{
+			case "31263-02.html":
+				st.set("cond", "1");
+				st.setState(State.STARTED);
+				st.giveItems(LETTER, 1);
+				st.playSound("ItemSound.quest_accept");
+				break;
+			case "31538-01.html":
+				if ((st.getInt("cond") == 1) && st.hasQuestItems(LETTER))
+				{
+					st.takeItems(LETTER, -1);
+					st.giveItems(57, 136928);
+					st.addExpAndSp(325881, 32524);
+					st.playSound("ItemSound.quest_finish");
+					st.exitQuest(false);
+				}
+				else
+				{
+					htmltext = "31538-02.html";
+				}
+				break;
+		}
+		return htmltext;
+	}
+	
+	@Override
+	public String onTalk(L2Npc npc, L2PcInstance player)
+	{
+		String htmltext = getNoQuestMsg(player);
+		final QuestState st = player.getQuestState(qn);
+		if (st == null)
+		{
+			return htmltext;
+		}
+		
+		final int npcId = npc.getNpcId();
+		switch (st.getState())
+		{
+			case State.COMPLETED:
+				htmltext = getAlreadyCompletedMsg(player);
+				break;
+			case State.CREATED:
+				if (npcId == LIESEL)
+				{
+					htmltext = (player.getLevel() < 74) ? "31263-01.html" : "31263-00.htm";
+				}
+				break;
+			case State.STARTED:
+				if (st.getInt("cond") == 1)
+				{
+					switch (npcId)
+					{
+						case LIESEL:
+							htmltext = "31263-02.html";
+							break;
+						case GHOST_OF_ADVENTURER:
+							htmltext = "31538-00.html";
+							break;
+					}
+				}
+				break;
+		}
+		return htmltext;
+	}
+	
+	public Q14_WhereaboutsOfTheArchaeologist(int questId, String name, String descr)
+	{
+		super(questId, name, descr);
+		
+		addStartNpc(LIESEL);
+		addTalkId(LIESEL);
+		addTalkId(GHOST_OF_ADVENTURER);
+	}
+	
+	public static void main(String[] args)
+	{
+		new Q14_WhereaboutsOfTheArchaeologist(14, qn, "Whereabouts Of The Archaeologist");
+	}
+}

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/15_SweetWhisper/31302-0.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q15_SweetWhispers/31302-00.htm

@@ -1,4 +1,4 @@
 <html><body>Trader Vladimir:<br>
 The world is very unsettled these days. Would you be interested in a unique kind of power?<br>
-<a action="bypass -h Quest 15_SweetWhisper 31302-1.htm">Quest</a>
+<a action="bypass -h Quest 15_SweetWhispers 31302-01.html">Quest</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/15_SweetWhisper/31302-0a.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q15_SweetWhispers/31302-00a.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/15_SweetWhisper/31302-1.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q15_SweetWhispers/31302-01.html


+ 3 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q15_SweetWhispers/31302-1a.html

@@ -0,0 +1,3 @@
+<html><body>Trader Vladimir:<br>
+Find the <font color="LEVEL">mysterious Necromancer</font> at the entrance to the <font color="LEVEL">Valley of Saints</font>. He'll help you test your fate.
+</body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/15_SweetWhisper/31517-0.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q15_SweetWhispers/31517-00.html

@@ -1,4 +1,4 @@
 <html><body>Hierarch:<br>
 What are you doing here? We don't let just anybody in here!<br>
-<a action="bypass -h Quest 15_SweetWhisper 31517-1.htm">Vladimir sent me.</a>
+<a action="bypass -h Quest 15_SweetWhispers 31517-01.html">Vladimir sent me.</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/15_SweetWhisper/31517-1.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q15_SweetWhispers/31517-01.html


+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/15_SweetWhisper/31518-0.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q15_SweetWhispers/31518-00.html

@@ -1,4 +1,4 @@
 <html><body>Mysterious Necromancer:<br>
 What business do you have here? What do you want from me?<br>
-<a action="bypass -h Quest 15_SweetWhisper 31518-1.htm">I want to change my ways.</a>
+<a action="bypass -h Quest 15_SweetWhispers 31518-01.html">I want to change my ways.</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/15_SweetWhisper/31518-1.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q15_SweetWhispers/31518-01.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/15_SweetWhisper/31518-1a.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q15_SweetWhispers/31518-01a.html


+ 142 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q15_SweetWhispers/Q15_SweetWhispers.java

@@ -0,0 +1,142 @@
+/*
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 3 of the License, or (at your option) any later
+ * version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package quests.Q15_SweetWhispers;
+
+import com.l2jserver.gameserver.model.actor.L2Npc;
+import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
+import com.l2jserver.gameserver.model.quest.Quest;
+import com.l2jserver.gameserver.model.quest.QuestState;
+import com.l2jserver.gameserver.model.quest.State;
+
+/**
+ * Sweet Whisper (15).<br>
+ * Original jython script by disKret.
+ * @author nonom
+ */
+public class Q15_SweetWhispers extends Quest
+{
+	private static final String qn = "15_SweetWhispers";
+	
+	// NPCs
+	private static final int VLADIMIR = 31302;
+	private static final int HIERARCH = 31517;
+	private static final int M_NECROMANCER = 31518;
+	
+	@Override
+	public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
+	{
+		String htmltext = event;
+		final QuestState st = player.getQuestState(qn);
+		if (st == null)
+		{
+			return htmltext;
+		}
+		
+		final int cond = st.getInt("cond");
+		switch (event)
+		{
+			case "31302-01.html":
+				st.set("cond", "1");
+				st.setState(State.STARTED);
+				st.playSound("ItemSound.quest_accept");
+				break;
+			case "31518-01.html":
+				if (cond == 1)
+				{
+					st.set("cond", "2");
+					st.playSound("ItemSound.quest_middle");
+				}
+				break;
+			case "31517-01.html":
+				if (cond == 2)
+				{
+					st.addExpAndSp(350531, 28204);
+					st.playSound("ItemSound.quest_finish");
+					st.exitQuest(false);
+				}
+				break;
+		}
+		return htmltext;
+	}
+	
+	@Override
+	public String onTalk(L2Npc npc, L2PcInstance player)
+	{
+		String htmltext = getNoQuestMsg(player);
+		final QuestState st = player.getQuestState(qn);
+		if (st == null)
+		{
+			return htmltext;
+		}
+		
+		final int npcId = npc.getNpcId();
+		switch (st.getState())
+		{
+			case State.COMPLETED:
+				htmltext = getAlreadyCompletedMsg(player);
+				break;
+			case State.CREATED:
+				if (npcId == VLADIMIR)
+				{
+					htmltext = (player.getLevel() >= 60) ? "31302-00.htm" : "31302-00a.html";
+				}
+				break;
+			case State.STARTED:
+				final int cond = st.getInt("cond");
+				switch (npcId)
+				{
+					case VLADIMIR:
+						if (cond == 1)
+						{
+							htmltext = "31302-01a.html";
+						}
+						break;
+					case M_NECROMANCER:
+						switch (cond)
+						{
+							case 1:
+								htmltext = "31518-00.html";
+								break;
+							case 2:
+								htmltext = "31518-01a.html";
+								break;
+						}
+						break;
+					case HIERARCH:
+						if (cond == 2)
+						{
+							htmltext = "31517-00.html";
+						}
+						break;
+				}
+				break;
+		}
+		return htmltext;
+	}
+	
+	public Q15_SweetWhispers(int questId, String name, String descr)
+	{
+		super(questId, name, descr);
+		
+		addStartNpc(VLADIMIR);
+		
+		addTalkId(VLADIMIR, HIERARCH, M_NECROMANCER);
+	}
+	
+	public static void main(String[] args)
+	{
+		new Q15_SweetWhispers(15, qn, "Sweet Whispers");
+	}
+}

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/16_TheComingDarkness/31512-0.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q16_TheComingDarkness/31512-00.html

@@ -1,4 +1,4 @@
 <html><body>Evil Altar:<br>
 Upon close examination, you discover a place under the altar where the crystal will easily fit.<br>
-<a action="bypass -h Quest 16_TheComingDarkness 31512-1.htm">Place the crystal in the space under the altar.</a>
+<a action="bypass -h Quest 16_TheComingDarkness 31512-01.html">Place the crystal in the space under the altar.</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/16_TheComingDarkness/31512-1.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q16_TheComingDarkness/31512-01.html


+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/16_TheComingDarkness/31513-0.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q16_TheComingDarkness/31513-00.html

@@ -1,4 +1,4 @@
 <html><body>Evil Altar:<br>
 As with the previous altar, there is a space underneath where the crystal will easily fit.<br>
-<a action="bypass -h Quest 16_TheComingDarkness 31513-1.htm">Place the crystal in the space under the altar.</a>
+<a action="bypass -h Quest 16_TheComingDarkness 31513-01.html">Place the crystal in the space under the altar.</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/16_TheComingDarkness/31513-1.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q16_TheComingDarkness/31513-01.html


+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/16_TheComingDarkness/31516-0.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q16_TheComingDarkness/31514-00.html

@@ -1,4 +1,4 @@
 <html><body>Evil Altar:<br>
 Upon close examination, you discover a place under the altar where the crystal will easily fit.<br>
-<a action="bypass -h Quest 16_TheComingDarkness 31516-1.htm">Place the crystal in the space under the altar.</a>
+<a action="bypass -h Quest 16_TheComingDarkness 31514-01.html">Place the crystal in the space under the altar.</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/16_TheComingDarkness/31514-1.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q16_TheComingDarkness/31514-01.html


+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/16_TheComingDarkness/31514-0.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q16_TheComingDarkness/31515-00.html

@@ -1,4 +1,4 @@
 <html><body>Evil Altar:<br>
 Upon close examination, you discover a place under the altar where the crystal will easily fit.<br>
-<a action="bypass -h Quest 16_TheComingDarkness 31514-1.htm">Place the crystal in the space under the altar.</a>
+<a action="bypass -h Quest 16_TheComingDarkness 31515-01.html">Place the crystal in the space under the altar.</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/16_TheComingDarkness/31515-1.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q16_TheComingDarkness/31515-01.html


+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/16_TheComingDarkness/31515-0.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q16_TheComingDarkness/31516-00.html

@@ -1,4 +1,4 @@
 <html><body>Evil Altar:<br>
 Upon close examination, you discover a place under the altar where the crystal will easily fit.<br>
-<a action="bypass -h Quest 16_TheComingDarkness 31515-1.htm">Place the crystal in the space under the altar.</a>
+<a action="bypass -h Quest 16_TheComingDarkness 31516-01.html">Place the crystal in the space under the altar.</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/16_TheComingDarkness/31516-1.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q16_TheComingDarkness/31516-01.html


+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q16_TheComingDarkness/31517-00.htm

@@ -0,0 +1,4 @@
+<html><body>Hierarch:<br>
+Brother, you've been with us for a long time! You've earned our trust, and therefore I believe you're ready for an important mission!<br>
+<a action="bypass -h Quest 16_TheComingDarkness 31517-01.htm">"I'm ready!"</a>
+</body></html>

+ 2 - 2
L2J_DataPack_BETA/dist/game/data/scripts/quests/16_TheComingDarkness/31517-1.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q16_TheComingDarkness/31517-01.htm

@@ -1,4 +1,4 @@
 <html><body>Hierarch:<br>
 You're very well prepared! I wish all of us could be as well prepared as you! You've chosen a path that holds many trials, one that your brothers have traveled before you! Do you have the faith you'll need to complete your journey?<br>
-<a action="bypass -h Quest 16_TheComingDarkness 31517-2.htm">I have enough faith.</a>
-</body></html> 
+<a action="bypass -h Quest 16_TheComingDarkness 31517-02.htm">"I have enough faith."</a>
+</body></html>

+ 2 - 2
L2J_DataPack_BETA/dist/game/data/scripts/quests/16_TheComingDarkness/31517-2.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q16_TheComingDarkness/31517-02.htm

@@ -1,4 +1,4 @@
 <html><body>Hierarch:<br>
 Very well. Based on the trust we have for you, brother, I'll give you a mission. Use these five crystals of binding to break open the seals that have been placed throughout this region. Watch the altar carefully; you'll discover how to use these crystals. I'll wait here until you break all the seals and return.<br>
-First, you must go to the altar near the entrance of the Valley of Saint. Your mission begins there. Good luck!
-</body></html> 
+First, you must go to the altar near the entrance of the Valley of Saints. Your mission begins there. Good luck!
+</body></html>

+ 3 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q16_TheComingDarkness/31517-02a.html

@@ -0,0 +1,3 @@
+<html><body>Hierarch:<br>
+You haven't finished your job yet! Come back when you've broken the seal. I'll be waiting.
+</body></html>

+ 2 - 2
L2J_DataPack_BETA/dist/game/data/scripts/quests/16_TheComingDarkness/31517-3.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q16_TheComingDarkness/31517-03.html

@@ -1,3 +1,3 @@
 <html><body>Hierarch:<br>
-Yoy've done well! Welcome to the brotherhood! You're now a member of the Benandanti Cartel! I'll see that you're well-rewarded!
-</body></html> 
+You've done well! Welcome to the brotherhood! You're now a member of the Benandanti Cartel! I'll see that you're well-rewarded!
+</body></html>

+ 3 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q16_TheComingDarkness/31517-04.html

@@ -0,0 +1,3 @@
+<html><body>Hierarch:<br>
+Quest Light and Darkness need to be finished first.
+</body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q16_TheComingDarkness/31517-05.html

@@ -0,0 +1,4 @@
+<html><body>Hierarch:<br>
+We've spent much time together, dear brother, but I regret to tell you that you're not yet ready! Try again when your faith and conviction are more firmly established.<br>
+(Only characters of level 62 and above may undertake this quest.)
+</body></html>

+ 152 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q16_TheComingDarkness/Q16_TheComingDarkness.java

@@ -0,0 +1,152 @@
+/*
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 3 of the License, or (at your option) any later
+ * version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package quests.Q16_TheComingDarkness;
+
+import com.l2jserver.gameserver.model.actor.L2Npc;
+import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
+import com.l2jserver.gameserver.model.quest.Quest;
+import com.l2jserver.gameserver.model.quest.QuestState;
+import com.l2jserver.gameserver.model.quest.State;
+
+/**
+ * The Coming Darkness (16).<br>
+ * Original jython script by disKret.<br>
+ * TODO: Zoey76: This quest is still not retail like, Altars AI is incomplete.
+ * @author nonom
+ */
+public class Q16_TheComingDarkness extends Quest
+{
+	private static final String qn = "16_TheComingDarkness";
+	
+	// NPCs
+	private static final int HIERARCH = 31517;
+	private static final int EVIL_ALTAR_1 = 31512;
+	private static final int EVIL_ALTAR_2 = 31513;
+	private static final int EVIL_ALTAR_3 = 31514;
+	private static final int EVIL_ALTAR_4 = 31515;
+	private static final int EVIL_ALTAR_5 = 31516;
+	
+	// Items
+	private static final int CRYSTAL_OF_SEAL = 7167;
+	
+	@Override
+	public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
+	{
+		String htmltext = event;
+		final QuestState st = player.getQuestState(qn);
+		if (st == null)
+		{
+			return htmltext;
+		}
+		
+		final int cond = st.getInt("cond");
+		switch (event)
+		{
+			case "31517-02.htm":
+				st.giveItems(CRYSTAL_OF_SEAL, 5);
+				st.set("cond", "1");
+				st.setState(State.STARTED);
+				st.playSound("ItemSound.quest_accept");
+				break;
+			case "31512-01.html":
+			case "31513-01.html":
+			case "31514-01.html":
+			case "31515-01.html":
+			case "31516-01.html":
+				final int npcId = Integer.parseInt(event.replace("-01.html", ""));
+				if ((cond == (npcId - 31511)) && st.hasQuestItems(CRYSTAL_OF_SEAL))
+				{
+					st.takeItems(CRYSTAL_OF_SEAL, 1);
+					st.set("cond", String.valueOf(cond + 1));
+					st.playSound("ItemSound.quest_middle");
+				}
+				break;
+		}
+		return htmltext;
+	}
+	
+	@Override
+	public String onTalk(L2Npc npc, L2PcInstance player)
+	{
+		String htmltext = getNoQuestMsg(player);
+		final QuestState st = player.getQuestState(qn);
+		if (st == null)
+		{
+			return htmltext;
+		}
+		
+		final QuestState st2 = player.getQuestState("17_LightAndDarkness");
+		if ((st2 != null) && !st2.isCompleted())
+		{
+			return "31517-04.html";
+		}
+		
+		switch (st.getState())
+		{
+			case State.COMPLETED:
+				htmltext = getAlreadyCompletedMsg(player);
+				break;
+			case State.CREATED:
+				htmltext = (player.getLevel() >= 62) ? "31517-00.htm" : "31517-05.html";
+				break;
+			case State.STARTED:
+				final int npcId = npc.getNpcId();
+				final int cond = st.getInt("cond");
+				if (npcId == HIERARCH)
+				{
+					if (cond == 6)
+					{
+						htmltext = "31517-03.html";
+						st.addExpAndSp(865187, 69172);
+						st.playSound("ItemSound.quest_finish");
+						st.exitQuest(false);
+					}
+					else
+					{
+						htmltext = "31517-02a.html";
+					}
+				}
+				else if ((npcId - 31511) == cond)
+				{
+					htmltext = npcId + "-00.html";
+				}
+				else
+				{
+					htmltext = npcId + "-01.html";
+				}
+				break;
+		}
+		return htmltext;
+	}
+	
+	public Q16_TheComingDarkness(int questId, String name, String descr)
+	{
+		super(questId, name, descr);
+		
+		addStartNpc(HIERARCH);
+		
+		addTalkId(HIERARCH, EVIL_ALTAR_1, EVIL_ALTAR_2, EVIL_ALTAR_3, EVIL_ALTAR_4, EVIL_ALTAR_5);
+		
+		questItemIds = new int[]
+		{
+			CRYSTAL_OF_SEAL
+		};
+	}
+	
+	public static void main(String[] args)
+	{
+		new Q16_TheComingDarkness(16, qn, "The Coming Darkness");
+	}
+}

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/17_LightAndDarkness/31508-00.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31508-00.html

@@ -1,4 +1,4 @@
 <html><body>Altar of Saints:<br>
 The first Altar of Saints has a desolate atmosphere. You know that you need to sprinkle the Blood of Saint here, but you feel apprehensive. You begin to feel faint...<br>
-<a action="bypass -h Quest 17_LightAndDarkness 31508-02.htm">Sprinkle the Blood of Saint.</a>
+<a action="bypass -h Quest 17_LightAndDarkness 31508-02.html">Sprinkle the Blood of Saint.</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/17_LightAndDarkness/31508-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31508-01.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/17_LightAndDarkness/31508-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31508-02.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/17_LightAndDarkness/31508-03.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31508-03.html


+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/17_LightAndDarkness/31509-00.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31509-00.html

@@ -1,4 +1,4 @@
 <html><body>Altar of Saints:<br>
 The second Altar of Saints. The atmosphere is similar to that of the previous altar. You know that you should sprinkle the Blood of Saint here as you were told, but you're hesitant... You begin to feel faint...<br>
-<a action="bypass -h Quest 17_LightAndDarkness 31509-02.htm">Sprinkle the Blood of Saint.</a>
+<a action="bypass -h Quest 17_LightAndDarkness 31509-02.html">Sprinkle the Blood of Saint.</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/17_LightAndDarkness/31509-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31509-01.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/17_LightAndDarkness/31509-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31509-02.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/17_LightAndDarkness/31509-03.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31509-03.html


+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/17_LightAndDarkness/31510-00.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31510-00.html

@@ -1,4 +1,4 @@
 <html><body>Saint Altar:<br>
 At last, the third Altar of Saints! No less forbidding than the first two!<br>
-<a action="bypass -h Quest 17_LightAndDarkness 31510-02.htm">Sprinkle the Blood of Saint.</a>
+<a action="bypass -h Quest 17_LightAndDarkness 31510-02.html">Sprinkle the Blood of Saint.</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/17_LightAndDarkness/31510-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31510-01.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/17_LightAndDarkness/31510-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31510-02.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/17_LightAndDarkness/31510-03.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31510-03.html


+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/17_LightAndDarkness/31511-00.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31511-00.html

@@ -1,4 +1,4 @@
 <html><body>Saint Altar:<br>
 The last Altar of Saints looks the same as the others. You're starting to feel more comfortable. That could be good or bad!<br>
-<a action="bypass -h Quest 17_LightAndDarkness 31511-02.htm">Sprinkle the Blood of Saint.</a>
+<a action="bypass -h Quest 17_LightAndDarkness 31511-02.html">Sprinkle the Blood of Saint.</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/17_LightAndDarkness/31511-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31511-01.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/17_LightAndDarkness/31511-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31511-02.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/17_LightAndDarkness/31511-03.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31511-03.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/17_LightAndDarkness/31517-00.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31517-00.htm


+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/17_LightAndDarkness/31517-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31517-01.htm

@@ -1,4 +1,4 @@
 <html><body>Hierarch:<br>
 Before I tell you, I need to ask you something. How strong is your faith in the work that we do? Are you certain that you can persevere no matter what happens while carrying out this mission?<br>
-<a action="bypass -h Quest 17_LightAndDarkness 31517-02.htm">"I will persevere"</a>
+<a action="bypass -h Quest 17_LightAndDarkness 31517-02.html">"I will persevere"</a>
 </body></html> 

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/17_LightAndDarkness/31517-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31517-02.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/17_LightAndDarkness/31517-02a.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31517-02a.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/17_LightAndDarkness/31517-03.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31517-03.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/17_LightAndDarkness/31517-04.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31517-04.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/17_LightAndDarkness/31517-05.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31517-05.html


+ 3 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q17_LightAndDarkness/31517-06.html

@@ -0,0 +1,3 @@
+<html><body>Heirarch:<br>
+Quest Sweet Whispers need to be finished first.
+</body></html>

Some files were not shown because too many files changed in this diff