瀏覽代碼

BETA: Quests in Java:
* Status of the Beacon Tower (113)
* Resurrection of an Old Manager (114)
* Only What Remains (310)
* Oath (464)
* Birthday Party Song (432)
* Watching Eyes (601)
* Shadow of Light (602)

Review by:
* !UnAfraid
* jurchiks

malyelfik 12 年之前
父節點
當前提交
9989802851
共有 100 個文件被更改,包括 332 次插入1060 次删除
  1. 5 0
      L2J_DataPack_BETA/dist/game/data/html/default/32596.htm
  2. 10 0
      L2J_DataPack_BETA/dist/game/data/html/item/15537.htm
  3. 5 0
      L2J_DataPack_BETA/dist/game/data/html/item/15538.htm
  4. 4 0
      L2J_DataPack_BETA/dist/game/data/html/item/15539.htm
  5. 8 6
      L2J_DataPack_BETA/dist/game/data/scripts.cfg
  6. 85 0
      L2J_DataPack_BETA/dist/game/data/scripts/ai/npc/SuspiciousStones.java
  7. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/113_StatusOfTheBeaconTower/31979-00.htm
  8. 0 68
      L2J_DataPack_BETA/dist/game/data/scripts/quests/113_StatusOfTheBeaconTower/__init__.py
  9. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-04.htm
  10. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-05.htm
  11. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-12.htm
  12. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-20.htm
  13. 0 6
      L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-22.htm
  14. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-24.htm
  15. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-27.htm
  16. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32046-03.htm
  17. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32046-04.htm
  18. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32046-05.htm
  19. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-01.htm
  20. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-03.htm
  21. 0 6
      L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-04.htm
  22. 0 3
      L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-06.htm
  23. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-07.htm
  24. 0 3
      L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-08.htm
  25. 0 3
      L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-09a.htm
  26. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-10a.htm
  27. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-11.htm
  28. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-12.htm
  29. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-12a.htm
  30. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-13a.htm
  31. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-14.htm
  32. 0 7
      L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-15.htm
  33. 0 6
      L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-16a.htm
  34. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-21.htm
  35. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-22.htm
  36. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-27.htm
  37. 0 9
      L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-30.htm
  38. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-33.htm
  39. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-35.htm
  40. 0 6
      L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-37.htm
  41. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32050-01.htm
  42. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32050-02.htm
  43. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32050-03.htm
  44. 0 377
      L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/__init__.py
  45. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/120_PavelsResearch/__init__.py
  46. 0 6
      L2J_DataPack_BETA/dist/game/data/scripts/quests/310_OnlyWhatRemains/32640-08.htm
  47. 0 9
      L2J_DataPack_BETA/dist/game/data/scripts/quests/310_OnlyWhatRemains/32640-10.htm
  48. 0 92
      L2J_DataPack_BETA/dist/game/data/scripts/quests/310_OnlyWhatRemains/__init__.py
  49. 0 3
      L2J_DataPack_BETA/dist/game/data/scripts/quests/432_BirthdayPartySong/31043-02.htm
  50. 0 2
      L2J_DataPack_BETA/dist/game/data/scripts/quests/432_BirthdayPartySong/31043-03.htm
  51. 0 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/432_BirthdayPartySong/31043-04.htm
  52. 0 79
      L2J_DataPack_BETA/dist/game/data/scripts/quests/432_BirthdayPartySong/__init__.py
  53. 0 3
      L2J_DataPack_BETA/dist/game/data/scripts/quests/601_WatchingEyes/31683-1.htm
  54. 0 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/601_WatchingEyes/31683-3.htm
  55. 0 101
      L2J_DataPack_BETA/dist/game/data/scripts/quests/601_WatchingEyes/__init__.py
  56. 0 101
      L2J_DataPack_BETA/dist/game/data/scripts/quests/602_ShadowOfLight/__init__.py
  57. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00113_StatusOfTheBeaconTower/31979-00.htm
  58. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00113_StatusOfTheBeaconTower/31979-01.htm
  59. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00113_StatusOfTheBeaconTower/31979-02.htm
  60. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00113_StatusOfTheBeaconTower/31979-03.html
  61. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00113_StatusOfTheBeaconTower/32016-01.html
  62. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00113_StatusOfTheBeaconTower/32016-02.html
  63. 125 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00113_StatusOfTheBeaconTower/Q00113_StatusOfTheBeaconTower.java
  64. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/31961-01.html
  65. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/31961-02.html
  66. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/31961-03.html
  67. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-01.htm
  68. 3 3
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-02.htm
  69. 6 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-03.htm
  70. 5 5
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-04.htm
  71. 4 4
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-05.html
  72. 5 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-06.html
  73. 5 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-07.html
  74. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-08.html
  75. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-09.html
  76. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-10.html
  77. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-11.html
  78. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-12.html
  79. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-13.html
  80. 2 2
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-14.html
  81. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-15.html
  82. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-16.html
  83. 5 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-17.html
  84. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-18.html
  85. 2 2
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-19.html
  86. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-20.html
  87. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-21.html
  88. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-22.html
  89. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-23.html
  90. 6 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-24.html
  91. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-25.html
  92. 5 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-26.html
  93. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-27.html
  94. 6 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-28.html
  95. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-29.html
  96. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-30.html
  97. 0 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-31.html
  98. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-32.html
  99. 4 0
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-33.html
  100. 1 1
      L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-34.html

+ 5 - 0
L2J_DataPack_BETA/dist/game/data/html/default/32596.htm

@@ -0,0 +1,5 @@
+<html><body>Library of Sages Director Sophia:<br>
+If you're interested in learning, you've come to the right place. The Library of Sages houses texts from all over the world. Welcome!<br>
+Now we don't see many adventurers in this place. What brings you here?<br>
+<a action="bypass -h npc_%objectId%_Quest">Quest</a>
+</body></html>

+ 10 - 0
L2J_DataPack_BETA/dist/game/data/html/item/15537.htm

@@ -0,0 +1,10 @@
+<html><body>Strongbox of Promise:<br>
+(The following is written on the Strongbox.)<br>
+<font color="LEVEL">Wanderer,<br>
+These are my last words.<br>
+Within the Strongbox is not only a book, but a promise.<br>
+Remember the promise.<br>
+For those who are forgetful, do not open the box.<br>
+Those who are not, keep the promise in your heart always.</font><br>
+<a action="bypass -h item_%itemId%_Quest Q00464_Oath">Open the Strongbox.</a>
+</body></html>

+ 5 - 0
L2J_DataPack_BETA/dist/game/data/html/item/15538.htm

@@ -0,0 +1,5 @@
+<html><title>Book of Silence</title><body>
+(You turn the first page of the old book, pictures and colored characters mark the page.<br>
+While studying these characters, you see a phrase mentioning Sophia in the Library of Sages.<br>
+Maybe I should take this to her.)
+</body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/html/item/15539.htm

@@ -0,0 +1,4 @@
+<html><title>Book of Silence</title><body>
+(When turning the first page of the ancient book, old pictures and strange characters appear.<br>
+Since you heard the story of the book's owner from Sophia, you must bring the book back to her.)
+</body></html>

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

@@ -11,6 +11,7 @@ handlers/MasterHandler.java
 # AI Section
 
 # Npc
+ai/npc/SuspiciousStones.java
 ai/npc/NpcBuffers/BirthdayCake.java
 ai/npc/NpcBuffers/CabaleBuffer.java
 ai/npc/NpcBuffers/Totems.java
@@ -340,8 +341,8 @@ quests/Q00109_InSearchOfTheNest/Q00109_InSearchOfTheNest.java
 quests/Q00110_ToThePrimevalIsle/Q00110_ToThePrimevalIsle.java
 quests/111_Elrokian_Hunters_Proof/__init__.py
 quests/112_WalkOfFate/__init__.py
-quests/113_StatusOfTheBeaconTower/__init__.py
-quests/114_ResurrectionOfAnOldManager/__init__.py
+quests/Q00113_StatusOfTheBeaconTower/Q00113_StatusOfTheBeaconTower.java
+quests/Q00114_ResurrectionOfAnOldManager/Q00114_ResurrectionOfAnOldManager.java
 quests/115_TheOtherSideOfTruth/__init__.py
 quests/116_BeyondTheHillsOfWinter/__init__.py
 quests/117_OceanOfDistantStar/__init__.py
@@ -501,7 +502,7 @@ quests/306_CrystalOfFireice/__init__.py
 quests/Q00307_ControlDeviceOfTheGiants/Q00307_ControlDeviceOfTheGiants.java
 quests/308_ReedFieldMaintenance/__init__.py
 quests/Q00309_ForAGoodCause/Q00309_ForAGoodCause.java
-quests/310_OnlyWhatRemains/__init__.py
+quests/Q00310_OnlyWhatRemains/Q00310_OnlyWhatRemains.java
 quests/311_ExpulsionOfEvilSpirits/__init__.py
 quests/312_TakeAdvantageOfTheCrisis/__init__.py
 quests/313_CollectSpores/__init__.py
@@ -591,7 +592,7 @@ quests/422_RepentYourSins/__init__.py
 quests/Q00423_TakeYourBestShot/Q00423_TakeYourBestShot.java
 quests/426_FishingShot/__init__.py
 quests/431_WeddingMarch/__init__.py
-quests/432_BirthdayPartySong/__init__.py
+quests/Q00432_BirthdayPartySong/Q00432_BirthdayPartySong.java
 quests/450_GraveRobberMemberRescue/__init__.py
 quests/451_LuciensAltar/__init__.py
 quests/Q00452_FindingtheLostSoldiers/Q00452_FindingtheLostSoldiers.java
@@ -599,6 +600,7 @@ quests/Q00453_NotStrongEnoughAlone/Q00453_NotStrongEnoughAlone.java
 quests/Q00458_PerfectForm/Q00458_PerfectForm.java
 quests/Q00461_RumbleInTheBase/Q00461_RumbleInTheBase.java
 quests/Q00463_IMustBeaGenius/Q00463_IMustBeaGenius.java
+quests/Q00464_Oath/Q00464_Oath.java
 quests/501_ProofOfClanAlliance/__init__.py
 quests/503_PursuitClanAmbition/__init__.py
 quests/Q00504_CompetitionfortheBanditStronghold/Q00504_CompetitionfortheBanditStronghold.java
@@ -609,8 +611,8 @@ quests/Q00511_AwlUnderFoot/Q00511_AwlUnderFoot.java
 quests/Q00551_OlympiadStarter/Q00551_OlympiadStarter.java
 quests/Q00552_OlympiadVeteran/Q00552_OlympiadVeteran.java
 quests/Q00553_OlympiadUndefeated/Q00553_OlympiadUndefeated.java
-quests/601_WatchingEyes/__init__.py
-quests/602_ShadowOfLight/__init__.py
+quests/Q00601_WatchingEyes/Q00601_WatchingEyes.java
+quests/Q00602_ShadowOfLight/Q00602_ShadowOfLight.java
 quests/603_DaimontheWhiteEyedPart1/__init__.py
 quests/604_DaimontheWhiteEyedPart2/__init__.py
 quests/605_AllianceWithKetraOrcs/__init__.py

+ 85 - 0
L2J_DataPack_BETA/dist/game/data/scripts/ai/npc/SuspiciousStones.java

@@ -0,0 +1,85 @@
+/*
+ * 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;
+
+import quests.Q00114_ResurrectionOfAnOldManager.Q00114_ResurrectionOfAnOldManager;
+
+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.serverpackets.ExShowScreenMessage;
+
+/**
+ * Suspicious-Looking Pile of Stones AI
+ * @author malyelfik
+ */
+public class SuspiciousStones extends AbstractNpcAI
+{
+	private static final int npcId = 32046;
+	
+	@Override
+	public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
+	{
+		if (event.equalsIgnoreCase("check"))
+		{
+			for (L2PcInstance pl : npc.getKnownList().getKnownPlayers().values())
+			{
+				if (pl != null)
+				{
+					final QuestState st = pl.getQuestState(Q00114_ResurrectionOfAnOldManager.class.getSimpleName());
+					if ((st != null) && st.isCond(17))
+					{
+						st.takeItems(8090, 1);
+						st.giveItems(8091, 1);
+						st.setCond(18, true);
+						pl.sendPacket(new ExShowScreenMessage(NpcStringId.THE_RADIO_SIGNAL_DETECTOR_IS_RESPONDING_A_SUSPICIOUS_PILE_OF_STONES_CATCHES_YOUR_EYE, 2, 4500));
+					}
+				}
+			}
+		}
+		return event;
+	}
+	
+	public SuspiciousStones(String name, String descr)
+	{
+		super(name, descr);
+		
+		L2Npc npc = null;
+		for (L2Spawn spawn : SpawnTable.getInstance().getSpawnTable())
+		{
+			if ((spawn != null) && (spawn.getNpcid() == npcId))
+			{
+				npc = spawn.getLastSpawn();
+			}
+		}
+		
+		if (npc != null)
+		{
+			startQuestTimer("check", 1000, npc, null, true);
+		}
+		else
+		{
+			_log.warning("SuspiciousStones: Can't find npc!");
+		}
+	}
+	
+	public static void main(String[] args)
+	{
+		new SuspiciousStones(SuspiciousStones.class.getSimpleName(), "ai/npc");
+	}
+}

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/113_StatusOfTheBeaconTower/31979-00.htm

@@ -1,4 +0,0 @@
-<html><body>Seer Moira:<br>
-Oh, my poor adventurer! I don't feel the blessing of Pa'agrio's coming from you. Why don't you come back when you've had more experience?<br>
-(Only characters level 40 and above may undertake this quest.)
-</body></html>

+ 0 - 68
L2J_DataPack_BETA/dist/game/data/scripts/quests/113_StatusOfTheBeaconTower/__init__.py

@@ -1,68 +0,0 @@
-# Made by Kerberos v1.0 on 2008/02/09
-# 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 = "113_StatusOfTheBeaconTower"
-
-#NPCs
-Moira = 31979
-Torrant = 32016
-
-#Items
-Box = 8086
-
-class Quest (JQuest) : 
-
- def __init__(self,id,name,descr):
-    JQuest.__init__(self,id,name,descr)
-    self.questItemIds = [Box]
-
- def onAdvEvent (self,event,npc, player) :
-    htmltext = event
-    st = player.getQuestState(qn)
-    if not st : return
-    if event == "31979-02.htm" :
-      st.set("cond","1")
-      st.giveItems(Box,1)
-      st.setState(State.STARTED)
-      st.playSound("ItemSound.quest_accept")
-    elif event == "32016-02.htm" :
-      st.giveItems(57,154800)
-      st.addExpAndSp(619300,44200)
-      st.takeItems(Box,1)
-      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
-    state = st.getState()
-    npcId = npc.getNpcId()
-    cond = st.getInt("cond")
-    if state == State.COMPLETED :
-       htmltext = Quest.getAlreadyCompletedMsg(player)
-    elif npcId == Moira :
-       if state == State.CREATED:
-          if st.getPlayer().getLevel() >= 40 :
-             htmltext = "31979-01.htm"
-          else:
-             htmltext = "31979-00.htm"
-             st.exitQuest(1)
-       elif cond == 1:
-          htmltext = "31979-03.htm"
-    elif npcId == Torrant and st.getQuestItemsCount(Box) == 1:
-       htmltext = "32016-01.htm"
-    return htmltext
-
-QUEST = Quest(113,qn,"Status Of The Beacon Tower")
-
-QUEST.addStartNpc(Moira)
-
-QUEST.addTalkId(Moira)
-QUEST.addTalkId(Torrant)

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-04.htm

@@ -1,5 +0,0 @@
-<html><body>Collector Yumi:<br>
-The explosion came as a surprise. Like a comet shooting across the sky, it didn't seem to have a reason ... it just happened. Maybe someone accidentally touched a machine in the lab. That was a popular theory at the time.<br>
-On further inspection, however, the explosion seemed increasingly suspicious. For one thing, it coincided too closely with the <font color="LEVEL">robbery of the Black Anvil blueprint</font>...<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32041-05.htm">Ask about the blueprint robbery.</a>
-</body></html>

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-05.htm

@@ -1,5 +0,0 @@
-<html><body>Collector Yumi:<br>
-Hmmm. Um. You know, I don't think it's the right time for you to learn that. I'm sure you'll learn about it eventually.<br>
-Let's get back to the subject. Where was I?<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32041-06.htm">"The great explosion at the lab."</a>
-</body></html>

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-12.htm

@@ -1,5 +0,0 @@
-<html><body>Collector Yumi:<br>
-I've already alluded to the incident in question. It's the<font color="LEVEL"> blueprint robbery</font>.<br>
-To tell Dr. Chaos' story, I need to first tell you about the robbery. Sit down; this will take a while.<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32041-13.htm">Sit down.</a>
-</body></html>

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-20.htm

@@ -1,5 +0,0 @@
-<html><body>Collector Yumi:<br>
-I think you should see Wendy again.<br>
-We are plagued with golems in these parts lately.  If they are the <font color="LEVEL">Horrifying Golem Army</font>, then I want to know how to control them.<br>
-From what you have said, I gather that Wendy has assumed the form of a Gatekeeper. If so, then she must have been made based on Toma's technology.  It is critical that we know more about this, and I think she knows more than she has told you.  Go to her and find out.
-</body></html>

+ 0 - 6
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-22.htm

@@ -1,6 +0,0 @@
-<html><body>Collector Yumi:<br>
-Excellent! So you spoke with Wendy, did you?<br>
-Did you find out how Dr. Chaos controls so many golems? Did you learn how Wendy came to exist? I am bursting to hear your news!<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32041-23.htm">Talk about the relationship between Wendy and Toma.</a><br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32041-24.htm">Talk about controlling the golems.</a>
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-24.htm

@@ -1,4 +0,0 @@
-<html><body>Collector Yumi:<br>
-So there's a...being that controls golems.  Interesting.  I'm not sure how Dr. Chaos did it, but this being is almost certainly using an electric wave to control the golems.  We should be looking for it; that's how we'll find out more.<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32041-25.htm">"I think so too."</a>
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-27.htm

@@ -1,4 +0,0 @@
-<html><body>Collector Yumi:<br>
-Did the detector work? Did you find the being?<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32041-28.htm">Return the detector.</a>
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32046-03.htm

@@ -1,4 +0,0 @@
-<html><body>
-The suspicious stack of stones that the detector reacted to.<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32046-04.htm">Place the Starstone</a>
-</body></html>

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32046-04.htm

@@ -1,5 +0,0 @@
-<html><body>
-......<br>
-(Something is moving)<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32046-05.htm">Wait</a>
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32046-05.htm

@@ -1,4 +0,0 @@
-<html><body>Atlanta:<br>
-.... Who... who...is...waking......me....<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32046-06.htm">Observe</a>
-</body></html>

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-01.htm

@@ -1,5 +0,0 @@
-<html><body>Wendy:<br>
-This is Dr. Chaos's office. May I help you?<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32047-02.htm">Ask about this place.</a><br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32047-03.htm">Ask about Dr. Chaos.</a>
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-03.htm

@@ -1,4 +0,0 @@
-<html><body>Wendy:<br>
-Dr. Chaos is a brilliant inventor who commanded the Horrifying Golem Army. He has also restored the  Ruins of Pavel. He is a truly great man.<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32047-01.htm">Return.</a>
-</body></html>

+ 0 - 6
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-04.htm

@@ -1,6 +0,0 @@
-<html><body>Wendy:<br>
-Sir, you are causing me considerable concern with your questions. Doctor Chaos and the clan hall are not usually objects of curiosity, except among dangerous people. Why are you asking these questions?<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32047-05.htm">Ask about Wendy.</a><br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32047-06.htm">Abruptly offer an excuse.</a><br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32047-07.htm">Answer truthfully.</a>
-</body></html>

+ 0 - 3
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-06.htm

@@ -1,3 +0,0 @@
-<html><body>Wendy:<br>
-Hmph!  I don't think so, mister.  That's a pretty generic answer.  You're not fooling anybody.  Go on - get out!  I'm not talking to you any more.
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-07.htm

@@ -1,4 +0,0 @@
-<html><body>Wendy:<br>
-You're from the Dwarf Guild?<br> Certainly, Dr. Chaos is a Dwarf... but why is the Dwarf Guild suddenly interested in him? I don't believe he wants any contact with anyone from the Dwarf Guild.<br>
-Have a nice day.
-</body></html>

+ 0 - 3
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-08.htm

@@ -1,3 +0,0 @@
-<html><body>Wendy:<br>Tee-hee!  That's nice.  Nobody was ever interested in me before.<br>
-You seem nice.  Feel free to come back anytime with, um, questions or anything.
-</body></html>

+ 0 - 3
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-09a.htm

@@ -1,3 +0,0 @@
-<html><body>Wendy:<br>
-Oh, it's <i>you.</i> See here, I'm not going to answer any of your questions. Please leave.
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-10a.htm

@@ -1,4 +0,0 @@
-<html><body>Wendy:<br>
-Oh, it's <i>you</i> again.  Listen, I said I wasn't going to answer any more questions, and that's final!<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32047-11a.htm">"Don't be that way; I just want to talk."</a>
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-11.htm

@@ -1,4 +0,0 @@
-<html><body>Wendy:<br>
-Hello, Dr. Chaos's office! How may I help you?<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32047-12.htm">I want to know how Dr. Chaos controlled his golems.</a><br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32047-28.htm">Where are you from, Wendy? How did you come to exist?</a></body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-12.htm

@@ -1,4 +0,0 @@
-<html><body>Wendy:<br>
-Why are you asking me about this?<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32047-13.htm">"I'm asking on behalf of the Dwarf Guild."</a>
-</body></html>

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-12a.htm

@@ -1,5 +0,0 @@
-<html><body>Wendy:<br>
-I'm sorry, but I'm not authorized to tell you where Dr. Chaos is.<br>
-Have a nice day!<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32047-13a.htm">"You'd better answer, before I get physical about it."</a>
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-13a.htm

@@ -1,4 +0,0 @@
-<html><body>Wendy:<br>
-Then I'll have to get violent with you. Think you can handle it?<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32047-15a.htm">"Sounds like fun. Let's go."</a>
-</body></html>

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-14.htm

@@ -1,5 +0,0 @@
-<html><body>Wendy:<br>
-If you're from the Dwarf Guild, Dr. Chaos doesn't want to talk to you.<br>
-Good day!<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32047-15.htm">"Never mind Dr. Chaos; I want to talk to you."</a>
-</body></html>

+ 0 - 7
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-15.htm

@@ -1,7 +0,0 @@
-<html><body>Wendy:<br>
-Hmm. Well... if Dr. Chaos doesn't forbid it, I suppose I can answer your questions. How can I help you?<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32047-16.htm">I want to know about the Golem Controller.</a><br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32047-17.htm">I want to know about the relationship between Dr. Chaos and Master Toma.</a><br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32047-18.htm">I want to know about the Horrifying Golem Army.</a><br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32047-20.htm">I want to know about what Wendy experienced when she woke up.</a>
-</body></html>

+ 0 - 6
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-16a.htm

@@ -1,6 +0,0 @@
-<html><body>Wendy:<br>
-You have defeated the guardian and I must obey you.<br>
-What do you want to know?<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32047-17a.htm">About Dr. Chaos' golem control method.</a><br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32047-20a.htm">About Master Toma.</a>
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-21.htm

@@ -1,4 +0,0 @@
-<html><body>Wendy:<br>
-I... don't remember anything. It was so long ago...<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32047-22.htm">Insist that she try to remember.</a>
-</body></html>

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-22.htm

@@ -1,5 +0,0 @@
-<html><body>Wendy:<br>
-I can't remember.  I just can't...<br>
-Let me think about it.<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32047-23.htm">"Let me think about it?"</a>
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-27.htm

@@ -1,4 +0,0 @@
-<html><body>Wendy:<br>
-I don't think I can tell you any more than I have right now.<br>
-If you want to know more, please come back again; I may remember more later.
-</body></html>

+ 0 - 9
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-30.htm

@@ -1,9 +0,0 @@
-<html><body>Wendy:<br>
-Those memories aren't clear...<br>
-I do remember that there were flowers all around this lab.<br>
-I had a friend, and we walked together.<br>
-A large man petted me. I called him "Master."<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32047-31.htm">Ask about the flowers.</a><br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32047-33.htm">Ask about the friend.</a><br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32047-32.htm">Ask about "Master."</a>
-</body></html>

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-33.htm

@@ -1,5 +0,0 @@
-<html><body>Wendy:<br>
-My friend...<br>
-My friend was gigantic, with a body made entirely of stone ... like a walking boulder. He helped Master somehow...<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32047-34.htm">Ask her about this memory.</a>
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-35.htm

@@ -1,4 +0,0 @@
-<html><body>Wendy:<br>
-Would you like to ask me something else?<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32047-36.htm">"I need the Starstone."</a>
-</body></html>

+ 0 - 6
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32047-37.htm

@@ -1,6 +0,0 @@
-<html><body>Wendy:<br>
-It may be possible to give you one ... for the right price.<br>
-Does 3000 adena seem reasonable?<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32047-38.htm">Take the deal.</a><br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32047-39.htm">Refuse the deal.</a>
-</body></html>

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32050-01.htm

@@ -1,5 +0,0 @@
-<html><body>Parts Box:<br>
-This must be the box Wendy was talking about!<br>
-It's sealed tight!<br>If you give it a good whack with a weapon, it may open.<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32050-02.htm">Strike the box.</a>
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32050-02.htm

@@ -1,4 +0,0 @@
-<html><body>Parts Box:<br>
-The box cracks open and the Starstone emerges.<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32050-04.htm">Pick up the Starstone</a>
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32050-03.htm

@@ -1,4 +0,0 @@
-<html><body>The Parts Box:<br>
-The Starstone emerges from the broken box.<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32050-04.htm">Pick up the Starstone</a>
-</body></html>

+ 0 - 377
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/__init__.py

@@ -1,377 +0,0 @@
-# Made by Kerberos
-# 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.ai import CtrlIntention
-from com.l2jserver.gameserver.datatables import SpawnTable
-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 import NpcStringId
-from com.l2jserver.gameserver.network.serverpackets import NpcSay
-from com.l2jserver.gameserver.network.serverpackets import ExShowScreenMessage
-
-qn = "114_ResurrectionOfAnOldManager"
-
-#NPCs
-Newyear = 31961
-Yumi = 32041
-Stones = 32046
-Wendy = 32047
-Box = 32050
-
-#Mobs
-Guardian = 27318
-
-#Items
-Detector = 8090
-Detector2 = 8091
-Starstone = 8287
-Letter = 8288
-Starstone2 = 8289
-
-class Quest (JQuest) : 
-
- def __init__(self,id,name,descr):
-    JQuest.__init__(self,id,name,descr)
-    self.isSpawned = 0
-    self.questItemIds = [Starstone,Detector,Detector2,Letter,Starstone2]
-
- def activateDetector(self, npc, player, st) :
-    for obj in npc.getKnownList().getKnownObjects().values() :
-       if obj != None :
-          if obj == player and st.getInt("cond") == 17:
-             st.playSound("ItemSound.quest_middle")
-             st.takeItems(Detector,1)
-             st.giveItems(Detector2,1)
-             st.set("cond","18")
-             player.sendPacket(ExShowScreenMessage(NpcStringId.THE_RADIO_SIGNAL_DETECTOR_IS_RESPONDING_A_SUSPICIOUS_PILE_OF_STONES_CATCHES_YOUR_EYE, 2, 4500))
-             break
-    return
-
- def onAdvEvent (self,event,npc, player) :
-    htmltext = event
-    st = player.getQuestState(qn)
-    if not st : return
-    if event == "31961-02.htm" :
-       st.set("cond","22")
-       st.takeItems(Letter,1)
-       st.giveItems(Starstone2,1)
-       st.playSound("ItemSound.quest_middle")
-    if event == "32041-02.htm" :
-       st.setState(State.STARTED)
-       st.playSound("ItemSound.quest_accept")
-       st.set("cond","1")
-       st.set("talk","0")
-    elif event == "32041-06.htm" :
-       st.set("talk","1")
-    elif event == "32041-07.htm" :
-       st.set("cond","2")
-       st.playSound("ItemSound.quest_middle")
-       st.set("talk","0")
-    elif event == "32041-10.htm" :
-       choice = st.getInt("choice")
-       if choice == 1 :
-          htmltext = "32041-10.htm"
-       elif choice == 2 :
-          htmltext = "32041-10a.htm"
-       elif choice == 3 :
-          htmltext = "32041-10b.htm"
-    elif event == "32041-11.htm" :
-       st.set("talk","1")
-    elif event == "32041-18.htm" :
-       st.set("talk","2")
-    elif event == "32041-20.htm" :
-       st.set("cond","6")
-       st.playSound("ItemSound.quest_middle")
-       st.set("talk","0")
-    elif event == "32041-25.htm" :
-       st.set("cond","17")
-       st.playSound("ItemSound.quest_middle")
-       st.giveItems(Detector,1)
-    elif event == "32041-28.htm" :
-       st.takeItems(Detector2,1)
-       st.set("talk","1")
-    elif event == "32041-31.htm" :
-       choice = st.getInt("choice")
-       if choice > 1 :
-          htmltext = "32041-37.htm"
-    elif event == "32041-32.htm" :
-       st.set("cond","21")
-       st.giveItems(Letter,1)
-       st.playSound("ItemSound.quest_middle")
-    elif event == "32041-36.htm" :
-       st.set("cond","20")
-       st.playSound("ItemSound.quest_middle")
-    elif event == "32046-02.htm" :
-       st.set("cond","19")
-       st.playSound("ItemSound.quest_middle")
-    elif event == "32046-06.htm" :
-       st.exitQuest(False)
-       st.addExpAndSp(1846611,144270)
-       st.playSound("ItemSound.quest_finish")
-    elif event == "32047-01.htm" :
-       if st.getInt("talk") + st.getInt("talk1") == 2:
-          htmltext = "32047-04.htm"
-       elif st.getInt("talk") + st.getInt("talk1") + st.getInt("talk2")== 6:
-          htmltext = "32047-08.htm"
-    elif event == "32047-02.htm" :
-       if st.getInt("talk") == 0 :
-          st.set("talk","1")
-    elif event == "32047-03.htm" :
-       if st.getInt("talk1") == 0 :
-          st.set("talk1","1")
-    elif event == "32047-05.htm" :
-       st.set("cond","3")
-       st.playSound("ItemSound.quest_middle")
-       st.set("talk","0")
-       st.set("choice","1")
-       st.unset("talk1")
-    elif event == "32047-06.htm" :
-       st.set("cond","4")
-       st.playSound("ItemSound.quest_middle")
-       st.set("talk","0")
-       st.set("choice","2")
-       st.unset("talk1")
-    elif event == "32047-07.htm" :
-       st.set("cond","5")
-       st.playSound("ItemSound.quest_middle")
-       st.set("talk","0")
-       st.set("choice","3")
-       st.unset("talk1")
-    elif event == "32047-13.htm" :
-       st.set("cond","7")
-       st.playSound("ItemSound.quest_middle")
-    elif event == "32047-13a.htm" :
-       st.set("cond","10")
-       st.playSound("ItemSound.quest_middle")
-    elif event == "32047-15.htm" :
-       if st.getInt("talk") == 0 :
-          st.set("talk","1")
-    elif event == "32047-15a.htm" :
-       if self.isSpawned == 0 :
-          golem = st.addSpawn(Guardian,96977,-110625,-3280,0,False,900000)
-          nSay = NpcSay(golem.getObjectId(), 0, golem.getNpcId(), NpcStringId.YOU_S1_YOU_ATTACKED_WENDY_PREPARE_TO_DIE)
-          nSay.addStringParameter(player.getName())
-          golem.broadcastPacket(nSay)
-          golem.setRunning()
-          golem.addDamageHate(player,0,999)
-          golem.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, player)
-          self.isSpawned = 1
-       else:
-          htmltext = "32047-19a.htm"
-    elif event == "32047-17a.htm" :
-       st.set("cond","12")
-       st.playSound("ItemSound.quest_middle")
-    elif event == "32047-20.htm" :
-          st.set("talk","2")
-    elif event == "32047-23.htm" :
-       st.set("cond","13")
-       st.playSound("ItemSound.quest_middle")
-       st.set("talk","0")
-    elif event == "32047-25.htm" :
-       st.set("cond","15")
-       st.playSound("ItemSound.quest_middle")
-       st.takeItems(Starstone,1)
-    elif event == "32047-30.htm" :
-       st.set("talk","2")
-    elif event == "32047-33.htm" :
-       if st.getInt("cond") == 7:
-          st.set("cond","8")
-          st.set("talk","0")
-          st.playSound("ItemSound.quest_middle")
-       elif st.getInt("cond") == 8:
-          st.set("cond","9")
-          st.playSound("ItemSound.quest_middle")
-          htmltext = "32047-34.htm"
-    elif event == "32047-34.htm" :
-          st.set("cond","9")
-          st.playSound("ItemSound.quest_middle")
-    elif event == "32047-38.htm" :
-       st.giveItems(Starstone2,1)
-       st.takeItems(57,3000)
-       st.set("cond","26")
-       st.playSound("ItemSound.quest_middle")
-    elif event == "32050-02.htm" :
-       st.playSound("ItemSound.armor_wood_3")
-       st.set("talk","1")
-    elif event == "32050-04.htm" :
-       st.set("cond","14")
-       st.giveItems(Starstone,1)
-       st.playSound("ItemSound.quest_middle")
-       st.set("talk","0")
-    return htmltext
-
- def onFirstTalk (self,npc,player): #atm custom, on retail it is when you walk to npcs radius
-    st = player.getQuestState(qn)
-    if st : 
-        if npc.getNpcId() == Stones and st.getInt("cond") == 17:
-           st.playSound("ItemSound.quest_middle")
-           st.takeItems(Detector,1)
-           st.giveItems(Detector2,1)
-           st.set("cond","18")
-           player.sendPacket(ExShowScreenMessage(NpcStringId.THE_RADIO_SIGNAL_DETECTOR_IS_RESPONDING_A_SUSPICIOUS_PILE_OF_STONES_CATCHES_YOUR_EYE, 2, 4500))
-    npc.showChatWindow(player)
-    return None
-
- def onTalk (self,npc,player):
-    htmltext = Quest.getNoQuestMsg(player)
-    st = player.getQuestState(qn)
-    if not st : return htmltext
-    state = st.getState()
-    npcId = npc.getNpcId()
-    cond = st.getInt("cond")
-    talk = st.getInt("talk")
-    talk1 = st.getInt("talk1")
-    if state == State.COMPLETED :
-       htmltext = Quest.getAlreadyCompletedMsg(player)
-    elif npcId == Yumi :
-       if state == State.CREATED :
-          Pavel = player.getQuestState("121_PavelTheGiants")
-          if Pavel:
-             if st.getPlayer().getLevel() >= 70 and Pavel.getState() == State.COMPLETED :
-                htmltext = "32041-01.htm"
-             else :
-                htmltext = "32041-00.htm"
-                st.exitQuest(1)
-          else :
-             htmltext = "32041-00.htm"
-             st.exitQuest(1)
-       elif cond == 1:
-          if talk == 0:
-             htmltext = "32041-02.htm"
-          else:
-             htmltext = "32041-06.htm"
-       elif cond == 2:
-          htmltext = "32041-08.htm"
-       elif cond in [3,4,5]:
-          if talk == 0:
-             htmltext = "32041-09.htm"
-          elif talk == 1:
-             htmltext = "32041-11.htm"
-          else:
-             htmltext = "32041-18.htm"
-       elif cond == 6:
-          htmltext = "32041-21.htm"
-       elif cond in [9,12,16]:
-          htmltext = "32041-22.htm"
-       elif cond == 17:
-          htmltext = "32041-26.htm"
-       elif cond == 19:
-          if talk == 0:
-             htmltext = "32041-27.htm"
-          else:
-             htmltext = "32041-28.htm"
-       elif cond == 20:
-          htmltext = "32041-36.htm"
-       elif cond == 21:
-          htmltext = "32041-33.htm"
-       elif cond in [22,26]:
-          htmltext = "32041-34.htm"
-          st.set("cond","27")
-          st.playSound("ItemSound.quest_middle")
-       elif cond == 27:
-          htmltext = "32041-35.htm"
-    elif npcId == Wendy :
-       if cond == 2:
-          if talk + talk1 < 2:
-             htmltext = "32047-01.htm"
-          elif talk + talk1 == 2:
-             htmltext = "32047-04.htm"
-       elif cond == 3:
-          htmltext = "32047-09.htm"
-       elif cond in [4,5]:
-          htmltext = "32047-09a.htm"
-       elif cond == 6:
-          choice = st.getInt("choice")
-          if choice == 1:
-             if talk == 0:
-                htmltext = "32047-10.htm"
-             elif talk == 1:
-                htmltext = "32047-20.htm"
-             else :
-                htmltext = "32047-30.htm"
-          elif choice == 2:
-             htmltext = "32047-10a.htm"
-          elif choice == 3:
-            if talk == 0:
-               htmltext = "32047-14.htm"
-            elif talk == 1:
-               htmltext = "32047-15.htm"
-            else:
-               htmltext = "32047-20.htm"
-       elif cond == 7:
-          if talk == 0:
-             htmltext = "32047-14.htm"
-          elif talk == 1:
-             htmltext = "32047-15.htm"
-          else:
-             htmltext = "32047-20.htm"
-       elif cond == 8:
-          htmltext = "32047-30.htm"
-       elif cond == 9:
-          htmltext = "32047-27.htm"
-       elif cond == 10:
-          htmltext = "32047-14a.htm"
-       elif cond == 11:
-          htmltext = "32047-16a.htm"
-       elif cond == 12:
-          htmltext = "32047-18a.htm"
-       elif cond == 13:
-          htmltext = "32047-23.htm"
-       elif cond == 14:
-          htmltext = "32047-24.htm"
-       elif cond == 15:
-          htmltext = "32047-26.htm"
-          st.set("cond","16")
-          st.playSound("ItemSound.quest_middle")
-       elif cond == 16:
-          htmltext = "32047-27.htm"
-       elif cond == 20:
-          htmltext = "32047-35.htm"
-       elif cond == 26:
-          htmltext = "32047-40.htm"
-    elif npcId == Box :
-       if cond == 13:
-          if talk == 0:
-             htmltext = "32050-01.htm"
-          else:
-             htmltext = "32050-03.htm"
-       elif cond == 14:
-          htmltext = "32050-05.htm"
-    elif npcId == Stones :
-       if cond == 18:
-          htmltext = "32046-01.htm"
-       elif cond == 19:
-          htmltext = "32046-02.htm"
-       elif cond == 27:
-          htmltext = "32046-03.htm"
-    elif npcId == Newyear :
-       if cond == 21:
-          htmltext = "31961-01.htm"
-       elif cond == 22:
-          htmltext = "31961-03.htm"
-    return htmltext
-
- def onKill(self,npc,player,isPet):
-   st = player.getQuestState(qn)
-   if not st: return 
-   npcId = npc.getNpcId()
-   if st.getState() == State.STARTED and st.getInt("cond") == 10:
-      if npcId == Guardian :
-         npc.broadcastPacket(NpcSay(npc.getObjectId(), 0, npcId, NpcStringId.THIS_ENEMY_IS_FAR_TOO_POWERFUL_FOR_ME_TO_FIGHT_I_MUST_WITHDRAW))
-         st.set("cond","11")
-         st.playSound("ItemSound.quest_middle")
-
-QUEST = Quest(114,qn,"Resurrection Of An Old Manager")
-
-QUEST.addStartNpc(Yumi)
-QUEST.addFirstTalkId(Stones)
-
-QUEST.addTalkId(Yumi)
-QUEST.addTalkId(Wendy)
-QUEST.addTalkId(Box)
-QUEST.addTalkId(Stones)
-QUEST.addTalkId(Newyear)
-
-QUEST.addKillId(Guardian)

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/120_PavelsResearch/__init__.py

@@ -222,7 +222,7 @@ class Quest (JQuest) :
        htmltext = Quest.getAlreadyCompletedMsg(player)
     elif npcId == Stones :
        if state == State.CREATED :
-          Pavel = player.getQuestState("114_ResurrectionOfAnOldManager")
+          Pavel = player.getQuestState("Q00114_ResurrectionOfAnOldManager")
           if Pavel :
               if player.getLevel() >= 49 and Pavel.getState() == State.COMPLETED :
                  htmltext = "32046-01.htm"

+ 0 - 6
L2J_DataPack_BETA/dist/game/data/scripts/quests/310_OnlyWhatRemains/32640-08.htm

@@ -1,6 +0,0 @@
-<html><body>Bounty Hunter Kintaijin:<br>
-Dirty Beads can be found on the corpses of the <font color="LEVEL">Spiked Stakato and Cannibal Stakato</font> creatures found inside the Stakato's Nest. I'll need you to find 500 of these beads. Bring them back to me, and I will reward you for your hard work.<br>
-<a action="bypass -h Quest 310_OnlyWhatRemains 32640-06.htm">"I want to know more about the reward items."</a><br>
-<a action="bypass -h Quest 310_OnlyWhatRemains 32640-05.htm">"I'm off! I'll be back with the items when I'm done."</a><br>
-<a action="bypass -h Quest 310_OnlyWhatRemains 32640-quit.htm">"I'd like to quit"</a>
-</body></html>

+ 0 - 9
L2J_DataPack_BETA/dist/game/data/scripts/quests/310_OnlyWhatRemains/32640-10.htm

@@ -1,9 +0,0 @@
-<html><body>Bounty Hunter Kintaijin:<br>
-Well done. You brought the correct numbers? Let me confirm it.<br>
-Hmm, they are surely 500 Dirty Bead. Here, take this Growth Accelerator.<br>
-And let me give you some Multi-Colored Bright Ore. You can come near me from anywhere when you use it.<br>
-...Do you have any other business?<br>
-<a action="bypass -h Quest 310_OnlyWhatRemains 32640-06.htm">"I'd like to know how to use the Growth Accelerator."</a><br>
-<a action="bypass -h Quest 310_OnlyWhatRemains 32640-05.htm">"No, it's nothing. I'll continue with the task"</a><br>
-<a action="bypass -h Quest 310_OnlyWhatRemains 32640-quit.htm">"I'd like to quit the task"</a>
-</body></html>

+ 0 - 92
L2J_DataPack_BETA/dist/game/data/scripts/quests/310_OnlyWhatRemains/__init__.py

@@ -1,92 +0,0 @@
-# 2010-08-11 by Gnacik
-# Based on Freya PTS
-import sys
-from com.l2jserver import Config
-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 = "310_OnlyWhatRemains"
-
-# NPCs
-KINTAIJIN = 32640
-
-GROW_ACCELERATOR = 14832
-MULTI_COLORED_JEWEL = 14835
-DIRTY_BEAD = 14880
-
-DROP_CHANCE = 60
-
-MOBS = range(22617,22634)
-
-class Quest (JQuest) :
-	def __init__(self,id,name,descr):
-		JQuest.__init__(self,id,name,descr)
-		self.questItemIds = [DIRTY_BEAD]
-
-	def onAdvEvent(self, event, npc, player) :
-		htmltext = event
-		st = player.getQuestState(qn)
-		if not st : return
-
-		if event == "32640-04.htm" :
-			st.set("cond","1")
-			st.setState(State.STARTED)
-			st.playSound("ItemSound.quest_accept")
-		elif event == "32640-quit.htm" :
-			st.unset("cond")
-			st.exitQuest(True)
-			st.playSound("ItemSound.quest_finish")
-		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")
-		if st.getState() == State.CREATED :
-			if npcId == KINTAIJIN :
-				first = player.getQuestState("240_ImTheOnlyOneYouCanTrust")
-				if first and first.getState() == State.COMPLETED and player.getLevel() >= 81 :
-					htmltext = "32640-01.htm"
-				else :
-					htmltext = "32640-00.htm"
-		elif st.getState() == State.STARTED :
-			if npcId == KINTAIJIN and cond == 1 :
-				beads = st.getQuestItemsCount(DIRTY_BEAD)
-				if beads == 0 :
-					htmltext = "32640-08.htm"
-				elif beads < 500 :
-					htmltext = "32640-09.htm"
-				elif beads >= 500 :
-					st.takeItems(DIRTY_BEAD,500)
-					st.giveItems(GROW_ACCELERATOR,1)
-					st.giveItems(MULTI_COLORED_JEWEL,1)
-					htmltext = "32640-10.htm"
-		return htmltext
-
-	def onKill(self, npc, player, isPet) :
-		partyMember = self.getRandomPartyMember(player,"1")
-		if not partyMember : return
-		st = partyMember.getQuestState(qn)
-		if not st : return
-
-		if st.getInt("cond") == 1 and npc.getNpcId() in MOBS :
-			chance = DROP_CHANCE*Config.RATE_QUEST_DROP
-			numItems, chance = divmod(chance,100)
-			if self.getRandom(100) < chance : 
-				numItems += 1
-			if numItems :
-				st.giveItems(DIRTY_BEAD, int(numItems))
-				st.playSound("ItemSound.quest_itemget")
-		return
-
-QUEST	= Quest(310,qn,"Only What Remains")
-
-QUEST.addStartNpc(KINTAIJIN)
-QUEST.addTalkId(KINTAIJIN)
-
-for i in MOBS :
-	QUEST.addKillId(i)

+ 0 - 3
L2J_DataPack_BETA/dist/game/data/scripts/quests/432_BirthdayPartySong/31043-02.htm

@@ -1,3 +0,0 @@
-<html><body>Melody Maestro Octavia:<br>
-Kill Rough Hewn Rock Golems in the Floran Agricultural Area to get the Red Crystals.<br>
-Come back when you are 50!</body></html>

+ 0 - 2
L2J_DataPack_BETA/dist/game/data/scripts/quests/432_BirthdayPartySong/31043-03.htm

@@ -1,2 +0,0 @@
-<html><body>Melody Maestro Octavia:<br>
-This should be easy work for an adventurous lad like you! Go and get the crystals!</body></html>

+ 0 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/432_BirthdayPartySong/31043-04.htm

@@ -1,5 +0,0 @@
-<html><body>Melody Maestro Octavia:<br>
-Isn't this wonderful? Now I can share my birthday song with everyone!<br>
-Yahoo!!<br>
-Arn't you also happy?<br>
-<a action="bypass -h Quest 432_BirthdayPartySong 3">"Here are the crystals"</a></body></html>

+ 0 - 79
L2J_DataPack_BETA/dist/game/data/scripts/quests/432_BirthdayPartySong/__init__.py

@@ -1,79 +0,0 @@
-# Created by CubicVirtuoso
-# Any problems feel free to drop by #l2j-datapack on irc.freenode.net
-import sys
-from com.l2jserver import Config 
-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 = "432_BirthdayPartySong"
-
-MELODY_MAESTRO_OCTAVIA_ID = 31043
-RED_CRYSTALS_ID = 7541
-ROUGH_HEWN_ROCK_GOLEMS_ID = 21103
-BIRTHDAY_ECHO_CRYSTAL_ID = 7061
-
-class Quest (JQuest) :
-
- def __init__(self,id,name,descr):
-     JQuest.__init__(self,id,name,descr)
-     self.questItemIds = [RED_CRYSTALS_ID]
- 
- def onEvent (self,event,st) :
-     htmltext = event
-     cond = st.getInt("cond")
-     if event == "1" and cond == 0 :
-         htmltext = "31043-02.htm"
-         st.set("cond","1")
-         st.setState(State.STARTED)
-         st.playSound("ItemSound.quest_accept")
-     elif event == "3" and st.getQuestItemsCount(RED_CRYSTALS_ID) == 50 and cond == 2 :
-         st.giveItems(BIRTHDAY_ECHO_CRYSTAL_ID,25)
-         st.takeItems(RED_CRYSTALS_ID,50)
-         htmltext = "31043-05.htm"
-         st.exitQuest(1)
-         st.playSound("ItemSound.quest_finish")
-     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.CREATED :
-         htmltext = "31043-01.htm"
-     elif cond ==1 :
-         htmltext = "31043-03.htm"
-     elif cond == 2 :
-         htmltext = "31043-04.htm"
-     return htmltext
- 
- def onKill(self,npc,player,isPet):
-     st = player.getQuestState(qn)
-     if not st : return 
-     if st.getState() != State.STARTED : return 
-     if st.getInt("cond") == 1 :
-             numItems, chance = divmod(100*Config.RATE_QUEST_DROP,100)
-             if self.getRandom(100) < chance :
-                 numItems = numItems + 1
-             count = st.getQuestItemsCount(RED_CRYSTALS_ID)
-             if count + numItems >= 50:
-                 numItems = 50 - count
-                 if numItems != 0 :    
-                     st.playSound("ItemSound.quest_middle")
-                     st.set("cond","2")
-             else :
-                 st.playSound("ItemSound.quest_itemget")
-             st.giveItems(RED_CRYSTALS_ID,int(numItems))
-     return
- 
-QUEST       = Quest(432,qn,"Birthday Party Song")
-
-QUEST.addStartNpc(31043)
-
-QUEST.addTalkId(31043)
-
-QUEST.addKillId(21103)

+ 0 - 3
L2J_DataPack_BETA/dist/game/data/scripts/quests/601_WatchingEyes/31683-1.htm

@@ -1,3 +0,0 @@
-<html><body>Eye of Argos:<br>
-Punish the wicked disciples and then return to me! They're called the Disciples of Protection, the Disciples of Punishment and the Disciples of Authority.
-</body></html>

+ 0 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/601_WatchingEyes/31683-3.htm

@@ -1,4 +0,0 @@
-<html><body>Eye of Argos:<br>
-Thanks to you, my brave soldier, the darkness in my heart is lifting! Give me the proofs you've collected.<br>
-<a action="bypass -h Quest 601_WatchingEyes 31683-4.htm">"Here are the marks of disciple."</a>
-</body></html>

+ 0 - 101
L2J_DataPack_BETA/dist/game/data/scripts/quests/601_WatchingEyes/__init__.py

@@ -1,101 +0,0 @@
-# by disKret
-import sys
-from com.l2jserver import Config
-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 = "601_WatchingEyes"
-
-#NPC
-EYE_OF_ARGOS = 31683
-#ITEMS
-PROOF_OF_AVENGER = 7188
-#CHANCE
-DROP_CHANCE = 50
-#MOBS
-MOBS = [ 21306,21308,21309,21310,21311 ]
-#REWARDS
-REWARDS = [[6699,90000,0,19],[6698,80000,20,39],[6700,40000,40,49],[0,230000,50,100]]
-
-class Quest (JQuest) :
-
- def __init__(self,id,name,descr):
-     JQuest.__init__(self,id,name,descr)
-     self.questItemIds = [PROOF_OF_AVENGER]
-
- def onEvent (self,event,st) :
-   cond = st.getInt("cond")
-   htmltext = event
-   if event == "31683-1.htm" :
-      if st.getPlayer().getLevel() < 71 : 
-         htmltext = "31683-0a.htm"
-         st.exitQuest(1)
-      else :
-         st.set("cond","1")
-         st.setState(State.STARTED)
-         st.playSound("ItemSound.quest_accept")
-   elif event == "31683-4.htm" :
-     if st.getQuestItemsCount(PROOF_OF_AVENGER) == 100 :
-        random = self.getRandom(100)
-        i = 0
-        while i < len(REWARDS) :
-            item,adena,chance,chance2=REWARDS[i]
-            if chance<=random<= chance2 :
-              break
-            i = i+1
-        st.giveItems(57,adena)
-        if item :
-           st.giveItems(item,5)
-           st.addExpAndSp(120000,10000)
-        st.takeItems(PROOF_OF_AVENGER,-1)
-        st.playSound("ItemSound.quest_finish")
-        st.exitQuest(1)
-     else :
-        htmltext="31683-4a.htm"
-   return htmltext
-
- def onTalk (self,npc,player):
-   htmltext = Quest.getNoQuestMsg(player)
-   st = player.getQuestState(qn)
-   if st :
-     npcId = npc.getNpcId()
-     id = st.getState()
-     cond = st.getInt("cond")
-     if cond == 0 :
-         htmltext = "31683-0.htm"
-     elif cond == 1 :
-         htmltext = "31683-2.htm"
-     elif cond == 2 :
-         htmltext = "31683-3.htm"
-   return htmltext
-
- def onKill(self,npc,player,isPet):
-   partyMember = self.getRandomPartyMember(player,"1")
-   if not partyMember: return
-   st = partyMember.getQuestState(qn)
-   if st :
-     if st.getState() == State.STARTED :
-       count = st.getQuestItemsCount(PROOF_OF_AVENGER)
-       if st.getInt("cond") == 1 and count < 100 :
-         chance = DROP_CHANCE * Config.RATE_QUEST_DROP
-         numItems, chance = divmod(chance,100)
-         if self.getRandom(100) < chance : 
-           numItems = numItems + 1
-         if numItems :
-           if count + numItems >= 100 :
-             numItems = 100 - count
-             st.playSound("ItemSound.quest_middle")
-             st.set("cond","2")
-           else:
-             st.playSound("ItemSound.quest_itemget")   
-           st.giveItems(PROOF_OF_AVENGER,int(numItems))       
-   return
-
-QUEST       = Quest(601,qn,"Watching Eyes")
-
-QUEST.addStartNpc(EYE_OF_ARGOS)
-QUEST.addTalkId(EYE_OF_ARGOS)
-
-for i in MOBS :
-  QUEST.addKillId(i)

+ 0 - 101
L2J_DataPack_BETA/dist/game/data/scripts/quests/602_ShadowOfLight/__init__.py

@@ -1,101 +0,0 @@
-# by disKret
-import sys
-from com.l2jserver import Config
-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 = "602_ShadowOfLight"
-
-#NPC
-EYE_OF_ARGOS = 31683
-#ITEMS
-EYE_OF_DARKNESS = 7189
-#CHANCE
-CHANCE = {
-    21304:50,
-    21299:45
-}
-REWARDS = [[6699,40000,120000,20000,0,19],[6698,60000,110000,15000,20,39],[6700,40000,150000,10000,40,49],[0,100000,140000,11250,50,100]]
-
-#MOBS
-MOBS = [ 21299,21304 ]
-
-class Quest (JQuest) :
-
- def __init__(self,id,name,descr):
-     JQuest.__init__(self,id,name,descr)
-     self.questItemIds = [EYE_OF_DARKNESS]
-
- def onEvent (self,event,st) :
-   cond = st.getInt("cond")
-   htmltext = event
-   if event == "31683-1.htm" :
-     if st.getPlayer().getLevel() >= 68 : 
-        st.set("cond","1")
-        st.setState(State.STARTED)
-        st.playSound("ItemSound.quest_accept")
-     else :
-        htmltext = "31683-0a.htm"
-        st.exitQuest(1)
-   if event == "31683-4.htm" :
-     if st.getQuestItemsCount(EYE_OF_DARKNESS) == 100 :
-        random = self.getRandom(100)
-        i = 0
-        while i < len(REWARDS) :
-            item,adena,exp,sp,chance,chance2=REWARDS[i]
-            if chance<=random<= chance2 :
-              break
-            i = i+1
-        st.giveItems(57,adena)
-        if item :
-           st.giveItems(item,3)
-        st.addExpAndSp(exp,sp)
-        st.takeItems(EYE_OF_DARKNESS,-1)
-        st.playSound("ItemSound.quest_finish")
-        st.exitQuest(1)
-     else :
-        htmltext = "31683-4a.htm"
-   return htmltext
-
- def onTalk (self,npc,player):
-   htmltext = Quest.getNoQuestMsg(player)
-   st = player.getQuestState(qn)
-   if st :
-        cond = st.getInt("cond")
-        if cond == 0 :
-          htmltext = "31683-0.htm"
-        elif cond == 1 :
-          htmltext = "31683-2.htm"
-        elif cond == 2 :
-          htmltext = "31683-3.htm"
-   return htmltext
-
- def onKill(self,npc,player,isPet):
-     partyMember = self.getRandomPartyMember(player,"1")
-     if not partyMember: return
-     st = partyMember.getQuestState(qn)
-     if st :
-        if st.getState() == State.STARTED :  
-           count = st.getQuestItemsCount(EYE_OF_DARKNESS)
-           chance = CHANCE[npc.getNpcId()]*Config.RATE_QUEST_DROP
-           numItems, chance = divmod(chance,100)
-           if st.getInt("cond") == 1 :
-             if self.getRandom(100) < chance :
-                 numItems = numItems + 1
-             if count+numItems>=100 :
-                numItems =100-count
-                st.playSound("ItemSound.quest_middle")
-                st.set("cond","2")
-             else :
-                st.playSound("ItemSound.quest_itemget")
-             st.giveItems(EYE_OF_DARKNESS,int(numItems))
-     return
-
-QUEST       = Quest(602,qn,"Shadow Of Light")
-
-QUEST.addStartNpc(EYE_OF_ARGOS)
-QUEST.addTalkId(EYE_OF_ARGOS)
-
-for i in MOBS :
-  QUEST.addKillId(i)

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00113_StatusOfTheBeaconTower/31979-00.htm

@@ -0,0 +1,4 @@
+<html><body>Seer Moira:<br>
+Traveler, I cannot feel the protection of Pa'agrio on you. Come back to me after you have purified yourself with more training.<br>
+(Only characters who are level 80 or higher may undertake this quest.)
+</body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/113_StatusOfTheBeaconTower/31979-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00113_StatusOfTheBeaconTower/31979-01.htm

@@ -1,4 +1,4 @@
 <html><body>Seer Moira:<br>
 You are under the protection of Pa'agrio! I trust you. Please go to the Beacon Tower at the <font color="LEVEL">Den of Evil</font> and take this box with you.<br>
-<a action="bypass -h Quest 113_StatusOfTheBeaconTower 31979-02.htm">"Why the Beacon Tower?"</a>
+<a action="bypass -h Quest Q00113_StatusOfTheBeaconTower 31979-02.htm">"Why the Beacon Tower?"</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/113_StatusOfTheBeaconTower/31979-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00113_StatusOfTheBeaconTower/31979-02.htm


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/113_StatusOfTheBeaconTower/31979-03.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00113_StatusOfTheBeaconTower/31979-03.html


+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/113_StatusOfTheBeaconTower/32016-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00113_StatusOfTheBeaconTower/32016-01.html

@@ -1,5 +1,5 @@
 <html><body>Beacon Tower Manager Torrant:<br>
 So, Moira asked you to come? What is that you have there?<br>
 A box containing the Fire of Holy Spirit? Great! The fire was weakening because of the weird energy in this area. Give me the box at once!<br>
-<a action="bypass -h Quest 113_StatusOfTheBeaconTower 32016-02.htm">"Here it is."</a>
+<a action="bypass -h Quest Q00113_StatusOfTheBeaconTower 32016-02.html">"Here it is."</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/113_StatusOfTheBeaconTower/32016-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00113_StatusOfTheBeaconTower/32016-02.html


+ 125 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00113_StatusOfTheBeaconTower/Q00113_StatusOfTheBeaconTower.java

@@ -0,0 +1,125 @@
+/*
+ * 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.Q00113_StatusOfTheBeaconTower;
+
+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;
+
+/**
+ * Status of the Beacon Tower (113)<br>
+ * Original Jython script by Kerberos.
+ * @author malyelfik
+ */
+public class Q00113_StatusOfTheBeaconTower extends Quest
+{
+	// NPCs
+	private static final int MOIRA = 31979;
+	private static final int TORRANT = 32016;
+	
+	// Items
+	private static final int FLAME_BOX = 14860;
+	private static final int FIRE_BOX = 8086;
+	
+	@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)
+		{
+			case "31979-02.htm":
+				st.startQuest();
+				st.giveItems(FLAME_BOX, 1);
+				break;
+			case "32016-02.html":
+				if (st.hasQuestItems(FIRE_BOX))
+				{
+					st.giveAdena(21578, true);
+					st.addExpAndSp(76665, 5333);
+				}
+				else
+				{
+					st.giveAdena(154800, true);
+					st.addExpAndSp(619300, 44200);
+				}
+				st.exitQuest(false, 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 MOIRA:
+				switch (st.getState())
+				{
+					case State.CREATED:
+						htmltext = (player.getLevel() >= 80) ? "31979-01.htm" : "31979-00.htm";
+						break;
+					case State.STARTED:
+						htmltext = "31979-03.html";
+						break;
+					case State.COMPLETED:
+						htmltext = getAlreadyCompletedMsg(player);
+						break;
+				}
+				break;
+			case TORRANT:
+				if (st.isStarted())
+				{
+					htmltext = "32016-01.html";
+				}
+				break;
+		}
+		return htmltext;
+	}
+	
+	public Q00113_StatusOfTheBeaconTower(int questId, String name, String descr)
+	{
+		super(questId, name, descr);
+		addStartNpc(MOIRA);
+		addTalkId(MOIRA, TORRANT);
+		
+		registerQuestItems(FIRE_BOX, FLAME_BOX);
+	}
+	
+	public static void main(String[] args)
+	{
+		new Q00113_StatusOfTheBeaconTower(113, Q00113_StatusOfTheBeaconTower.class.getSimpleName(), "Status of the Beacon Tower");
+	}
+}

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/31961-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/31961-01.html

@@ -2,5 +2,5 @@
 Come in! So, you spoke to Yumi?<br>
 I have absolutely no idea what Yumi wants you to do, but I'm sure you'll have no problem doing it.<br>
 So, do you have business with me?<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 31961-02.htm">Show him the letter.</a>
+<a action="bypass -h Quest Q00114_ResurrectionOfAnOldManager 31961-02.html">Show him the letter.</a>
 </body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/31961-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/31961-02.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/31961-03.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/31961-03.html


+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-00.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-01.htm


+ 3 - 3
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-01.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-02.htm

@@ -1,6 +1,6 @@
-<html><body>Collector Yumi:<br>
+<html><body>Collector Yumi:<br> 
 Hmmm... very well. I'll trust you, which is more than I can say of most people.<br>
-Can you keep a secret? You must never reveal what I'm about to tell you: the legend of the shame of the Black Anvil Guild. This tale is really the shame of all Dwarves.<br>
+Can you keep a secret? You must never reveal what I'm about to tell you: the legend of the shame of the Black Anvil Guild. This tale is really the shame of all Dwarves.<br> 
 I can't tell you anything at all unless you promise to keep secret everything you learn here. Do you promise?<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32041-02.htm">"I promise."</a>
+<a action="bypass -h Quest Q00114_ResurrectionOfAnOldManager 32041-04.htm">"I promise."</a>
 </body></html>

+ 6 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-03.htm

@@ -0,0 +1,6 @@
+<html><body>Collector Yumi:<br>
+What? Newyear sent you?<br>
+I wonder what he was thinking... I told him I needed the best of the best.<br>
+You're good, but not THAT good. Not yet anyways.<br>
+(Only characters with level 70 and above, and who cleared Pavel the Giant quest are permitted to take on this quest.)
+</body></html>

+ 5 - 5
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-02.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-04.htm

@@ -1,6 +1,6 @@
-<html><body>Collector Yumi:<br>
-Very well.  You've given me your word.<br>
-Originally, this was a very important place for the Dwarven race. The Starstones continue to be harvested in the north, and where the Archaic Laboratory remains.<br>
-Among the dwarves, the Gray Pillar is in charge of construction, the Black Anvil is in charge of production and planning, and the Bronze Key is in charge of the investigation and excavation of the ruins.  Between these three guilds, more than half of their folk are dedicate to the ruins that lay here before you.<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32041-03.htm">"And?"</a>
+<html><body>Collector Yumi:<br> 
+Very well. You've given me your word.<br> 
+Originally, this was a very important place for the Dwarven race. The Starstones continue to be harvested in the north, and where the Archaic Laboratory remains.<br> 
+Among the dwarves, the Gray Pillar is in charge of construction, the Black Anvil is in charge of production and planning, and the Bronze Key is in charge of the investigation and excavation of the ruins. Between these three guilds, more than half of their folk are dedicate to the ruins that lay here before you.<br>
+<a action="bypass -h Quest Q00114_ResurrectionOfAnOldManager 32041-05.html">"And?"</a>
 </body></html>

+ 4 - 4
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-03.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-05.html

@@ -1,6 +1,6 @@
-<html><body>Collector Yumi:<br>
-Everything went smoothly for a time. The Bronze Key Guild opened the door that linked to Pavel's lab and dug up the excavator Pavel once used.<br>
-Luckily, it was designed based on ancient Dwarven technology, so the Black Anvil Guild produced an Excavator Golem based on the earlier design.<br>
+<html><body>Collector Yumi:<br> 
+Everything went smoothly for a time. The Bronze Key Guild opened the door that linked to Pavel's lab and dug up the excavator Pavel once used.<br> 
+Luckily, it was designed based on ancient Dwarven technology, so the Black Anvil Guild produced an Excavator Golem based on the earlier design.<br> 
 The Gray Pillar Guild made a strip mine with the golem, and everything was perfect... until the great explosion happened.<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32041-04.htm">Ask about the great explosion</a>
+<a action="bypass -h Quest Q00114_ResurrectionOfAnOldManager 32041-06.html">Ask about the great explosion</a>
 </body></html>

+ 5 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-06.html

@@ -0,0 +1,5 @@
+<html><body>Collector Yumi:<br> 
+The explosion came as a surprise. Like a comet shooting across the sky, it didn't seem to have a reason - it just happened. Maybe someone accidentally touched a machine in the lab. That was a popular theory at the time.<br> 
+On further inspection, however, the explosion seemed increasingly suspicious. For one thing, it coincided too closely with the <font color="LEVEL">robbery of the Black Anvil blueprint</font>...<br>
+<a action="bypass -h Quest Q00114_ResurrectionOfAnOldManager 32041-07.html">Ask about the blueprint robbery.</a>
+</body></html>

+ 5 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-07.html

@@ -0,0 +1,5 @@
+<html><body>Collector Yumi:<br> 
+Hmmm. Um. You know, I don't think it's the right time for you to learn that. I'm sure you'll learn about it eventually.<br> 
+Let's get back to the subject. Where was I?<br>
+<a action="bypass -h Quest Q00114_ResurrectionOfAnOldManager 32041-08.html">"The great explosion at the lab."</a>
+</body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-06.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-08.html

@@ -2,5 +2,5 @@
 Ah, that's right. I was talking about the incident at the lab.<br>
 There was a great explosion in the north wing of the lab. After that, everything was in chaos. A gigantic golem suddenly appeared out of nowhere, forcing us to flee. By the time we returned, all of the golems we had made began attacking us.<br>
 Everybody has since left this area except me.<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32041-07.htm">"So, what do I have to do?"</a>
+<a action="bypass -h Quest Q00114_ResurrectionOfAnOldManager 32041-09.html">"So, what do I have to do?"</a>
 </body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-07.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-09.html

@@ -1,4 +1,4 @@
-<html><body>Collector Yumi:<br>
+<html><body>Collector Yumi:<br> 
 I'm here to investigate why the golems attacked us and how the explosion happened.<br>
 Sadly, I can't even go outside and walk around.<br>
 Speaking of outside, I heard there's a strange building in the south. Do you think you could investigate? If anyone is there, then I want you to get some information from them.

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-08.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-10.html

@@ -1,4 +1,4 @@
 <html><body>Collector Yumi:<br>
-Please go and investigate the building to the south.<br>
+Please go and investigate the building to the south.<br> 
 If you find somebody there, question them closely.
 </body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-09.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-11.html

@@ -1,4 +1,4 @@
 <html><body>Collector Yumi:<br>
 It's good to see you again! What do you know of the building to the south? Did you find something?<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32041-10.htm">Tell her what happened.</a>
+<a action="bypass -h Quest Q00114_ResurrectionOfAnOldManager 32041-12.html">Tell her what happened.</a>
 </body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-10.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-12.html

@@ -1,5 +1,5 @@
 <html><body>Collector Yumi:<br>
 So it really was Dr. Chaos' lab. Fascinating...<br>
 It's good that you've made friends with Wendy. We may need to ask her more questions in the future.<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32041-11.htm">Ask about Dr. Chaos.</a>
+<a action="bypass -h Quest Q00114_ResurrectionOfAnOldManager 32041-15.html">Ask about Dr. Chaos.</a>
 </body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-10a.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-13.html

@@ -1,5 +1,5 @@
 <html><body>Collector Yumi:<br>
 Ah, Dr. Chaos... I thought it might be his lab.<br>
 Unfortunately, I think we're at a dead end here. The golem Wendy almost certainly knows more than she's saying, but she's being cautious and defensive. If only we could get her to talk...<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32041-11.htm">Ask about Dr. Chaos.</a>
+<a action="bypass -h Quest Q00114_ResurrectionOfAnOldManager 32041-15.html">Ask about Dr. Chaos.</a>
 </body></html>

+ 2 - 2
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-10b.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-14.html

@@ -1,6 +1,6 @@
 <html><body>Collector Yumi:<br>
-What? You told her you represented the Dwarf Guild? Oh, dear. That was a mistake...<br>
+What? You told her you Raffortysented the Dwarf Guild? Oh, dear. That was a mistake...<br>
 Well, it's over and done with; we can't correct it now.<br>
 But back to what you were saying about Dr. Chaos' lab - you say that incident was Dr. Chaos' fault?<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32041-11.htm">Ask about Dr. Chaos.</a>
+<a action="bypass -h Quest Q00114_ResurrectionOfAnOldManager 32041-15.html">Ask about Dr. Chaos.</a>
 </body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-11.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-15.html

@@ -1,4 +1,4 @@
 <html><body>Collector Yumi:<br>
 You ask about Dr. Chaos? He was one of the two greatest masters in the Black Anvil Guild... until he was expelled for his involvement in a, um, questionable incident.<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32041-12.htm">Ask about the questionable incident.</a>
+<a action="bypass -h Quest Q00114_ResurrectionOfAnOldManager 32041-17.html">Ask about the questionable incident.</a>
 </body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-16.html

@@ -0,0 +1,4 @@
+<html><body>Collector Yumi:<br>
+Dr. Chaos? Ah, yes. He was one of the two greatest masters in the Black Anvil Guild... until he was expelled for his involvement in a, um, questionable incident.<br>
+<a action="bypass -h Quest Q00114_ResurrectionOfAnOldManager 32041-17.html">Ask about the questionable incident.</a>
+</body></html>

+ 5 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-17.html

@@ -0,0 +1,5 @@
+<html><body>Collector Yumi:<br>
+I've already alluded to the incident in question. It's the <font color="LEVEL"> blueprint robbery</font>.<br>
+To tell Dr. Chaos' story, I need to first tell you about the robbery. Sit down; this will take a while.<br>
+<a action="bypass -h Quest Q00114_ResurrectionOfAnOldManager 32041-18.html">Sit down.</a>
+</body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-13.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-18.html

@@ -1,4 +1,4 @@
 <html><body>Collector Yumi:<br>
 Master Chaos was the tragic genius of the Black Anvil Guild. He had an amazing gift for making golems, even as a young boy. Such a prodigy! He was the student of Master Tarziph, the famous creator of the Siege Golems. But he never received the recognition his genius probably deserved.<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32041-14.htm">Ask why not.</a>
+<a action="bypass -h Quest Q00114_ResurrectionOfAnOldManager 32041-19.html">Ask why not.</a>
 </body></html>

+ 2 - 2
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-14.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-19.html

@@ -1,5 +1,5 @@
 <html><body>Collector Yumi:<br>
 He was overshadowed by Master Toma, the teleportation scientist. Master Chaos' work was brilliant in its way, but merely built upon the work others had done; Master Toma's work was a real breakthrough. Toma developed the theory behind the instant teleportation device.<br>
-Nobody else understood Toma's theory, although the results were undeniable. They only knew that the process of teleportation consumed a great many Starstones.  Master Chaos was jealous of Toma for stealing the limelight, and dedicated himself to understanding Toma's work in order to surpass it.<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32041-15.htm">Keep listening.</a>
+Nobody else understood Toma's theory, although the results were undeniable. They only knew that the process of teleportation consumed a great many Starstones. Master Chaos was jealous of Toma for stealing the limelight, and dedicated himself to understanding Toma's work in order to surpass it.<br>
+<a action="bypass -h Quest Q00114_ResurrectionOfAnOldManager 32041-20.html">Keep listening.</a>
 </body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-15.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-20.html

@@ -1,4 +1,4 @@
 <html><body>Collector Yumi:<br>
 Unfortunately, Master Toma's theory was complex and subtle, not something to be understood in a hurry by even a very clever engineer. It was not merely an industrial process; it was a theory of space itself, of force fields, of physics that few could ever hope to understand. More of us understand it now, but back then, the only other Dwarf who could understand Toma's theories was his relative, Master Tobald.<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32041-16.htm">Keep listening</a>
+<a action="bypass -h Quest Q00114_ResurrectionOfAnOldManager 32041-21.html">Keep listening</a>
 </body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-16.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-21.html

@@ -1,4 +1,4 @@
 <html><body>Collector Yumi:<br>
 Master Toma needed one thing for his teleportation device - a manner of collecting and converting the energy of several Starstones. It would require a very large and capable golem to accomplish this conversion. Master Chaos offered to design such a golem, and Master Toma accepted his offer, trusting the work of a fellow Dwarf rather than some unpredictable relic of the Giants' ruins. If he had only known...!<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32041-17.htm">Keep listening.</a>
+<a action="bypass -h Quest Q00114_ResurrectionOfAnOldManager 32041-22.html">Keep listening.</a>
 </body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-17.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-22.html

@@ -1,5 +1,5 @@
 <html><body>Collector Yumi:<br>
 That is the origin of the Golem known as "Big One." If it had been completed, it would have been the most revolutionary innovation in its field since Master Tarziph's Siege Golem.<br>
 But when the blueprint of Big One was completed, Master Chaos stole it and ran away with it.<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32041-18.htm">Ask why.</a>
+<a action="bypass -h Quest Q00114_ResurrectionOfAnOldManager 32041-23.html">Ask why.</a>
 </body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-18.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-23.html

@@ -1,5 +1,5 @@
 <html><body>Collector Yumi:<br>
 Nobody knows why he ran away, not really. Master Toma, the elder chief at the time, took full responsibility for the failure of Big One and resigned his position.<br>
 The elder committee issued an order of expulsion against Master Chaos for his misdeed, but he had disappeared. Nobody saw him again for a long time.<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32041-19.htm">Ask why Dr. Chaos came here.</a>
+<a action="bypass -h Quest Q00114_ResurrectionOfAnOldManager 32041-25.html">Ask why Dr. Chaos came here.</a>
 </body></html>

+ 6 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-24.html

@@ -0,0 +1,6 @@
+<html><body>Collector Yumi:<br>
+Where was I? Oh, yes. Dr. Chaos ran away with the stolen blueprint.<br>
+Master Toma, the elder chief at the time, took full responsibility for the failure of Big One and resigned his position.<br>
+The elder committee issued an order of expulsion against Master Chaos for his misdeeds, but he had already disappeared; nobody saw him again for a long time.<br>
+<a action="bypass -h Quest Q00114_ResurrectionOfAnOldManager 32041-25.html">Ask why Dr. Chaos came here.</a>
+</body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-19.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-25.html

@@ -1,5 +1,5 @@
 <html><body>Collector Yumi:<br>
 For a fact, I don't know why. That's something I need your help to find out.<br>
 Pardon me for a moment while I collect my thoughts.<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32041-20.htm">Wait patiently.</a>
+<a action="bypass -h Quest Q00114_ResurrectionOfAnOldManager 32041-26.html">Wait patiently.</a>
 </body></html>

+ 5 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-26.html

@@ -0,0 +1,5 @@
+<html><body>Collector Yumi:<br>
+I think you should see Wendy again.<br>
+We are plagued with golems in these parts lately. If they are the <font color="LEVEL">Horrifying Golem Army</font>, then I want to know how to control them.<br>
+From what you have said, I gather that Wendy has assumed the form of a Gatekeeper. If so, then she must have been made based on Toma's technology. It is critical that we know more about this, and I think she knows more than she has told you. Go to her and find out.
+</body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-21.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-27.html


+ 6 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-28.html

@@ -0,0 +1,6 @@
+<html><body>Collector Yumi:<br>
+Excellent! So you spoke with Wendy, did you?<br>
+Did you find out how Dr. Chaos controls so many golems? Did you learn how Wendy came to exist? I am bursting to hear your news!<br>
+<a action="bypass -h Quest Q00114_ResurrectionOfAnOldManager 32041-29.html">Talk about the relationship between Wendy and Toma.</a><br>
+<a action="bypass -h Quest Q00114_ResurrectionOfAnOldManager 32041-30.html">Talk about controlling the golems.</a>
+</body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-23.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-29.html

@@ -1,4 +1,4 @@
 <html><body>Collector Yumi:<br>
 Ah, I see. We understand little of the relationship, if any, between Wendy and Toma. Then again, what creation knows much about its creator? We know little enough of Mapre, so why should we expect more from Wendy?<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32041-24.htm">Talk about controlling golems.</a>
+<a action="bypass -h Quest Q00114_ResurrectionOfAnOldManager 32041-30.html">Talk about controlling golems.</a>
 </body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-30.html

@@ -0,0 +1,4 @@
+<html><body>Collector Yumi:<br>
+So there's a...being that controls golems. Interesting. I'm not sure how Dr. Chaos did it, but this being is almost certainly using an electric wave to control the golems. We should be looking for it; that's how we'll find out more.<br>
+<a action="bypass -h Quest Q00114_ResurrectionOfAnOldManager 32041-31.html">"I think so too."</a>
+</body></html>

+ 0 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-25.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-31.html


+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-26.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-32.html

@@ -1,3 +1,3 @@
 <html><body>Collector Yumi:<br>
-You're back, but you haven't found what you're looking for? I can't help you. You have the electric wave detector, so go locate whatever it is reacting to and determine the exact nature of the object ... or creature ... causing the readings.
+You're back, but you haven't found what you're looking for? I can't help you. You have the electric wave detector, so go locate whatever it is reacting to and determine the exact nature of the object - or creature - causing the readings.
 </body></html>

+ 4 - 0
L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-33.html

@@ -0,0 +1,4 @@
+<html><body>Collector Yumi:<br>
+Did the detector work? Did you find the being?<br>
+<a action="bypass -h Quest Q00114_ResurrectionOfAnOldManager 32041-34.html">Return the detector.</a>
+</body></html>

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/scripts/quests/114_ResurrectionOfAnOldManager/32041-28.htm → L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00114_ResurrectionOfAnOldManager/32041-34.html

@@ -1,4 +1,4 @@
 <html><body>Collector Yumi:<br>
 My word! The detector pegged out at its maximum level. What did you find that made it react so strongly?<br>
-<a action="bypass -h Quest 114_ResurrectionOfAnOldManager 32041-29.htm">Tell her about the stack of stones.</a>
+<a action="bypass -h Quest Q00114_ResurrectionOfAnOldManager 32041-35.html">Tell her about the stack of stones.</a>
 </body></html>

部分文件因文件數量過多而無法顯示