Browse Source

BETA: Quest '''Inhabitants of the Forest of the Dead''' and minor update for Fortune Teller AI
* Quest:
* Translated to Java and updated
* Added Dorian AI
* Reported by corbin12

malyelfik 12 years ago
parent
commit
e1e4825357
97 changed files with 608 additions and 305 deletions
  1. 2 1
      L2J_DataPack_BETA/dist/game/data/scripts.cfg
  2. 89 0
      L2J_DataPack_BETA/dist/game/data/scripts/ai/npc/Dorian/Dorian.java
  3. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/ai/npc/FortuneTelling/FortuneTelling.java
  4. 0 6
      L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31389-04.htm
  5. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31389-13.htm
  6. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31389-15.htm
  7. 0 6
      L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31389-16.htm
  8. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31522-01.htm
  9. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31522-02.htm
  10. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31522-04.htm
  11. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31522-05.htm
  12. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31522-08.htm
  13. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31522-09.htm
  14. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31522-10.htm
  15. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31522-11.htm
  16. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31522-12.htm
  17. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31522-13.htm
  18. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31522-14.htm
  19. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31532-05.htm
  20. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31532-07.htm
  21. 0 7
      L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31532-08.htm
  22. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31532-11.htm
  23. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31532-12.htm
  24. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31532-13.htm
  25. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31532-14.htm
  26. 0 183
      L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/__init__.py
  27. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/25_HidingBehindTheTruth/__init__.py
  28. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-01.htm
  29. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-02.htm
  30. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-03.htm
  31. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-04.html
  32. 6 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-05.html
  33. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-06.html
  34. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-07.html
  35. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-08.html
  36. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-09.html
  37. 2 2
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-10.html
  38. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-11.html
  39. 2 2
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-12.html
  40. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-13.html
  41. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-14.html
  42. 5 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-15.html
  43. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-16.html
  44. 5 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-17.html
  45. 6 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-18.html
  46. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-19.html
  47. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-20.html
  48. 3 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-21.html
  49. 5 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-22.html
  50. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-01.html
  51. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-02.html
  52. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-03.html
  53. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-04.html
  54. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-05.html
  55. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-06.html
  56. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-07.html
  57. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-08.html
  58. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-09.html
  59. 5 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-10.html
  60. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-11.html
  61. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-12.html
  62. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-13.html
  63. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-14.html
  64. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-15.html
  65. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-16.html
  66. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-17.html
  67. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-18.html
  68. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-19.html
  69. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-20.html
  70. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-21.html
  71. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-22.html
  72. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31531-01.html
  73. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31531-02.html
  74. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31531-03.html
  75. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-01.html
  76. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-02.html
  77. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-03.html
  78. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-04.html
  79. 5 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-05.html
  80. 2 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-06.html
  81. 3 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-07.html
  82. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-07a.html
  83. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-08.html
  84. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-09.html
  85. 7 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-10.html
  86. 7 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-11.html
  87. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-12.html
  88. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-13.html
  89. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-14.html
  90. 5 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-15.html
  91. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-16.html
  92. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-17.html
  93. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-18.html
  94. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-19.html
  95. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-20.html
  96. 351 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/Q00024_InhabitantsOfTheForestOfTheDead.java
  97. 1 0
      L2J_DataPack_BETA/dist/sql/game/updates/20121013update.sql

+ 2 - 1
L2J_DataPack_BETA/dist/game/data/scripts.cfg

@@ -11,6 +11,7 @@ handlers/MasterHandler.java
 # AI Section
 
 # Npc
+ai/npc/Dorian/Dorian.java
 ai/npc/DragonVortex/DragonVortex.java
 ai/npc/ForgeOfTheGods/ForgeOfTheGods.java
 ai/npc/ForgeOfTheGods/Rooney.java
@@ -306,7 +307,7 @@ quests/Q00020_BringUpWithLove/Q00020_BringUpWithLove.java
 quests/21_HiddenTruth/__init__.py
 quests/22_TragedyInVonHellmannForest/__init__.py
 quests/23_LidiasHeart/__init__.py
-quests/24_InhabitantsOfTheForrestOfTheDead/__init__.py
+quests/Q00024_InhabitantsOfTheForestOfTheDead/Q00024_InhabitantsOfTheForestOfTheDead.java
 quests/25_HidingBehindTheTruth/__init__.py
 quests/Q00026_TiredOfWaiting/Q00026_TiredOfWaiting.java
 quests/Q00027_ChestCaughtWithABaitOfWind/Q00027_ChestCaughtWithABaitOfWind.java

+ 89 - 0
L2J_DataPack_BETA/dist/game/data/scripts/ai/npc/Dorian/Dorian.java

@@ -0,0 +1,89 @@
+/*
+ * 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 ai.npc.Dorian;
+
+import quests.Q00024_InhabitantsOfTheForestOfTheDead.Q00024_InhabitantsOfTheForestOfTheDead;
+
+import ai.npc.AbstractNpcAI;
+
+import com.l2jserver.gameserver.datatables.SpawnTable;
+import com.l2jserver.gameserver.model.L2Spawn;
+import com.l2jserver.gameserver.model.actor.L2Npc;
+import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
+import com.l2jserver.gameserver.model.quest.QuestState;
+import com.l2jserver.gameserver.network.NpcStringId;
+import com.l2jserver.gameserver.network.clientpackets.Say2;
+
+/**
+ * Dorian (Raid Fighter) - Quest AI
+ * @author malyelfik
+ */
+public class Dorian extends AbstractNpcAI
+{
+	private static final int ID = 25332;
+	
+	@Override
+	public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
+	{
+		if (event.equals("checkArea"))
+		{
+			if (npc.isDecayed())
+			{
+				cancelQuestTimers("checkArea");
+			}
+			else
+			{
+				for (L2PcInstance pl : npc.getKnownList().getKnownPlayersInRadius(300))
+				{
+					final QuestState qs = pl.getQuestState(Q00024_InhabitantsOfTheForestOfTheDead.class.getSimpleName());
+					if ((qs != null) && qs.isCond(3))
+					{
+						qs.takeItems(7153, -1);
+						qs.giveItems(7154, 1);
+						qs.setCond(4, true);
+						broadcastNpcSay(npc, Say2.NPC_ALL, NpcStringId.THAT_SIGN);
+					}
+				}
+			}
+		}
+		return null;
+	}
+	
+	@Override
+	public String onSpawn(L2Npc npc)
+	{
+		startQuestTimer("checkArea", 3000, npc, null, true);
+		return null;
+	}
+	
+	public Dorian(String name, String descr)
+	{
+		super(name, descr);
+		addSpawnId(ID);
+		
+		for (L2Spawn spawn : SpawnTable.getInstance().getSpawnTable())
+		{
+			if ((spawn != null) && (spawn.getNpcid() == ID))
+			{
+				startQuestTimer("checkArea", 3000, spawn.getLastSpawn(), null, true);
+			}
+		}
+	}
+	
+	public static void main(String[] args)
+	{
+		new Dorian(Dorian.class.getSimpleName(), "ai/npc");
+	}
+}

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/ai/npc/FortuneTelling/FortuneTelling.java

@@ -41,7 +41,7 @@ public class FortuneTelling extends AbstractNpcAI
 	public String onTalk(L2Npc npc, L2PcInstance player)
 	{
 		String htmltext = getNoQuestMsg(player);
-		if (player.getAdena() < 1000)
+		if (player.getAdena() < COST)
 		{
 			htmltext = "lowadena.htm";
 		}

+ 0 - 6
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31389-04.htm

@@ -1,6 +0,0 @@
-<html><body>Dorian:<br>
-Did you place the flower at the tombstone? Did you notice who was buried in that grave?<br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31389-05.htm">Nidrah</a><br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31389-06.htm">Lidia</a><br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31389-07.htm">Rose</a>
-</body></html>

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31389-13.htm

@@ -1,5 +0,0 @@
-<html><body>Dorian:<br>
-I can't remember last night at all, and I'm exhausted! Have you discovered anything?<br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31389-14.htm">"There's a vampire!"</a><br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31389-14.htm">"The villagers are changing into monsters!"</a>
-</body></html>

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31389-15.htm

@@ -1,5 +0,0 @@
-<html><body>Dorian:<br>
-Nooo!<br>
-It can't be!  Me? A vampire?  It's true that the lord of the manor I serve is an undead...  But that doesn't mean I'm a vampire! <br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31389-16.htm"> "Check out this crucifix!" </a>
-</body></html>

+ 0 - 6
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31389-16.htm

@@ -1,6 +0,0 @@
-<html><body>Dorian:<br>
-I gave you that!  ...I see. Now I remember...<br>
-Young master Einhart and...  and... you! You were standing there... holding the holy symbol! <br>
-Now I know...  why the lord gave me such an order! <br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31389-17.htm">"What order?" </a>
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31522-01.htm

@@ -1,4 +0,0 @@
-<html><body>Mysterious Wizard:<br>
-Long time no see. Things sure are quiet these days!<br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31522-02.htm">"What do you know about an odd doll?"</a>
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31522-02.htm

@@ -1,4 +0,0 @@
-<html><body>Mysterious Wizard:<br>
-What are you talking about?<br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31522-03.htm">"Look at this!"</a>
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31522-04.htm

@@ -1,4 +0,0 @@
-<html><body>Mysterious Wizard:<br>
-What did you hear?<br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31522-05.htm">"That it's related to Wizard Nidrah."</a>
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31522-05.htm

@@ -1,4 +0,0 @@
-<html><body>Mysterious Wizard:<br>
-Where did you hear the name Nidrah?<br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31522-06.htm">"From the person who told me to see you about the doll."</a>
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31522-08.htm

@@ -1,4 +0,0 @@
-<html><body>Mysterious Wizard:<br>
-You trust me now? Tell me about Nidrah!<br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31522-09.htm">"Allright, I'll tell you."</a>
-</body></html>

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31522-09.htm

@@ -1,5 +0,0 @@
-<html><body>Mysterous Wizard:<br>
-So tell me!<br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31522-10.htm">"You're gathering materials for the dark arts."</a><br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31522-12.htm">"You signed a contract."</a>
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31522-10.htm

@@ -1,4 +0,0 @@
-<html><body>Mysterious Wizard:<br>
-Where is your proof?<br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31522-11.htm">"Lady Lidia controls all the dead of this earth, a power nearly equal to a god's! One must be granted authority by her to have power over the dead in any capacity."</a>
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31522-11.htm

@@ -1,4 +0,0 @@
-<html><body>Mysterious Wizard:<br>
-So?<br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31522-15.htm">"Nobody is allowed here without permission. That you're here means you have power at least equal to the Lord of the Forest of the Dead."</a>
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31522-12.htm

@@ -1,4 +0,0 @@
-<html><body>Mysterious Wizard:<br>
-So I made a mistake. What's wrong with that?<br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31522-13.htm">"It's impossible to have a real nonaggression contract in this situation!"</a>
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31522-13.htm

@@ -1,4 +0,0 @@
-<html><body>Mysterious Wizard:<br>
-History is filled with such contracts. Do you know why?<br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31522-14.htm">"Nonaggression contracts are signed between two equal powers. It stays in effect only as long as it benefits them. If one party becomes weaker, the contract is nullified."</a>
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31522-14.htm

@@ -1,4 +0,0 @@
-<html><body>Mysterious Wizard:<br>
-Go on.<br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31522-15.htm">"The Lord of the Dead has absolute power here, why would she sign a contract with you? You must have power equal to hers, or else she reaps some benefit from not fighting you."</a>
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31532-05.htm

@@ -1,4 +0,0 @@
-<html><body>Maid of Lidia:<br>
-I don't know what it says, I wouldn't dream of reading the letter meant for my lord!<br>I was told you had something for me?<br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31532-06.htm">"Here's the hairpin."</a>
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31532-07.htm

@@ -1,4 +0,0 @@
-<html><body>Maid of Lidia:<br>
-What is it?<br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31532-08.htm">"What do you know about Neidrahu?"</a>
-</body></html>

+ 0 - 7
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31532-08.htm

@@ -1,7 +0,0 @@
-<html><body>Maid of Lidia:<br>
-Did I say Neidrahu?<br>
-What do you know of the name?<br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31532-09.htm">"It's a tree."</a><br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31532-10.htm">"It's a corpse."</a><br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31532-11.htm">"It's a Mystic."</a>
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31532-11.htm

@@ -1,4 +0,0 @@
-<html><body>Maid of Lidia:<br>
-What kind of Mystic was he?<br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31532-12.htm">"A Mystic of Dark Arts!"</a>
-</body></html>

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31532-12.htm

@@ -1,5 +0,0 @@
-<html><body>Maid of Lidia:<br>
-Oh! Only Lord Alfred and Lady Lidia know. Even Einhalder thinks he's an ordinary Mystic! How do you know of this?<br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31532-13.htm">"I read the diary."</a><br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31532-14.htm">"How do you know?"</a>
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31532-13.htm

@@ -1,4 +0,0 @@
-<html><body>Maid of Lidia:<br>
-Did you read of the contract between Neidrahu and my lady in the diary?<br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31532-15.htm">"Now you must tell me what you know!"</a>
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31532-14.htm

@@ -1,4 +0,0 @@
-<html><body>Maid of Lidia:<br>
-How do you know about Neidrahu?  Are you the last survivor? If so, you'll never get out of this forest alive...or dead!<br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31532-13.htm">"I read the diary."</a>
-</body></html>

+ 0 - 183
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/__init__.py

@@ -1,183 +0,0 @@
-#  Created by Kerberos
-import sys
-from com.l2jserver.gameserver import GameTimeController
-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
-from com.l2jserver.gameserver.network.serverpackets import NpcSay
-
-qn = "24_InhabitantsOfTheForrestOfTheDead"
-
-# Npcs
-Dorian = 31389
-Wizard = 31522
-Tombstone = 31531
-MaidOfLidia = 31532
-
-#Items
-Letter = 7065
-Hairpin = 7148
-Totem = 7151
-Flower = 7152
-SilverCross = 7153
-BrokenSilverCross = 7154
-SuspiciousTotem = 7156
-
-def FindTemplate (npcId) :
-    npcinstance = 0
-    for spawn in SpawnTable.getInstance().getSpawnTable().values():
-        if spawn :
-            if spawn.getNpcid() == npcId:
-                npcinstance=spawn.getLastSpawn()
-                break
-    return npcinstance
-
-def AutoChat(npc,text) :
-    chars = npc.getKnownList().getKnownPlayers().values().toArray()
-    if chars != None:
-       for pc in chars :
-          sm = NpcSay(npc.getObjectId(), 0, npc.getNpcId(), text)
-          pc.sendPacket(sm)
-
-class Quest (JQuest) : 
-
-    def __init__(self,id,name,descr):  
-       JQuest.__init__(self,id,name,descr)
-       self.questItemIds = [Flower,SilverCross,BrokenSilverCross,Letter,Hairpin,Totem]
-
-    def onAdvEvent (self,event,npc,player) :
-        st = player.getQuestState(qn)
-        if not st: return
-        htmltext = event
-        if event == "31389-02.htm":
-            st.giveItems(Flower,1)
-            st.set("cond","1")
-            st.playSound("ItemSound.quest_accept")
-            st.setState(State.STARTED)
-        elif event == "31389-11.htm":
-            st.set("cond","3")
-            st.playSound("ItemSound.quest_middle")
-            st.giveItems(SilverCross,1)
-        elif event == "31389-16.htm":
-            st.playSound("InterfaceSound.charstat_open_01")
-        elif event == "31389-17.htm":
-            st.takeItems(BrokenSilverCross,-1)
-            st.giveItems(Hairpin,1)
-            st.set("cond","5")
-        elif event == "31522-03.htm":
-            st.takeItems(Totem,-1)
-        elif event == "31522-07.htm":
-            st.set("cond","11")
-        elif event == "31522-19.htm":
-            st.giveItems(SuspiciousTotem,1)
-            st.addExpAndSp(242105,22529)
-            st.exitQuest(False)
-            st.playSound("ItemSound.quest_finish")
-        elif event == "31531-02.htm":
-            st.playSound("ItemSound.quest_middle")
-            st.set("cond","2")
-            st.takeItems(Flower,-1)
-        elif event == "31532-04.htm":
-            st.playSound("ItemSound.quest_middle")
-            st.giveItems(Letter,1)
-            st.set("cond","6")
-        elif event == "31532-06.htm":
-            st.takeItems(Hairpin,-1)
-            st.takeItems(Letter,-1)
-        elif event == "31532-16.htm":
-            st.playSound("ItemSound.quest_middle")
-            st.set("cond","9")
-        return htmltext
-
-    def onTalk (self,npc,player):
-        htmltext = Quest.getNoQuestMsg(player)
-        st = player.getQuestState(qn)
-        if not st : return htmltext
-        npcId = npc.getNpcId()
-        state = st.getState()
-        if state == State.COMPLETED :
-            if npcId == Wizard :
-                htmltext = "31522-20.htm"
-            else:
-                htmltext = Quest.getAlreadyCompletedMsg(player)
-        cond = st.getInt("cond")
-        if npcId == Dorian :
-            if state == State.CREATED :
-                st2 = st.getPlayer().getQuestState("23_LidiasHeart")
-                if st2 :
-                    if st2.getState() == State.COMPLETED and player.getLevel() >= 65 :
-                        htmltext = "31389-01.htm"
-                    else:
-                        htmltext = "31389-00.htm"
-                else:
-                    htmltext = "31389-00.htm"
-            elif cond == 1 :
-                htmltext = "31389-03.htm"
-            elif cond == 2 :
-                htmltext = "31389-04.htm"
-            elif cond == 3 :
-                htmltext = "31389-12.htm"
-            elif cond == 4 :
-                htmltext = "31389-13.htm"
-            elif cond == 5 :
-                htmltext = "31389-18.htm"
-        elif npcId == Tombstone :
-            if cond == 1 :
-                st.playSound("AmdSound.d_wind_loot_02")
-                htmltext = "31531-01.htm"
-            elif cond == 2 :
-                htmltext = "31531-03.htm"
-        elif npcId == MaidOfLidia :
-            if cond == 5 :
-                htmltext = "31532-01.htm"
-            elif cond == 6 :
-                if st.getQuestItemsCount(Letter) and st.getQuestItemsCount(Hairpin) :
-                    htmltext = "31532-05.htm"
-                else:
-                    htmltext = "31532-07.htm"
-            elif cond == 9 :
-                htmltext = "31532-16.htm"
-        elif npcId == Wizard :
-            if cond == 10 :
-                htmltext = "31522-01.htm"
-            elif cond == 11 :
-                htmltext = "31522-08.htm"
-        return htmltext
-
-    def onKill(self,npc,player,isPet):
-        st = player.getQuestState(qn)
-        if not st : return 
-        if st.getState() != State.STARTED : return 
-        npcId = npc.getNpcId()
-        if not st.getQuestItemsCount(Totem) and st.getInt("cond") == 9:
-            if npcId in [21557,21558,21560,21563,21564,21565,21566,21567] and self.getRandom(100) <=30:
-                st.giveItems(Totem,1)
-                st.set("cond","10")
-                st.playSound("ItemSound.quest_middle")
-        return
-
-    def onAggroRangeEnter(self, npc, player, isPet) : 
-       if npc.getNpcId() == 25332:
-         if isPet: npc.getAggroList().remove(player.getPet())
-         else :
-          npc.getAggroList().remove(player)
-          st = player.getQuestState(qn) 
-          if st and st.getQuestItemsCount(SilverCross):
-             st.takeItems(SilverCross,-1)
-             st.giveItems(BrokenSilverCross,1)
-             st.set("cond","4")
-             AutoChat(npc,"That sign!")
-       return
-
-QUEST     = Quest(24,qn,"Inhabitants Of The Forrest Of The Dead")
-
-QUEST.addStartNpc(Dorian)
-
-QUEST.addTalkId(Dorian)
-QUEST.addTalkId(Tombstone)
-QUEST.addTalkId(MaidOfLidia)
-QUEST.addTalkId(Wizard)
-QUEST.addAggroRangeEnterId(25332)
-
-for mob in [21557,21558,21560,21563,21564,21565,21566,21567]:
-    QUEST.addKillId(mob)

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/25_HidingBehindTheTruth/__init__.py

@@ -135,7 +135,7 @@ class Quest (JQuest) :
             htmltext = Quest.getAlreadyCompletedMsg(player)
         elif id == State.CREATED:
             if npcId == Benedict:
-                st2 = st.getPlayer().getQuestState("24_InhabitantsOfTheForrestOfTheDead")
+                st2 = st.getPlayer().getQuestState("Q00024_InhabitantsOfTheForestOfTheDead")
                 if st2 and st2.getState() == State.COMPLETED and player.getLevel() >= 66 :
                     htmltext = "31349-01.htm"
                 else :

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31389-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-01.htm

@@ -1,5 +1,5 @@
 <html><body>Dorian:<br>
 Are you the one who recovered the Silver Spear? Your reputation precedes you! Actually, I have a problem you may be able to help me with!<br>
 Would you be willing to help me?<br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31389-02.htm">"I'll do it!"</a>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31389-02.htm">"I'll do it!"</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31389-00.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-02.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31389-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-03.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31389-03.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-04.html


+ 6 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-05.html

@@ -0,0 +1,6 @@
+<html><body>Dorian:<br>
+Did you place the flower at the tombstone? Did you notice who was buried in that grave?<br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31389-06.html">Nidrah</a><br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31389-07.html">Lidia</a><br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31389-08.html">Rose</a>
+</body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31389-05.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-06.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31389-06.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-07.html


+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-08.html

@@ -0,0 +1,4 @@
+<html><body>Dorian:<br>
+Yes! Rose rests there... She was the maid Mr. Alfred, my former master, assigned to his daughter. They were about the same age.<br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31389-10.html">"Who is Alfred's daughter?" </a>
+</body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31389-07.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-09.html

@@ -1,4 +1,4 @@
 <html><body>Dorian:<br>
 Yes! Rose rests there... She was the maid Mr. Alfred, my former master, assigned to his daughter. They were about the same age.<br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31389-08.htm">"Who is Alfred's daughter?"</a>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31389-10.html">"Who is Alfred's daughter?"</a>
 </body></html>

+ 2 - 2
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31389-08.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-10.html

@@ -1,4 +1,4 @@
 <html><body>Dorian:<br>
-Why, she's Lady Lidia, current lord of this manor! She thought highly of Rose, and didn't want her coming back as an undead! Lady Lidia graciously allowed Rose to rest in peace. That's better than most others get around here! <br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31389-09.htm">"How did Rose earn such a privilege?"</a>
+Why, she's Lady Lidia, current lord of this manor! She thought highly of Rose, and didn't want her coming back as an undead! Lady Lidia graciously allowed Rose to rest in peace. That's better than most others get around here!<br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31389-11.html">"How did Rose earn such a privilege?"</a>
 </body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31389-09.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-11.html

@@ -1,5 +1,5 @@
 <html><body>Dorian:<br>
 I don't know, exactly. All I know is, my fiance was with Lady Lidia, and died protecting her!<br>
 Anyway, thank you for taking the flower to Rose's grave.<br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31389-10.htm">"It's the least I could do."</a>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31389-12.html">"It's the least I could do."</a>
 </body></html>

+ 2 - 2
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31389-10.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-12.html

@@ -1,6 +1,6 @@
 <html><body>Dorian:<br>
 Oh, don't be so modest! You remembered Rose's name! And you asked such respectful questions!<br>
-You're obviously a wonderful person!<br>Do you suppose you could do something else for me? <br>
+You're obviously a wonderful person!<br>Do you suppose you could do something else for me?<br>
 Recently my nights have been dreamless, and I've woken up with wounds that I don't remember getting! Something strange is going on in this village! Will you investigate?<br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31389-11.htm">"Yes, I will."</a>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31389-13.html">"Yes, I will."</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31389-11.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-13.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31389-12.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-14.html


+ 5 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-15.html

@@ -0,0 +1,5 @@
+<html><body>Dorian:<br>
+I can't remember last night at all, and I'm exhausted! Have you discovered anything?<br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31389-16.html">"There's a vampire!"</a><br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31389-16.html">"The villagers are changing into monsters!"</a>
+</body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31389-14.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-16.html

@@ -1,4 +1,4 @@
 <html><body>Dorian:<br>
 A vampire, eh?! Hmm... I see. Is the lord of the manor coming down here making the rounds? Hmm...Why am I so tired then?<br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31389-15.htm">"I'll tell you why! Because you're the vampire!"</a>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31389-17.html">"I'll tell you why! Because you're the vampire!"</a>
 </body></html>

+ 5 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-17.html

@@ -0,0 +1,5 @@
+<html><body>Dorian:<br>
+Nooo!<br>
+It can't be! Me? A vampire? It's true that the lord of the manor I serve is an undead... But that doesn't mean I'm a vampire!<br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31389-18.html">"Check out this crucifix!"</a>
+</body></html>

+ 6 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-18.html

@@ -0,0 +1,6 @@
+<html><body>Dorian:<br>
+I gave you that! ...I see. Now I remember...<br>
+Young master Einhart and... and... you! You were standing there... holding the holy symbol!<br>
+Now I know... why the lord gave me such an order!<br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31389-19.html">"What order?" </a>
+</body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31389-17.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-19.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31389-18.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-20.html


+ 3 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-21.html

@@ -0,0 +1,3 @@
+<html><body>Dorian:<br>
+Oh, come in! Say, you must've dropped this the last time you were here! It looks very valuable! You should keep it in a safe place.
+</body></html>

+ 5 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31389-22.html

@@ -0,0 +1,5 @@
+<html><body>Dorian:<br>
+Did you see the maid of the lord? I have no memories after dark, so I have no idea what she's like!<br>
+I've heard that she's quite beautiful! I was even told that she resembles my fiance!<br>
+At least she's... alive! What a privilege, even if it's only during the day! Oh, well, I shouldn't be talking about this...
+</body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-01.html

@@ -0,0 +1,4 @@
+<html><body>Mysterious Wizard:<br>
+Long time no see. Things sure are quiet these days!<br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31522-02.html">"What do you know about an odd doll?"</a>
+</body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-02.html

@@ -0,0 +1,4 @@
+<html><body>Mysterious Wizard:<br>
+What are you talking about?<br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31522-03.html">"Look at this!"</a>
+</body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31522-03.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-03.html

@@ -1,4 +1,4 @@
 <html><body>Mysterious Wizard:<br>
 Oh, that. It's an amulet to help my puppets collect bone pieces in the forest without getting hurt.<br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31522-04.htm">"That's not what I heard."</a>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31522-05.html">"That's not what I heard."</a>
 </body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-04.html

@@ -0,0 +1,4 @@
+<html><body>Mysterious Wizard:<br>
+It may look a little odd, but it's just an amulet.<br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31522-05.html">"That's not what I heard."</a>
+</body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-05.html

@@ -0,0 +1,4 @@
+<html><body>Mysterious Wizard:<br>
+What did you hear?<br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31522-06.html">"That it's related to Wizard Nidrah."</a>
+</body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-06.html

@@ -0,0 +1,4 @@
+<html><body>Mysterious Wizard:<br>
+Where did you hear the name Nidrah?<br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31522-07.html">"From the person who told me to see you about the doll."<br>
+</body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31522-06.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-07.html

@@ -2,5 +2,5 @@
 So, you're under the protection of Lady Lidia.<br>
 We've signed a mutual contract not to harm each other.<br>
 This doll was made by Nidrah, and tells the Lord of the Forest of the Dead not to attack its bearer.<br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31522-07.htm">"How did you get it?"</a>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31522-08.html">"How did you get it?"</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31522-07.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-08.html


+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-09.html

@@ -0,0 +1,4 @@
+<html><body>Mysterious Wizard:<br>
+You trust me now? Tell me about Nidrah!<br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31522-10.html">"Allright, I'll tell you."</a>
+</body></html>

+ 5 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-10.html

@@ -0,0 +1,5 @@
+<html><body>Mysterous Wizard:<br>
+So tell me!<br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31522-11.html">"You're gathering materials for the dark arts."<br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31522-13.html">"You signed a contract."</a>
+</body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-11.html

@@ -0,0 +1,4 @@
+<html><body>Mysterious Wizard:<br>
+Where is your proof?<br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31522-12.html">"Lady Lidia controls all the dead of this earth, a power nearly equal to a god's! One must be granted authority by her to have power over the dead in any capacity."</a>
+</body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-12.html

@@ -0,0 +1,4 @@
+<html><body>Mysterious Wizard:<br>
+So?<br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31522-16.html">"Nobody is allowed here without permission. That you're here means you have power at least equal to the Lord of the Forest of the Dead."</a>
+</body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-13.html

@@ -0,0 +1,4 @@
+<html><body>Mysterious Wizard:<br>
+So I made a mistake. What's wrong with that?<br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31522-14.html">"It's impossible to have a real nonaggression contract in this situation!"</a>
+</body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-14.html

@@ -0,0 +1,4 @@
+<html><body>Mysterious Wizard:<br>
+History is filled with such contracts. Do you know why?<br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31522-15.html">"Nonaggression contracts are signed between two equal powers. It stays in effect only as long as it benefits them. If one party becomes weaker, the contract is nullified."</a>
+</body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-15.html

@@ -0,0 +1,4 @@
+<html><body>Mysterious Wizard:<br>
+Go on.<br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31522-16.html">"The Lord of the Dead has absolute power here, why would she sign a contract with you? You must have power equal to hers, or else she reaps some benefit from not fighting you."</a>
+</body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31522-15.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-16.html

@@ -1,4 +1,4 @@
 <html><body>Mysterious Wizard:<br>
 You think I have something to do with Nidrah?<br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31522-16.htm">"Yes."</a>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31522-17.html">"Yes."</a>
 </body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31522-16.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-17.html

@@ -1,4 +1,4 @@
 <html><body>Mysterious Wizard:<br>
 Let's say for arguments sake that I'm Nidrah. What difference would that make?<br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31522-17.htm">"Here's the missing page from the diary."</a>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31522-19.html">"Here's the missing page from the diary."</a>
 </body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-18.html

@@ -0,0 +1,4 @@
+<html><body>Mysterious Wizard:<br>
+Let's say for arguments sake that I'm Nidrah. What difference would that make?<br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31522-19.html">"Here's the missing page from the diary."</a>
+</body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31522-17.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-19.html

@@ -1,5 +1,5 @@
 <html><body>Mysterious Wizard:<br>
 You found the diary! You're tracking Nidrah.<br>
 Going further may be difficult, you're following a dangerous man. If you insist, you'll need the key.<br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31522-18.htm">"Key?"</a>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31522-20.html">"Key?"</a>
 </body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31522-18.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-20.html

@@ -1,4 +1,4 @@
 <html><body>Mysterious Wizard:<br>
 The Priest of the Rune Township has the key. I'll give you the doll, it represents the person who carried the real authority in the Hellmann Forest and Rune Territory, even over Lidia.<br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31522-19.htm">"Who is it?"</a>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31522-21.html">"Who is it?"</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31522-19.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-21.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31522-20.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31522-22.html


+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31531-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31531-01.html

@@ -1,4 +1,4 @@
 <html><body>Tombstone:<br>
 <font color="LEVEL">Here lies Rose, a faithful, loving servant. May she rest in peace.</font><br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31531-02.htm">Place flowers on the grave.</a>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31531-02.html">Place flowers on the grave.</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31531-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31531-02.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31531-03.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31531-03.html


+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31532-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-01.html

@@ -1,4 +1,4 @@
 <html><body>Maid of Lidia:<br>
 My lady thanks you for recovering the Silver Spear. It's a family treasure.<br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31532-02.htm">"I was doing my duty."</a>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31532-02.html">"I was doing my duty."</a>
 </body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31532-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-02.html

@@ -1,4 +1,4 @@
 <html><body>Maid of Lidia:<br>
 She knows how you helped her ancestors rest in peace. My lady knows all that happens in her forest!<br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31532-03.htm">"Everything?"</a>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31532-03.html">"Everything?"</a>
 </body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31532-03.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-03.html

@@ -1,4 +1,4 @@
 <html><body>Maid of Lidia:<br>
 My lady knows everything about your journeys here. She hopes you'll uncover all the details of what has transpired.<br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31532-04.htm">"Please continue."</a>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31532-04.html">"Please continue."</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31532-04.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-04.html


+ 5 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-05.html

@@ -0,0 +1,5 @@
+<html><body>Maid of Lidia:<br>
+I don't know what it says, I wouldn't dream of reading the letter meant for my lord!<br>
+I was told you had something for me?<br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31532-07.html">"Here's the hairpin."</a>
+</body></html>

+ 2 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31532-06.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-06.html

@@ -1,4 +1,5 @@
 <html><body>Maid of Lidia:<br>
 This is Neidrahu's work, a hairpin of Moon Face Flower. How beautiful!<br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31532-07.htm">"Wait!"</a>
+I must go now.<br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31532-09.html">"Wait!"</a>
 </body></html>

+ 3 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-07.html

@@ -0,0 +1,3 @@
+<html><body>Maid of Lidia:<br>
+Oh no! Could you have dropped it in the village? Take the letter with you and ask around for it. Meet me again tomorrow night.
+</body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-07a.html

@@ -0,0 +1,4 @@
+<html><body>Maid of Lidia:<br>
+Do you have something for me?<br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31532-07.html">"Here's the hairpin."</a>
+</body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-08.html

@@ -0,0 +1,4 @@
+<html><body>Maid of Lidia:<br>
+What is it?<br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31532-10.html">"What do you know about Neidrahu?"</a>
+</body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-09.html

@@ -0,0 +1,4 @@
+<html><body>Maid of Lidia:<br>
+What is it?<br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31532-10.html">"Tell me everything you know about Neidrahu!"</a>
+</body></html>

+ 7 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-10.html

@@ -0,0 +1,7 @@
+<html><body>Maid of Lidia:<br>
+Did I say Neidrahu?<br>
+What do you know of the name?<br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31532-12.html">"It's a tree."</a><br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31532-13.html">"It's a corpse."</a><br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31532-14.html">"It's a Mystic."</a>
+</body></html>

+ 7 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-11.html

@@ -0,0 +1,7 @@
+<html><body>Maid of Lidia:<br>
+Did I say Neidrahu?<br>
+What do you know of the name?<br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31532-12.html">"It's a tree."</a><br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31532-13.html">"It's a corpse."</a><br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31532-14.html">"It's a Mystic."</a>
+</body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31532-09.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-12.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31532-10.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-13.html


+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-14.html

@@ -0,0 +1,4 @@
+<html><body>Maid of Lidia:<br>
+What kind of Mystic was he?<br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31532-15.html">"A Mystic of Dark Arts!"</a>
+</body></html>

+ 5 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-15.html

@@ -0,0 +1,5 @@
+<html><body>Maid of Lidia:<br>
+Oh! Only Lord Alfred and Lady Lidia know. Even Einhalder thinks he's an ordinary Mystic! How do you know of this?<br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31532-16.html">"I read the diary."</a><br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31532-17.html">"How do you know?"</a>
+</body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-16.html

@@ -0,0 +1,4 @@
+<html><body>Maid of Lidia:<br>
+Did you read of the contract between Neidrahu and my lady in the diary?<br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31532-18.html">"Now you must tell me what you know!"</a>
+</body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-17.html

@@ -0,0 +1,4 @@
+<html><body>Maid of Lidia:<br>
+How do you know about Neidrahu? Are you the last survivor? If so, you'll never get out of this forest alive...or dead!<br>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31532-16.html">"I read the diary."</a>
+</body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31532-15.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-18.html

@@ -1,5 +1,5 @@
 <html><body>Maid of Lidia:<br>
 I was there when the contract was signed, but the memory of the undead is not very clear.<br>
 If you find out what's on the missing page, when the contract was signed, I'll tell you more.<br>
-<a action="bypass -h Quest 24_InhabitantsOfTheForrestOfTheDead 31532-16.htm">"I've already come this far."</a>
+<a action="bypass -h Quest Q00024_InhabitantsOfTheForestOfTheDead 31532-19.html">"I've already come this far."</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/24_InhabitantsOfTheForrestOfTheDead/31532-16.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-19.html


+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/31532-20.html

@@ -0,0 +1,4 @@
+<html><body>Maid of Lidia:<br>
+This I can tell you.<br>
+The black magi roam freely during the day, but are fewer at night. Some carry odd looking dolls. Take one to their master, I'm sure he can tell you more!
+</body></html>

+ 351 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00024_InhabitantsOfTheForestOfTheDead/Q00024_InhabitantsOfTheForestOfTheDead.java

@@ -0,0 +1,351 @@
+/*
+ * 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.Q00024_InhabitantsOfTheForestOfTheDead;
+
+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;
+
+/**
+ * Inhabitants of the Forest of the Dead (24)
+ * @author malyelfik
+ */
+public class Q00024_InhabitantsOfTheForestOfTheDead extends Quest
+{
+	// NPCs
+	private static final int DORIAN = 31389;
+	private static final int MYSTERIOUS_WIZARD = 31522;
+	private static final int TOMBSTONE = 31531;
+	private static final int LIDIA_MAID = 31532;
+	
+	// Items
+	private static final int LIDIA_LETTER = 7065;
+	private static final int LIDIA_HAIRPIN = 7148;
+	private static final int SUSPICIOUS_TOTEM_DOLL = 7151;
+	private static final int FLOWER_BOUQUET = 7152;
+	private static final int SILVER_CROSS_OF_EINHASAD = 7153;
+	private static final int BROKEN_SILVER_CROSS_OF_EINHASAD = 7154;
+	private static final int TOTEM = 7156;
+	
+	// Monsters @formatter:off
+	private static final int[] MOBS = {21557, 21558, 21560, 21563, 21564, 21565, 21566, 21567};
+	// @formatter:on
+	
+	@Override
+	public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
+	{
+		final QuestState st = player.getQuestState(getName());
+		
+		if (st == null)
+		{
+			return null;
+		}
+		
+		String htmltext = event;
+		switch (event)
+		{
+		// Dorian
+			case "31389-02.htm":
+				final QuestState qs = player.getQuestState("23_LidiasHeart");
+				if ((player.getLevel() > 65) && (qs != null) && qs.isCompleted())
+				{
+					st.startQuest();
+					st.giveItems(FLOWER_BOUQUET, 1);
+					return "31389-03.htm";
+				}
+				break;
+			case "31389-08.html":
+				st.set("var", "1");
+				break;
+			case "31389-13.html":
+				st.giveItems(SILVER_CROSS_OF_EINHASAD, 1);
+				st.setCond(3, true);
+				st.unset("var");
+				break;
+			case "31389-18.html":
+				st.playSound(QuestSound.INTERFACESOUND_CHARSTAT_OPEN_01);
+				break;
+			case "31389-19.html":
+				if (!st.hasQuestItems(BROKEN_SILVER_CROSS_OF_EINHASAD))
+				{
+					return getNoQuestMsg(player);
+				}
+				st.takeItems(BROKEN_SILVER_CROSS_OF_EINHASAD, -1);
+				st.setCond(5, true);
+				break;
+			case "31389-06.html":
+			case "31389-07.html":
+			case "31389-10.html":
+			case "31389-11.html":
+			case "31389-12.html":
+			case "31389-16.html":
+			case "31389-17.html":
+				break;
+			// Lidia Maid
+			case "31532-04.html":
+				st.giveItems(LIDIA_LETTER, 1);
+				st.setCond(6, true);
+				break;
+			case "31532-07.html":
+				if (st.isCond(8))
+				{
+					if (!hasQuestItems(player, LIDIA_HAIRPIN, LIDIA_LETTER))
+					{
+						return getNoQuestMsg(player);
+					}
+					st.takeItems(LIDIA_HAIRPIN, -1);
+					st.takeItems(LIDIA_LETTER, -1);
+					st.set("var", "1");
+					htmltext = "31532-06.html";
+				}
+				else
+				{
+					if (st.isCond(6))
+					{
+						st.setCond(7, true);
+					}
+				}
+				break;
+			case "31532-10.html":
+				st.set("var", "2");
+				break;
+			case "31532-14.html":
+				st.set("var", "3");
+				break;
+			case "31532-19.html":
+				st.unset("var");
+				st.setCond(9, true);
+				break;
+			case "31532-02.html":
+			case "31532-03.html":
+			case "31532-09.html":
+			case "31532-12.html":
+			case "31532-13.html":
+			case "31532-15.html":
+			case "31532-16.html":
+			case "31532-17.html":
+			case "31532-18.html":
+				break;
+			// Mysterious Wizard
+			case "31522-03.html":
+				if (!st.hasQuestItems(SUSPICIOUS_TOTEM_DOLL))
+				{
+					return getNoQuestMsg(player);
+				}
+				st.takeItems(SUSPICIOUS_TOTEM_DOLL, 1);
+				st.set("var", "1");
+				break;
+			case "31522-08.html":
+				st.unset("var");
+				st.setCond(11, true);
+				break;
+			case "31522-17.html":
+				st.set("var", "1");
+				break;
+			case "31522-21.html":
+				st.giveItems(TOTEM, 1);
+				st.addExpAndSp(242105, 22529); // GoD: Harmony: 6191140 exp and 6118650 sp
+				st.exitQuest(false, true);
+				break;
+			case "31522-02.html":
+			case "31522-05.html":
+			case "31522-06.html":
+			case "31522-07.html":
+			case "31522-10.html":
+			case "31522-11.html":
+			case "31522-12.html":
+			case "31522-13.html":
+			case "31522-14.html":
+			case "31522-15.html":
+			case "31522-16.html":
+			case "31522-19.html":
+			case "31522-20.html":
+				break;
+			// Tombstone
+			case "31531-02.html":
+				if (!st.hasQuestItems(FLOWER_BOUQUET))
+				{
+					return getNoQuestMsg(player);
+				}
+				st.takeItems(FLOWER_BOUQUET, -1);
+				st.setCond(2, true);
+				break;
+			default:
+				htmltext = null;
+				break;
+		}
+		return htmltext;
+	}
+	
+	@Override
+	public String onTalk(L2Npc npc, L2PcInstance player)
+	{
+		String htmltext = getNoQuestMsg(player);
+		final QuestState st = player.getQuestState(getName());
+		
+		if (st == null)
+		{
+			return htmltext;
+		}
+		
+		switch (npc.getNpcId())
+		{
+			case DORIAN:
+				switch (st.getState())
+				{
+					case State.CREATED:
+						htmltext = "31389-01.htm";
+						break;
+					case State.STARTED:
+						switch (st.getCond())
+						{
+							case 1:
+								htmltext = "31389-04.html";
+								break;
+							case 2:
+								htmltext = (st.getInt("var") == 0) ? "31389-05.html" : "31389-09.html";
+								break;
+							case 3:
+								htmltext = "31389-14.html";
+								break;
+							case 4:
+								htmltext = "31389-15.html";
+								break;
+							case 5:
+								htmltext = "31389-20.html";
+								break;
+							case 6:
+							case 8:
+								htmltext = "31389-22.html";
+								break;
+							case 7:
+								st.giveItems(LIDIA_HAIRPIN, 1);
+								st.setCond(8, true);
+								htmltext = "31389-21.html";
+								break;
+						}
+						break;
+					case State.COMPLETED:
+						htmltext = getAlreadyCompletedMsg(player);
+						break;
+				}
+				break;
+			case MYSTERIOUS_WIZARD:
+				if (st.isStarted())
+				{
+					if (st.isCond(10))
+					{
+						htmltext = (st.getInt("var") == 0) ? "31522-01.html" : "31522-04.html";
+					}
+					else if (st.isCond(11))
+					{
+						htmltext = (st.getInt("var") == 0) ? "31522-09.html" : "31522-18.html";
+					}
+				}
+				else if (st.isCompleted())
+				{
+					final QuestState qs = player.getQuestState("25_HidingBehindTheTruth");
+					if (!((qs != null) && (qs.isStarted() || qs.isStarted())))
+					{
+						htmltext = "31522-22.html";
+					}
+				}
+				break;
+			case TOMBSTONE:
+				if (st.isStarted())
+				{
+					if (st.isCond(1))
+					{
+						st.playSound(QuestSound.AMDSOUND_D_WIND_LOOT_02);
+						htmltext = "31531-01.html";
+					}
+					else if (st.isCond(2))
+					{
+						htmltext = "31531-03.html";
+					}
+				}
+				break;
+			case LIDIA_MAID:
+				if (st.isStarted())
+				{
+					switch (st.getCond())
+					{
+						case 5:
+							htmltext = "31532-01.html";
+							break;
+						case 6:
+							htmltext = "31532-05.html";
+							break;
+						case 7:
+							htmltext = "31532-07a.html";
+							break;
+						case 8:
+							switch (st.getInt("var"))
+							{
+								case 0:
+									htmltext = "31532-07a.html";
+									break;
+								case 1:
+									htmltext = "31532-08.html";
+									break;
+								case 2:
+									htmltext = "31532-11.html";
+									break;
+								case 3:
+									htmltext = "31532-15.html";
+									break;
+							}
+							break;
+						case 9:
+						case 10:
+							htmltext = "31532-20.html";
+							break;
+					}
+				}
+				break;
+		}
+		return htmltext;
+	}
+	
+	@Override
+	public String onKill(L2Npc npc, L2PcInstance player, boolean isPet)
+	{
+		final QuestState st = player.getQuestState(getName());
+		
+		if ((st != null) && st.isCond(9) && (getRandom(100) < 10))
+		{
+			st.giveItems(SUSPICIOUS_TOTEM_DOLL, 1);
+			st.setCond(10, true);
+		}
+		return super.onKill(npc, player, isPet);
+	}
+	
+	public Q00024_InhabitantsOfTheForestOfTheDead(int questId, String name, String descr)
+	{
+		super(questId, name, descr);
+		addStartNpc(DORIAN);
+		addTalkId(DORIAN, MYSTERIOUS_WIZARD, TOMBSTONE, LIDIA_MAID);
+		addKillId(MOBS);
+		
+		registerQuestItems(LIDIA_LETTER, LIDIA_HAIRPIN, SUSPICIOUS_TOTEM_DOLL, FLOWER_BOUQUET, SILVER_CROSS_OF_EINHASAD, BROKEN_SILVER_CROSS_OF_EINHASAD);
+	}
+	
+	public static void main(String[] args)
+	{
+		new Q00024_InhabitantsOfTheForestOfTheDead(24, Q00024_InhabitantsOfTheForestOfTheDead.class.getSimpleName(), "Inhabitants of the Forest of the Dead");
+	}
+}

+ 1 - 0
L2J_DataPack_BETA/dist/sql/game/updates/20121013update.sql

@@ -0,0 +1 @@
+UPDATE character_quests SET name = 'Q00024_InhabitantsOfTheForestOfTheDead' WHERE name = '24_InhabitantsOfTheForrestOfTheDead';