diff --git a/L2J_DataPack_BETA/dist/game/data/scripts.cfg b/L2J_DataPack_BETA/dist/game/data/scripts.cfg index 42882dfb3c11de6520056f9945b97f9a8e7b19c5..df3d41387ff860b8489f760bcfb8ec310fde6af6 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts.cfg +++ b/L2J_DataPack_BETA/dist/game/data/scripts.cfg @@ -349,7 +349,7 @@ quests/Q00148_PathtoBecominganExaltedMercenary/Q00148_PathtoBecominganExaltedMer quests/Q00151_CureForFever/Q00151_CureForFever.java quests/Q00152_ShardsOfGolem/Q00152_ShardsOfGolem.java quests/Q00153_DeliverGoods/Q00153_DeliverGoods.java -quests/154_SacrificeToSea/__init__.py +quests/Q00154_SacrificeToTheSea/Q00154_SacrificeToTheSea.java quests/Q00155_FindSirWindawood/Q00155_FindSirWindawood.java quests/Q00156_MillenniumLove/Q00156_MillenniumLove.java quests/Q00157_RecoverSmuggledGoods/Q00157_RecoverSmuggledGoods.java @@ -503,9 +503,9 @@ quests/Q00338_AlligatorHunter/Q00338_AlligatorHunter.java quests/340_SubjugationOfLizardmen/__init__.py quests/Q00341_HuntingForWildBeasts/Q00341_HuntingForWildBeasts.java quests/343_UnderTheShadowOfTheIvoryTower/__init__.py -quests/344_1000YearsEndofLamentation/__init__.py +quests/Q00344_1000YearsTheEndOfLamentation/Q00344_1000YearsTheEndOfLamentation.java quests/345_MethodToRaiseTheDead/__init__.py -quests/347_GoGetTheCalculator/__init__.py +quests/Q00347_GoGetTheCalculator/Q00347_GoGetTheCalculator.java quests/348_ArrogantSearch/__init__.py quests/Q00350_EnhanceYourWeapon/Q00350_EnhanceYourWeapon.java quests/351_BlackSwan/__init__.py @@ -533,12 +533,12 @@ quests/Q00376_ExplorationOfTheGiantsCavePart1/Q00376_ExplorationOfTheGiantsCaveP quests/Q00377_ExplorationOfTheGiantsCavePart2/Q00377_ExplorationOfTheGiantsCavePart2.java quests/378_MagnificentFeast/__init__.py quests/379_FantasyWine/__init__.py -quests/380_BringOutTheFlavorOfIngredients/__init__.py -quests/381_LetsBecomeARoyalMember/__init__.py -quests/382_KailsMagicCoin/__init__.py +quests/Q00380_BringOutTheFlavorOfIngredients/Q00380_BringOutTheFlavorOfIngredients.java +quests/Q00381_LetsBecomeARoyalMember/Q00381_LetsBecomeARoyalMember.java +quests/Q00382_KailsMagicCoin/Q00382_KailsMagicCoin.java quests/383_SearchingForTreasure/__init__.py quests/384_WarehouseKeepersPastime/__init__.py -quests/385_YokeofthePast/__init__.py +quests/Q00385_YokeOfThePast/Q00385_YokeOfThePast.java quests/386_StolenDignity/__init__.py quests/Q00401_PathToWarrior/Q00401_PathToWarrior.java quests/402_PathToKnight/__init__.py @@ -559,8 +559,8 @@ quests/Q00416_PathOfTheOrcShaman/Q00416_PathOfTheOrcShaman.java quests/417_PathToScavenger/__init__.py quests/418_PathToArtisan/__init__.py quests/419_GetAPet/__init__.py -quests/420_LittleWings/__init__.py -quests/421_LittleWingAdventures/__init__.py +quests/Q00420_LittleWing/Q00420_LittleWing.java +quests/Q00421_LittleWingsBigAdventure/Q00421_LittleWingsBigAdventure.java quests/422_RepentYourSins/__init__.py quests/Q00423_TakeYourBestShot/Q00423_TakeYourBestShot.java quests/426_FishingShot/__init__.py @@ -589,7 +589,7 @@ quests/Q00552_OlympiadVeteran/Q00552_OlympiadVeteran.java quests/Q00553_OlympiadUndefeated/Q00553_OlympiadUndefeated.java quests/Q00601_WatchingEyes/Q00601_WatchingEyes.java quests/Q00602_ShadowOfLight/Q00602_ShadowOfLight.java -quests/603_DaimontheWhiteEyedPart1/__init__.py +quests/Q00603_DaimonTheWhiteEyedPart1/Q00603_DaimonTheWhiteEyedPart1.java quests/604_DaimontheWhiteEyedPart2/__init__.py quests/Q00605_AllianceWithKetraOrcs/Q00605_AllianceWithKetraOrcs.java quests/Q00606_BattleAgainstVarkaSilenos/Q00606_BattleAgainstVarkaSilenos.java @@ -611,7 +611,7 @@ quests/Q00621_EggDelivery/Q00621_EggDelivery.java quests/Q00622_SpecialtyLiquorDelivery/Q00622_SpecialtyLiquorDelivery.java quests/Q00623_TheFinestFood/Q00623_TheFinestFood.java quests/Q00624_TheFinestIngredientsPart1/Q00624_TheFinestIngredientsPart1.java -quests/625_TheFinestIngredientsPart2/__init__.py +quests/Q00625_TheFinestIngredientsPart2/Q00625_TheFinestIngredientsPart2.java quests/Q00626_ADarkTwilight/Q00626_ADarkTwilight.java quests/Q00627_HeartInSearchOfPower/Q00627_HeartInSearchOfPower.java quests/Q00628_HuntGoldenRam/Q00628_HuntGoldenRam.java @@ -641,7 +641,7 @@ quests/Q00653_WildMaiden/Q00653_WildMaiden.java quests/Q00654_JourneyToASettlement/Q00654_JourneyToASettlement.java quests/Q00659_IdRatherBeCollectingFairyBreath/Q00659_IdRatherBeCollectingFairyBreath.java quests/660_AidingtheFloranVillage/__init__.py -quests/661_TheHarvestGroundsSafe/__init__.py +quests/Q00661_MakingTheHarvestGroundsSafe/Q00661_MakingTheHarvestGroundsSafe.java quests/Q00662_AGameOfCards/Q00662_AGameOfCards.java quests/663_SeductiveWhispers/__init__.py quests/Q00688_DefeatTheElrokianRaiders/Q00688_DefeatTheElrokianRaiders.java diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/30051-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/30051-01.htm deleted file mode 100644 index 74f227079b18bbc256b3c02622c8dd4259175ca2..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/30051-01.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Cristel:<br> -Ah, you've been sent by Rockswell. Such fine, soft fur. But this is not enough for me to spin into yarn. I think ten of these furs would be enough... please gather a few more. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/30051-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/30051-04.htm deleted file mode 100644 index 928e1f5d6c7494b4473b86f55f836c2140d4d02c..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/30051-04.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Cristel:<br> -Oh my ... What a beautiful doll! Did Rolfe make it? What a talented person he is. Is that a gift for someone? -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/30055-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/30055-03.htm deleted file mode 100644 index 7a94d344c2c403a484113a453e595107c7ce64fa..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/30055-03.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Warehouse Keeper Rolfe:<br> -Some time ago Rockswell asked me to craft a doll in the shape of a maiden. He must be giving it as a gift to his granddaughter or something. But I can't make the hair yet, as I don't have any yarn. Rockswell said that he would find me some yarn spun from the fur of the keltir ... -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/30312-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/30312-06.htm deleted file mode 100644 index 60b309fe1761617754ce01b11f2006e4c77d9f9a..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/30312-06.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Lighthouse Keeper Rockswell:<br> -So Cristel has spun the yarn for me. I am always grateful to her. Give this yarn to<font color="LEVEL"> Rolfe</font>. You can find Rolfe at the<font color="LEVEL"> warehouse</font>. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/30312-08.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/30312-08.htm deleted file mode 100644 index 07e654e634a93ce4302075f9a55f8f8485f2e762..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/30312-08.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Lighthouse Keeper Rockswell:<br> -So you've gathered ten keltir furs. Take them to Cristel. You can find her at the well in front of the warehouse. She will spin yarn from the keltir fur.<br> -Take the keltir fur yarn to Rolfe. You can find Rolfe at the warehouse. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/__init__.py b/L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/__init__.py deleted file mode 100644 index f4d341fbd95374b30c32506a33f8bd790c21c9af..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/__init__.py +++ /dev/null @@ -1,130 +0,0 @@ -# Made by Mr. Have fun! Version 0.2 -import sys -from com.l2jserver.gameserver.model.quest import State -from com.l2jserver.gameserver.model.quest import QuestState -from com.l2jserver.gameserver.model.quest import Quest as JQuest - -qn = "154_SacrificeToSea" - -FOX_FUR_ID = 1032 -FOX_FUR_YARN_ID = 1033 -MAIDEN_DOLL_ID = 1034 -EARING_ID = 113 - -class Quest (JQuest) : - - def __init__(self,id,name,descr): - JQuest.__init__(self,id,name,descr) - self.questItemIds = [FOX_FUR_ID, FOX_FUR_YARN_ID, MAIDEN_DOLL_ID] - - def onAdvEvent (self,event,npc, player) : - htmltext = event - st = player.getQuestState(qn) - if not st : return - if event == "1" : - st.set("id","0") - htmltext = "30312-04.htm" - st.set("cond","1") - st.setState(State.STARTED) - st.playSound("ItemSound.quest_accept") - return htmltext - - - def onTalk (self,npc,player): - htmltext = Quest.getNoQuestMsg(player) - st = player.getQuestState(qn) - if not st : return htmltext - - npcId = npc.getId() - id = st.getState() - if npcId == 30312 and st.getInt("cond")==0 and st.getInt("onlyone")==0 : - if player.getLevel() >= 2 : - htmltext = "30312-03.htm" - return htmltext - else: - htmltext = "30312-02.htm" - st.exitQuest(1) - elif npcId == 30312 and st.getInt("cond")==0 and st.getInt("onlyone")==1 : - htmltext = Quest.getAlreadyCompletedMsg(player) - - if id == State.STARTED: - if npcId == 30312 and st.getInt("cond")>=1 and (st.getQuestItemsCount(FOX_FUR_YARN_ID)==0 and st.getQuestItemsCount(MAIDEN_DOLL_ID)==0) and st.getQuestItemsCount(FOX_FUR_ID)<10 : - htmltext = "30312-05.htm" - elif npcId == 30312 and st.getInt("cond")>=1 and st.getQuestItemsCount(FOX_FUR_ID)>=10 : - htmltext = "30312-08.htm" - elif npcId == 30051 and st.getInt("cond")>=1 and st.getQuestItemsCount(FOX_FUR_ID)<10 and st.getQuestItemsCount(FOX_FUR_ID)>0 : - htmltext = "30051-01.htm" - elif npcId == 30051 and st.getInt("cond")>=1 and st.getQuestItemsCount(FOX_FUR_ID)>=10 and st.getQuestItemsCount(FOX_FUR_YARN_ID)==0 and st.getQuestItemsCount(MAIDEN_DOLL_ID)==0 and st.getQuestItemsCount(MAIDEN_DOLL_ID)<10 : - htmltext = "30051-02.htm" - st.giveItems(FOX_FUR_YARN_ID,1) - st.takeItems(FOX_FUR_ID,st.getQuestItemsCount(FOX_FUR_ID)) - st.set("cond","3") - st.playSound("ItemSound.quest_middle") - elif npcId == 30051 and st.getInt("cond")>=1 and st.getQuestItemsCount(FOX_FUR_YARN_ID)>=1 : - htmltext = "30051-03.htm" - elif npcId == 30051 and st.getInt("cond")>=1 and st.getQuestItemsCount(MAIDEN_DOLL_ID)==1 : - htmltext = "30051-04.htm" - elif npcId == 30312 and st.getInt("cond")>=1 and st.getQuestItemsCount(FOX_FUR_YARN_ID)>=1 : - htmltext = "30312-06.htm" - elif npcId == 30055 and st.getInt("cond")>=1 and st.getQuestItemsCount(FOX_FUR_YARN_ID)>=1 : - htmltext = "30055-01.htm" - st.giveItems(MAIDEN_DOLL_ID,1) - st.takeItems(FOX_FUR_YARN_ID,st.getQuestItemsCount(FOX_FUR_YARN_ID)) - st.set("cond","4") - st.playSound("ItemSound.quest_middle") - elif npcId == 30055 and st.getInt("cond")>=1 and st.getQuestItemsCount(MAIDEN_DOLL_ID)>=1 : - htmltext = "30055-02.htm" - elif npcId == 30055 and st.getInt("cond")>=1 and st.getQuestItemsCount(FOX_FUR_YARN_ID)==0 and st.getQuestItemsCount(MAIDEN_DOLL_ID)==0 : - htmltext = "30055-03.htm" - elif npcId == 30312 and st.getInt("cond")>=1 and st.getQuestItemsCount(MAIDEN_DOLL_ID)>=1 and st.getInt("onlyone")==0 : - if st.getInt("id") != 154 : - st.set("id","154") - htmltext = "30312-07.htm" - st.giveItems(EARING_ID,1) - st.takeItems(MAIDEN_DOLL_ID,-1) - st.addExpAndSp(1000,0) - st.set("cond","0") - st.exitQuest(False) - st.playSound("ItemSound.quest_finish") - st.set("onlyone","1") - return htmltext - - def onKill(self,npc,player,isPet): - st = player.getQuestState(qn) - if not st : return - if st.getState() != State.STARTED : return - - npcId = npc.getId() - if npcId == 20481 : - st.set("id","0") - if st.getInt("cond") >= 1 and st.getQuestItemsCount(FOX_FUR_ID)<10 and st.getQuestItemsCount(FOX_FUR_YARN_ID) == 0 : - if self.getRandom(10)<4 : - st.giveItems(FOX_FUR_ID,1) - if st.getQuestItemsCount(FOX_FUR_ID) == 10 : - st.playSound("ItemSound.quest_middle") - st.set("cond","2") - else: - st.playSound("ItemSound.quest_itemget") - elif npcId == 20545 : - st.set("id","0") - if st.getInt("cond") >= 1 and st.getQuestItemsCount(FOX_FUR_ID)<10 and st.getQuestItemsCount(FOX_FUR_YARN_ID) == 0 : - if self.getRandom(10)<4 : - st.giveItems(FOX_FUR_ID,1) - if st.getQuestItemsCount(FOX_FUR_ID) == 10 : - st.playSound("ItemSound.quest_middle") - st.set("cond","2") - else: - st.playSound("ItemSound.quest_itemget") - return - -QUEST = Quest(154,qn,"Sacrifice To Sea") - -QUEST.addStartNpc(30312) - -QUEST.addTalkId(30312) - -QUEST.addTalkId(30051) -QUEST.addTalkId(30055) - -QUEST.addKillId(20481) -QUEST.addKillId(20545) \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-03.htm deleted file mode 100644 index ff9f1642a5b33020361d9fdb12cf1c544e1e995e..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-03.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Antharas Watchman Gilmore:<br> -Alas, their souls have been lost to the beast. Now they wander the valley, preying on innocent passersby. They have come to be known as cave servants.<br> -<a action="bypass -h Quest 344_1000YearsEndofLamentation 30754-04.htm">"Tell me more, Gilmore."</a></body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-04.htm deleted file mode 100644 index c281d955371fceed2b50f29e1e84b9375274d4dc..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-04.htm +++ /dev/null @@ -1,2 +0,0 @@ -<html><body>Antharas Watchman Gilmore:<br> -Surely you have heard of the untold numbers that have died trying to slay Antharas. The fortunate among them were called back to the bosom of Shilen. The unfortunate ones are now the cave servants. I couldn't begin to tell you how many these are now in the valley. You must simply kill as many as you can. These are several types of cave servants, among them<font color="LEVEL"> Cave Servant Archers, Cave Servant Warriors, and Cave Servant Captains.</font> You must kill them all. If they leave any relics behind, please bring them to me. You shall be well-rewarded.</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-16.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-16.htm deleted file mode 100644 index b66c6b94331af6ba36cc8a230fca652dcd017453..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-16.htm +++ /dev/null @@ -1,6 +0,0 @@ -<html><body>Antharas Watchman Gilmore:<br> -Were they surprised to see a relic from a 1,000-year-old ancestor? Good work, my friend! Please accept this reward along with the compensation for having to travel so far.<br> -The brave soldiers who have finally obtained peace must be very grateful to you... But there are still many here in the valley who live in eternal torment. Will you continue to give them rest?<br> -<a action="bypass -h Quest 344_1000YearsEndofLamentation 30754-07.htm">"I will continue the work."</a><br> -<a action="bypass -h Quest 344_1000YearsEndofLamentation 30754-08.htm">"I quit."</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/__init__.py b/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/__init__.py deleted file mode 100644 index 416d893d13589f05818b49581c69b67b42779979..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/__init__.py +++ /dev/null @@ -1,181 +0,0 @@ -# Made by KilKenny & DrLecter -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 import Quest as JQuest - -qn = "344_1000YearsEndofLamentation" - -#Rewards -ADENA = 57 - -#Quest Items -ARTICLES_DEAD_HEROES,OLD_KEY,OLD_HILT,OLD_TOTEM,CRUCIFIX = range(4269,4274) - -#Chances -CHANCE = 36 -SPECIAL = int(1+(1000/Config.RATE_QUEST_REWARD)) -#NPCs -GILMORE = 30754 -RODEMAI = 30756 -ORVEN = 30857 -KAIEN = 30623 -GARVARENTZ = 30704 - -def rewards(st,npcId): - state=False - chance = st.getQuest().getRandom(100) - if npcId == ORVEN and st.getQuestItemsCount(CRUCIFIX) : - st.set("mission","1") - st.takeItems(CRUCIFIX,-1) - state=True - if chance < 50 : - st.giveItems(1875,19) - elif chance < 70 : - st.giveItems(952,5) - else : - st.giveItems(2437,1) - elif npcId == GARVARENTZ and st.getQuestItemsCount(OLD_TOTEM) : - st.set("mission","2") - st.takeItems(OLD_TOTEM,-1) - state=True - if chance < 45 : - st.giveItems(1882,70) - elif chance < 95 : - st.giveItems(1881,50) - else : - st.giveItems(191,1) - elif npcId == KAIEN and st.getQuestItemsCount(OLD_HILT) : - st.set("mission","3") - st.takeItems(OLD_HILT,-1) - state=True - if chance < 50 : - st.giveItems(1874,25) - elif chance < 75 : - st.giveItems(1887,10) - elif chance < 99 : - st.giveItems(951,1) - else : - st.giveItems(133,1) - elif npcId == RODEMAI and st.getQuestItemsCount(OLD_KEY) : - st.set("mission","4") - st.takeItems(OLD_KEY,-1) - state=True - if chance < 40 : - st.giveItems(1879,55) - elif chance < 90 : - st.giveItems(951,1) - else : - st.giveItems(885,1) - return state - -class Quest (JQuest) : - - def __init__(self,id,name,descr): - JQuest.__init__(self,id,name,descr) - self.questItemIds = range(4269,4274) - - def onEvent (self,event,st) : - htmltext = event - amount = st.getQuestItemsCount(ARTICLES_DEAD_HEROES) - cond = st.getInt("cond") - level = st.getPlayer().getLevel() - if event == "30754-04.htm" : - if level>=48 and cond == 0 : - st.setState(State.STARTED) - st.set("cond","1") - st.playSound("ItemSound.quest_accept") - else : - htmltext = Quest.getNoQuestMsg(player) - st.exitQuest(1) - elif event == "30754-08.htm" : - st.exitQuest(1) - st.playSound("ItemSound.quest_finish") - elif event == "30754-06.htm" and cond == 1 : - if not amount : - htmltext = "30754-06a.htm" - else: - st.giveItems(ADENA,amount*60) - st.takeItems(ARTICLES_DEAD_HEROES,-1) - random = self.getRandom(1000) - if random < 10 : - htmltext = "30754-12.htm" - st.giveItems(OLD_KEY,1) - st.set("cond","2") - elif random < 20 : - htmltext = "30754-13.htm" - st.giveItems(OLD_HILT,1) - st.set("cond","2") - elif random < 30 : - htmltext = "30754-14.htm" - st.giveItems(OLD_TOTEM,1) - st.set("cond","2") - elif random < 40 : - htmltext = "30754-15.htm" - st.giveItems(CRUCIFIX,1) - st.set("cond","2") - else : - htmltext = "30754-16.htm" - st.set("cond","1") - return htmltext - - def onTalk (self,npc,player): - htmltext = Quest.getNoQuestMsg(player) - st = player.getQuestState(qn) - if not st : return htmltext - - npcId = npc.getId() - id = st.getState() - if npcId != GILMORE and id != State.STARTED : return htmltext - - level = player.getLevel() - cond = st.getInt("cond") - amount = st.getQuestItemsCount(ARTICLES_DEAD_HEROES) - if id == State.CREATED : - if level>=48 : - htmltext = "30754-02.htm" - else : - htmltext = "30754-01.htm" - st.exitQuest(1) - elif npcId == GILMORE and cond==1 : - if amount : - htmltext = "30754-05.htm" - else : - htmltext = "30754-04.htm" - elif cond==2 : - if npcId == GILMORE : - htmltext="30754-15.htm" - elif rewards(st,npcId) : - htmltext=str(npcId)+"-01.htm" - st.playSound("ItemSound.quest_middle") - st.set("cond","1") - st.unset("mission") - return htmltext - - def onKill(self,npc,player,isPet): - st = player.getQuestState(qn) - if not st : return - if st.getState() != State.STARTED : return - - npcId = npc.getId() - chance = (CHANCE+(npcId-20234)*2)*Config.RATE_QUEST_DROP - bonus = int(divmod(chance,100)[0]) - if st.getInt("cond") == 1 and self.getRandom(100)<chance : - st.giveItems(ARTICLES_DEAD_HEROES,1+bonus) - st.playSound("ItemSound.quest_itemget") - return - -QUEST = Quest(344,qn,"1000 Years, the End of Lamentation") - -QUEST.addStartNpc(GILMORE) - -QUEST.addTalkId(GILMORE) - -QUEST.addTalkId(RODEMAI) -QUEST.addTalkId(ORVEN) -QUEST.addTalkId(GARVARENTZ) -QUEST.addTalkId(KAIEN) - -for mob in range(20236,20241): - QUEST.addKillId(mob) \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30526-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30526-01.htm deleted file mode 100644 index ecd22f8f0213557f7ad82fefe348668828d8ef3b..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30526-01.htm +++ /dev/null @@ -1,6 +0,0 @@ -<html><body>Blacksmith Brunon:<br> -Over the long years of trading, the dwarves have created a tool to help traders with their calculations. At first it was a very simple device, but over time they were able to make them better and capable of more complex computations. I find this very useful and I always wish to get the latest model of this<font color="LEVEL"> calculator</font>. Recently a new one was created. I heard it has been brought to town but I have not seen it yet. I do not know where to look for it, but I am sure the<font color="LEVEL"> Trader Guilds</font> brought it into town.<br> -As you probably already know, there are two trader guilds in this village: the<font color="LEVEL"> Silver Scale Guild</font> and the<font color="LEVEL"> Golden Wheel Guild</font>.<br> -I do not have the time to go and search for it. Do you think you can check the leaders and people from these guilds to find me the<font color="LEVEL"> newest model calculator</font>? I will, of course, pay you for your efforts.<br> -<a action="bypass -h Quest 347_GoGetTheCalculator 1">Say you will do this task.</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30526-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30526-02.htm deleted file mode 100644 index 81429532f84e3871e1e4ff16c7967dffbe1e7511..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30526-02.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Blacksmith Brunon:<br> -Great! Alright then, start with the<font color="LEVEL"> Trader Guilds</font>. Surely they will have information about the calculator. Like I said, there are two trader guilds in this village: the<font color="LEVEL"> Silver Scale Guild</font> and the<font color="LEVEL"> Golden Wheel Guild</font>. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30526-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30526-03.htm deleted file mode 100644 index 6296df364a47580635b5e8e730f1e015afced936..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30526-03.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Blacksmith Brunon:<br> -Ah, you're back! Did you bring the<font color="LEVEL"> new model calculator</font>? Not yet? Why not? As I said, you should check with the<font color="LEVEL"> Trader Guilds</font>. I am sure they brought it into the village. If you keep looking you will find it.<br> -Surely you know by now that the guilds you should check with are the<font color="LEVEL"> Silver Scale Guild</font> and the<font color="LEVEL"> Golden Wheel Guild</font>...<br> -Get going! -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30526-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30526-04.htm deleted file mode 100644 index ad226c8a524e0b045dcc66b414b36f0fec470420..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30526-04.htm +++ /dev/null @@ -1,11 +0,0 @@ -<html><body>Blacksmith Brunon:<br> -Ah, the new model calculator! Good job! You shall be rewarded for this! Give me a moment while I check it out!<br> -Is this how this works?<br> -.<br> -.<br> -Aaargh! Do you actually think that this is a new mofel?<br> -Well, sorry to tell you this, but this calculator can only handle simple equations. It's of no use to me at all. I suppose, however, you still should be paid for your efforts.<br> -How does 1,000 adena sound? Or, if you prefer, you can have the calculator. It's your choice!<br> -<a action="bypass -h Quest 347_GoGetTheCalculator 30526_1">Take the calculator.</a><br> -<a action="bypass -h Quest 347_GoGetTheCalculator 30526_2">Take the adena.</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30526-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30526-05.htm deleted file mode 100644 index 2acebcfdcafd206e23ec2739fc86d0879664ebf6..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30526-05.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Blacksmith Brunon:<br> -Sure, it's fine by me, keep the calculator if you want it. Just remember our deal and don't come complaining that I cheated you. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30526-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30526-06.htm deleted file mode 100644 index ad8c01c416153baee2c3ebc5f7a229d0091ac140..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30526-06.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Blacksmith Brunon:<br> -Well, since I'm paying you for it, I will just keep the calculator, even though I don't really need this one. But a deal is a deal...here is the money I promised you for your work. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30527-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30527-02.htm deleted file mode 100644 index 8c6fadaa8b3c64592a5d3779202e2ab8e3392dbf..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30527-02.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Blacksmith Silvera:<br> -If you really want me to give you the calculator then bring me 10 crystals from the<font color="LEVEL"> gemstone beasts</font> and I'll give you the calculator. Otherwise, please do not waste my time. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30532-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30532-01.htm deleted file mode 100644 index ceeb3166e2d62d9decc6a7ca066b453325626066..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30532-01.htm +++ /dev/null @@ -1,9 +0,0 @@ -<html><body>Elder Spiron:<br> -Why would a youngster like you need such advanced technology? Oh, I get it! It's for Brunon! Mark my words, that fool is in over his head! You should be very careful in y our dealings with him...<br> -Well, my friend, we don't have the calculator that you seek, but I do know where it can be found...I will tell you where it is if you will honestly answer thi question:<br> -Which is the best Dwarven trade guild?<br> -<a action="bypass -h Quest 347_GoGetTheCalculator 30532_1">Golden Wheel</a><br> -<a action="bypass -h Quest 347_GoGetTheCalculator 30532_2">Silver Scale</a><br> -<a action="bypass -h Quest 347_GoGetTheCalculator 30532_3">I don't know</a><br> -You do know the name of our guild, don't you? Not that I mean for you to lie to say that we are the best, but... -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30532-02a.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30532-02a.htm deleted file mode 100644 index e4dbe6070259a4a07c009abccfa18be57889bddc..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30532-02a.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Golden Wheel's Spiron:<br> -Ah yes, the calculator...Tell Brunon this:<br> -<font color="LEVEL">"The enemy is within your own house."</font> Or,<font color="LEVEL"> "It is closer than you think."</font><br> -If you don't understand this, I give up, Go and ask someone else... -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30532-02b.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30532-02b.htm deleted file mode 100644 index f4ff8ebf398f4b8a22456f0c4cf9a93d9eeabacd..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30532-02b.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Golden Wheel's Spiron:<br> -pfff...if<font color="LEVEL"> Silver Scale</font> is a better guild, I guess you don't really need my advice. Just go and ask them! -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30532-02c.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30532-02c.htm deleted file mode 100644 index 55763f5b989aa5deeaa9af65ed8396bcf792310f..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30532-02c.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Golden Wheel's Spiron:<br> -If you do not even know the answer to such a simple question, there is no hope for you. You might as well give up or come back to me when you think you can answer. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30533-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30533-01.htm deleted file mode 100644 index d317fab8abe2ff229a90fefc98d9aefb72c27cb0..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30533-01.htm +++ /dev/null @@ -1,6 +0,0 @@ -<html><body>Silver Scale's Balanki:<br> -A new type of calculator, eh? Well, unfortunately, our guild does not make these, but I could tell you who does<br> -Of course, as you know, nothing comes for free. However, this shouldn't be much, just a small token of good faith...<br> -I'll give you the information for only 100 adena. It's not like I need the money...As you know, I am an elder, and such sums are nothing to me. All I require is a demonstration of your gratitude<br> -<a action="bypass -h Quest 347_GoGetTheCalculator 30533_1">Give him 100 adena.</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30533-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30533-03.htm deleted file mode 100644 index 66b7e006b4f88cb92c87edb2d7b6eba1ba2cfa4d..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30533-03.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Silver Scale's Balanki:<br> -What?! You do not even have this small amount of adena I asked of you? I refuse to give you any information unless you at least have 100 to give me as your appreciation. Go and do not come back before you have collected some money! -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/__init__.py b/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/__init__.py deleted file mode 100644 index 33e3a0e6ccce26b8d9016a9f51af429aa45c1e3a..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/__init__.py +++ /dev/null @@ -1,141 +0,0 @@ -# Made by Fulminus -# Quest 347: Go Get The Calculator. - -qn = "347_GoGetTheCalculator" - -import sys -from com.l2jserver.gameserver.model.quest import State -from com.l2jserver.gameserver.model.quest import QuestState -from com.l2jserver.gameserver.model.quest import Quest as JQuest - -# NPCs to talk to -BRUNON = 30526 -SILVERA = 30527 -SPIRON = 30532 -BALANKI = 30533 - -# MOBs to kill -GEMSTONE_BEAST = 20540 # drops "gemstone beast's crystal" at 50% chance - -# quest items -GEMSTONE_BEAST_CRYSTAL = 4286 -ADENA = 57 -CALCULATOR_Q = 4285 -CALCULATOR = 4393 - -class Quest (JQuest) : - - def __init__(self,id,name,descr): - JQuest.__init__(self,id,name,descr) - self.questItemIds = [GEMSTONE_BEAST_CRYSTAL] - - def onEvent (self,event,st) : - htmltext = event - if event == "1" : - st.set("id","0") - st.set("cond","1") - st.setState(State.STARTED) - st.playSound("ItemSound.quest_accept") - htmltext = str(BRUNON)+"-02.htm" - elif event == "30533_1" : - if st.getQuestItemsCount(ADENA)>100 : - st.takeItems(ADENA, 100) - if st.getInt("cond")== 1: - st.set("cond","2") - else : - st.set("cond","4") - htmltext = str(BALANKI)+"-02.htm" - else : - htmltext = str(BALANKI)+"-03.htm" - elif event == "30532_1" : - htmltext = str(SPIRON)+"-02a.htm" - if st.getInt("cond")== 1: - st.set("cond","3") - else : - st.set("cond","4") - elif event == "30532_2" : - htmltext = str(SPIRON)+"-02b.htm" - elif event == "30532_3" : - htmltext = str(SPIRON)+"-02c.htm" - elif event == "30526_1" : - st.giveItems(CALCULATOR,1) - st.takeItems(CALCULATOR_Q,1) - st.playSound("ItemSound.quest_middle") - st.exitQuest(False) - st.set("cond","0") - st.exitQuest(1) - htmltext = str(BRUNON)+"-05.htm" - elif event == "30526_2" : - st.giveItems(ADENA,1000) - st.takeItems(CALCULATOR_Q,1) - st.playSound("ItemSound.quest_middle") - st.exitQuest(False) - st.set("cond","0") - st.exitQuest(1) - htmltext = str(BRUNON)+"-06.htm" - return htmltext - - - def onTalk (self,npc,player): - htmltext = Quest.getNoQuestMsg(player) - st = player.getQuestState(qn) - if not st : return htmltext - - npcId = npc.getId() - id = st.getState() - if npcId != BRUNON and id != State.STARTED : return htmltext - - if npcId == BRUNON and id==State.CREATED : - if player.getLevel() >= 12 : - st.set("id","0") - st.set("cond","0") - htmltext = str(BRUNON)+"-01.htm" - else: - st.exitQuest(1) - return htmltext - elif npcId == BRUNON and st.getInt("cond")>0 and st.getQuestItemsCount(CALCULATOR_Q)==0 : - htmltext = str(BRUNON)+"-03.htm" - elif npcId == BALANKI and (st.getInt("cond")==1 or st.getInt("cond")==3): - htmltext = str(BALANKI)+"-01.htm" - elif npcId == SPIRON and (st.getInt("cond")==1 or st.getInt("cond")==2) : - htmltext = str(SPIRON)+"-01.htm" - elif npcId == SILVERA and st.getInt("cond")==4 : - st.set("cond","5") - htmltext = str(SILVERA)+"-01.htm" - elif npcId == SILVERA and st.getInt("cond")==5 and st.getQuestItemsCount(GEMSTONE_BEAST_CRYSTAL)<10 : - htmltext = str(SILVERA)+"-02.htm" - elif npcId == SILVERA and st.getInt("cond")==5 and st.getQuestItemsCount(GEMSTONE_BEAST_CRYSTAL)==10 : - htmltext = str(SILVERA)+"-03.htm" - st.takeItems(GEMSTONE_BEAST_CRYSTAL,10) - st.giveItems(CALCULATOR_Q,1) - st.playSound("ItemSound.quest_itemget") - st.set("cond","6") - elif npcId == BRUNON and st.getInt("cond")==6 and st.getQuestItemsCount(CALCULATOR_Q)==1 : - htmltext = str(BRUNON)+"-04.htm" - return htmltext - - def onKill(self,npc,player,isPet): - st = player.getQuestState(qn) - if not st : return - if st.getState() != State.STARTED : return - - npcId = npc.getId() - if npcId == GEMSTONE_BEAST and st.getInt("cond")==5 and self.getRandom(2)==1 and st.getQuestItemsCount(GEMSTONE_BEAST_CRYSTAL)<10 : - st.giveItems(GEMSTONE_BEAST_CRYSTAL,1) - if st.getQuestItemsCount(GEMSTONE_BEAST_CRYSTAL) == 10 : - st.playSound("ItemSound.quest_middle") - else: - st.playSound("ItemSound.quest_itemget") - return - -QUEST = Quest(347,qn,"Calculator") - -QUEST.addStartNpc(BRUNON) - -QUEST.addTalkId(BRUNON) - -QUEST.addTalkId(SILVERA) -QUEST.addTalkId(SPIRON) -QUEST.addTalkId(BALANKI) - -QUEST.addKillId(GEMSTONE_BEAST) diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-5.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-5.htm deleted file mode 100644 index db686ca8799e4be30c13f81aaccf47640f0fe1d3..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-5.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Magister Rollant:<br> -Dire Wolves can be found in the northern Dion Hills, or in the south across the river west of Dion Castle and also on the Plains of Dion.<br> -Since Kadif Werewolves can only be found on the Plains of Dion, you'll have to cross the river anyway.<br> -Giant Mist Leeches can be found in the Cruma Marshlands.<br> -Antidotes can be bought at any store.</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-6.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-6.htm deleted file mode 100644 index 8de429ace842f446fc928847cf928a87cbdf92e6..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-6.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Magister Rollant:<br> -You haven't brought all the ingredients. Please bring me<font color="LEVEL"> Ritron Fruit</font> from<font color="LEVEL"> Dire Wolves</font>,<font color="LEVEL"> Moon Flowers</font> from<font color="LEVEL"> Kadif Werewolves</font>,<font color="LEVEL"> Giant Mist Leech Fluids</font> and<font color="LEVEL"> Antidote</font>. Bring them to me and I'll make you the best dessert ever made... Elven Magister Mirien, known as the magician of flavor, has never tasted it!<br> -<a action="bypass -h Quest 380_BringOutTheFlavorOfIngredients 30069-5.htm">"Where do I find the ingredients?"</a></body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/__init__.py b/L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/__init__.py deleted file mode 100644 index f0971c12b783ccd030a5b474bc92fa46635d14df..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/__init__.py +++ /dev/null @@ -1,131 +0,0 @@ -# Made by disKret & DrLecter -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 import Quest as JQuest - -qn = "380_BringOutTheFlavorOfIngredients" - -#NPC -ROLLANT = 30069 - -#MOBS -DIRE_WOLF = 20205 -KADIF_WEREWOLF = 20206 -GIANT_MIST_LEECH = 20225 - -#ITEMS -RITRONS_FRUIT,MOON_FACE_FLOWER,LEECH_FLUIDS = range(5895,5898) -ANTIDOTE = 1831 -RITRON_JELLY = 5960 -JELLY_RECIPE = 5959 - -#mob:[chance,item,max] -DROPLIST = { -DIRE_WOLF:[10,RITRONS_FRUIT,4], -KADIF_WEREWOLF:[50,MOON_FACE_FLOWER,20], -GIANT_MIST_LEECH:[50,LEECH_FLUIDS,10] -} - -#CHANCE -RECIPE_CHANCE = 55 - -class Quest (JQuest) : - - def __init__(self,id,name,descr): - JQuest.__init__(self,id,name,descr) - self.questItemIds = range(5895,5898) - - def onEvent (self,event,st) : - htmltext = event - if event == "30069-4.htm" : - st.set("cond","1") - st.setState(State.STARTED) - st.playSound("ItemSound.quest_accept") - elif event == "30069-12.htm" : - if st.getInt("cond") == 6 : - st.giveItems(JELLY_RECIPE,1) - st.playSound("ItemSound.quest_finish") - else : - htmltext = "I'll squeeze the jelly from your eyes" - st.exitQuest(1) - return htmltext - - def onTalk (self,npc,player): - htmltext = Quest.getNoQuestMsg(player) - st = player.getQuestState(qn) - if not st : return htmltext - - npcId = npc.getId() - id = st.getState() - cond=st.getInt("cond") - if cond == 0 : - if player.getLevel() >= 24 : - htmltext = "30069-1.htm" - else: - htmltext = "30069-0.htm" - st.exitQuest(1) - elif cond == 1 : - htmltext = "30069-6.htm" - elif cond == 2 : - if st.getQuestItemsCount(ANTIDOTE) >= 2 and st.getQuestItemsCount(RITRONS_FRUIT) == 4 and st.getQuestItemsCount(MOON_FACE_FLOWER) == 20 and st.getQuestItemsCount(LEECH_FLUIDS) == 10 : - st.takeItems(RITRONS_FRUIT,-1) - st.takeItems(MOON_FACE_FLOWER,-1) - st.takeItems(LEECH_FLUIDS,-1) - st.takeItems(ANTIDOTE,2) - st.set("cond","3") - htmltext = "30069-7.htm" - else : - htmltext = "30069-6.htm" - elif cond == 3 : - st.set("cond","4") - htmltext = "30069-8.htm" - elif cond == 4 : - st.set("cond","5") - htmltext = "30069-9.htm" - elif cond == 5 : - st.set("cond","6") - htmltext = "30069-10.htm" - elif cond == 6 : - st.giveItems(RITRON_JELLY,1) - if self.getRandom(100) < RECIPE_CHANCE : - htmltext = "30069-11.htm" - else : - htmltext = "30069-13.htm" - st.playSound("ItemSound.quest_finish") - st.exitQuest(1) - 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 : - chance,item,max = DROPLIST[npc.getId()] - numItems,chance = divmod(chance*Config.RATE_QUEST_DROP,100) - count = st.getQuestItemsCount(item) - if count < max : - if self.getRandom(100) < chance : - numItems = numItems + 1 - numItems = int(numItems) - if count + numItems > max : - numItems = max - count - if numItems != 0 : - st.giveItems(item,numItems) - if st.getQuestItemsCount(RITRONS_FRUIT) == 4 and st.getQuestItemsCount(MOON_FACE_FLOWER) == 20 and st.getQuestItemsCount(LEECH_FLUIDS) == 10 : - st.set("cond","2") - st.playSound("ItemSound.quest_middle") - else : - st.playSound("ItemSound.quest_itemget") - return - -QUEST = Quest(380,qn,"Bring Out The Flavor Of Ingredients") - -QUEST.addStartNpc(ROLLANT) - -QUEST.addTalkId(ROLLANT) - -for mob in DROPLIST.keys(): - QUEST.addKillId(mob) \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/381_LetsBecomeARoyalMember/__init__.py b/L2J_DataPack_BETA/dist/game/data/scripts/quests/381_LetsBecomeARoyalMember/__init__.py deleted file mode 100644 index d1ca20c3a24c49858c334e853d79773c997e4f7f..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/381_LetsBecomeARoyalMember/__init__.py +++ /dev/null @@ -1,126 +0,0 @@ -# Lets Become A Royal Member ver. 0.1 by DrLecter -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 import Quest as JQuest - -QuestNumber = 381 -QuestName = "LetsBecomeARoyalMember" -QuestDescription = "Let's become a Royal Member" -qn = "381_LetsBecomeARoyalMember" - -#Quest items -KAILS_COIN, COIN_ALBUM, MEMBERSHIP_1, CLOVER_COIN, ROYAL_MEMBERSHIP = 5899, 5900, 3813, 7569, 5898 -#NPCs -SORINT, SANDRA = 30232, 30090 -#MOBs -ANCIENT_GARGOYLE, VEGUS = 21018,27316 -#CHANCES (custom values, feel free to change them) -GARGOYLE_CHANCE = 5*Config.RATE_QUEST_DROP -VEGUS_CHANCE = 100*Config.RATE_QUEST_DROP - - -class Quest (JQuest) : - - def __init__(self,id,name,descr): - JQuest.__init__(self,id,name,descr) - self.questItemIds = [KAILS_COIN, COIN_ALBUM, CLOVER_COIN] - - def onEvent (self,event,st) : - htmltext = event - if event == "30232-02.htm": - if st.getPlayer().getLevel() >= 55 and st.getQuestItemsCount(MEMBERSHIP_1) : - st.set("cond","1") - st.setState(State.STARTED) - st.playSound("ItemSound.quest_accept") - htmltext = "30232-03.htm" - else : - st.exitQuest(1) - elif event == "30090-02.htm" : - if st.getInt("cond") == 1 : - st.set("id","1") - st.playSound("ItemSound.quest_accept") - else : - htmltext = Quest.getNoQuestMsg(player) - return htmltext - - def onTalk (self,npc,player): - htmltext = Quest.getNoQuestMsg(player) - st = player.getQuestState(qn) - if not st : return htmltext - - npcId = npc.getId() - id = st.getState() - if npcId != SORINT and id != State.STARTED : return htmltext - - cond=st.getInt("cond") - album = st.getQuestItemsCount(COIN_ALBUM) - if npcId == SORINT : - if cond == 0 : - htmltext = "30232-01.htm" - elif cond == 1 : - coin = st.getQuestItemsCount(KAILS_COIN) - if coin and album : - st.takeItems(KAILS_COIN,-1) - st.takeItems(COIN_ALBUM,-1) - st.giveItems(ROYAL_MEMBERSHIP,1) - st.playSound("ItemSound.quest_finish") - st.exitQuest(1) - htmltext = "30232-06.htm" - elif not album : - htmltext = "30232-05.htm" - elif not coin : - htmltext = "30232-04.htm" - else : - clover = st.getQuestItemsCount(CLOVER_COIN) - if album : - htmltext = "30090-05.htm" - else : - if clover : - st.takeItems(CLOVER_COIN,-1) - st.giveItems(COIN_ALBUM,1) - st.playSound("ItemSound.quest_itemget") - htmltext = "30090-04.htm" - else : - if st.getInt("id") == 0 : - htmltext = "30090-01.htm" - else : - htmltext = "30090-03.htm" - return htmltext - - def onKill(self,npc,player,isPet): - st = player.getQuestState(qn) - if not st : return - if st.getState() != State.STARTED : return - - npcId = npc.getId() - album = st.getQuestItemsCount(COIN_ALBUM) - coin = st.getQuestItemsCount(KAILS_COIN) - clover = st.getQuestItemsCount(CLOVER_COIN) - if npcId == ANCIENT_GARGOYLE and not coin : - if self.getRandom(100) < GARGOYLE_CHANCE : - st.giveItems(KAILS_COIN,1) - if album or clover : - st.playSound("ItemSound.quest_middle") - else : - st.playSound("ItemSound.quest_itemget") - elif npcId == VEGUS and not (clover + album) and st.getInt("id") : - if self.getRandom(100) < VEGUS_CHANCE : - st.giveItems(CLOVER_COIN,1) - if coin : - st.playSound("ItemSound.quest_middle") - else : - st.playSound("ItemSound.quest_itemget") - return - -QUEST = Quest(QuestNumber, str(QuestNumber)+"_"+QuestName, QuestDescription) - -QUEST.addStartNpc(SORINT) - -QUEST.addTalkId(SORINT) - -QUEST.addTalkId(SANDRA) - -QUEST.addKillId(ANCIENT_GARGOYLE) -QUEST.addKillId(VEGUS) \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/382_KailsMagicCoin/30687-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/382_KailsMagicCoin/30687-04.htm deleted file mode 100644 index a3ed8b1f7cf0149a8fd5fdf9dce2146bb86806dd..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/382_KailsMagicCoin/30687-04.htm +++ /dev/null @@ -1,6 +0,0 @@ -<html><body>Head Blacksmith Vergara:<br> -I have many kinds of weapons. Take one or take them all!<br><br> -<a action="bypass -h npc_%objectId%_multisell 382">"I'm interested in recipe list."</a><br> -<a action="bypass -h Quest 382_KailsMagicCoin 30687-05.htm">"Where can I obtain Kail's Coins?"</a><br> -<a action="bypass -h Quest 382_KailsMagicCoin 30687-06.htm">"Tell me about the members of the coin collecting club." </a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/382_KailsMagicCoin/__init__.py b/L2J_DataPack_BETA/dist/game/data/scripts/quests/382_KailsMagicCoin/__init__.py deleted file mode 100644 index 06222d283b81b99b9bd324a7712e8035fcf2ec55..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/382_KailsMagicCoin/__init__.py +++ /dev/null @@ -1,75 +0,0 @@ -# Kail's Magic Coin ver. 0.1 by DrLecter -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 import Quest as JQuest - -qn = "382_KailsMagicCoin" - -#Quest items -ROYAL_MEMBERSHIP = 5898 -#NPCs -VERGARA = 30687 -#MOBs and CHANCES -MOBS={21017:[5961],21019:[5962],21020:[5963],21022:[5961,5962,5963]} -CHANCE = 10 -MAX = 100 - -class Quest (JQuest) : - - def __init__(self,id,name,descr): - JQuest.__init__(self,id,name,descr) - self.questItemIds = range(5961,5964) - - def onEvent (self,event,st) : - htmltext = event - if event == "30687-03.htm": - if st.getPlayer().getLevel() >= 55 and st.getQuestItemsCount(ROYAL_MEMBERSHIP) : - st.set("cond","1") - st.setState(State.STARTED) - st.playSound("ItemSound.quest_accept") - else : - htmltext = "30687-01.htm" - st.exitQuest(1) - return htmltext - - def onTalk (self,npc,player): - htmltext = Quest.getNoQuestMsg(player) - st = player.getQuestState(qn) - if not st : return htmltext - npcId = npc.getId() - id = st.getState() - cond=st.getInt("cond") - if st.getQuestItemsCount(ROYAL_MEMBERSHIP) == 0 or player.getLevel() < 55 : - htmltext = "30687-01.htm" - st.exitQuest(1) - else : - if cond == 0 : - htmltext = "30687-02.htm" - else : - htmltext = "30687-04.htm" - return htmltext - - def onKill(self,npc,player,isPet): - st = player.getQuestState(qn) - if not st : return - if st.getState() != State.STARTED : return - numItems,chance = divmod(CHANCE*Config.RATE_QUEST_DROP,MAX) - if st.getQuestItemsCount(ROYAL_MEMBERSHIP) : - if self.getRandom(MAX) < chance : - numItems = numItems + 1 - npcId = npc.getId() - if numItems != 0 : - st.giveItems(MOBS[npcId][self.getRandom(len(MOBS[npcId]))],int(numItems)) - st.playSound("ItemSound.quest_itemget") - return - -QUEST = Quest(382, qn, "Kail's Magic Coin") - -QUEST.addStartNpc(VERGARA) - -QUEST.addTalkId(VERGARA) - -for npc in MOBS.keys(): - QUEST.addKillId(npc) \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/385_YokeofthePast/10.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/385_YokeofthePast/10.htm deleted file mode 100644 index 68d6709f858e526f051ed8daa48311dda451f5c8..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/385_YokeofthePast/10.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Gatekeeper Ziggurat:<br> -A voice comes out of the sphere in a pleading tone:<br> -I was once a human like yourself. A powerful spell perished my body, and my very soul was trapped in this place. For several hundred years, I've been working here as a gatekeeper. They have even taken away my memory, and therefore I don't even know what kind of person I used to be. The only thing I remember is that I need to open the gate to the Lord of the Seal.<br> -<a action="bypass -h Quest 385_YokeofthePast 11.htm">What did you do to deserve this?</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/385_YokeofthePast/12.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/385_YokeofthePast/12.htm deleted file mode 100644 index 6447e001906ed3d4da7307216032f7c6453e355d..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/385_YokeofthePast/12.htm +++ /dev/null @@ -1,6 +0,0 @@ -<html><body>Gatekeeper Ziggurat:<br> -The followers of ancient magic possess<font color="LEVEL"> scrolls of ancient magic </font>containing forbidden magic power. If these scrolls were to fall into the wrong hands, it could cause quite a disturbance. I cannot let this happen.<br> -Please recover the scrolls of ancient magic from the ancients in the dungeon... Will you do this for me?<br> -<a action="bypass -h Quest 385_YokeofthePast 14.htm">"I'll do it."</a><br> -<a action="bypass -h Quest 385_YokeofthePast 13.htm">"I think you're hiding something..."</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/385_YokeofthePast/14.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/385_YokeofthePast/14.htm deleted file mode 100644 index 8222dda83a775ff54807cfae9f18dc48809445da..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/385_YokeofthePast/14.htm +++ /dev/null @@ -1,6 +0,0 @@ -<html><body>Gatekeeper Ziggurat:<br> -Good choice! Now go to the dungeon, slay<font color="LEVEL"> the guardians of ancient cult</font>, and bring back the<font color="LEVEL"> scrolls of ancient magic</font>.<br> -When you bring me the scroll, I will remove the magic power it contains and turn the scroll into a<font color="LEVEL"> Blank Scroll</font>. A Blank Scroll is the only reward I can offer you.<br> -Have you heard of<font color="LEVEL"> Merchant of Mammon</font> who often appears in the castle area? He will be very interested in a Blank Scroll. You will find out more when you meet him. It won't be easy to find him though...<br> -<a action="bypass -h Quest 385_YokeofthePast 15.htm">"Tell me more about the guardians of ancient magic."</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/385_YokeofthePast/__init__.py b/L2J_DataPack_BETA/dist/game/data/scripts/quests/385_YokeofthePast/__init__.py deleted file mode 100644 index 87b00e15fd42139f1806afebb1f0bc19ca22d71d..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/385_YokeofthePast/__init__.py +++ /dev/null @@ -1,120 +0,0 @@ -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 import Quest as JQuest - -qn = "385_YokeofthePast" - -ANCIENT_SCROLL = 5902 - -CHANCE={ - 21208:7, #Hallowed Watchman - 21209:8, #Hallowed Seer - 21210:11, #Vault Guardian - 21211:11, #Vault Seer - #21212 has not spawn - 21213:14, #Hallowed Monk - 21214:19, #Vault Sentinel - 21215:19, #Vault Monk - #21216 has not spawn - 21217:24, #Hallowed Priest - 21218:30, #Vault Overlord - 21219:30, #Vault Priest - #21220 has not spawn - 21221:37, #Sepulcher Inquisitor - 21222:46, #Sepulcher Archon - 21223:45, #Sepulcher Inquisitor - 21224:50, #Sepulcher Guardian - 21225:54, #Sepulcher Sage - 21226:66, #Sepulcher Guardian - 21227:64, #Sepulcher Sage - 21228:70, #Sepulcher Guard - 21229:75, #Sepulcher Preacher - 21230:91, #Sepulcher Guard - 21231:86, #Sepulcher Preacher - #21232 has not spawn - #21233 has not spawn - #21234 has not spawn - #21235 has not spawn - 21236:12, #Barrow Sentinel - 21237:14, #Barrow Monk - 21238:19, #Grave Sentinel - 21239:19, #Grave Monk - 21240:22, #Barrow Overlord - 21241:24, #Barrow Priest - 21242:30, #Grave Overlord - 21243:30, #Grave Priest - 21244:34, #Crypt Archon - 21245:37, #Crypt Inquisitor - 21246:46, #Tomb Archon - 21247:45, #Tomb Inquisitor - 21248:50, #Crypt Guardian - 21249:54, #Crypt Sage - 21250:99, #Tomb Guardian - 21251:64, #Tomb Sage - 21252:70, #Crypt Guard - 21253:75, #Crypt Preacher - 21254:91, #Tomb Guard - 21255:86 #Tomb Preacher -} -MAX = 100 - -class Quest (JQuest) : - - def __init__(self,id,name,descr): - JQuest.__init__(self,id,name,descr) - self.questItemIds = [] - - def onEvent (self,event,st) : - htmltext = event - if event == "14.htm" : - st.setState(State.STARTED) - st.playSound("ItemSound.quest_accept") - st.set("cond","1") - elif event == "17.htm" : - st.playSound("ItemSound.quest_finish") - st.exitQuest(1) - return htmltext - - def onTalk (self,npc,player): - htmltext = Quest.getNoQuestMsg(player) - st = player.getQuestState(qn) - if not st : return htmltext - - npcId = npc.getId() - id = st.getState() - if id == State.CREATED : - htmltext = "10.htm" - elif st.getInt("cond") == 1 and st.getQuestItemsCount(ANCIENT_SCROLL) == 0 : - htmltext = "16.htm" - elif st.getInt("cond") == 1 and st.getQuestItemsCount(ANCIENT_SCROLL) : - numancientscrolls = st.getQuestItemsCount(ANCIENT_SCROLL) - st.giveItems(5965,numancientscrolls) - st.takeItems(ANCIENT_SCROLL,-1) - htmltext = "16.htm" - return htmltext - - def onKill(self,npc,player,isPet): - partyMember = self.getRandomPartyMemberState(player, State.STARTED) - if not partyMember : return - st = partyMember.getQuestState(qn) - chance = CHANCE[npc.getId()]*Config.RATE_QUEST_DROP - numItems, chance = divmod(chance,MAX) - if self.getRandom(MAX)<chance : - numItems = numItems + 1 - if numItems != 0 : - st.giveItems(ANCIENT_SCROLL,int(numItems)) - st.playSound("ItemSound.quest_itemget") - return - -QUEST = Quest(385,qn,"Yoke of the Past") - -for npcId in range(31095,31126): - if npcId in [31111,31112,31113]: - continue - QUEST.addTalkId(npcId) - QUEST.addStartNpc(npcId) - -for mobs in range(21208,21256): - QUEST.addKillId(mobs) \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_byron_10.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_byron_10.htm deleted file mode 100644 index 3e11884fd4e3eb99e77a6e7f05d50358c166691f..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_byron_10.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Guard Byron:<br>Oh, have you met Sage Cronos? Are these the ingredients for fairy stone...! -Hmm... I wouldn't know from looking. But a quick glance at them makes me think there are a lot of -really expensive items here... Ha, ha... Uh, someone going to meet a fairy can't show an expression -like that. Just do your best and try again.</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_byron_2.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_byron_2.htm deleted file mode 100644 index 0f00b3a24c57603ab1c813a4a954fceb656ecc87..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_byron_2.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Guard Byron:<br> -Hmm, what is this? Such a beautiful stone! It looks very expensive... Wait! Could it be? Oh, my... Is this a Fairy Stone? If you've got one of these, you should be able to attract a Fairy. A Fairy is barely perceptible to the human eye and will run away immediately when spoken to. But this stone will surely get a Fairy's attention.<br> -<a action="bypass -h Quest 420_LittleWings askmore">"Please tell me more."</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_byron_3.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_byron_3.htm deleted file mode 100644 index 12fbc215df5f4d507adb213ea8737aeb372332c6..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_byron_3.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Guard Byron:<br> -Something happened to me when I was quite young. I don't remember it well, but... If there are still Fairies living in Enchanted Valley, they would most likely be found in <font color="LEVEL">the deepest part of the Northern Valley</font>. If you have that Fairy Stone I am certain a Fairy will talk to you there. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_byron_4.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_byron_4.htm deleted file mode 100644 index b745d65add8cda2776c01af304e7a448e2d5785d..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_byron_4.htm +++ /dev/null @@ -1,11 +0,0 @@ -<html><body>Guard Byron:<br> -It's something that happened to me when I was very young and so I don't remember well, -but... If there are still fairies living in Enchanted Valley, the location that I'm thinking -about is<font color="LEVEL"> the deepest place in the north of the valley</font>. Take that -fairy stone and...<br>Wait! Show me that stone again. ... This is not an ordinary fairy -stone! It's as white as snow... This is the pure white fairy stone that fairies really -love. But that stone is very sensitive to blood. In particular, creatures that are close -to fairies... If it gets the blood of creatures living in Enchanted Valley on it, it will break -immediately. And there are a lot of creatures there that don't like Humans... It's a difficult -situation. To meet the fairy<font color="LEVEL"> you must not attack any creatures in Enchanted -Valley</font> on your way to the very deepest part of the valley...</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_byron_5.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_byron_5.htm deleted file mode 100644 index f475f676351d27755eec7615ceda6c5ca2a23ae3..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_byron_5.htm +++ /dev/null @@ -1,6 +0,0 @@ -<html><body>Fairy Mimyu:<br> -Um, you've come again with a fairy stone again, huh? -Wait... This one is a bit different than last time... If this is an ordinary fairy stone and not -a pure white fairy stone, it won't become broken even if it gets blood on it from creatures in -Fairy Valley. Don't worry. It'll be fine as you go to<font color="LEVEL"> the very deepest part -of the north of the Valley</font>.</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_byron_6.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_byron_6.htm deleted file mode 100644 index 186844e156751f2f9ad2d7c6736787f98223047a..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_byron_6.htm +++ /dev/null @@ -1,8 +0,0 @@ -<html><body>Guard Byron:<br> -Um, even though you've failed once, you're still coming back with this pure white fairy stone? -With a sincerity like that, the fairy will definitely open the village to you. But the creatures -living in the village won't know about that sincerity of yours... Ha, ha.<br>The conditions are -the same as before. If the blood of a creature that is close to a fairy gets on the pure white -fairy stone - meaning, any creature that lives in Fairy Valley - it will break immediately. -To meet the fairy<font color="LEVEL"> you must not attack any creatures in Fairy Valley</font> -on your way to the very deepest part of the valley...</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_byron_8.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_byron_8.htm deleted file mode 100644 index bc8c4b73980445b841f9f81c141e98d2c1617acd..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_byron_8.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Guard Byron:<br> -You haven't left for Fairy Valley yet? If you want to meet a fairy, you've got to take the pure white fairy stone and go to the<font color="LEVEL"> very deepest part of Fairy Valley</font>. If you're lucky, you may be able to meet a fairy there. But you've got to be careful. If the blood of any creature living in Fairy Valley gets on the pure white fairy stone that you have, it will break. Therefore, you<font color="LEVEL"> must not fight</font>. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_byron_9.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_byron_9.htm deleted file mode 100644 index 1b1d13d3b350c10b3fc659d729a05f4b85d6e698..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_byron_9.htm +++ /dev/null @@ -1,7 +0,0 @@ -<html><body>Guard Byron:<br> -Aren't you the person that left with the pure white fairy stone to meet a fairy? -What...?! Looking at you, it appears that you had a fight in the valley. Did you -lose the pure white fairy stone? Oh, that's really too bad...<br> -If you still want to meet a fairy, then you'll just have to make another fairy stone. -Did you make the last fairy stone by asking for wisdom from<font color="LEVEL"> Sage Cronos</font>? -You'll have to go back to him and ask again.</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_1.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_1.htm deleted file mode 100644 index 24eb1a279cc1af6b6be96a2caaec8933c86f9683..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_1.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Elder Cronos:<br> -Let me guess. You come for a hatchling, am I right? You should reconsider this foolish choice! It will not fight and eats like a pig. You cannot ride it, but must escort it about like it is your master. Why do you want something that will give you so much trouble and hearthache? I suppose you want to raise it to be a wavern. If it were that easy, I, Cronos, would be astride one instead of sitting here talking to you!<br> -You should not expect more from a pet than to be cute a cuddly. I don't approve of your choice at all.<br> -<a action="bypass -h Quest 420_LittleWings cronos_2">"I will raise it with all my love!"</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_10.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_10.htm deleted file mode 100644 index 6d4e6c1be8a3a0c557cdc7fbbd76230237b2e967..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_10.htm +++ /dev/null @@ -1,11 +0,0 @@ -<html><body>Sage Cronos:<br> -What did you say? A fairy stone delux will break when it is smeared with blood...? -Gosh, this must be a really fastidious stone. By the way, what's up with you... -If Byron told you not to engage in combat, you should have followed his instructions... -What a bummer! Oh well... what's the point of telling this to an adventurer like yourself. -I'm just wasting my breath. Aren't you tired by now? What do you think? -I think you should just give up on making a fairy stone delux and just focus on creating a -regular fairy stone. It's easier to make and easier to carry around... huh? What do you say? -<br> -<a action="bypass -h Quest 420_LittleWings fsn">Decide to make a fairy stone.</a><br> -<a action="bypass -h Quest 420_LittleWings fsn_dlx">Decide to make a fairy stone delux.</a></body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_11.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_11.htm deleted file mode 100644 index b184355687073db89c114e3ed0dab6bda3ea4940..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_11.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Sage Cronos:<br> -Is that right?.... He told you to go to the deepest part the Enchanted Valley huh...? -Then, you should hurry up and go! Byron wouldn't tell you about it without knowing what he -was talking about. Few people know about the Enchanted Valley as much as Byron... Go ahead -and do as he told you. You will not lose anything.</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_12.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_12.htm deleted file mode 100644 index 4098e483776df5821e0ee59ff79a337a0efce037..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_12.htm +++ /dev/null @@ -1,6 +0,0 @@ -<html><body>Sage Cronos:<br> -Here, take this. It's the Ingredient List. You know what to do next, right? You can get the -<font color="LEVEL">inpicio's back skin </font>by going to the<font color="LEVEL"> Cruma Marshlands -</font>yourself and catching a<font color="LEVEL"> toad lord</font>... Then take it along with -your other ingredients to<font color="LEVEL"> Maria of Dion Castle Town</font>. Then she will make -a fairy stone for you.</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_13.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_13.htm deleted file mode 100644 index 6693d267c14ab6b81fe598dbf01886881ffcaeef..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_13.htm +++ /dev/null @@ -1,6 +0,0 @@ -<html><body>Sage Cronos:<br> -Here, take this. It's the Ingredient List. You know what to do next, right? -You can get the<font color="LEVEL">inpicio's back skin </font>by going to the -<font color="LEVEL">Cruma Marshlands </font>yourself and catching a<font color="LEVEL"> -a toad lord</font>... Then take it along with your other ingredients to<font color="LEVEL"> -Maria of Dion Castle Town</font>. Then she will make a fairy stone deluxe for you.</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_14.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_14.htm deleted file mode 100644 index 01cd986172a5f1be8717777c3db007ea41e33727..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_14.htm +++ /dev/null @@ -1,6 +0,0 @@ -<html><body>Sage Cronos:<br>You made a fairy stone again? Really? -I didn't know it would actually work again...! Let me take a look... -It doesn't seem to be very different from the previous one. As I told you before, go see -<font color="LEVEL">Guard Byron </font>who is a native of this village to find out what -you should do next. He told you about this before, right? Told you to go to the deepest -part of the Enchanted valley and then etc. etc. etc....</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_5.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_5.htm deleted file mode 100644 index 8a2829c4e25365d317f1cbdf37b7d827319a17c1..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_5.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Elder Cronos:<br> -Oh well, what do I have to lose? Here is the list of ingredients you will need in order to create a Fairy Stone. However this cannot be accomplished easily, not even by a skilled Dwarven Artisan. I do know of a young lady named <font color="LEVEL">Maria who lives in the Town of Dion</font> who can make a Crystal of Purity. I think she may also be able to make a Deluxe Fairy Stone... If she can't help you I am afraid you may be out of luck. But you won't know until you ask, eh? By the way, among the ingredients, the <font color="LEVEL">toad lord's back skin</font> cannot be purchased. You must go to the <font color="LEVEL">Cruma Marshlands</font> yourself and kill a <font color="LEVEL">toad lord</font> to collect it. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_6.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_6.htm deleted file mode 100644 index 8a2829c4e25365d317f1cbdf37b7d827319a17c1..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_6.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Elder Cronos:<br> -Oh well, what do I have to lose? Here is the list of ingredients you will need in order to create a Fairy Stone. However this cannot be accomplished easily, not even by a skilled Dwarven Artisan. I do know of a young lady named <font color="LEVEL">Maria who lives in the Town of Dion</font> who can make a Crystal of Purity. I think she may also be able to make a Deluxe Fairy Stone... If she can't help you I am afraid you may be out of luck. But you won't know until you ask, eh? By the way, among the ingredients, the <font color="LEVEL">toad lord's back skin</font> cannot be purchased. You must go to the <font color="LEVEL">Cruma Marshlands</font> yourself and kill a <font color="LEVEL">toad lord</font> to collect it. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_exarion_1.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_exarion_1.htm deleted file mode 100644 index 237f2e2d739d5437c68a5b63f6b93cfd21bf6fe6..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_exarion_1.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Drake Exarion:<br> -Greetings, two-legged creature! What brings you up this tall mountain? If you intend to kill me with that weapon, please proceed. Those vicious <font color="LEVEL">Leto Lizardmen</font> have stolen my eggs. I have already killed countless lizardmen trying to retrieve them but so far my search has been in vain. The depth of my grief precludes me from killing any more of those horrible creatures. If you truly believe in the sense of justice spoken of by your gods, please help me. You must find the eggs holding my sleeping babies! If you retrieve all of the eggs that were stolen, I shall give you one of them. This should demonstrate my sincerity and profound sense of loss. Will you help me?<br> -<a action="bypass -h Quest 420_LittleWings exarion_1">"I will retrieve your eggs!"</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_exarion_3.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_exarion_3.htm deleted file mode 100644 index 07c947f5435a296c231b0634ba87809e4905b342..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_exarion_3.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Drake Exarion:<br> -Please hurry and find my <font color="LEVEL">20 eggs</font>. As I told you, the <font color="LEVEL">leto Lizardman Warriors</font> stole them. Those creatures have been seen <font color="LEVEL">near the fortress that you call Oren Castle</font>. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_exarion_4.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_exarion_4.htm deleted file mode 100644 index 986af52f429414a6d56391158c0fbe078c1fb583..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_exarion_4.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Drake Exarion:<br> -You have found all my eggs! What a good job!<br> -Yes, I remember the promise I made. In the name of Antharas I will give you one of my eggs. Take heed, once the egg is out of my protection, the baby inside will weaken and die if certain steps are not taken. You must take the egg to <font color="LEVEL">Fairy Mimyu in Enchanted Valley</font>. Her magic will protect the baby inside the egg. I am very thankful for what you have done for me. Now you must hurry! -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_exarion_5.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_exarion_5.htm deleted file mode 100644 index 259fec4bbc6cf0ac524d5e289d88e619b709a1a5..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_exarion_5.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Drake Exarion:<br> -Are you still here? I have given you one of my eggs as promised. It is now your responsibility to protect it. As a mother, I feel as though my heart has been ripped from my chest... Now please, hurry and take that egg to <font color="LEVEL">Fairy Mimyu</font>. My pain and the life of my infant must not be squandered! -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_kalibran_1.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_kalibran_1.htm deleted file mode 100644 index a4071bb9ab7ba315821c53776994af6592862526..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_kalibran_1.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Drake Kalibran:<br> -Huh..?! Is that poison of monkshood? It's got a really strong smell... But thanks to you, I've gotten my wits back... It -looks like you've got Elven dust on your body. OK... While you were wanding around looking for my lost babies, you asked -for help from Fairy Mimyu, didn't you?... Are you the one she sent to help me?<br> -<a action="bypass -h Quest 420_LittleWings kalibran_1">Yes, I have come to help you but...</a></body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_kalibran_2.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_kalibran_2.htm deleted file mode 100644 index 16612ac7fc5e549139857948a75c419ef5e630eb..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_kalibran_2.htm +++ /dev/null @@ -1,6 +0,0 @@ -<html><body>Drake Kalibran:<br>... Yes, of course. You races that walk about on two feet must be paid for your efforts regardless of -whether your legs are short or long. I understand. My eggs were stolen by thieves called<font color="LEVEL"> road scavengers -</font>. They attacked by hitting me and then stole my eggs. I have no idea who told them to do that. They have set up their -camp<font color="LEVEL"> near the valley that Humans call "Death Pass."</font><br>If you will get<font color="LEVEL"> all -20 eggs</font> of mine that they took, I'll do anything that you ask of me if I'm able to do it. Take my scale. If you have -this, you'll be able to easily distinguish my eggs from the other items they have stolen.</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_kalibran_3.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_kalibran_3.htm deleted file mode 100644 index 8e18f7d9e09546a38eb5e324729559543f8c37c0..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_kalibran_3.htm +++ /dev/null @@ -1,2 +0,0 @@ -<html><body>Drake Kalibran:<br>You haven't been able to get all my eggs yet, huh? Hurry and go to<font color="LEVEL"> Death Pass</font>. -Kill the<font color="LEVEL"> road scavengers</font> there and get my eggs... Please get my<font color="LEVEL"> 20 eggs</font>!</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_kalibran_4.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_kalibran_4.htm deleted file mode 100644 index 9e94b03b90fb5b5c66f89b28c5cf815da63bebb1..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_kalibran_4.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Drake Kalibran:<br>... My eggs! My eggs are all in good shape...! They are even still warm...! How great! How great...! -Oooh.... Sniff...! Why are you looking at me like that? Is it so much fun to see a drake cry?<br>Alright, there's still -the promise that I made to you. What is it that you want to ask of me?<br> -<a action="bypass -h Quest 420_LittleWings kalibran_2">Please give me one egg...</a></body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_kalibran_5.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_kalibran_5.htm deleted file mode 100644 index b13860fb1dcb2db9f6d8bc12f2817a41132dfa5c..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_kalibran_5.htm +++ /dev/null @@ -1,6 +0,0 @@ -<html><body>Drake Kalibran:<br>Huh..?! What...! That's impossible! No, no way...! Please ask for something else. OK... Those of your -race like money, right? No matter that I have to attack a palace or anywhere else, I'll give you all the money you want! -That's not OK...?<br>... It's not OK...? You are really cruel. You know that us fairies can never break a promise we've -made, right? Boo, hoo... I understand. A promise is a promise! I'll give you one of my offspring. I entreat you to raise -this egg into a great drake...<br>And take this egg to<font color="LEVEL"> Fairy Mimyu</font>. The eggs have become really -weak... Without the help of it's mother, the child will at least need assistance from a fairy in order to live. Please hurry...</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_kalibran_6.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_kalibran_6.htm deleted file mode 100644 index 5c8c3f064c6e1f2c77ca4fdf4da8183d5e5368a5..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_kalibran_6.htm +++ /dev/null @@ -1,2 +0,0 @@ -<html><body>Drake Kalibran:<br>And please take this child to<font color="LEVEL"> Fairy Mimyu</font>. May the divine blessings of the God -of Wind Sayha be with my child and you, its owner.</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_low_level.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_low_level.htm deleted file mode 100644 index 95c54172d63fcfc64f422065e9e5481ab0ee133c..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_low_level.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Pet Manager Cooper:<br> -Hmm... It does seem that a lot of people are looking for hatchlings. I know all about the basic ones. When young, they're hatchlings. Then later they get bigger and become striders that can carry people around. Later, they grow into wyverns that fly around in the sky. In fact, I've seen one before. It's pretty cute when young but you would never think that after it grows up and becomes a wyvern. Ha, ha... And it's also said that such a hatchling will grow up according to the situation of its owner. If an owner doesn't have a clan hall, the hatchling won't grow up to become a strider no matter what one does. And to get a wyvern, it seems that you've got to have at least a castle...<br> -Anyway, a hatchling will only serve an owner that has a certain degree of ability. It looks to me like it's still a bit early for you to become the owner of a hatchling but...<br> -(This is a quest that can only be carried out by someone of level 35 or above.) -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_maria_1.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_maria_1.htm deleted file mode 100644 index a5fdb27ee8325a96e21fc1ec434b10d11d1c39a4..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_maria_1.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Maria:<br> -Hmm, as it is written here? A Fairy Stone?<br> -... It shouldn't be very difficult to make it according to this... I will need you to get the ingredients for me. I don't have any of this stuff just laying around<font color="LEVEL">. Toad Lord Back Skin can be obtained by hunting toad lords near the Cruma Marshlands.</font> You can purchase the other ingredients from adventurers and traders you meet. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_maria_2.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_maria_2.htm deleted file mode 100644 index 9ed094ad76f0e02a162b5f37b881f41c12bc519a..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_maria_2.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Maria:<br> -Hmm... A Fairy Stone, eh?<br>It shouldn't be very difficult to make... Let's see what ingredients you have brought... Coal, Charcoal... gemstones... silver and Toad Lord Back Skins... It's all here! If you will wait a moment. I'll make it now.<br> -Gemstone with base.. Polish with silver. Umm, from this angle it seems very similar to a Crystal of Purity.<br> -<a action="bypass -h Quest 420_LittleWings wait">Wait</a></body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_maria_4.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_maria_4.htm deleted file mode 100644 index 47e3da63cb3a008f185171a5150288c0a275af13..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_maria_4.htm +++ /dev/null @@ -1,8 +0,0 @@ -<html><body>Maria:<br>... This memo...? Hmm... Fairy stone?<br>... Hmm, I don't think it will be very difficult -to make it according to this ingredient list. I can make it for you quickly if you get the -ingredients for me. I'll take a look... Let's check the ingredients that you brought. Coal, charcoal... -gemstones... silver and toad lord back skins... Everything looks good. OK then, wait a moment. -I'll start the manufacturing process shortly.<br>... Gemstone with base.. Polish with silver. -Umm, from here it's very similar to crystal of purity.<br>Then reprocess with stone of purity again? -Hmm, is it really necessary to do this? Anyway...<br> -<a action="bypass -h Quest 420_LittleWings wait">Wait a moment.</a></body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_maria_5.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_maria_5.htm deleted file mode 100644 index 258e2ff4e0a2db60ffe10a5297f447774dbab91d..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_maria_5.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Maria:<br> -Almost done. Once I absorb the impurities with the Toad Lord Back Skin...<br> -Alright! Finished! What a beautiful jewel! Not just physical beauty but something else... An inner power... At least it gives me a good feeling... -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_11.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_11.htm deleted file mode 100644 index bcda81b15f3f8a900aac98a11a5d32d377cbda05..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_11.htm +++ /dev/null @@ -1,12 +0,0 @@ -<html><body>Fairy Mimyu:<br> -OK, let's hatch it...? -<br>.............OK, OK.... It's moving. You're doing a good job...<br> -............Right! That's the weak spot. I'll help too... One, two, three..! Once more... One! Two! Three!<br> -Whew, OK... There's a crack... Alright, now come out under your own power! This person right here is your mother. ...Your mother who will feed you and teach you many things!<br> -OK, out, out, out, out....! A little more!<br> -OK... You did a good job...! Thank you!<br> -OK... I'll take a look... Perhaps it's because it wasn't held by its mother, but this kid looks a bit weak.<br> -Um, do you still have the fairy dust that I gave you before? Sorry, but could you give me some of that? I want to do something for the kid...<br> -<a action="bypass -h Quest 420_LittleWings give_dust">Give back fairy dust.</a><br> -<a action="bypass -h Quest 420_LittleWings no_dust">Don't give back fairy dust.</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_12.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_12.htm deleted file mode 100644 index b62ca8c49e7cf86c2e460eadfa7b9f7c64efbb95..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_12.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Fairy Mimyu:<br> -Aye... You greedy one! Mean-tempered person! Selfish creature! Cold-blooded! Whatever! Whatever! Well, it wouldn't have killed you to give it to me. OK... The movement of the arms and legs seems to be quite healthy. If it's fed well and taken care of, it will grow up to be healthy. But the world is a very, very dangerous place so we can't just leave it like this.<br>I'll hide the baby in the Elven world under my powers. Don't worry. Instead, I'll give you this flute. You'll be able to call the child to your side at any time just by blowing on this flute.<br> -OK, bye... I'll take good care of the baby... If something happens to this cute infant, I'll cast the very strongest curse on you that I can! OK, bye..! -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_13.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_13.htm deleted file mode 100644 index 7fed6258322e65f0ba9683b27154af2005650967..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_13.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Fairy Mimyu:<br> -Good, good... OK! La, la, la, la...! This is hatchling armor. If the child has this, it will look a bit more dashing. As you are the mother, would you like to do the honors.? OK... The movement of the arms and legs seems to be quite healthy. If it's fed well and taken care of, it will grow up to be healthy. But the world is a very, very dangerous place so we can't just leave it like this.<br> -I'll hide the baby in the Elven world under my powers. Don't worry. Instead, I'll give you this flute. You'll be able to call the child to your side at any time just by blowing on this flute.<br> -OK, bye... I'll take good care of the baby... If something happens to this cute infant, I'll cast the very strongest curse on you that I can! OK, bye..! -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_14.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_14.htm deleted file mode 100644 index cade2f49d110a1958c5c878fe81440aaafc17667..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_14.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Fairy Mimyu:<br> -Good, good... OK! La, la, la, la...! This is hatchling food. If you feed enough of this to the child, it will feel a bit more robust. As you are the mother, would you like to do the honors.? OK... The movement of the arms and legs seems to be quite healthy. If it's fed well and taken care of, it will grow up to be healthy. But the world is a very, very dangerous place so we can't just leave it like this.<br> -I'll hide the baby in the Elven world under my powers. Don't worry. Instead, I'll give you this flute. You'll be able to call the child to your side at any time just by blowing on this flute.<br> -OK, bye... I'll take good care of the baby... If something happens to this cute infant, I'll cast the very strongest curse on you that I can! OK, bye..! -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_4.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_4.htm deleted file mode 100644 index bc92ba0fd86736e9a4dfea3be1cbdad9c5cd0014..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_4.htm +++ /dev/null @@ -1,11 +0,0 @@ -<html><body>Fairy Mimyu:<br> -Heh, heh... A fairy stone! That's also a white fairy stone...! Ha, ha, ha, ha... Haaah. It's great, it's great, -it's great! I don't know what it is, but thanks. Thank you so much for giving me this great thing! You're really -just a really, super, great guy! I mean, really, really good! I love you! Uh, huh... OK, I'm going to have to give -you a gift of gratitude. If Mimyu gets a gift, she always gives a gift in return. OK, take this! It's fairy powder -from my wing! It's a mysterious concoction that contributes to the beauty of a woman, the head of a child or the -prowess of a man! Well, but that's still not enough, huh? Of course, I'm sure you'll ask for something else. Right? -What should I do for you? Huh? Huh? Well, ask me for anything later!<br> -<a action="bypass -h Quest 420_LittleWings fry_ask"> -Explain the situation and ask immediately. -</a></body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_5.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_5.htm deleted file mode 100644 index 665b84d4df54a9295906ca5e65b634fdbd1c3f89..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_5.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Fairy Mimyu:<br> -Ah, yes, I know why you have come. You want a hatchling, don't you? Well, its not as easy as that. To obtain a hatchling, you must obtain the egg of a wyvern and hatch it. The wyvern will not surrender her egg without a fight... Your race gives live birth, doesn't it? Anyway, if someone were to ask you for your child, would you gladly give it? No? Oh, really...<br> -Well, your generosity must be rewarded, I shall tell you a valuable secret... It is not necessary for the egg to come from a wyvern! Any egg from a scaled flying creature will do, such as a drake or wyvern... Their eggs will be easier to get since they have been acting odd lately... Anyway, they can tell you more...<br> -<a action="bypass -h Quest 420_LittleWings ask_abt">"What happened to the drakes and wyverns?"</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_6.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_6.htm deleted file mode 100644 index a3d15abe3bceaedca2c6a54d11ccddaa91603844..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_6.htm +++ /dev/null @@ -1,10 +0,0 @@ -<html><body>Fairy Mimyu:<br> -Nearby there are drakes and wyverns looking for their lost eggs. There is evil afoot... Why would anyone steal eggs? Really...! <br> -I know of at least five creatures who have had their eggs stolen.<br> -The closest one to us... is <font color="LEVEL">Drake Exarion, who lives at the top of the mountain to the west of Oren Castle</font>. It is a very difficult place for your tribe who cannot fly to reach. <br> -<font color="LEVEL">Drake Kalibran lives at the top of another mountain southwest of Oren Castle</font>. Two-legged races like yours typically have quite a bit of trouble climbing mountains, don't they?<br> -<font color="LEVEL">Wyvern Suzet is searching in the northwest side of Death Pass</font>, also quite a mountainous region... <br> -And south from there... You will find <font color="LEVEL">Wyvern Shamhai looking for her eggs in the low western mountains of Death Pass</font>. <br> -And last, <font color="LEVEL">Drake Zwov is in the reservoir of the west mountain ridge of Plains of the Lizardmen</font>. You shouldn't have any problem reaching her... <br> -Yes, I hope you can meet up with them. All of them have lost their eggs and are quite frantic. Take this poison of monkshood with you. While deadly to your race it will quickly bring a wyvern or drake to her senses. If you stick it in the nose of one of these creatures, they will gladly do whatever you say. Now go! -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_7.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_7.htm deleted file mode 100644 index c4a48157f5e5cc0045cdbb64f337e1dda5ced02c..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_7.htm +++ /dev/null @@ -1,7 +0,0 @@ -<html><body>Fairy Mimyu:<br> -You haven't yet found the ones looking for their eggs? Why not? Is it because the mountain was too high? Or perhaps, you forget the locations that I told you? OK, I'll tell you again. Please remember it well! <br> -The closest one to us... is <font color="LEVEL">Drake Exarion, who lives at the top of the mountain to the west of Oren Castle</font>. It is a very difficult place for your tribe who cannot fly to reach. <br> -<font color="LEVEL">Drake Kalibran lives at the top of another mountain southwest of Oren Castle</font>. Two-legged races like yours typically have quite a bit of trouble climbing mountains, don't they?<br> -<font color="LEVEL">Wyvern Suzet is searching in the northwest side of Death Pass</font>, also quite a mountainous region... <br> -And south from there... You will find <font color="LEVEL">Wyvern Shamhai looking for her eggs in the low western mountains of Death Pass</font>. <br>And last, <font color="LEVEL">Drake Zwov is in the reservoir of the west mountain ridge of Plains of the Lizardmen</font>. You shouldn't have any problem reaching her... -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_8.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_8.htm deleted file mode 100644 index da1b3bcdf86ce9c57cd1349dfc17cde04eea7c98..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_8.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Fairy Mimyu:<br>OK, it appears that you've started looking for the egg. But what good is it to be standing here? -Think how anxious its mother is waiting for the egg. Hurry, hurry, hurry, hurry and find the egg! I mean, those guys might -boil it, poach it, fry it or scramble it! OK, hurry! And you know, right? If you bring me the egg, I'll definitely do you -a favor! I'll raise the hatchling well, so just give it to me. OK? Alright, stay strong.</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_9.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_9.htm deleted file mode 100644 index c8fa22d5d33923c1184aa1976055e47302536d08..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_9.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Fairy Mimyu:<br>Wow! How many are there in total here? You've found all the eggs. Ah, ha... How pretty! Right? -Hurry and take them to their mother! Their mother will be waiting for them! She'll be really happy! They spent -a long time away from their mother but fortunately they still look fine. But I don't know what will happen later -so it would be best if you hurry and take them to their mother. OK, I'm sure she'll let you keep one of them.</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_shamhai_1.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_shamhai_1.htm deleted file mode 100644 index 967f3682dc27d57dffa275c70808172fbd02a3d6..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_shamhai_1.htm +++ /dev/null @@ -1,6 +0,0 @@ -<html><body>Wyrm Shamhai:<br>Aaaarrgh! What are you doing! Why are you pouring such awful stuff into my nostrils? Are you crazy or -what? I can eat you by chomping down on your head first! Why did you come to see me? I'm already half out of my mind -with grief for losing all my eggs!<br> -<a action="bypass -h Quest 420_LittleWings shamhai_1"> -Tell her that you will find all her eggs in exchange for receiving one of her eggs in return. -</a></body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_shamhai_2.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_shamhai_2.htm deleted file mode 100644 index d1a88b6582a92192341f2d1411612b58c3f63c44..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_shamhai_2.htm +++ /dev/null @@ -1,8 +0,0 @@ -<html><body>Wyrm Shamhai:<br>You want one of my eggs...? I see... is that what you want? In other times, as soon as I heard someone asking -me to give him any of my eggs, I would drag him up into the sky and drop him to his death. But today, I will have to make -an exception and listen to what you have to say...<br>All right. I'll accept your offer. However, I'll take you up on your -offer on the condition that you will first have to find and bring back all of<font color="LEVEL"> my 20 eggs</font>. -Understand? My eggs were stolen by the<font color="LEVEL"> dead seekers</font> who mainly inhabit the place that humans -call the<font color="LEVEL"> Execution Ground</font>. I will give you one of my scales. Kill the dead seekers and find -the 20 eggs that have the same pattern as my scale and bring them to me. Only after you complete this task, you will become -a master of one of my babies!</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_shamhai_3.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_shamhai_3.htm deleted file mode 100644 index fdf58e0fde96dadac9287446a7d38da5de5778ea..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_shamhai_3.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Wyrm Shamhai:<br>Did you find all of my precious eggs? Not yet..? Hurry! Hurry! Go immediately to the -<font color="LEVEL">Execution Ground</font>, and rip apart those<font color="LEVEL"> dead seekers</font> -to death and bring me back<font color="LEVEL"> my 20 precious eggs</font> ! Leave right away!</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_shamhai_4.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_shamhai_4.htm deleted file mode 100644 index 7fd5decb6cf140e82e9dfe86be7d866c32fb9e76..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_shamhai_4.htm +++ /dev/null @@ -1,6 +0,0 @@ -<html><body>Wyrm Shamhai:<br>Oh oh...! My eggs...! My precious eggs...! Did you find all of them? Yes...! Everybody is still healthy...! -Thank you for your hard work. You can go now...<br>... so I wish I could say. But I promised to give you one of my eggs -right? I don't know whether you can really become a master of my baby who is strong, brave to the point of being cruel -and proud... But for now, I will give you a test to find out. I will give you this egg. Take it to<font color="LEVEL"> -Fairy Mimyu </font> and ask her to hatch it. You should take good care of my child. If you starve my child or anything -like that, I will fly to you and feed you to my child! Understand?!</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_shamhai_5.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_shamhai_5.htm deleted file mode 100644 index c91e0278120ef7538b514d35fff91d7f7a77e7f7..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_shamhai_5.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Wyrm Shamhai:<br> -What? Have you changed your mind? Do you want to return the egg to me...?... No, that's not it? Then what are you still doing here? Why don't you go to <font color="LEVEL">Fairy Mimyu</font> quickly and ask her to hatch my child out of the egg! -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_suzet_1.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_suzet_1.htm deleted file mode 100644 index 93cd6de1fc8bf38318e5886bfda28e38da24d909..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_suzet_1.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Wyrm Suzet:<br>I am a cold-hearted beast. Is this the juice of monkshood...? Did Fairy Mimyu tell you that in order to -straighten out a dull-witted wyrm, you have to pour this poison into my mouth? Throw away such dangerous stuff.<br> -If you have been sent to me by Mimyu, I guess you are the one who will find my lost eggs for me. But I guess you are -wanting some reward for your work, right? Tell me. I will try to meet your expectations as much as possible.<br> -<a action="bypass -h Quest 420_LittleWings suzet_1">Ask her to give you an egg.</a></body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_suzet_2.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_suzet_2.htm deleted file mode 100644 index 076cdfb9e8ee475efbb760b02348a154ba388008..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_suzet_2.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Wyrm Suzet:<br>... just one out of twenty?! ... That's simple math... But it's not easy for me to say yes. As you know all the -eggs are like a part of me. But for you, it would just be an exotic animal, right? I am afraid that you will desert my -baby and it will end up being killed.<br> -<a action="bypass -h Quest 420_LittleWings suzet_2">Promise her that you will raise it with affection and care.</a></body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_suzet_3.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_suzet_3.htm deleted file mode 100644 index 6aaeac90b913469cafbba094081dde0711651ab1..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_suzet_3.htm +++ /dev/null @@ -1,7 +0,0 @@ -<html><body>Wyrm Suzet:<br>... I understand. Well, if you were like one of those I am worried about, you wouldn't have been able -to speak with Fairy Mimyu and come and see me like this. In the name of Sayha and Antharas, if you can recover -<font color="LEVEL">my 20 lost eggs </font>eggs that have been stolen by Breka Orcs, I promise to give one of them -to you. Take this scale of mine with you. My eggs will have the same pattern as that of this scale so you can -recognize them. What you need to catch are<font color="LEVEL"> Breka Orc overlords</font>... Many of them can be found -in a place humans call<font color="LEVEL"> Giran that is located in the northern part of the land</font>. Since I -cannot fight against multiple Breka Orcs, I will have to ask you to kill them and return my eggs to me.</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_suzet_4.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_suzet_4.htm deleted file mode 100644 index b7f56e5be1a9224aaa3d8f225e57e4410ecdad56..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_suzet_4.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Wyrm Suzet:<br>You have not recovered all my eggs yet? I hate to hurry you. But I'm so worried about what Breka Orcs will -do to my eggs. Please quickly go to<font color="LEVEL"> Northern Giran</font>, kill the<font color="LEVEL"> Breka Orc -Overlords</font> Overlords and bring me back<font color="LEVEL"> my 20 eggs</font>.</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_suzet_5.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_suzet_5.htm deleted file mode 100644 index f6e805313d00e3063ed10c8b8b481944d24fb773..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_suzet_5.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Wyrm Suzet:<br>Ah...! You successfully have saved all my eggs. Fortunately it seems like none of them have been hurt by the -hands of the orcs. Dear Sayha, thank you.<br>... Of course I guess I should give you the reward... As I promised, I will give -you one of my eggs. If you can take it to<font color="LEVEL"> Fairy Mimyu</font>, she will hatch it for you. During the -upcoming time of war and tribulation, I wish the child will demonstrate his valor side by side with you...!</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_suzet_6.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_suzet_6.htm deleted file mode 100644 index 843884ba7d299ad0912d14d6b5c6e5f04e739a91..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_suzet_6.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Wyrm Suzet:<br>Oh, have you not left yet? Well, I am glad. This gives me another opportunity to see my child again.<br> -Oh yes! There is something I need to tell you. I heard that the lord of all creatures with scales and wings, who has been -deeply asleep in the deepest part of Dragon Valley has woken up. But weak creatures cannot even lay their eyes upon his -countenance... I believe that soon many races will rise up and attempt to kill him. But I guarantee that none of them will -succeed...</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_zwov_1.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_zwov_1.htm deleted file mode 100644 index 352e4a04110d8633187258522004d1c16b38dc9e..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_zwov_1.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Drake Zwov:<br>Yah! What are you doing? Pouring strong soup into my nose! Yow! Yow! Yow! Fire's going to come out of my nose -and mouth!<br>But, who are you...? Well, what's wrong with me asking? I'm a really busy person.. I mean, drake... looking -for the eggs that I lost! I don't have time to spend dealing with you!<br> -<a action="bypass -h Quest 420_LittleWings zwov_1">Say that you came to help look for the eggs.</a></body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_zwov_2.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_zwov_2.htm deleted file mode 100644 index fe03d37d442ffb615e4904cfbbdfd2244b75767b..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_zwov_2.htm +++ /dev/null @@ -1,7 +0,0 @@ -<html><body>Drake Zwov:<br>Really? Are you really here to help me? Ooh... There's some Elven dust on you! Have you come after meeting -Fairy Mimyu? Well, then I can trust you.<br>OK, I'll tell you. The spiders stole my eggs. I don't know why they took my -eggs.. But what makes me suspicious is that there are<font color="LEVEL"> many marsh spiders in the Cruma Marshlands</font> -... It's really wide there and I am rummaging through it very, very slowly. And so, if you're going to help me then take -this scale of mine and go kill marsh spiders. Then all you have to do is gather the eggs with the same pattern as this -scale.<font color="LEVEL"> 20 of them!</font> And don't come back with the likes of spider eggs! I'll also go check out -other places. OK?</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_zwov_3.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_zwov_3.htm deleted file mode 100644 index e8ef04a503adeb1b07b6fc4d6de2dcf13074a2eb..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_zwov_3.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Drake Zwov:<br>Did you find the eggs? Well, you look optimistic and healthy so please go find them quickly... Please go -right away and find the marsh spiders in the Cruma Marshlands. See if they have my eggs... And 20 of them were taken so -please get every last one of them!</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_zwov_4.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_zwov_4.htm deleted file mode 100644 index d9bf8247bef879e121d92f11c6d76e1d2dfe6419..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_zwov_4.htm +++ /dev/null @@ -1,7 +0,0 @@ -<html><body>Drake Zwov:<br>Hey! This was a complete waste of time for me! Take a look at this. I've been bitten all over by the spiders! -I did nothing but suffer...! Huh? You succeeded? You found the eggs! Oh, I'm really thankful! Thank you! You're a really -good person... Whew!<br>I'll take a look... One, two, three... All 20 look like they're in good shape... Huh? There's one -too many?! How could this have happened...? How strange! I guess I must have laid 21 eggs... No, that can't be right... -Well, what do I care? This isn't my egg. OK, I'll give it to you. If you take this to<font color="LEVEL"> Fairy Mimyu</font>, -she'll incubate it and make it into a hatchling for you. It doesn't look like my egg, but it's definitely going to hatch into -a cute baby. Please raise it well...!</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_zwov_5.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_zwov_5.htm deleted file mode 100644 index 0788d4929f65eed979511c3b8a62b0904b8348a9..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_zwov_5.htm +++ /dev/null @@ -1,2 +0,0 @@ -<html><body>Drake Zwov:<br>Huh? Are you still standing there with the egg? Why don't you hurry up and take it to<font color="LEVEL"> -Fairy Mimyu</font>?</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/__init__.py b/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/__init__.py deleted file mode 100644 index fe50ed415cbeae35c50df3e2d2edaf37a0a603cd..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/__init__.py +++ /dev/null @@ -1,583 +0,0 @@ -# version 0.1 -# by DrLecter -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 import Quest as JQuest -from com.l2jserver.gameserver.network.serverpackets import NpcSay - -qn = "420_LittleWings" - -# variables section -REQUIRED_EGGS = 20 - -#Drop rates in % -BACK_DROP = 40 -EGG_DROP = 50 - -#Quest items -FRY_STN,FRY_STN_DLX,FSN_LIST,FSN_LIST_DLX,TD_BCK_SKN,JUICE,SCALE_1,EX_EGG,\ -SCALE_2,ZW_EGG,SCALE_3,KA_EGG,SCALE_4,SU_EGG,SCALE_5,SH_EGG,FRY_DUST = range(3816,3832)+[3499] - -#NPCs -PM_COOPER,SG_CRONOS,GD_BYRON,MC_MARIA,FR_MYMYU = 30829,30610,30711,30608,30747 -DK_EXARION,DK_ZWOV,DK_KALIBRAN,WM_SUZET,WM_SHAMHAI = range(30748,30753) - -#mobs -TD_LORD = 20231 #toad lord -LO_LZRD_W = 20580 #exarion's -MS_SPIDER = 20233 #zwov's -RD_SCVNGR = 20551 #kalibran's -BO_OVERLD = 20270 #suzet's -DD_SEEKER = 20202 #shamhai's - -#Rewards -FOOD = 4038 -ARMOR = 3912 - -# helper functions section -def check_level(st) : - if st.getPlayer().getLevel() < 35 : - st.exitQuest(True) - return "420_low_level.htm" - return "Start.htm" - -def check_stone(st,progress) : - if st.getQuestItemsCount(FRY_STN) == 1 : - st.set("cond","3") - if progress == 1 : - st.set("progress","3") - return "420_cronos_8.htm" - elif progress == 8 : - st.set("progress","10") - return "420_cronos_14.htm" - elif st.getQuestItemsCount(FRY_STN_DLX) == 1 : - if progress == 2 : - st.set("progress","4") - return "420_cronos_8.htm" - elif progress == 9 : - st.set("progress","11") - return "420_cronos_14.htm" - else : - return "420_cronos_7.htm" - -def check_elements(st,progress) : - coal = st.getQuestItemsCount(1870) - char = st.getQuestItemsCount(1871) - gemd = st.getQuestItemsCount(2130) - gemc = st.getQuestItemsCount(2131) - snug = st.getQuestItemsCount(1873) - sofp = st.getQuestItemsCount(1875) - tdbk = st.getQuestItemsCount(TD_BCK_SKN) - if progress in [1,8] : - if coal >= 10 and char >= 10 and gemd >= 1 and snug >= 3 and tdbk >= 10 : - return "420_maria_2.htm" - else : - return "420_maria_1.htm" - elif progress in [2,9] : - if coal >= 10 and char >= 10 and gemc >= 1 and snug >= 5 and sofp >= 1 and tdbk >= 20 : - return "420_maria_4.htm" - else : - return "420_maria_1.htm" - - -def craft_stone(st,progress) : - if progress in [1,8]: - st.takeItems(1870,10) - st.takeItems(1871,10) - st.takeItems(2130,1) - st.takeItems(1873,3) - st.takeItems(TD_BCK_SKN,10) - st.takeItems(FSN_LIST,1) - st.giveItems(FRY_STN,1) - st.playSound("ItemSound.quest_itemget") - return "420_maria_3.htm" - elif progress in [2,9]: - st.takeItems(1870,10) - st.takeItems(1871,10) - st.takeItems(2131,1) - st.takeItems(1873,5) - st.takeItems(1875,1) - st.takeItems(TD_BCK_SKN,20) - st.takeItems(FSN_LIST_DLX,1) - st.giveItems(FRY_STN_DLX,1) - st.playSound("ItemSound.quest_itemget") - return "420_maria_5.htm" - -def check_eggs(st, npc, progress) : - whom = int(st.get("dragon")) - if whom == 1 : eggs = EX_EGG - elif whom == 2 : eggs = ZW_EGG - elif whom == 3 : eggs = KA_EGG - elif whom == 4 : eggs = SU_EGG - elif whom == 5 : eggs = SH_EGG - if npc == "mymyu" : - if progress in [19,20] and st.getQuestItemsCount(eggs) == 1 : - return "420_"+npc+"_10.htm" - else : - if st.getQuestItemsCount(eggs) >= 20 : - return "420_"+npc+"_9.htm" - else : - return "420_"+npc+"_8.htm" - elif npc == "exarion" and whom == 1 : - if st.getQuestItemsCount(eggs) < 20 : - return "420_"+npc+"_3.htm" - else : - st.takeItems(eggs,20) - st.takeItems(SCALE_1,1) - if progress in [14,21] : - st.set("progress","19") - elif progress in [15,22] : - st.set("progress","20") - st.giveItems(eggs,1) - st.playSound("ItemSound.quest_itemget") - st.set("cond","7") - return "420_"+npc+"_4.htm" - elif npc == "zwov" and whom == 2 : - if st.getQuestItemsCount(eggs) < 20 : - return "420_"+npc+"_3.htm" - else : - st.takeItems(eggs,20) - st.takeItems(SCALE_2,1) - if progress in [14,21] : - st.set("progress","19") - elif progress in [15,22] : - st.set("progress","20") - st.giveItems(eggs,1) - st.set("cond","7") - st.playSound("ItemSound.quest_itemget") - return "420_"+npc+"_4.htm" - elif npc == "kalibran" and whom == 3 : - if st.getQuestItemsCount(eggs) < 20 : - return "420_"+npc+"_3.htm" - else : - st.takeItems(eggs,20) -# st.takeItems(SCALE_3,1) - return "420_"+npc+"_4.htm" - elif npc == "suzet" and whom == 4 : - if st.getQuestItemsCount(eggs) < 20 : - return "420_"+npc+"_4.htm" - else : - st.takeItems(eggs,20) - st.takeItems(SCALE_4,1) - if progress in [14,21] : - st.set("progress","19") - elif progress in [15,22] : - st.set("progress","20") - st.giveItems(eggs,1) - st.set("cond","7") - st.playSound("ItemSound.quest_itemget") - return "420_"+npc+"_5.htm" - elif npc == "shamhai" and whom == 5 : - if st.getQuestItemsCount(eggs) < 20 : - return "420_"+npc+"_3.htm" - else : - st.takeItems(eggs,20) - st.takeItems(SCALE_5,1) - if progress in [14,21] : - st.set("progress","19") - elif progress in [15,22] : - st.set("progress","20") - st.giveItems(eggs,1) - st.set("cond","7") - st.playSound("ItemSound.quest_itemget") - return "420_"+npc+"_4.htm" - return "check_eggs sux" - - -# Main Quest Code -class Quest (JQuest): - def __init__(self,id,name,descr): - JQuest.__init__(self,id,name,descr) - self.questItemIds = [3499]+range(3816,3832) - - def onEvent (self,event,st): - id = st.getState() - progress = st.getInt("progress") - cond = st.getInt("cond") - if id == State.CREATED : - st.set("cond","0") - if event == "ido" : - st.setState(State.STARTED) - st.set("progress","0") - st.set("cond","1") - st.set("dragon","0") - st.playSound("ItemSound.quest_accept") - return "Starting.htm" - elif id == State.STARTED and cond < 5 : - if event == "wait" : - return craft_stone(st,progress) - elif event == "cronos_2" : - return "420_cronos_2.htm" - elif event == "cronos_3" : - return "420_cronos_3.htm" - elif event == "cronos_4" : - return "420_cronos_4.htm" - elif event == "fsn" : - st.set("cond","2") - if progress == 0: - st.set("progress","1") - st.giveItems(FSN_LIST,1) - st.playSound("ItemSound.quest_itemget") - return "420_cronos_5.htm" - elif progress == 7: - st.set("progress","8") - st.giveItems(FSN_LIST,1) - st.playSound("ItemSound.quest_itemget") - return "420_cronos_12.htm" - elif event == "fsn_dlx" : - st.set("cond","2") - if progress == 0: - st.set("progress","2") - st.giveItems(FSN_LIST_DLX,1) - st.playSound("ItemSound.quest_itemget") - return "420_cronos_6.htm" - if progress == 7: - st.set("progress","9") - st.giveItems(FSN_LIST_DLX,1) - st.playSound("ItemSound.quest_itemget") - return "420_cronos_13.htm" - elif event == "showfsn" : - return "420_byron_2.htm" - elif event == "askmore" : - st.set("cond","4") - if progress == 3 : - st.set("progress","5") - return "420_byron_3.htm" - elif progress == 4 : - st.set("progress","6") - return "420_byron_4.htm" - elif event == "give_fsn" : - st.takeItems(FRY_STN,1) - return "420_mymyu_2.htm" - elif event == "give_fsn_dlx" : - st.takeItems(FRY_STN_DLX,1) - st.giveItems(FRY_DUST,1) - st.playSound("ItemSound.quest_itemget") - return "420_mymyu_4.htm" - elif event == "fry_ask" : - return "420_mymyu_5.htm" - elif event == "ask_abt" : - st.set("cond","5") - st.giveItems(JUICE,1) - st.playSound("ItemSound.quest_itemget") - return "420_mymyu_6.htm" - elif id == State.STARTED and cond >= 5: - if event == "exarion_1" : - st.giveItems(SCALE_1,1) - st.playSound("ItemSound.quest_itemget") - st.set("dragon","1") - st.set("cond","6") - st.set("progress",str(progress+9)) - return "420_exarion_2.htm" - elif event == "kalibran_1" : - st.set("dragon","3") - st.set("cond","6") - st.giveItems(SCALE_3,1) - st.playSound("ItemSound.quest_itemget") - st.set("progress",str(progress+9)) - return "420_kalibran_2.htm" - elif event == "kalibran_2" : - if st.getQuestItemsCount(SCALE_3) : - if progress in [14,21] : - st.set("progress","19") - elif progress in [15,22] : - st.set("progress","20") - st.takeItems(SCALE_3,1) - st.giveItems(KA_EGG,1) - st.set("cond","7") - st.playSound("ItemSound.quest_itemget") - return "420_kalibran_5.htm" - elif event == "zwov_1" : - st.set("dragon","2") - st.set("cond","6") - st.giveItems(SCALE_2,1) - st.playSound("ItemSound.quest_itemget") - st.set("progress",str(progress+9)) - return "420_zwov_2.htm" - elif event == "shamhai_1" : - st.set("dragon","5") - st.set("cond","6") - st.giveItems(SCALE_5,1) - st.playSound("ItemSound.quest_itemget") - st.set("progress",str(progress+9)) - return "420_shamhai_2.htm" - elif event == "suzet_1" : - return "420_suzet_2.htm" - elif event == "suzet_2" : - st.set("dragon","4") - st.set("cond","6") - st.giveItems(SCALE_4,1) - st.playSound("ItemSound.quest_itemget") - st.set("progress",str(progress+9)) - return "420_suzet_3.htm" - elif event == "hatch" : - whom = int(st.get("dragon")) - if whom == 1 : eggs = EX_EGG - elif whom == 2 : eggs = ZW_EGG - elif whom == 3 : eggs = KA_EGG - elif whom == 4 : eggs = SU_EGG - elif whom == 5 : eggs = SH_EGG - if st.getQuestItemsCount(eggs) and progress in [19,20] : - st.takeItems(eggs,1) - if progress == 19 : - st.giveItems(3500+self.getRandom(3),1) - st.exitQuest(True) - st.playSound("ItemSound.quest_finish") - return "420_mymyu_15.htm" - elif progress == 20 : - st.set("progress","22") - return "420_mymyu_11.htm" - elif event == "give_dust" : - if st.getQuestItemsCount(FRY_DUST): - st.takeItems(FRY_DUST,1) - luck = self.getRandom(2) - if luck == 0 : - extra = ARMOR - qty = 1 - htmltext = "420_mymyu_13.htm" - else : - extra = FOOD - qty = 100 - htmltext = "420_mymyu_14.htm" - st.giveItems(3500+self.getRandom(3),1) - st.giveItems(extra,qty) - st.exitQuest(True) - st.playSound("ItemSound.quest_finish") - return htmltext - else: - st.giveItems(3500+self.getRandom(3),1) - st.exitQuest(True) - st.playSound("ItemSound.quest_finish") - return "420_mymyu_12.htm" - elif event == "no_dust" : - st.giveItems(3500+self.getRandom(3),1) - st.exitQuest(True) - st.playSound("ItemSound.quest_finish") - return "420_mymyu_12.htm" - - - def onTalk (self,npc,player): - htmltext = Quest.getNoQuestMsg(player) - st = player.getQuestState(qn) - if not st : return htmltext - - npcId = npc.getId() - id = st.getState() - cond = st.getInt("cond") - if id == State.COMPLETED: - st.setState(State.CREATED) - id = State.CREATED - progress = st.getInt("progress") - if npcId == PM_COOPER : - if id == State.CREATED : - return check_level(st) - elif id == State.STARTED and cond < 5 and progress == 0 : - return "Starting.htm" - else : - return "Started.htm" - elif npcId == SG_CRONOS : - if id == State.STARTED and cond < 5 : - if progress == 0 : - return "420_cronos_1.htm" - elif progress in [ 1,2,8,9 ] : - return check_stone(st,progress) - elif progress in [ 3,4,10,11 ] : - return "420_cronos_9.htm" - elif progress in [5,6,12,13 ]: - return "420_cronos_11.htm" - elif progress == 7 : - return "420_cronos_10.htm" - - elif npcId == MC_MARIA : - if id == State.STARTED and cond < 5 : - if ((progress in [ 1,8 ] ) and st.getQuestItemsCount(FSN_LIST)==1) or ((progress in [ 2,9 ] ) and st.getQuestItemsCount(FSN_LIST_DLX)==1): - return check_elements(st,progress) - elif progress in [ 3,4,5,6,7,10,11 ] : - return "420_maria_6.htm" - elif npcId == GD_BYRON : - if id == State.STARTED and cond < 5 : - if ((progress in [ 1,8 ] ) and st.getQuestItemsCount(FSN_LIST)==1) or ((progress in [ 2,9 ] ) and st.getQuestItemsCount(FSN_LIST_DLX)==1): - return "420_byron_10.htm" - elif progress == 7 : - return "420_byron_9.htm" - elif (progress == 3 and st.getQuestItemsCount(FRY_STN)==1) or (progress == 4 and st.getQuestItemsCount(FRY_STN_DLX)==1): - return "420_byron_1.htm" - elif progress == 10 and st.getQuestItemsCount(FRY_STN)==1 : - st.set("progress","12") - return "420_byron_5.htm" - elif progress == 11 and st.getQuestItemsCount(FRY_STN_DLX)==1 : - st.set("progress","13") - return "420_byron_6.htm" - elif progress in [5,12] : - return "420_byron_7.htm" - elif progress in [6,13] : - return "420_byron_8.htm" - elif npcId == FR_MYMYU : - if id == State.STARTED and cond < 5 : - if ( progress in [5,12] ) : - if st.getQuestItemsCount(FRY_STN) == 1 : - return "420_mymyu_1.htm" - else : - return "420_mymyu_5.htm" - elif ( progress in [6,13] ) : - if st.getQuestItemsCount(FRY_STN_DLX) == 1 : - return "420_mymyu_3.htm" - else : - return "420_mymyu_5.htm" - elif id == State.STARTED and cond >= 5: - if progress < 14 and st.getQuestItemsCount(JUICE) == 1 : - return "420_mymyu_7.htm" - elif progress == 22 : - return "420_mymyu_11.htm" - elif progress > 13 : - return check_eggs(st,"mymyu",progress) - elif npcId == DK_EXARION : - if id == State.STARTED and cond >= 5: - if progress in [ 5,6,12,13 ] and st.getQuestItemsCount(JUICE) == 1: - st.takeItems(JUICE,1) - return "420_exarion_1.htm" - elif progress > 13 and st.getQuestItemsCount(SCALE_1) == 1: - return check_eggs(st,"exarion",progress) - elif progress in [ 19,20 ] and st.getQuestItemsCount(EX_EGG) == 1 : - return "420_exarion_5.htm" - elif npcId == DK_ZWOV : - if id == State.STARTED and cond >= 5: - if progress in [ 5,6,12,13 ] and st.getQuestItemsCount(JUICE) == 1: - st.takeItems(JUICE,1) - return "420_zwov_1.htm" - elif progress > 13 and st.getQuestItemsCount(SCALE_2) == 1: - return check_eggs(st,"zwov",progress) - elif progress in [ 19,20 ] and st.getQuestItemsCount(ZW_EGG) == 1 : - return "420_zwov_5.htm" - elif npcId == DK_KALIBRAN : - if id == State.STARTED and cond >= 5: - if progress in [ 5,6,12,13 ] and st.getQuestItemsCount(JUICE) == 1: - st.takeItems(JUICE,1) - return "420_kalibran_1.htm" - elif progress > 13 and st.getQuestItemsCount(SCALE_3) == 1: - return check_eggs(st,"kalibran",progress) - elif progress in [ 19,20 ] and st.getQuestItemsCount(KA_EGG) == 1 : - return "420_kalibran_6.htm" - elif npcId == WM_SUZET : - if id == State.STARTED and cond >= 5: - if progress in [ 5,6,12,13 ] and st.getQuestItemsCount(JUICE) == 1: - st.takeItems(JUICE,1) - return "420_suzet_1.htm" - elif progress > 13 and st.getQuestItemsCount(SCALE_4) == 1: - return check_eggs(st,"suzet",progress) - elif progress in [ 19,20 ] and st.getQuestItemsCount(SU_EGG) == 1 : - return "420_suzet_6.htm" - elif npcId == WM_SHAMHAI : - if id == State.STARTED and cond >= 5: - if progress in [ 5,6,12,13 ] and st.getQuestItemsCount(JUICE) == 1: - st.takeItems(JUICE,1) - return "420_shamhai_1.htm" - elif progress > 13 and st.getQuestItemsCount(SCALE_5) == 1: - return check_eggs(st,"shamhai",progress) - elif progress in [ 19,20 ] and st.getQuestItemsCount(SH_EGG) == 1 : - return "420_shamhai_5.htm" - return "<html><body>I have nothing to say to you</body></html>" - - def onKill(self,npc,player,isPet): - st = player.getQuestState(qn) - if not st : return - - id = st.getState() - npcId = npc.getId() - cond = st.getInt("cond") - #incipios drop - skins = st.getQuestItemsCount(TD_BCK_SKN) - if id == State.STARTED and cond < 5 and (st.getQuestItemsCount(FSN_LIST) == 1 and skins < 10) or (st.getQuestItemsCount(FSN_LIST_DLX) == 1 and skins < 20) : - if npcId == TD_LORD : - count = 0 - if st.getQuestItemsCount(FSN_LIST) == 1 : - count = 10 - else : - count = 20 - numItems, chance = divmod(BACK_DROP*Config.RATE_QUEST_DROP,100) - if self.getRandom(100) <= chance : - numItems += 1 - numItems = int(numItems) - if numItems != 0 : - if count <= (skins + numItems) : - numItems = count - skins - st.playSound("ItemSound.quest_middle") - else : - st.playSound("ItemSound.quest_itemget") - st.giveItems(TD_BCK_SKN,numItems) - #dragon detection - elif id == State.STARTED and cond >= 5 and (st.get("progress") in [ "14","15","21","22" ]) : - whom = int(st.get("dragon")) - if whom == 1 : - eggs = EX_EGG - scale = SCALE_1 - eggdropper = LO_LZRD_W - elif whom == 2 : - eggs = ZW_EGG - scale = SCALE_2 - eggdropper = MS_SPIDER - elif whom == 3 : - eggs = KA_EGG - scale = SCALE_3 - eggdropper = RD_SCVNGR - elif whom == 4 : - eggs = SU_EGG - scale = SCALE_4 - eggdropper = BO_OVERLD - elif whom == 5 : - eggs = SH_EGG - scale = SCALE_5 - eggdropper = DD_SEEKER - prevItems = st.getQuestItemsCount(eggs) - if st.getQuestItemsCount(scale) == 1 and prevItems < REQUIRED_EGGS : - if npcId == eggdropper : - chance = EGG_DROP*Config.RATE_QUEST_DROP - numItems, chance = divmod(chance,100) - if self.getRandom(100) <= chance : - numItems += 1 - numItems = int(numItems) - if numItems != 0 : - if REQUIRED_EGGS <= (prevItems + numItems) : - numItems = REQUIRED_EGGS - prevItems - st.playSound("ItemSound.quest_middle") - else: - st.playSound("ItemSound.quest_itemget") - st.giveItems(eggs,numItems) - npc.broadcastPacket(NpcSay(npc.getObjectId(),0,npc.getId(),"If the eggs get taken, we're dead!")) - #fairy stone destruction - elif id == State.STARTED and cond < 5 and st.getQuestItemsCount(FRY_STN_DLX) == 1 : - if npcId in range(20589,20600)+[20719]: - st.takeItems(FRY_STN_DLX,1) - st.set("progress","7") - return "you lost fairy stone deluxe!" - - -# Quest class and state definition -QUEST = Quest(420, qn, "Little Wings") - -# Quest NPC starter initialization -QUEST.addStartNpc(PM_COOPER) - -# Quest mob initialization -#back skins -QUEST.addKillId(TD_LORD) -#fairy stone dlx destroyers -for i in range(20589,20600)+[21797]: - QUEST.addKillId(i) -#eggs -QUEST.addKillId(LO_LZRD_W) -QUEST.addKillId(RD_SCVNGR) -QUEST.addKillId(MS_SPIDER) -QUEST.addKillId(DD_SEEKER) -QUEST.addKillId(BO_OVERLD) - -# Quest NPC initialization -QUEST.addTalkId(PM_COOPER) -QUEST.addTalkId(SG_CRONOS) -QUEST.addTalkId(GD_BYRON) -QUEST.addTalkId(MC_MARIA) -QUEST.addTalkId(FR_MYMYU) -for i in range(30748,30753): - QUEST.addTalkId(i) \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-05.htm deleted file mode 100644 index 417aff4e3f8d5f79e6cee07763be8c7bd24d2973..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-05.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Fairy Mimyu:<br> -Nothing would make me happier, unfortunately, the hatchling is responsible for his own transformation. He must find the <FONT color="LEVEL">four fairy trees</FONT> and gorge himself on their juice. This task is risky, for the trees are protected by the <FONT color="LEVEL">ghosts of tree guardians</FONT>. You must see that this Fairy Leaf is affixed to the tree when his thirst is sated.<br> -<a action="bypass -h Quest 421_LittleWingAdventures 30747-07.htm">"Please be more specific about what must be done for him to become a strider!"</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-07.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-07.htm deleted file mode 100644 index 7ab68b5594a3402797d3929018e6b2b3afff81a4..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-07.htm +++ /dev/null @@ -1,6 +0,0 @@ -<html><body>Fairy Mimyu:<br> -What more can I tell you?<br> -<a action="bypass -h Quest 421_LittleWingAdventures 30747-08.htm">"Tell me about the four fairy trees."</a><br> -<a action="bypass -h Quest 421_LittleWingAdventures 30747-09.htm">"Tell me about the ghosts of tree guardians."</a><br> -<a action="bypass -h Quest 421_LittleWingAdventures 30747-10.htm">"Tell me about the Fairy Leaf."</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-10.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-10.htm deleted file mode 100644 index 41453117ecffa9338a37d6d2807fcb5228793a67..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-10.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Fairy Mimyu:<br> -When your hatchling has slaked his thirst, affix the <FONT color="LEVEL">Fairy Leaf</FONT> I gave you to the tree from which he drank. This will heal the tree and quieten the spirits within it. You only have enough leaves to use one per tree. Is that clear?<br> -<a action="bypass -h Quest 421_LittleWingAdventures 30747-07.htm">Return</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-12.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-12.htm deleted file mode 100644 index fd91ceaa71042594cbec9edeca17237489773a99..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-12.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Fairy Mimyu:<br> -Go ahead and summon your hatchling! I trust that you completed your task successfully? If not, the forest must be in quite an uproar with those spirits careening about! -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/__init__.py b/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/__init__.py deleted file mode 100644 index f1fdc12c546cbf04b085bff7a4ce3064e18ea0d4..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/__init__.py +++ /dev/null @@ -1,272 +0,0 @@ -# Upgrade your Hatchling to Strider version 0.3 -# by DrLecter & DraX_ -# last modify by Kerberos - -import sys -from java.sql import PreparedStatement -from java.sql import ResultSet -from java.sql import SQLException -from com.l2jserver import L2DatabaseFactory -from com.l2jserver.gameserver.datatables import SkillData -from com.l2jserver.gameserver.model.quest import State -from com.l2jserver.gameserver.model.quest import QuestState -from com.l2jserver.gameserver.model.quest import Quest as JQuest -from com.l2jserver.gameserver.network import SystemMessageId -from com.l2jserver.gameserver.network.serverpackets import ItemList -from com.l2jserver.gameserver.network.serverpackets import NpcSay -from com.l2jserver.gameserver.network.serverpackets import SystemMessage - -qn = "421_LittleWingAdventures" - -#Quest items -FT_LEAF = 4325 - -#NPCs -CRONOS = 30610 -MIMYU = 30747 - -#kinda bugged, missing refresh, works only when player relog so far -def EvolvePet(player,item,striderControlItem) : - con = L2DatabaseFactory.getInstance().getConnection() - statement = con.prepareStatement("UPDATE items SET item_id =? WHERE object_id=? AND owner_id=?") - statement.setInt(1, striderControlItem) - statement.setInt(2, item.getObjectId()) - statement.setInt(3, player.getObjectId()) - statement.execute() - statement.close() - con.close() - sm1 = SystemMessage.getSystemMessage(SystemMessageId.S2_S1_DISAPPEARED) - sm1.addItemName(item.getId()) - sm1.addNumber(1) - sm2 = SystemMessage.getSystemMessage(SystemMessageId.YOU_PICKED_UP_A_S1_S2) - sm2.addNumber(item.getEnchantLevel()) - sm2.addItemName(striderControlItem) - player.sendPacket(sm1) - player.sendPacket(sm2) - player.sendPacket(ItemList(player, False)) - return - -class Quest (JQuest) : - - def __init__(self,id,name,descr): - JQuest.__init__(self,id,name,descr) - self.questItemIds = [FT_LEAF] - self.killedTrees = [] - - def onAdvEvent (self,event,npc,player): - htmltext = event - st = player.getQuestState(qn) - if not st: return - if event == "30610-05.htm" : - if ((st.getQuestItemsCount(3500) + st.getQuestItemsCount(3501) + st.getQuestItemsCount(3502)) == 1) : - if st.getQuestItemsCount(3500) == 1 : - item = player.getInventory().getItemByItemId(3500) - if item.getEnchantLevel() < 55 : - st.exitQuest(1) - htmltext = "30610-06.htm" - else : - st.setState(State.STARTED) - st.set("summonOid",str(item.getObjectId())) - st.set("cond","1") - st.set("id","1") - st.playSound("ItemSound.quest_accept") - elif st.getQuestItemsCount(3501) == 1 : - item = player.getInventory().getItemByItemId(3501) - if item.getEnchantLevel() < 55 : - st.exitQuest(1) - htmltext = "30610-06.htm" - else : - st.setState(State.STARTED) - st.set("summonOid",str(item.getObjectId())) - st.set("cond","1") - st.set("id","1") - st.playSound("ItemSound.quest_accept") - elif st.getQuestItemsCount(3502) == 1 : - item = player.getInventory().getItemByItemId(3502) - if item.getEnchantLevel() < 55 : - st.exitQuest(1) - htmltext = "30610-06.htm" - else : - st.setState(State.STARTED) - st.set("summonOid",str(item.getObjectId())) - st.set("cond","1") - st.set("id","1") - st.playSound("ItemSound.quest_accept") - else : - st.exitQuest(1) - htmltext = "30610-06.htm" - elif event == "30747-02.htm" : - summon = player.getSummon() - if summon : - if summon.getControlItem().getObjectId() == st.getInt("summonOid"): - htmltext = "30747-04.htm" - else : - htmltext = "30747-03.htm" - elif event == "30747-05.htm" : - summon = player.getSummon() - if summon : - if summon.getControlItem().getObjectId() == st.getInt("summonOid"): - htmltext = "30747-05.htm" - st.giveItems(FT_LEAF,4) - st.set("cond","2") - st.set("id","0") - st.playSound("ItemSound.quest_middle") - else : - htmltext = "30747-06.htm" - else : - htmltext = "30747-06.htm" - return htmltext - - def onTalk (self,npc,player): - htmltext = Quest.getNoQuestMsg(player) - st = player.getQuestState(qn) - if not st: return htmltext - id = st.getState() - cond = st.getInt("cond") - npcId = npc.getId() - - if id == State.CREATED and npcId == CRONOS : - if player.getLevel() < 45 and (st.getQuestItemsCount(3500) or st.getQuestItemsCount(3501) or st.getQuestItemsCount(3502)) : - st.exitQuest(1) - htmltext = "30610-01.htm" - elif player.getLevel() >= 45 and ((st.getQuestItemsCount(3500) + st.getQuestItemsCount(3501) + st.getQuestItemsCount(3502)) >= 2) : - st.exitQuest(1) - htmltext = "30610-02.htm" - elif player.getLevel() >= 45 and ((st.getQuestItemsCount(3500) + st.getQuestItemsCount(3501) + st.getQuestItemsCount(3502)) == 1) : - if st.getQuestItemsCount(3500) == 1 : - item = player.getInventory().getItemByItemId(3500) - if item.getEnchantLevel() < 55 : - htmltext = "30610-03.htm" - else : - htmltext = "30610-04.htm" - elif st.getQuestItemsCount(3501) == 1 : - item = player.getInventory().getItemByItemId(3501) - if item.getEnchantLevel() < 55 : - htmltext = "30610-03.htm" - else : - htmltext = "30610-04.htm" - elif st.getQuestItemsCount(3502) == 1 : - item = player.getInventory().getItemByItemId(3502) - if item.getEnchantLevel() < 55 : - htmltext = "30610-03.htm" - else : - htmltext = "30610-04.htm" - elif id == State.STARTED : - if npcId == CRONOS : - htmltext = "30610-07.htm" - if npcId == MIMYU : - if st.getInt("id") == 1 : - st.set("id","2") - htmltext = "30747-01.htm" - elif st.getInt("id") == 2 : - summon = player.getSummon() - if summon : - if summon.getControlItem().getObjectId() == st.getInt("summonOid"): - htmltext = "30747-04.htm" - else : - htmltext = "30747-03.htm" - else : - htmltext = "30747-02.htm" - elif st.getInt("id") == 0 : - htmltext = "30747-07.htm" - elif st.getInt("id") > 0 and st.getInt("id") < 15 and st.getQuestItemsCount(FT_LEAF) >= 1 : - htmltext = "30747-11.htm" - elif st.getInt("id") == 15 and st.getQuestItemsCount(FT_LEAF) == 0 : - summon = player.getSummon() - if summon : - if summon.getControlItem().getObjectId() == st.getInt("summonOid"): - st.set("id","16") - htmltext = "30747-13.htm" - else : - htmltext = "30747-14.htm" - else : - htmltext = "30747-12.htm" - elif st.getInt("id") == 16: - summon = player.getSummon() - if summon : - htmltext = "30747-15.htm" - elif (st.getQuestItemsCount(3500) + st.getQuestItemsCount(3501) + st.getQuestItemsCount(3502)) == 1 : - if st.getQuestItemsCount(3500) == 1 : - item = player.getInventory().getItemByItemId(3500) - if item.getObjectId() == st.getInt("summonOid"): - #EvolvePet(player,item,4422) - st.takeItems(3500,1) - st.giveItems(4422,1) - htmltext = "30747-16.htm" - st.exitQuest(1) - st.playSound("ItemSound.quest_finish") - else : - npc.setTarget(player) - skill = SkillData.getInstance().getSkill(4167,1) - if skill != None: - skill.applyEffects(npc, player) - htmltext = "30747-18.htm" - elif st.getQuestItemsCount(3501) == 1 : - item = player.getInventory().getItemByItemId(3501) - if item.getObjectId() == st.getInt("summonOid"): - #EvolvePet(player,item,4423) - st.takeItems(3501,1) - st.giveItems(4423,1) - htmltext = "30747-16.htm" - st.exitQuest(1) - st.playSound("ItemSound.quest_finish") - else : - npc.setTarget(player) - skill = SkillData.getInstance().getSkill(4167,1) - if skill != None: - skill.applyEffects(npc, player) - htmltext = "30747-18.htm" - elif st.getQuestItemsCount(3502) == 1 : - item = player.getInventory().getItemByItemId(3502) - if item.getObjectId() == st.getInt("summonOid"): - #EvolvePet(player,item,4424) - st.takeItems(3502,1) - st.giveItems(4424,1) - htmltext = "30747-16.htm" - st.exitQuest(1) - st.playSound("ItemSound.quest_finish") - else : - npc.setTarget(player) - skill = SkillData.getInstance().getSkill(4167,1) - if skill != None: - skill.applyEffects(npc, player) - htmltext = "30747-18.htm" - else : - htmltext = "30747-18.htm" - elif (st.getQuestItemsCount(3500) + st.getQuestItemsCount(3501) + st.getQuestItemsCount(3502)) >= 2 : - htmltext = "30747-17.htm" - return htmltext - - - def onAttack(self, npc, player, damage, isPet, skill) : - st = player.getQuestState(qn) - if not st: - return - npcId = npc.getId() - for pc, mobId, in self.killedTrees: - if pc == player and mobId == npcId: - return - if isPet and st.getInt("id") < 16: - pet = player.getSummon() - if self.getRandom(100) <= 2 and st.getQuestItemsCount(FT_LEAF) >= 0: - st.takeItems(FT_LEAF,1) - st.playSound("ItemSound.quest_middle") - npc.broadcastPacket(NpcSay(npc.getId(),0,npcId,"gives me spirit leaf...!")) - self.killedTrees.append([player,npcId]) - if st.getQuestItemsCount(FT_LEAF) == 0 : - st.set("id","15") - st.set("cond","3") - return - -# Quest class and state definition -QUEST = Quest(421,qn,"Little Wing's Big Adventures") - -# Quest NPC starter initialization -QUEST.addStartNpc(CRONOS) - -# Quest initialization -QUEST.addTalkId(CRONOS) -QUEST.addTalkId(MIMYU) - -for i in range(27185,27189): - QUEST.addAttackId(i) \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31550-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31550-02.htm deleted file mode 100644 index 94bd79550973b8bb5886c9f6cef09dae2a1e1a66..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31550-02.htm +++ /dev/null @@ -1,6 +0,0 @@ -<html><body>Ancient Stone Tablet:<br> -"Based upon the experiences of past adventurers, it's become clear that the time to deal with Daimon the White-Eyed is now.<br> -A direct attack doesn't seem like the best solution, however. We mustn't forget those three henchmen following him."<br> -[Illegible text]<br> -As you turn to leave, you hear something fall from the tablet. Upon close examination, you find that it is a fragment of a mysterious bead. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31552-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31552-01.htm deleted file mode 100644 index 875182e6ea11ccc9f2fb20bd90b9d26542ee510a..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31552-01.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Ancient Stone Tablet:<br> -Upon closer examination, you notice an inscription describing the exploits of the heroes who defeated Daimon the White-Eyed.<br> -<a action="bypass -h Quest 603_DaimontheWhiteEyedPart1 31552-02.htm"> Read the inscription</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31683-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31683-06.htm deleted file mode 100644 index 9c9164f003f8972274a1ecc6a0c0c61a12fe4d4a..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31683-06.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Eye of Argos:<br> -Have you collected all the thoughts of darkness you need?<br> -<a action="bypass -h Quest 603_DaimontheWhiteEyedPart1 31683-07.htm">"Here are the thoughts of darkness I've collected."</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31683-09.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31683-09.htm deleted file mode 100644 index e22860376442fb95becc5da4f3d457e8ca112a71..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31683-09.htm +++ /dev/null @@ -1,2 +0,0 @@ -<html><body>Eye of Argos:<br> -Where are the eyes of darkness you've collected?</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/__init__.py b/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/__init__.py deleted file mode 100644 index 2225f856b4e08732517006e496814affcb629861..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/__init__.py +++ /dev/null @@ -1,167 +0,0 @@ -#Made by Kerb -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 import Quest as JQuest - -qn = "603_DaimontheWhiteEyedPart1" - -#Npcs -EYE = 31683 -TABLE1,TABLE2,TABLE3,TABLE4,TABLE5 = range(31548,31553) -#Items -EVIL_SPIRIT,BROKEN_CRYSTAL,U_SUMMON = range (7190,7193) -#Mobs -BUFFALO = 21299 -BANDERSNATCH = 21297 -GRENDEL = 21304 -#Chance -DROP_CHANCE = 100 - -class Quest (JQuest) : - def __init__(self,id,name,descr): - JQuest.__init__(self,id,name,descr) - self.questItemIds = [EVIL_SPIRIT,BROKEN_CRYSTAL] - - def onEvent (self,event,st) : - cond = st.getInt("cond") - htmltext = event - if event == "31683-02.htm" : - if st.getPlayer().getLevel() < 73 : - htmltext = "31683-01a.htm" - st.exitQuest(1) - else : - st.set("cond","1") - st.setState(State.STARTED) - st.playSound("ItemSound.quest_accept") - elif event == "31548-02.htm" : - st.set("cond","2") - st.playSound("ItemSound.quest_middle") - st.giveItems(BROKEN_CRYSTAL,1) - elif event == "31549-02.htm" : - st.set("cond","3") - st.playSound("ItemSound.quest_middle") - st.giveItems(BROKEN_CRYSTAL,1) - elif event == "31550-02.htm" : - st.set("cond","4") - st.playSound("ItemSound.quest_middle") - st.giveItems(BROKEN_CRYSTAL,1) - elif event == "31551-02.htm" : - st.set("cond","5") - st.playSound("ItemSound.quest_middle") - st.giveItems(BROKEN_CRYSTAL,1) - elif event == "31552-02.htm" : - st.set("cond","6") - st.playSound("ItemSound.quest_middle") - st.giveItems(BROKEN_CRYSTAL,1) - elif event == "31683-04.htm" : - if st.getQuestItemsCount(BROKEN_CRYSTAL) < 5 : - htmltext = "31683-08.htm" - else : - st.set("cond","7") - st.takeItems(BROKEN_CRYSTAL,-1) - st.playSound("ItemSound.quest_middle") - elif event == "31683-07.htm" : - if st.getQuestItemsCount(EVIL_SPIRIT) < 200 : - htmltext = "31683-09.htm" - else : - st.takeItems(EVIL_SPIRIT,-1) - st.giveItems(U_SUMMON,1) - st.playSound("ItemSound.quest_finish") - st.exitQuest(1) - return htmltext - - - def onTalk (self,npc,player): - htmltext = Quest.getNoQuestMsg(player) - st = player.getQuestState(qn) - if st : - npcId = npc.getId() - id = st.getState() - cond = st.getInt("cond") - if cond == 0 : - if npcId == EYE : - htmltext = "31683-01.htm" - elif cond == 1 : - if npcId == EYE : - htmltext = "31683-02a.htm" - elif npcId == TABLE1 : - htmltext = "31548-01.htm" - elif cond == 2 : - if npcId == EYE : - htmltext = "31683-02a.htm" - elif npcId == TABLE2 : - htmltext = "31549-01.htm" - else: - htmltext = "table-no.htm" - elif cond == 3 : - if npcId == EYE : - htmltext = "31683-02a.htm" - elif npcId == TABLE3 : - htmltext = "31550-01.htm" - else: - htmltext = "table-no.htm" - elif cond == 4 : - if npcId == EYE : - htmltext = "31683-02a.htm" - elif npcId == TABLE4 : - htmltext = "31551-01.htm" - else: - htmltext = "table-no.htm" - elif cond == 5 : - if npcId == EYE : - htmltext = "31683-02a.htm" - elif npcId == TABLE5 : - htmltext = "31552-01.htm" - else: - htmltext = "table-no.htm" - elif cond == 6 : - if npcId == EYE : - htmltext = "31683-03.htm" - else: - htmltext = "table-no.htm" - elif cond == 7 : - if npcId == EYE : - htmltext = "31683-05.htm" - elif cond == 8 : - if npcId == EYE : - htmltext = "31683-06.htm" - return htmltext - - def onKill(self,npc,player,isPet): - partyMember = self.getRandomPartyMember(player, 7) - if not partyMember: return - st = partyMember.getQuestState(qn) - if st : - count = st.getQuestItemsCount(EVIL_SPIRIT) - if st.getInt("cond") == 7 and count < 200 : - chance = DROP_CHANCE * Config.RATE_QUEST_DROP - numItems, chance = divmod(chance,100) - if self.getRandom(100) < chance : - numItems += 1 - if numItems : - if count + numItems >= 200 : - numItems = 200 - count - st.playSound("ItemSound.quest_middle") - st.set("cond","8") - else: - st.playSound("ItemSound.quest_itemget") - st.giveItems(EVIL_SPIRIT,int(numItems)) - return - -QUEST = Quest(603,qn,"Daimon the White-Eyed - Part 1") - -QUEST.addStartNpc(EYE) - -QUEST.addTalkId(EYE) -QUEST.addTalkId(TABLE1) -QUEST.addTalkId(TABLE2) -QUEST.addTalkId(TABLE3) -QUEST.addTalkId(TABLE4) -QUEST.addTalkId(TABLE5) - -QUEST.addKillId(BUFFALO) -QUEST.addKillId(BANDERSNATCH) -QUEST.addKillId(GRENDEL) \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/625_TheFinestIngredientsPart2/31521-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/625_TheFinestIngredientsPart2/31521-01.htm deleted file mode 100644 index 9f57f1470c9253d00f62f7c4198832fd84aa1b1c..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/625_TheFinestIngredientsPart2/31521-01.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Chef Jeremy:<br> -It's ready. Now give me the soy sauce that I gave you earlier.<br> -<a action="bypass -h Quest 625_TheFinestIngredientsPart2 31521-02.htm">"Here's your Pot of Soy Sauce."</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/625_TheFinestIngredientsPart2/31521-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/625_TheFinestIngredientsPart2/31521-02.htm deleted file mode 100644 index 86ebd2328a815d9349650801bb7b9080d7141b6f..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/625_TheFinestIngredientsPart2/31521-02.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Chef Jeremy:<br> -All right, now find the Icicle Emperor Bumbalump, or whatever you want to call him, and put out this food and wait.<br> -He loves to eat, and won't be able to resist such a scrumptious meal from a world-class chef! <br>You must hurry! Kill that filthy creature and bring me his meat!<br> -One more thing... He's quite a messy eater, and sometimes the table gets broken. If that happens, wait until he fixes the table. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/625_TheFinestIngredientsPart2/31521-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/625_TheFinestIngredientsPart2/31521-03.htm deleted file mode 100644 index 06fba244e014043084d515de588ae7143123f6ec..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/625_TheFinestIngredientsPart2/31521-03.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Chef Jeremy:<br> -So, you slaughtered him?<br> -Did you bring the meat?<br> -<a action="bypass -h Quest 625_TheFinestIngredientsPart2 31521-04.htm">"Here's your meat."</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/625_TheFinestIngredientsPart2/31521-03a.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/625_TheFinestIngredientsPart2/31521-03a.htm deleted file mode 100644 index 5d9d037a6871432fb8da4e1541af00c42226c1c2..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/625_TheFinestIngredientsPart2/31521-03a.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Chef Jeremy:<br> -Where's the Special Yeti Meat?<br> -I don't want anything else! As I said, all I need is the special meat from Bumbalump! Get it?!! -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/625_TheFinestIngredientsPart2/31542-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/625_TheFinestIngredientsPart2/31542-01.htm deleted file mode 100644 index d0ea29f6ecfb20214f01d80f883744f7d27e9a50..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/625_TheFinestIngredientsPart2/31542-01.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Yeti's Table:<br> -This is where Icicle Emperor Bumbalump eats his prey.<br> -<a action="bypass -h Quest 625_TheFinestIngredientsPart2 31542-02.htm">Place Bumbalump's dish on table.</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/625_TheFinestIngredientsPart2/__init__.py b/L2J_DataPack_BETA/dist/game/data/scripts/quests/625_TheFinestIngredientsPart2/__init__.py deleted file mode 100644 index 76bc87fa1fa7df628ae5d929dc5a97e8334d82a7..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/625_TheFinestIngredientsPart2/__init__.py +++ /dev/null @@ -1,161 +0,0 @@ -#Made by Kerb -import sys -from java.lang import System -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 import Quest as JQuest -from com.l2jserver.gameserver.network.serverpackets import NpcSay -from com.l2jserver.util import Rnd - -qn = "625_TheFinestIngredientsPart2" -#Npcs -JEREMY = 31521 -TABLE = 31542 -#RaidBoss -BUMPALUMP = 25296 -#Items -SAUCE = 7205 -FOOD = 7209 -MEAT = 7210 -#Rewards dye +2str-2con/+2str-2dex/+2con-2str/+2con-2dex/+2dex-2str/+2dex-2con -REWARDS = range (4589,4595) - -def AutoChat(npc,text) : - chars = npc.getKnownList().getKnownPlayers().values().toArray() - if chars != None: - for pc in chars : - sm = NpcSay(npc.getObjectId(), 0, npc.getId(), text) - pc.sendPacket(sm) - -class Quest (JQuest) : - def __init__(self,id,name,descr): - JQuest.__init__(self,id,name,descr) - self.questItemIds = [FOOD, MEAT] - test = self.loadGlobalQuestVar("625_respawn") - if test.isdigit() : - remain = long(test) - System.currentTimeMillis() - if remain <= 0 : - self.addSpawn(31542,157136,-121456,-2363,40000, False, 0, True) - else : - self.startQuestTimer("spawn_npc", remain, None, None) - else: - self.addSpawn(31542,157136,-121456,-2363,40000, False, 0, True) - - def onAdvEvent (self, event, npc, player) : - if event == "Icicle Emperor Bumbalump has despawned" : - npc.reduceCurrentHp(9999999,npc,None) - self.addSpawn(31542,157136,-121456,-2363,40000, False, 0, True) - AutoChat(npc,"The good fragrant flavor...") - return - elif event == "spawn_npc" : - self.addSpawn(31542,157136,-121456,-2363,40000, False, 0, True) - return - st = player.getQuestState(qn) - if not st: return - cond = st.getInt("cond") - htmltext = event - if event == "31521-02.htm" : - if st.getPlayer().getLevel() < 73 : - htmltext = "31521-00b.htm" - st.exitQuest(1) - else: - st.set("cond","1") - st.setState(State.STARTED) - st.takeItems(SAUCE,1) - st.giveItems(FOOD,1) - st.playSound("ItemSound.quest_accept") - elif event == "31542-02.htm" : - if st.getQuestItemsCount(FOOD) == 0 : - htmltext = "31542-04.htm" - else: - spawnId = st.addSpawn(BUMPALUMP,158240,-121536,-2253) - st.takeItems(FOOD,1) - npc.deleteMe() - st.set("cond","2") - self.startQuestTimer("Icicle Emperor Bumbalump has despawned",1200000,spawnId,None) - AutoChat(spawnId,"not!") - elif event == "31521-04.htm" : - if st.getQuestItemsCount(MEAT) >= 1 : - st.takeItems(MEAT,1) - st.giveItems(REWARDS[self.getRandom(len(REWARDS))],5) - st.exitQuest(1) - htmltext = "31521-04.htm" - else: - htmltext = "31521-05.htm" - st.exitQuest(1) - return htmltext - - def onTalk (self,npc,player): - htmltext = Quest.getNoQuestMsg(player) - st = player.getQuestState(qn) - if st : - npcId = npc.getId() - id = st.getState() - cond = st.getInt("cond") - if cond == 0 : - if npcId == JEREMY : - if st.getQuestItemsCount(SAUCE) >= 1 : - htmltext = "31521-01.htm" - else: - htmltext = "31521-00a.htm" - elif cond == 1 : - if npcId == JEREMY : - htmltext = "31521-02a.htm" - if npcId == TABLE : - htmltext = "31542-01.htm" - elif cond == 2 : - if npcId == JEREMY : - htmltext = "31521-03a.htm" - if npcId == TABLE : - htmltext = "31542-01.htm" - elif cond == 3 : - if npcId == JEREMY : - htmltext = "31521-03.htm" - if npcId == TABLE : - htmltext = "31542-05.htm" - return htmltext - - def onKill(self,npc,player,isPet): - npcId = npc.getId() - if npcId == BUMPALUMP : - respawnMinDelay = 43200000 * int(Config.RAID_MIN_RESPAWN_MULTIPLIER) - respawnMaxDelay = 129600000 * int(Config.RAID_MAX_RESPAWN_MULTIPLIER) - respawn_delay = Rnd.get(respawnMinDelay,respawnMaxDelay) - self.saveGlobalQuestVar("625_respawn", str(System.currentTimeMillis()+respawn_delay)) - self.startQuestTimer("spawn_npc", respawn_delay, None, None) - self.cancelQuestTimer("Icicle Emperor Bumbalump has despawned",npc,None) - party = player.getParty() - if party : - PartyQuestMembers = [] - for player1 in party.getMembers().toArray() : - st1 = player1.getQuestState(qn) - if st1 : - if st1.getState() == State.STARTED and (st1.getInt("cond") == 1 or st1.getInt("cond") == 2) : - PartyQuestMembers.append(st1) - if len(PartyQuestMembers) == 0 : return - st = PartyQuestMembers[Rnd.get(len(PartyQuestMembers))] - if st.getQuestItemsCount(FOOD) > 0 : - st.takeItems(FOOD,1) - st.giveItems(MEAT,1) - st.set("cond","3") - st.playSound("ItemSound.quest_middle") - else : - st = player.getQuestState(qn) - if not st : return - if st.getState() == State.STARTED and (st.getInt("cond") == 1 or st.getInt("cond") == 2) : - if st.getQuestItemsCount(FOOD) > 0 : - st.takeItems(FOOD,1) - st.giveItems(MEAT,1) - st.set("cond","3") - st.playSound("ItemSound.quest_middle") - return - -QUEST = Quest(625,qn,"The Finest Ingredients - Part 2") - -QUEST.addStartNpc(JEREMY) - -QUEST.addTalkId(JEREMY) -QUEST.addTalkId(TABLE) - -QUEST.addKillId(BUMPALUMP) \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/661_TheHarvestGroundsSafe/30210-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/661_TheHarvestGroundsSafe/30210-01.htm deleted file mode 100644 index 743d8995d76d62f0e80035a66a09116a51a270f2..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/661_TheHarvestGroundsSafe/30210-01.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Warehouse Keeper Norman:<br> -Thank you, but this is too dangerous for you. Don't you know? You mast kill monsters in the <font color="LEVEL">Fellmere Harvesting Grounds.</font> But these monsters are too strong for you.<br> -(Quest for characters level 21 and above.) -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/661_TheHarvestGroundsSafe/30210-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/661_TheHarvestGroundsSafe/30210-02.htm deleted file mode 100644 index 7dfa5aa306bb668dfaee4e8bac111cddc9dad827..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/661_TheHarvestGroundsSafe/30210-02.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Warehouse Keeper Norman:<br> -I've been looking for someone like you. Go to the<font color="LEVEL"> Fellmere Harvesting Grounds</font> and defeat the<font color="LEVEL"> Giant Poison Bee, Cloudy Beast and Young Araneid</font> that are impeding our work. -And dont forget to bring me proof of your kills..<br> -<a action="bypass -h Quest 661_TheHarvestGroundsSafe 30210-03.htm">"Say you will participate."</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/661_TheHarvestGroundsSafe/30210-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/661_TheHarvestGroundsSafe/30210-03.htm deleted file mode 100644 index d62276ee621f67f2ce67e38cceba5cc5410a11dd..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/661_TheHarvestGroundsSafe/30210-03.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Warehouse Keeper Norman:<br> -Excellent! Go to the Fellmere Harvesting Grounds and defeat the<font color="LEVEL"> Giant Poison Bee, Cloudy Beast and Young Araneid</font> that are impeding our work. -And dont forget to bring me proof of your kills... Good luck! -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/661_TheHarvestGroundsSafe/30210-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/661_TheHarvestGroundsSafe/30210-04.htm deleted file mode 100644 index 07c5457a2035fad4c1897f158149fe39584ea9c6..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/661_TheHarvestGroundsSafe/30210-04.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Warehouse Keeper Norman:<br> -Oh you're back so soon? You haven't proof? The Lord wants the reconstruction effort started as soon as possible... We relly need your help! Cam you prove that you're valuable enough for the reconstruction effort?<br> -<a action="bypass -h Quest 661_TheHarvestGroundsSafe 30210-07.htm">"I haven't the proof."</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/661_TheHarvestGroundsSafe/30210-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/661_TheHarvestGroundsSafe/30210-05.htm deleted file mode 100644 index 46edf5a4950bb0bb4965321ff4461ffacff93146..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/661_TheHarvestGroundsSafe/30210-05.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Warehouse Keeper Norman:<br> -Oh you're back so soon? The Lord wants the reconstruction effort started as soon as possible... We relly need your help! Can you prove that you're valuable enough for the reconstruction effort?<br> -<a action="bypass -h Quest 661_TheHarvestGroundsSafe 30210-08.htm">"Here's the proof."</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/661_TheHarvestGroundsSafe/30210-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/661_TheHarvestGroundsSafe/30210-06.htm deleted file mode 100644 index 5a6e39ed0baa00630fe754869a38b7bece7c4d3c..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/661_TheHarvestGroundsSafe/30210-06.htm +++ /dev/null @@ -1,3 +0,0 @@ -<html><body>Warehouse Keeper Norman:<br> -Then set down your sword and staff now, and go seek rest. May you find tranquility and safety. -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/661_TheHarvestGroundsSafe/30210-07.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/661_TheHarvestGroundsSafe/30210-07.htm deleted file mode 100644 index 320c0df88b26ba2c4ed81d0b6a58fe7c09703e1a..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/661_TheHarvestGroundsSafe/30210-07.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Warehouse Keeper Norman:<br> -You don't get the reward for your work... The rewards is provided by the Iron Gate Guild and the Gludio Territory Reconstruction Fund... Wath! You want the reward? Then kill some monsters and bring me proofs!<br> -<a action="bypass -h Quest 661_TheHarvestGroundsSafe 30210-09.htm">"I'll keep working for you."</a><br> -<a action="bypass -h Quest 661_TheHarvestGroundsSafe 30210-06.htm">"I quit."</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/661_TheHarvestGroundsSafe/30210-08.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/661_TheHarvestGroundsSafe/30210-08.htm deleted file mode 100644 index 8f9c1a06c74d1fd9b9112d32516b5e7fdbf2385e..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/661_TheHarvestGroundsSafe/30210-08.htm +++ /dev/null @@ -1,5 +0,0 @@ -<html><body>Warehouse Keeper Norman:<br> -Here is the reward for your work... The rewards is provided by the Iron Gate Guild and the Gludio Territory Reconstruction Fund... Wath! It's not enough? Then kill some more monsters and bring me proofs!<br> -<a action="bypass -h Quest 661_TheHarvestGroundsSafe 30210-09.htm">"I'll keep working for you."</a><br> -<a action="bypass -h Quest 661_TheHarvestGroundsSafe 30210-06.htm">"I'll quit."</a> -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/661_TheHarvestGroundsSafe/30210-09.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/661_TheHarvestGroundsSafe/30210-09.htm deleted file mode 100644 index 753aa81683457fcfcd8869ff22b14400ef689483..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/661_TheHarvestGroundsSafe/30210-09.htm +++ /dev/null @@ -1,4 +0,0 @@ -<html><body>Warehouse Keeper Norman:<br> -Excellent! Go to the<font color="LEVEL"> Fellmere Harvesting Grounds</font> and defeat the<font color="LEVEL"> Giant Poison Bee, Cloudy Beast and Young Araneid</font> that are impeding our work.<br> -And dont forget to bring me proof of your kills... Good luck! -</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/661_TheHarvestGroundsSafe/__init__.py b/L2J_DataPack_BETA/dist/game/data/scripts/quests/661_TheHarvestGroundsSafe/__init__.py deleted file mode 100644 index 11a5fe716a8da335b2aabb9194a8a581d8f1047a..0000000000000000000000000000000000000000 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/661_TheHarvestGroundsSafe/__init__.py +++ /dev/null @@ -1,103 +0,0 @@ -### --------------------------------------------------------------------------- -### Created by Skeleton!!! -### --------------------------------------------------------------------------- -#Modified and updated by Emperorc - -import sys -from com.l2jserver.gameserver.model.quest import State -from com.l2jserver.gameserver.model.quest import QuestState -from com.l2jserver.gameserver.model.quest import Quest as JQuest - -qn = "661_TheHarvestGroundsSafe" - -# NPC -NORMAN = 30210 - -# MOBS -GIANT_POISON_BEE = 21095 -CLOUDY_BEAST = 21096 -YOUNG_ARANEID = 21097 - -#QUEST ITEMS -STING_OF_GIANT_POISON = 8283 -TALON_OF_YOUNG_ARANEID = 8285 -CLOUDY_GEM = 8284 - -#Droplist format - npcId : [item,chance] -DROPLIST = { - GIANT_POISON_BEE : [STING_OF_GIANT_POISON,75], - CLOUDY_BEAST : [CLOUDY_GEM,71], - YOUNG_ARANEID : [TALON_OF_YOUNG_ARANEID,67] - } - -class Quest (JQuest) : - - def __init__(self,id,name,descr): - JQuest.__init__(self,id,name,descr) - self.questItemIds = range(8283,8286) - - def onEvent (self,event,st) : - htmltext = event - if event in ["30210-03.htm","30210-09.htm"] : - st.set("cond","1") - st.setState(State.STARTED) - st.playSound("ItemSound.quest_accept") - if event == "30210-08.htm" : - STING = st.getQuestItemsCount(STING_OF_GIANT_POISON) - TALON = st.getQuestItemsCount(TALON_OF_YOUNG_ARANEID) - GEM = st.getQuestItemsCount(CLOUDY_GEM) - amount = 0 - if STING+GEM+TALON >= 10 : - amount = 2800 - st.giveItems(57,STING*50+GEM*60+TALON*70 + amount) - st.takeItems(STING_OF_GIANT_POISON,-1) - st.takeItems(TALON_OF_YOUNG_ARANEID,-1) - st.takeItems(CLOUDY_GEM,-1) - st.playSound("ItemSound.quest_middle") - elif event == "30210-06.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.getId() - cond = st.getInt("cond") - if not cond : - if st.getPlayer().getLevel() >= 21 : - htmltext = "30210-02.htm" - else : - htmltext = "30210-01.htm" - st.exitQuest(1) - if cond : - S = st.getQuestItemsCount(STING_OF_GIANT_POISON) - T = st.getQuestItemsCount(TALON_OF_YOUNG_ARANEID) - C = st.getQuestItemsCount(CLOUDY_GEM) - if S+T+C == 0 : - htmltext = "30210-04.htm" - else : - htmltext = "30210-05.htm" - return htmltext - - def onKill(self,npc,player,isPet): - st = player.getQuestState(qn) - if not st : return - if st.getState() != State.STARTED : return - npcId = npc.getId() - rand = self.getRandom(100) - if npcId in DROPLIST.keys() : - item,chance = DROPLIST[npcId] - if rand < chance : - st.giveItems(item,1) - st.playSound("ItemSound.quest_itemget") - return - -QUEST = Quest(661,qn,"Making the Harvest Grounds Safe") - -QUEST.addStartNpc(NORMAN) -QUEST.addTalkId(NORMAN) - -for id in DROPLIST.keys() : - QUEST.addKillId(id) \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/30051-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/30051-01.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/30051-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/30051-01.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/30051-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/30051-02.html new file mode 100644 index 0000000000000000000000000000000000000000..e2594e316412c24b7cdd6679bd39d806457899d4 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/30051-02.html @@ -0,0 +1,3 @@ +<html><body>Cristel:<br> +Ah, Rockswell must have sent you. This is such soft fur. But you don't have enough to make into yarn. It would be good to have about ten bundles of fur like this... I'm sorry to trouble you, but please go get me some more, and I'll make it into yarn. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/30051-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/30051-03.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/30051-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/30051-03.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/30051-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/30051-04.html new file mode 100644 index 0000000000000000000000000000000000000000..c0d1aeb58626e84e275465a8d68814f6bc529eda --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/30051-04.html @@ -0,0 +1,3 @@ +<html><body>Cristel:<br> +Oh my! What a pretty doll! Did Rolfe make this? He is really talented with his hands. I guess it's a gift for someone? +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/30055-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/30055-01.html similarity index 54% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/30055-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/30055-01.html index 5b37a0f1dc1ab81b457eb1442d3d2793fc2a8d89..b763e484210bc8ca58c364b223a7f6788a853cc8 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/30055-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/30055-01.html @@ -1,5 +1,5 @@ <html><body>Warehouse Keeper Rolfe:<br> -Oh, this yarn is of quite good quality. Looks like ... ah, yes, this is real keltir fur. Right now, I'm managing this warehouse on guild business, but I'm originally a tailor. The richest traders of Giran were my customers... Ahem.<br> -Hmm? What? The girl doll for Rockswell? Oh, right! I almost forgot. Now that you brought me the yarn, I can make her some hair. Just a moment, here ...<br> +Oh, this yarn is of quite good quality. Looks like... ah, yes, this is real keltir fur. Right now, I'm managing this warehouse on guild business, but I'm originally a tailor. The richest traders of Giran were my customers... Ahem.<br> +Hmm? What? The girl doll for Rockswell? Oh, right! I almost forgot. Now that you brought me the yarn, I can make her some hair. Just a moment, here...<br> There! It's finished. Now she has orange-colored hair, and doesn't have to be a bald dolly. By the way, did Rockswell have a granddaughter? </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/30055-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/30055-02.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/30055-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/30055-02.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/30055-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/30055-03.html new file mode 100644 index 0000000000000000000000000000000000000000..88c09dcd5ad80490dab3a300b5149594f93270d5 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/30055-03.html @@ -0,0 +1,3 @@ +<html><body>Warehouse Keeper Rolfe:<br> +Rockswell asked me to make this girl doll some time ago. I think he's giving it to his granddaughter as a present. But I don't have yarn to make its hair. I think Rockswell was going to find me yarn made from keltir fur... +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/30312-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/30312-01.htm similarity index 56% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/30312-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/30312-01.htm index e628b69b8f2eab3c34af4734480ebd1fb3d3c5ac..7b37b6f7aff0e0aa3dfaeb1a98b1331d4d866d37 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/30312-03.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/30312-01.htm @@ -1,6 +1,6 @@ <html><body>Lighthouse Keeper Rockswell:<br> The goddess of the seas must be really angry this year. The recent storms were fierce, unlike anything ever seen before. They say that trade ships sailing to Giran have been shipwrecked in these parts ... the waves don't seem normal this year.<br> You know, this is all because they haven't made<font color="LEVEL"> offerings</font> to Shilen, goddess of the sea. From long, long ago our ancestors who lived on this island made a sacrifice to Shilen, goddess of the deep seas, every year for the safety of all ships that sail into these harbors. But now most of the residents have forgotten this tradition. I'm sure that is what has made the goddess so angry.<br> -Fallius, the Wharf Manager, and I still continue this ceremony every year. We have not been able to hold the ritual this year yet, as the newly appointed Priest to the island doesn't like it. But see what happens? I think it would be best to hold the ceremony, even if it means doing it in secret. That is the only way to calm the raging waves and violent waters. Do you think you can help? I need the help of someone else in order to prepare for the ceremony.<br> -<a action="bypass -h Quest 154_SacrificeToSea 1">Say you will help</a> +Firon, the Wharf Manager, and I still continue this ceremony every year. We have not been able to hold the ritual this year yet, as the newly appointed Priest to the island doesn't like it. But see what happens? I think it would be best to hold the ceremony, even if it means doing it in secret. That is the only way to calm the raging waves and violent waters. Do you think you can help? I need the help of someone else in order to prepare for the ceremony.<br> +<a action="bypass -h Quest Q00154_SacrificeToTheSea 30312-03.htm">Say you will help</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/30312-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/30312-02.htm similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/30312-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/30312-02.htm diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/30312-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/30312-03.htm similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/30312-04.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/30312-03.htm diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/30312-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/30312-04.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/30312-05.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/30312-04.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/30312-05.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/30312-05.html new file mode 100644 index 0000000000000000000000000000000000000000..387f99a554782580869264abfe7218a55121074d --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/30312-05.html @@ -0,0 +1,3 @@ +<html><body>Lighthouse Keeper Rockswell:<br> +I see that Cristel has made the yarn. I'm always thankful to her. Give this yarn to <font color="LEVEL">Rolfe.</font> You can meet <font color="LEVEL">Rolfe</font> at the warehouse. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/30312-07.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/30312-06.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/154_SacrificeToSea/30312-07.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/30312-06.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/30312-07.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/30312-07.html new file mode 100644 index 0000000000000000000000000000000000000000..d2a15e2fc7796e6a548fbdd87667b385ec8af234 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/30312-07.html @@ -0,0 +1,4 @@ +<html><body>Lighthouse Keeper Rockswell:<br> +I see that you've collected ten pelts of keltir fur. Bring them to Cristel. You can meet her at the well in front of the village warehouse. She will use the keltir fur to make yarn.<br> +Take the yarn made from keltir fur and go find Rolfe. You can meet Rolfe at the warehouse. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/Q00154_SacrificeToTheSea.java b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/Q00154_SacrificeToTheSea.java new file mode 100644 index 0000000000000000000000000000000000000000..b6c253c4e0a79278286dfdd6575713f08a266491 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00154_SacrificeToTheSea/Q00154_SacrificeToTheSea.java @@ -0,0 +1,194 @@ +/* + * Copyright (C) 2004-2014 L2J DataPack + * + * This file is part of L2J DataPack. + * + * L2J DataPack 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. + * + * L2J DataPack 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.Q00154_SacrificeToTheSea; + +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; + +/** + * Sacrifice to the Sea (154) + * @author Pandragon + */ +public final class Q00154_SacrificeToTheSea extends Quest +{ + // NPCs + private static final int ROCKSWELL = 30312; + private static final int CRISTEL = 30051; + private static final int ROLLFNAN = 30055; + // Items + private static final int FOX_FUR = 1032; + private static final int FOX_FUR_YAM = 1033; + private static final int MAIDEN_DOLL = 1034; + // Monsters + private static final int ELDER_KELTIR = 20544; + private static final int YOUNG_KELTIR = 20545; + private static final int KELTIR = 20481; + // Reward + private static final int MAGE_EARING = 113; + // Misc + private static final int MIN_LVL = 2; + + private Q00154_SacrificeToTheSea() + { + super(154, Q00154_SacrificeToTheSea.class.getSimpleName(), "Sacrifice to the Sea"); + addStartNpc(ROCKSWELL); + addTalkId(ROCKSWELL, CRISTEL, ROLLFNAN); + addKillId(ELDER_KELTIR, YOUNG_KELTIR, KELTIR); + registerQuestItems(FOX_FUR, FOX_FUR_YAM, MAIDEN_DOLL); + } + + @Override + public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && event.equals("30312-03.htm")) + { + qs.startQuest(); + return event; + } + return null; + } + + @Override + public String onTalk(L2Npc npc, L2PcInstance talker) + { + final QuestState qs = getQuestState(talker, true); + String htmltext = getNoQuestMsg(talker); + switch (npc.getId()) + { + case ROCKSWELL: + { + if (qs.isCreated()) + { + htmltext = ((talker.getLevel() >= MIN_LVL) ? "30312-01.htm" : "30312-02.htm"); + } + else if (qs.isStarted()) + { + switch (qs.getCond()) + { + case 1: + { + htmltext = "30312-04.html"; + break; + } + case 2: + { + htmltext = "30312-07.html"; + break; + } + case 3: + { + htmltext = "30312-05.html"; + break; + } + case 4: + { + takeItems(talker, MAIDEN_DOLL, -1); + rewardItems(talker, MAGE_EARING, 1); + addExpAndSp(talker, 0, 1000); + qs.exitQuest(false, true); + htmltext = "30312-06.html"; + break; + } + } + } + else + { + htmltext = getAlreadyCompletedMsg(talker); + } + break; + } + case CRISTEL: + { + switch (qs.getCond()) + { + case 1: + { + htmltext = "30051-02.html"; + break; + } + case 2: + { + takeItems(talker, FOX_FUR, -1); + giveItems(talker, FOX_FUR_YAM, 1); + qs.setCond(3, true); + htmltext = "30051-01.html"; + break; + } + case 3: + { + htmltext = "30051-03.html"; + break; + } + case 4: + { + htmltext = "30051-04.html"; + break; + } + } + break; + } + case ROLLFNAN: + { + switch (qs.getCond()) + { + case 1: + case 2: + { + htmltext = "30055-03.html"; + break; + } + case 3: + { + takeItems(talker, FOX_FUR_YAM, -1); + giveItems(talker, MAIDEN_DOLL, 1); + qs.setCond(4, true); + htmltext = "30055-01.html"; + break; + } + case 4: + { + htmltext = "30055-02.html"; + break; + } + } + break; + } + } + return htmltext; + } + + @Override + public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon) + { + final QuestState qs = getRandomPartyMemberState(killer, 1, 3, npc); + if ((qs != null) && giveItemRandomly(qs.getPlayer(), npc, FOX_FUR, 1, 10, 0.3, true)) + { + qs.setCond(2); + } + return super.onKill(npc, killer, isSummon); + } + + public static void main(String[] args) + { + new Q00154_SacrificeToTheSea(); + } +} \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30623-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30623-01.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30623-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30623-01.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30623-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30623-02.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30623-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30623-02.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30704-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30704-01.html similarity index 65% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30704-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30704-01.html index 38587bc3fe05e3e17e7c5459b1df524f69437f73..194ad23f47f1e2771239f482af4068d742fa19d8 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30704-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30704-01.html @@ -1,4 +1,5 @@ -<html><body>High Prefect Garvarentz:<br> -This necklace and statue prove that what you say is true. Last night I dreamed of an orc. His large body was covered with scars and he was drenched in what must have been his enemy's blood. He gave me this necklace...<br> +<html><body>High Prefect Gavarentz:<br> +This necklace and statue prove that what you say is true. Last night I dreamed of an Orc. His large body was covered with scars and he was drenched in what must have been his enemy's blood. He gave me this necklace...<br> Thank you, young traveler. Now I shall give the necklace to you. Use it carefully. -</body></html> \ No newline at end of file +</body></html> + diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30704-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30704-02.html similarity index 83% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30704-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30704-02.html index f8364b1f439c43c07babefbf5cb55b52d8d1d2ea..ee7ea79d9f7ca819155d3b089fd0fb1d39688ddb 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30704-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30704-02.html @@ -1,3 +1,3 @@ -<html><body>High Prefect Garvarentz:<br> +<html><body>High Prefect Gavarentz:<br> I have entrusted the amulet necklace to my daughter, who I have sent north to the Orc Fortress. She will wear the necklace in battle. I pray the mighty spirit of her ancestor will watch over her. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-01.htm similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-01.htm diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-02.htm similarity index 78% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-02.htm index d5050afb6bd14432114a94196180c070b4754b23..ebb2c7d8a528ae9f223e21b351da7a5353fdca6a 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-02.htm @@ -1,4 +1,5 @@ <html><body>Antharas Watchman Gilmore:<br> I've not left Dragon Valley since I led my men here so many years ago to battle Antharas...<br> I have accepted the inevitability of my eternal responsibility to watch over the beast. But my heart goes out to the loyal soldiers who lost their lives due to my stubborn ignorance. I have no other wish than to see their remains returned to their hometowns so they can rest in peace.<br> -<a action="bypass -h Quest 344_1000YearsEndofLamentation 30754-03.htm">"I will help you."</a></body></html> \ No newline at end of file +<a action="bypass -h Quest Q00344_1000YearsTheEndOfLamentation 30754-03.htm">"I will help you."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-03.htm new file mode 100644 index 0000000000000000000000000000000000000000..acb2d15b6992364afdada9dd69561236f7c55611 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-03.htm @@ -0,0 +1,4 @@ +<html><body>Watcher of Antharas Gilmore:<br> +I buried my former subordinates in a corner of this Valley in a region called the <font color="LEVEL">Watcher's Tomb</font>. However, they strangely came back from the dead after Antharas and Desparion used their magic. My mind is still strong, but they turned into monsters after blood and death... These friends... creatures... are now called... 'Cave Servants'...<br> +<a action="bypass -h Quest Q00344_1000YearsTheEndOfLamentation 30754-04.htm">"Carry on."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-04.htm new file mode 100644 index 0000000000000000000000000000000000000000..d8c1aaa263d3c9849bc1e90ed869c280afb19fb3 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-04.htm @@ -0,0 +1,3 @@ +<html><body>Watcher of Antharas Gilmore:<br> +You probably know as well, but there were many, many people that tried to kill Antharas. None were able, but their death was not the end for all. While some were undoubtedly held by Shilen's grasp, others become Cave Servants. Right now, I don't even know how many Cave Servants exist in the <font color="LEVEL">Watcher's Tomb</font>. What I can ask of you is to destroy as many Cave Servants as possible. <font color="LEVEL">Cave Servant, Archer, Warrior, Chief... Anything that has Cave in the name</font>. Kill them and collect their relics, then bring them to me. I will reward you appropriately. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-09.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-05.html similarity index 58% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-09.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-05.html index de246e1ede4f831ff3f2418961efcefcd6857ffd..c71f4d8ddafdbc0e009df0885c571bacfa1874ee 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-09.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-05.html @@ -1,2 +1,3 @@ <html><body>Antharas Watchman Gilmore:<br> -Is there something keeping you here? Why aren't you out killing cave servants? Bring me back any relics they leave behind.</body></html> \ No newline at end of file +Is there something keeping you here? Why aren't you out killing cave servants? Bring me back any relics they leave behind. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-06.html similarity index 67% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-05.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-06.html index 8d072d38a2b9432a5c12e0b432ee4c522dd7be37..95fdf364bdc31bd2fee556ad533d564047d92e2e 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-05.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-06.html @@ -1,3 +1,4 @@ <html><body>Antharas Watchman Gilmore:<br> Believe it or not we gave our lives willingly to save Giran! But we never counted on being here for eternity, let alone looking like this! It's been a thousand years and still I long for my mortal life...<br> -<a action="bypass -h Quest 344_1000YearsEndofLamentation 30754-06.htm">Give him the relics.</a></body></html> \ No newline at end of file +<a action="bypass -h Quest Q00344_1000YearsTheEndOfLamentation 30754-08.html">Give him the relics.</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-06a.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-07.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-06a.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-07.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-08.html similarity index 57% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-06.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-08.html index 0f980894952e483936613173a2425582764a208e..161bd95177c0abe109ab471e4b2462b5344d0cec 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-06.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-08.html @@ -1,4 +1,5 @@ <html><body>Antharas Watchman Gilmore:<br> Thank you! Please take this as a token of my appreciation. Thanks to you the noble soldiers can finally rest in peace... I am afraid that there are many more, however, who still wander this valley. Would you be willing to continue doing this for a while?<br> -<a action="bypass -h Quest 344_1000YearsEndofLamentation 30754-07.htm">"I will continue the work."</a><br> -<a action="bypass -h Quest 344_1000YearsEndofLamentation 30754-08.htm">"I quit."</a></body></html> \ No newline at end of file +<a action="bypass -h Quest Q00344_1000YearsTheEndOfLamentation 30754-16.html">"I will continue the work."</a><br> +<a action="bypass -h Quest Q00344_1000YearsTheEndOfLamentation 30754-17.html">"I quit."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-10.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-09.html similarity index 52% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-10.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-09.html index 1bea193d023bf2dbec62afa75a9a9e2e2b2e8c43..2bc6b3266cf09851d522ccecdaf07a6249d90bc1 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-10.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-09.html @@ -1,3 +1,4 @@ <html><body>Antharas Watchman Gilmore:<br> Could it be? If my eyes aren't deceiving me this used to belong to a friend of mine...<br> -<a action="bypass -h Quest 344_1000YearsEndofLamentation 30754-11.htm">"Tell me more, Gilmore."</a></body></html> \ No newline at end of file +<a action="bypass -h Quest Q00344_1000YearsTheEndOfLamentation relic_info">"Tell me more, Gilmore."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-12.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-10.html similarity index 59% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-12.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-10.html index b6cb2b8b993d7e5e34d1ea002f7cfdf1c30ca72a..d770e32ce50ee6aa5d60d71e52ac1b149910d2f0 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-12.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-10.html @@ -1,5 +1,5 @@ <html><body>Antharas Watchman Gilmore:<br> My personal aide wore this key around his neck. He stood by my side during the battle with Antharas 1,000 years ago. He was the first-born son in his family... This key was very important to him.<br> -I believe one of his descendants is living in<font color="LEVEL"> Giran Castle Town</font>. He has the family name of<font color="LEVEL"> Rodemai</font>.<br> -I am bound to this valley so cannot go myself. Would you please take the key to Rodemai in Giran Castle Town? I will pay you for your trouble. +I believe one of his descendants is living in <font color="LEVEL">the Town of Giran</font>. He has the family name of <font color="LEVEL">Rodemai</font>.<br> +I am bound to this valley so cannot go myself. Would you please take the key to Rodemai in the Town of Giran? I will pay you for your trouble. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-13.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-11.html similarity index 68% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-13.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-11.html index a1787ecab3fe89e2a817aaab444ee6eef5d6922d..772823c4c040e4edf316d4ad3f67ca9c5482d93f 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-13.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-11.html @@ -1,5 +1,5 @@ <html><body>Antharas Watchman Gilmore:<br> This sword belonged to one of my aides who fought alongside me against Antharas 1,000 years ago. In the intervening years the blade must have rusted away and only this hilt is left. He was a swordsman without parallel...<br> -It is said that one of his descendants is living in<font color="LEVEL"> Oren Castle Town</font>. It is likely that he is following the family tradition of being a<font color="LEVEL"> Duelist</font>.<br> +It is said that one of his descendants is living in <font color="LEVEL">the Town of Oren</font>. It is likely that he is following the family tradition of being a <font color="LEVEL">Duelist</font>.<br> I am unable to leave this valley or I would take this relic to him. Would you please do this for me? I will pay you for your trouble. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-14.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-12.html similarity index 80% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-14.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-12.html index 06f7bb5fd5344736a2952c4a269207961164a76a..b5e4ecd3b0cc0d7c143fe62b11b8ce57d9d26cef 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-14.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-12.html @@ -1,5 +1,5 @@ <html><body>Antharas Watchman Gilmore:<br> This necklace belonged to a soldier that served under my command in the battle against Antharas. He was the finest Orc I've ever known, a true intellectual. Seriously! I'm fairly certain he was of aristocratic birth.<br> -Come to think of it, I've seen that necklace elsewhere. It was worn by an Orc who was a<font color="LEVEL"> High Prefect</font> from<font color="LEVEL"> Hunters Village</font>.<br> +Come to think of it, I've seen that necklace elsewhere. It was worn by an Orc who was a <font color="LEVEL">High Prefect</font> from <font color="LEVEL">Hunters Village</font>.<br> I would take the necklace to him if I was able to leave this valley, but alas, I cannot. Would you please take it to him? I will compensate you well for your trouble. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-11.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-13.html similarity index 71% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-11.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-13.html index 06159831d35dbde50550c7b19ab9b54301e8f8d7..1ae245960a318889659f2d8bb90db97c72c7a128 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-11.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-13.html @@ -1,5 +1,5 @@ <html><body>Antharas Watchman Gilmore:<br> This crucifix belonged to one of the brave young soldiers who accompanied me here 1,000 years ago to battle the beast Antharas. At that time it shone like the sun. Now it looks so old and weathered...<br> -He worshipped in a temple that stood where Aden Castle stands now. Please go to<font color="LEVEL"> Aden Castle Town</font> and take this crucifix to the temple of Einhasad. Show it to a<font color="LEVEL"> High Priest</font> at the temple, he will know what to do with it.<br> +He worshipped in a temple that stood where Aden Castle stands now. Please go to <font color="LEVEL">the Town of Aden</font> and take this crucifix to the temple of Einhasad. Show it to a <font color="LEVEL">High Priest</font> at the temple, he will know what to do with it.<br> Even if I could leave the valley to travel there, an undead such as myself could never enter the temple. If you will do this for me I will pay you well. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-15.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-14.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-15.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-14.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-15.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-15.html new file mode 100644 index 0000000000000000000000000000000000000000..86ca9ef068bd34b650f5b3e37dd29abad114e0cf --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-15.html @@ -0,0 +1,6 @@ +<html><body>Watcher of Antharas Gilmore:<br> +Oh, you're back? Perhaps I should reward for your good work, hmm?<br> +Now, while you're here, I'd like to ask you to help with the same task in your future endeavours, as there are other friends of mine who still cannot rest in the watcher's tomb. Would you do this for me again in a while?<br> +<a action="bypass -h Quest Q00344_1000YearsTheEndOfLamentation 30754-16.html">"Yes."</a><br> +<a action="bypass -h Quest Q00344_1000YearsTheEndOfLamentation 30754-17.html">"Sorry, I can't."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-07.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-16.html similarity index 85% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-07.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-16.html index 674f855615a1316799c3c836962ab4d3b37fa795..fb33cbc75da65c46d75ae4e8b81ff4d3b9da9abf 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-07.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-16.html @@ -1,2 +1,3 @@ <html><body>Antharas Watchman Gilmore:<br> -Oh, thank you! I knew I could depend on you. This could go on for a while. There seems to be no end of cave servants in this cursed valley.</body></html> \ No newline at end of file +Oh, thank you! I knew I could depend on you. This could go on for a while. There seems to be no end of cave servants in this cursed valley. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-08.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-17.html similarity index 81% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-08.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-17.html index 111197ab2f7fee967c656165485d98e3d0e13e0e..464b896f4562cb1f79b5d236b9f59fc62a619cd3 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30754-08.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30754-17.html @@ -1,2 +1,3 @@ <html><body>Antharas Watchman Gilmore:<br> -Oh, well, you have done much good. I knew you wouldn't stay here forever, as I and my soldiers must do. Thank you for helping me and my men. Goodbye...</body></html> \ No newline at end of file +Oh, well, you have done much good. I knew you wouldn't stay here forever, as I and my soldiers must do. Thank you for helping me and my men. Goodbye... +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30756-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30756-01.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30756-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30756-01.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30756-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30756-02.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30756-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30756-02.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30857-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30857-01.html similarity index 71% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30857-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30857-01.html index 602352facf515c7e168ee2988de4324e1e7d33fd..7b77324814cef4874903abbf23a310f82714c1d5 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30857-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30857-01.html @@ -1,4 +1,5 @@ <html><body>High Priest Orven:<br> This looks like a badge from our temple...? Don't tell me... Could it be a relic from the battle against Antharas 1,000 years ago? How could it be?<br> -I have always feared that our efforts to slay Antharas have been in vain. This old badge tells me that our responsibilities cannot be avoided, no matter the cost.<br>Thank you, young traveler. Please take this small token of appreciation from our temple. +I have always feared that our efforts to slay Antharas have been in vain. This old badge tells me that our responsibilities cannot be avoided, no matter the cost.<br> +Thank you, young traveler. Please take this small token of appreciation from our temple. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30857-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30857-02.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/344_1000YearsEndofLamentation/30857-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/30857-02.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/Q00344_1000YearsTheEndOfLamentation.java b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/Q00344_1000YearsTheEndOfLamentation.java new file mode 100644 index 0000000000000000000000000000000000000000..9d1433f5cb4d0459d9bca2b13cef8828765558d9 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00344_1000YearsTheEndOfLamentation/Q00344_1000YearsTheEndOfLamentation.java @@ -0,0 +1,385 @@ +/* + * Copyright (C) 2004-2014 L2J DataPack + * + * This file is part of L2J DataPack. + * + * L2J DataPack 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. + * + * L2J DataPack 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.Q00344_1000YearsTheEndOfLamentation; + +import java.util.HashMap; +import java.util.Map; + +import com.l2jserver.gameserver.model.actor.L2Npc; +import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; +import com.l2jserver.gameserver.model.holders.ItemHolder; +import com.l2jserver.gameserver.model.quest.Quest; +import com.l2jserver.gameserver.model.quest.QuestState; + +/** + * 1000 years, the End of Lamentation (344) + * @author Pandragon + */ +public final class Q00344_1000YearsTheEndOfLamentation extends Quest +{ + // NPCs + private static final int KAIEN = 30623; + private static final int GARVARENTZ = 30704; + private static final int GILMORE = 30754; + private static final int RODEMAI = 30756; + private static final int ORVEN = 30857; + // Items + private static final int ARTICLES = 4269; + private static final ItemHolder OLD_KEY = new ItemHolder(4270, 1); + private static final ItemHolder OLD_HILT = new ItemHolder(4271, 1); + private static final ItemHolder TOTEM_NECKLACE = new ItemHolder(4272, 1); + private static final ItemHolder CRUCIFIX = new ItemHolder(4273, 1); + // Monsters + private static final Map<Integer, Double> MONSTER_CHANCES = new HashMap<>(); + { + MONSTER_CHANCES.put(20236, 0.58); // Cave Servant + MONSTER_CHANCES.put(20238, 0.75); // Cave Servant Warrior + MONSTER_CHANCES.put(20237, 0.78); // Cave Servant Archer + MONSTER_CHANCES.put(20239, 0.79); // Cave Servant Captain + MONSTER_CHANCES.put(20240, 0.85); // Royal Cave Servant + MONSTER_CHANCES.put(20272, 0.58); // Cave Servant + MONSTER_CHANCES.put(20273, 0.78); // Cave Servant Archer + MONSTER_CHANCES.put(20274, 0.75); // Cave Servant Warrior + MONSTER_CHANCES.put(20275, 0.79); // Cave Servant Captain + MONSTER_CHANCES.put(20276, 0.85); // Royal Cave Servant + } + // Rewards + private static final ItemHolder ORIHARUKON_ORE = new ItemHolder(1874, 25); + private static final ItemHolder VARNISH_OF_PURITY = new ItemHolder(1887, 10); + private static final ItemHolder SCROLL_EWC = new ItemHolder(951, 1); + private static final ItemHolder RAID_SWORD = new ItemHolder(133, 1); + private static final ItemHolder COKES = new ItemHolder(1879, 55); + private static final ItemHolder RING_OF_AGES = new ItemHolder(885, 1); + private static final ItemHolder LEATHER = new ItemHolder(1882, 70); + private static final ItemHolder COARSE_BONE_POWDER = new ItemHolder(1881, 50); + private static final ItemHolder HEAVY_DOOM_HAMMER = new ItemHolder(191, 1); + private static final ItemHolder STONE_OF_PURITY = new ItemHolder(1875, 19); + private static final ItemHolder SCROLL_EAC = new ItemHolder(952, 5); + private static final ItemHolder DRAKE_LEATHER_BOOTS = new ItemHolder(2437, 1); + // Misc + private static final int MIN_LVL = 48; + + private Q00344_1000YearsTheEndOfLamentation() + { + super(344, Q00344_1000YearsTheEndOfLamentation.class.getSimpleName(), "1000 years, the End of Lamentation"); + addStartNpc(GILMORE); + addTalkId(KAIEN, GARVARENTZ, GILMORE, RODEMAI, ORVEN); + addKillId(MONSTER_CHANCES.keySet()); + registerQuestItems(ARTICLES, OLD_KEY.getId(), OLD_HILT.getId(), TOTEM_NECKLACE.getId(), CRUCIFIX.getId()); + } + + @Override + public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, false); + String htmltext = null; + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "30754-03.htm": + case "30754-16.html": + { + htmltext = event; + break; + } + case "30754-04.htm": + { + if (qs.isCreated()) + { + qs.startQuest(); + htmltext = event; + } + break; + } + case "30754-08.html": + { + if (qs.isCond(1)) + { + final long count = getQuestItemsCount(player, ARTICLES); + if (count < 1) + { + htmltext = "30754-07.html"; + } + else + { + takeItems(player, ARTICLES, -1); + if (getRandom(1000) >= count) + { + giveAdena(player, count * 60, true); + htmltext = event; + } + else + { + qs.setCond(2, true); + switch (getRandom(4)) + { + case 0: + { + qs.setMemoState(1); + giveItems(player, OLD_HILT); + break; + } + case 1: + { + qs.setMemoState(2); + giveItems(player, OLD_KEY); + break; + } + case 2: + { + qs.setMemoState(3); + giveItems(player, TOTEM_NECKLACE); + break; + } + case 3: + { + qs.setMemoState(4); + giveItems(player, CRUCIFIX); + break; + } + } + htmltext = "30754-09.html"; + } + } + } + break; + } + case "30754-17.html": + { + if (qs.isCond(1)) + { + htmltext = event; + qs.exitQuest(true, true); + } + break; + } + case "relic_info": + { + switch (qs.getMemoState()) + { + case 1: + { + htmltext = "30754-10.html"; + break; + } + case 2: + { + htmltext = "30754-11.html"; + break; + } + case 3: + { + htmltext = "30754-12.html"; + break; + } + case 4: + { + htmltext = "30754-13.html"; + break; + } + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(L2Npc npc, L2PcInstance talker) + { + final QuestState qs = getQuestState(talker, true); + String htmltext = getNoQuestMsg(talker); + switch (npc.getId()) + { + case GILMORE: + { + if (qs.isCreated()) + { + htmltext = (talker.getLevel() >= MIN_LVL) ? "30754-02.htm" : "30754-01.htm"; + } + else if (qs.isStarted()) + { + if (qs.isCond(1)) + { + htmltext = (hasQuestItems(talker, ARTICLES)) ? "30754-06.html" : "30754-05.html"; + } + else if (hasItem(talker, OLD_KEY) || hasItem(talker, OLD_HILT) || hasItem(talker, TOTEM_NECKLACE) || hasItem(talker, CRUCIFIX)) + { + htmltext = "30754-14.html"; + } + else + { + qs.setCond(1); + htmltext = "30754-15.html"; + } + } + else + { + htmltext = getAlreadyCompletedMsg(talker); + } + break; + } + case KAIEN: + { + if (qs.getMemoState() == 1) + { + if (hasItem(talker, OLD_HILT)) + { + takeItems(talker, OLD_HILT.getId(), -1); + final int rand = getRandom(100); + if (rand <= 52) + { + rewardItems(talker, ORIHARUKON_ORE); + } + else if (rand <= 76) + { + rewardItems(talker, VARNISH_OF_PURITY); + } + else if (rand <= 98) + { + rewardItems(talker, SCROLL_EWC); + } + else + { + rewardItems(talker, RAID_SWORD); + } + qs.setCond(1); + htmltext = "30623-01.html"; + } + else + { + htmltext = "30623-02.html"; + } + } + break; + } + case RODEMAI: + { + if (qs.getMemoState() == 2) + { + if (hasItem(talker, OLD_KEY)) + { + takeItems(talker, OLD_KEY.getId(), -1); + final int rand = getRandom(100); + if (rand <= 39) + { + rewardItems(talker, COKES); + } + else if (rand <= 89) + { + rewardItems(talker, SCROLL_EWC); + } + else + { + rewardItems(talker, RING_OF_AGES); + } + qs.setCond(1); + htmltext = "30756-01.html"; + } + else + { + htmltext = "30756-02.html"; + } + } + break; + } + case GARVARENTZ: + { + if (qs.getMemoState() == 3) + { + if (hasItem(talker, TOTEM_NECKLACE)) + { + takeItems(talker, TOTEM_NECKLACE.getId(), -1); + final int rand = getRandom(100); + if (rand <= 47) + { + rewardItems(talker, LEATHER); + } + else if (rand <= 97) + { + rewardItems(talker, COARSE_BONE_POWDER); + } + else + { + rewardItems(talker, HEAVY_DOOM_HAMMER); + } + qs.setCond(1); + htmltext = "30704-01.html"; + } + else + { + htmltext = "30704-02.html"; + } + } + break; + } + case ORVEN: + { + if (qs.getMemoState() == 4) + { + if (hasItem(talker, CRUCIFIX)) + { + takeItems(talker, CRUCIFIX.getId(), -1); + final int rand = getRandom(100); + if (rand <= 49) + { + rewardItems(talker, STONE_OF_PURITY); + } + else if (rand <= 69) + { + rewardItems(talker, SCROLL_EAC); + } + else + { + rewardItems(talker, DRAKE_LEATHER_BOOTS); + } + qs.setCond(1); + htmltext = "30857-01.html"; + } + else + { + htmltext = "30857-02.html"; + } + } + break; + } + } + return htmltext; + } + + @Override + public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon) + { + final QuestState qs = getRandomPartyMemberState(killer, 1, 3, npc); + if (qs != null) + { + giveItemRandomly(qs.getPlayer(), npc, ARTICLES, 1, 0, MONSTER_CHANCES.get(npc.getId()), true); + } + return super.onKill(npc, killer, isSummon); + } + + public static void main(String[] args) + { + new Q00344_1000YearsTheEndOfLamentation(); + } +} diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-01.htm new file mode 100644 index 0000000000000000000000000000000000000000..4dc6466ca2391b84535a17ed1cf721c63e55e3f5 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-01.htm @@ -0,0 +1,6 @@ +<html><body>Blacksmith Brunon:<br> +What goes through your mind when you gaze upon the silvery moon? Have you ever dreamed of visiting that cold and desolate place? Just think of the strange and wonderful minerals there! Imagine the discoveries you could make!<br> +Many have tried to reach the moon but so far all have failed. There was the catapult, a miserable failure. Someone got the idea to have a golem hurl a vehicle there, also a tragedy. Many noble Dwarves have given their lives in this endeavor.<br> +So you wish to attempt this feat? To go where no Dwarf has gone before? Good! I have a plan, my 18th actually, that I am sure will get you safely there and back. We have thought of everything that could go possibly go wrong! Bwa ha ha ha!<br> +<a action="bypass -h Quest Q00347_GoGetTheCalculator 30526-03.htm">"I don't want to go to the moon."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-02.html new file mode 100644 index 0000000000000000000000000000000000000000..92bd6add68b68521216043d8765a4bcc1894e6e6 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-02.html @@ -0,0 +1,4 @@ +<html><body>Blacksmith Brunon:<br> +When you have developed more skills I would like to talk to you about a project I've been working on.<br> +This quest can only be undertaken by a player of level 12 or above.) +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-03.htm new file mode 100644 index 0000000000000000000000000000000000000000..cbf397900681c9f7f3efd66152751e62a1c54139 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-03.htm @@ -0,0 +1,7 @@ +<html><body>Blacksmith Brunon:<br> +Oh, well, I will have to look elsewhere for a volunteer for the moon mission. I do have another task you might be interested in. Any project this large requires a lot of support on the ground.<br> +I realize this is rather sudden, but would you mind taking a test to see if you qualify for the position I am considering you for? What is the product of the following equation:<br>(123 + 45.6) x 78.9?<br> +<a action="bypass -h Quest Q00347_GoGetTheCalculator 30526-04.htm">3720.84</a><br> +<a action="bypass -h Quest Q00347_GoGetTheCalculator 30526-05.htm">13302.54</a><br> +<a action="bypass -h Quest Q00347_GoGetTheCalculator 30526-06.htm">"I don't know."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-04.htm new file mode 100644 index 0000000000000000000000000000000000000000..39c373e1542f4466a2dbe52edb80862d44a53190 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-04.htm @@ -0,0 +1,4 @@ +<html><body>Blacksmith Brunon:<br> +Ah, you are smarter than you look! Was that too easy?<br> +Come to think of it, mathematical skills aren't at all important for the position I was thinking about. You don't seem to understand my way of thinking very well, and I hesitate to trust you with the expensive equipment. If we are to work together we must know each other's minds completely. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-05.htm new file mode 100644 index 0000000000000000000000000000000000000000..58625b9d4ddcae38d3c598280a706e366c4e3993 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-05.htm @@ -0,0 +1,3 @@ +<html><body>Blacksmith Brunon:<br> +I bet you plan to publish a new, world-shattering theory... Turn the mathematical world on its head... Am I right?... I am having serious doubts about working with you. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-06.htm new file mode 100644 index 0000000000000000000000000000000000000000..c65a5ed8ef4ded00a94ca643781861c60f973f90 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-06.htm @@ -0,0 +1,6 @@ +<html><body>Blacksmith Brunon:<br> +Ha! Too much for you, eh? Don't worry, you passed the test... Why do you look so surprised? Your willingness to admit that your calculation skills are weak tells me that you and I share a common bond.<br> +I have tried and tried to reach to moon, and every time, total failure! Whoa! Who can say a genius like myself can fail! There was no failure! How can you hope to accomplish anything if you are constantly living in fear of failure?<br> +How dare you call me a failure!<br> +<a action="bypass -h Quest Q00347_GoGetTheCalculator 30526-07.htm">"Brunon, you're the one who said it."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-07.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-07.htm new file mode 100644 index 0000000000000000000000000000000000000000..2e5d32ab379186d124e87ca96c707d8d43cca0bc --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-07.htm @@ -0,0 +1,6 @@ +<html><body>Blacksmith Brunon:<br> +Oh, yes, so I did!<br> +I believe the reason my previous missions to the moon have not been successful has been due to calculation errors. Any miscalculation in atmospheric resistance, engine burn, or any thousands of other factors inevitably leads to disaster.<br> +I need to get the <font color="LEVEL">latest model Calculator</font> which has just been introduced in the village. I must get my hands on it! I am certain that this new technology will make my "18th Plan to Conquer the Moon" an unqualified success! Would you please get this Calculator for me?<br> +<a action="bypass -h Quest Q00347_GoGetTheCalculator 30526-08.htm">"I will bring you the Calculator."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-08.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-08.htm new file mode 100644 index 0000000000000000000000000000000000000000..148858077660f5bb89f17bc27512590c543cbf24 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-08.htm @@ -0,0 +1,3 @@ +<html><body>Blacksmith Brunon:<br> +Thank you! Please go and get it immediately. I have heard that the <font color="LEVEL">new model Calculator</font> was brought in by one of the <font color="LEVEL">Trader Guilds</font>. That would be good place to start, wouldn't it? +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-09.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-09.html new file mode 100644 index 0000000000000000000000000000000000000000..da4ad127432d6ecb1eb8d0029729096538fc4c2b --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-09.html @@ -0,0 +1,13 @@ +<html><body>Blacksmith Brunon:<br> +Oh... So this the new calculator! Good work. I will reward you as promised. You don't mind if I test it first, do you? Wait just a moment...<br> +Hm... Is this how it you use it?<br> +.<br> +.<br> +.<br> +Argh! What's this? This is...! And they call this "new"?<br> +Ha ha ha!<br> +I'm sorry, but I have no use for this item. It only does simple arithmetic! I suppose you did your part, however, so I will fulfill my end of our bargain.<br> +Here is 1500 Ade... Ah! Perhaps you would rather have the calculator? I will be happy to give it to you. You can either take the calculator or accept 1500 Adena.<br> +<a action="bypass -h Quest Q00347_GoGetTheCalculator 30526-10.html">Take the calculator.</a><br> +<a action="bypass -h Quest Q00347_GoGetTheCalculator 30526-11.html">Accept 1500 Adena.</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-10.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-10.html new file mode 100644 index 0000000000000000000000000000000000000000..7e98c58963cb5aaae2fca6b76b2a4a59f143be42 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-10.html @@ -0,0 +1,4 @@ +<html><body>Blacksmith Brunon:<br> +Good choice! I hope you get some use out of it.<br> +By the way, if you change your mind, come back to see me! I am still looking for a volunteer for my 18th mission to the moon! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-11.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-11.html new file mode 100644 index 0000000000000000000000000000000000000000..b493853ab2d40d2d49919d8264e9e42853d7505c --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-11.html @@ -0,0 +1,4 @@ +<html><body>Blacksmith Brunon:<br> +Ah, yes. It is refreshing to see someone who knows the value of money.<br> +By the way, if you're ever interested in going to the moon, come back to see me! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-12.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-12.html new file mode 100644 index 0000000000000000000000000000000000000000..b919eb1c04c9858de877daa323dd6524e02c4213 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-12.html @@ -0,0 +1,5 @@ +<html><body>Blacksmith Brunon:<br> +Thank you for completing the task to the best of your ability. You can either take the calculator or accept 1500 Adena.<br> +<a action="bypass -h Quest Q00347_GoGetTheCalculator 30526-10.html">Take the calculator.</a><br> +<a action="bypass -h Quest Q00347_GoGetTheCalculator 30526-11.html">Accept 1500 Adena.</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-13.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-13.html new file mode 100644 index 0000000000000000000000000000000000000000..ed05e19018af583acb6460a3c7572a3d3f3a7e80 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-13.html @@ -0,0 +1,5 @@ +<html><body>Blacksmith Brunon:<br> +Ah, you're back! Did you bring the <font color="LEVEL">new model Calculator</font>? Not yet? Why not? As I said, you should check with the <font color="LEVEL">Trader Guilds</font>. I am sure they brought it into the village. If you keep looking you will find it.<br> +Surely you know by now that the guilds you should check with are the <font color="LEVEL">Silver Scale Guild</font> and the <font color="LEVEL">Golden Wheel Guild</font>...<br> +Get going! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-14.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-14.html new file mode 100644 index 0000000000000000000000000000000000000000..46b70ed1fedcdc6b5d4f04f95fa9a3332e1ae810 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-14.html @@ -0,0 +1,5 @@ +<html><body>Blacksmith Brunon:<br> +Hello again! Have you brought the <font color="LEVEL">new model Calculator</font>? I guess that was too much to hope for. I see that you are still investigating.<br> +Remember, there are two trade guilds you should talk to: the <font color="LEVEL">Silver Scale Guild</font> and the <font color="LEVEL">Golden Wheel Guild</font>.<br> +Please hurry and get the Calculator for me! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-15.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-15.html new file mode 100644 index 0000000000000000000000000000000000000000..d2e7e4f239b1ded472d7487ba0fc02899a3d6324 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30526-15.html @@ -0,0 +1,3 @@ +<html><body>Blacksmith Brunon:<br> +You came back! Have you brought the <font color="LEVEL">new model Calculator</font>? Oh, well, keep looking for it. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30527-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30527-01.html new file mode 100644 index 0000000000000000000000000000000000000000..bdce5053b737155c37bf617611adbfa5ea401983 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30527-01.html @@ -0,0 +1,3 @@ +<html><body>Blacksmith Silvera:<br> +Is that so? Well, keep searching. I know you will find it! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30527-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30527-02.html similarity index 57% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30527-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30527-02.html index d4eb6f3ba6e9341c620a93760b0b238af402828a..afe0c80429890fe3c4cb791f161cccc5fa7411d4 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30527-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30527-02.html @@ -1,6 +1,6 @@ <html><body>Blacksmith Silvera:<br> Ha! The Calculator? Why are you bothering me for it? Certainly you can find another Dwarf to get one from!<br> -Okay. You win. Actually, I'm tired of carrying it around. I hoped to exchange it for something more useful or pretty, but in this village, nobody has anything interesting...Sigh!<br> -Bring me something pretty and I'll give you the calculator! I want some new crystals, and I know just where you can find some! Not far from here the<font color="LEVEL"> gemstone beasts</font> hoard their crystals. They shine so brightly it shouldn't be hard to find them.<br> -Oh, I can't wait! Bring me 10 crystals from the<font color="LEVEL"> gemstone beasts</font> and I'll give you the calculator. +Okay. You win. Actually, I'm tired of carrying it around. I hoped to exchange it for something more useful or pretty, but in this village, nobody has anything I find interesting... Sigh!<br> +Bring me something pretty and I'll give you the Calculator! I want some new crystals, and I know just where you can find some! Not far from here the <font color="LEVEL">Gemstone Beasts</font> hoard their crystals. They shine so brightly it shouldn't be hard to find them.<br> +Oh, I can't wait! Bring me 10 crystals from the <font color="LEVEL">Gemstone Beasts</font> and I'll give you the Calculator. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30527-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30527-03.html similarity index 75% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30527-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30527-03.html index d50805afe1dc72608bb32aed2ee21fce0e369978..e0de0d6193d439f70f10ea71386950fce162ca6e 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30527-03.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30527-03.html @@ -1,3 +1,3 @@ <html><body>Blacksmith Silvera:<br> -Oh, they are more beautiful than I imagined! You have made me very happy! Here is your calculator. +Oh, they are more beautiful than I imagined! You have made me very happy! Here is your Calculator. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30527-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30527-04.html new file mode 100644 index 0000000000000000000000000000000000000000..5de812d206fecb94632d48a12b6ca399e2936699 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30527-04.html @@ -0,0 +1,3 @@ +<html><body>Blacksmith Silvera:<br> +Have you brought me the 10 crystals from <font color="LEVEL">Gemstone Beasts</font>? If you want the Calculator you must bring me the crystals immediately! The beasts can be found in the <font color="LEVEL">Abandoned Mine</font>. Please hurry! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30527-05.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30527-05.html new file mode 100644 index 0000000000000000000000000000000000000000..819b1b91396164ef5a5ebc6a6b5b5bf55894d03d --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30527-05.html @@ -0,0 +1,3 @@ +<html><body>Blacksmith Silvera:<br> +I already gave you the Calculator! Don't you remember? +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30532-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30532-01.html new file mode 100644 index 0000000000000000000000000000000000000000..ca9280c9f7cbabae4194ccb827cceac62cd82a9d --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30532-01.html @@ -0,0 +1,9 @@ +<html><body>Golden Wheel's Spiron:<br> +What use would you have for such advanced technology? Oh, I get it! Its for Brunon! Mark my words, that fool is in over his head! You should be very careful in your dealings with him...<br> +Well, my friend, we don't have the Calculator you seek, but I do know where it can be found... I will tell you where it is if you will honestly answer this question:<br> +Which is the best Dwarven trade guild?<br> +<a action="bypass -h Quest Q00347_GoGetTheCalculator 30532-02.html">Golden Wheel</a><br> +<a action="bypass -h Quest Q00347_GoGetTheCalculator 30532-03.html">Silver Scale</a><br> +<a action="bypass -h Quest Q00347_GoGetTheCalculator 30532-04.html">I don't know.</a><br> +You do know the name of our guild, don't you? Not that I mean for you to lie to say that we are the best, but... +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30532-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30532-02.html new file mode 100644 index 0000000000000000000000000000000000000000..92f2c216934af9304b2f04b2ba7bd56897c77fb2 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30532-02.html @@ -0,0 +1,5 @@ +<html><body>Golden Wheel's Spiron:<br> +Ah, yes, your honest admiration for our clan will not go unrewarded...<br> +Now, Brunon is the one who seeks the Calculator, correct? To him I would say this: <font color="LEVEL">"The enemy is within your own house."</font> Said another way: <font color="LEVEL">"It is closer than you think."</font> I suppose that makes more sense!<br> +That should be enough information for you and Brunon. If you still can't find it, ask someone else... +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30532-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30532-03.html new file mode 100644 index 0000000000000000000000000000000000000000..d233b4143ce3938b4ffaed61e8b0fe0e98a4c9d8 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30532-03.html @@ -0,0 +1,3 @@ +<html><body>Golden Wheel's Spiron:<br> +Are you serious? The Silver Scale? Ha! What makes you think those buffoons are better than the mightly Golden Wheel? Who told you that? Its bull! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30532-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30532-04.html new file mode 100644 index 0000000000000000000000000000000000000000..184d7b93a5fe669e3132258c020b0daabe7e4b88 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30532-04.html @@ -0,0 +1,4 @@ +<html><body>Golden Wheel's Spiron:<br> +What do mean you don't know! Any idiot should be able to answer this question without thinking!<br> +Among the top six Dwarven guilds, only two are trade guilds. I, Spiron, am elder of the mighty Golden Wheel Guild and Balanki is the elder of the Silver Scale Guild. Now say it! Who is the best? +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30532-05.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30532-05.html new file mode 100644 index 0000000000000000000000000000000000000000..32bb05197bc11567a03aac3eae833f1bbc981d41 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30532-05.html @@ -0,0 +1,5 @@ +<html><body>Golden Wheel's Spiron:<br> +Ah yes, the Calculator... Tell Brunon this:<br> +<font color="LEVEL">"The enemy is within your own house."</font> Or, <font color="LEVEL">"It is closer than you think."</font><br> +If you don't understand this, I give up. Go and ask someone else... +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30533-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30533-01.html new file mode 100644 index 0000000000000000000000000000000000000000..54b8a0f92f14b9f24785532d9830ac7c0efc1d58 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30533-01.html @@ -0,0 +1,6 @@ +<html><body>Silver Scale's Balanki:<br> +A new type of Calculator, eh? Well, unfortunately, our guild does not make these, but I could tell you who does...<br> +Of course, as you know, nothing comes for free. However, this shouldn't be much, just a small token of good faith...<br> +I'll give you the information for only 100 Adena. It's not like I need the money... As you know, I am an elder, and such sums are nothing to me. All I require is a demonstration of your gratitude.<br> +<a action="bypass -h Quest Q00347_GoGetTheCalculator 30533-02.html">Give him 100 Adena.</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30533-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30533-02.html similarity index 65% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30533-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30533-02.html index 00ce65eb3fd38692302e58990370351131cc0ff4..7f28619312cbcd81c0e1ac4b97bd782ca546eb56 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/347_GoGetTheCalculator/30533-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30533-02.html @@ -2,5 +2,5 @@ Oh, how kind of you... But I really didn't need the money...<br> .<br> .<br> -Oh wait... I almost forgot. You wanted some information, didn't you? Well, the<font color="LEVEL"> new model calculator</font> is in the possession of a<font color="LEVEL"> female dwarf</font> in this village. That's all I can tell you... Good luck! +Oh wait... I almost forgot. You wanted some information, didn't you? Well, the <font color="LEVEL">new model Calculator</font> is in the possession of a <font color="LEVEL">female dwarf</font> in this village. That's all I can tell you... Good luck! </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30533-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30533-03.html new file mode 100644 index 0000000000000000000000000000000000000000..a91f60e7af469a916ce9743a328dc493fb875966 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30533-03.html @@ -0,0 +1,3 @@ +<html><body>Silver Scale's Balanki:<br> +Wow, you're poor! You should go earn some money and come back! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30533-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30533-04.html new file mode 100644 index 0000000000000000000000000000000000000000..de18ac0134a81d8cd14f021226bcc01555671841 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/30533-04.html @@ -0,0 +1,4 @@ +<html><body>Silver Scale's Balanki:<br> +The <font color="LEVEL">new model Calculator</font> is in the possession of a <font color="LEVEL">female dwarf in this village</font>. That's all I know.<br> +Could you please give me some more money? No, I don't have more information but I do need more money, and a lot more than 100 Adena! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/Q00347_GoGetTheCalculator.java b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/Q00347_GoGetTheCalculator.java new file mode 100644 index 0000000000000000000000000000000000000000..6ca59ad60f453f2456d7a4ed5a2b04282f05353f --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00347_GoGetTheCalculator/Q00347_GoGetTheCalculator.java @@ -0,0 +1,276 @@ +/* + * Copyright (C) 2004-2014 L2J DataPack + * + * This file is part of L2J DataPack. + * + * L2J DataPack 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. + * + * L2J DataPack 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.Q00347_GoGetTheCalculator; + +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; + +/** + * Go Get the Calculator (347) + * @author Pandragon + */ +public final class Q00347_GoGetTheCalculator extends Quest +{ + // NPCs + private static final int BRUNON = 30526; + private static final int SILVERA = 30527; + private static final int SPIRON = 30532; + private static final int BALANKI = 30533; + // Items + private static final int STOLEN_CALCULATOR = 4285; + private static final int GEMSTONE = 4286; + // Monster + private static final int GEMSTONE_BEAST = 20540; + // Reward + private static final int CALCULATOR = 4393; + // Misc + private static final int MIN_LVL = 12; + + private Q00347_GoGetTheCalculator() + { + super(347, Q00347_GoGetTheCalculator.class.getSimpleName(), "Go Get the Calculator"); + addStartNpc(BRUNON); + addTalkId(BRUNON, SILVERA, SPIRON, BALANKI); + addKillId(GEMSTONE_BEAST); + registerQuestItems(STOLEN_CALCULATOR, GEMSTONE); + } + + @Override + public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, false); + String htmltext = null; + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "30526-03.htm": + case "30526-04.htm": + case "30526-05.htm": + case "30526-06.htm": + case "30526-07.htm": + case "30532-03.html": + case "30532-04.html": + { + htmltext = event; + break; + } + case "30526-08.htm": + { + if (qs.isCreated()) + { + qs.startQuest(); + htmltext = event; + } + break; + } + case "30526-10.html": + { + if (qs.isCond(6)) + { + takeItems(player, STOLEN_CALCULATOR, -1); + rewardItems(player, CALCULATOR, 1); + qs.exitQuest(false, true); + htmltext = event; + } + else + { + htmltext = "30526-09.html"; + } + break; + } + case "30526-11.html": + { + if (qs.isCond(6)) + { + takeItems(player, STOLEN_CALCULATOR, -1); + giveAdena(player, 1000, true); + qs.exitQuest(false, true); + htmltext = event; + } + break; + } + case "30532-02.html": + { + if (qs.isCond(1)) + { + qs.setCond(2, true); + htmltext = event; + } + break; + } + case "30533-02.html": + { + if ((qs.isCond(2)) && (player.getAdena() > 100)) + { + takeItems(player, 57, 100); + qs.setCond(3, true); + htmltext = event; + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(L2Npc npc, L2PcInstance talker) + { + final QuestState qs = getQuestState(talker, true); + String htmltext = getNoQuestMsg(talker); + switch (qs.getState()) + { + case State.CREATED: + { + if (npc.getId() == BRUNON) + { + htmltext = (talker.getLevel() >= MIN_LVL) ? "30526-01.htm" : "30526-02.html"; + } + break; + } + case State.STARTED: + { + switch (npc.getId()) + { + case BRUNON: + { + if (hasQuestItems(talker, CALCULATOR)) + { + qs.setCond(6); + } + switch (qs.getCond()) + { + case 1: + case 2: + { + htmltext = "30526-13.html"; + break; + } + case 3: + case 4: + { + htmltext = "30526-14.html"; + break; + } + case 5: + { + htmltext = "30526-15.html"; + break; + } + case 6: + { + htmltext = "30526-09.html"; + break; + } + } + break; + } + case SPIRON: + { + htmltext = qs.isCond(1) ? "30532-01.html" : "30532-05.html"; + break; + } + case BALANKI: + { + if (qs.isCond(2)) + { + htmltext = "30533-01.html"; + } + else if (qs.getCond() > 2) + { + htmltext = "30533-04.html"; + } + else + { + htmltext = "30533-03.html"; + } + } + case SILVERA: + { + switch (qs.getCond()) + { + case 1: + case 2: + { + htmltext = "30527-01.html"; + break; + } + case 3: + { + qs.setCond(4, true); + htmltext = "30527-02.html"; + break; + } + case 4: + { + htmltext = "30527-04.html"; + break; + } + case 5: + { + takeItems(talker, GEMSTONE, -1); + giveItems(talker, STOLEN_CALCULATOR, 1); + qs.setCond(6, true); + htmltext = "30527-03.html"; + break; + } + case 6: + { + htmltext = "30527-05.html"; + break; + } + } + } + } + break; + } + case State.COMPLETED: + { + htmltext = getAlreadyCompletedMsg(talker); + break; + } + } + return htmltext; + } + + @Override + public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon) + { + final QuestState qs = getRandomPartyMemberState(killer, 4, 3, npc); + if (qs != null) + { + if (giveItemRandomly(qs.getPlayer(), npc, GEMSTONE, 1, 10, 0.4, true)) + { + qs.setCond(5); + } + } + return super.onKill(npc, killer, isSummon); + } + + public static void main(String[] args) + { + new Q00347_GoGetTheCalculator(); + } +} diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-0.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-01.htm similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-0.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-01.htm diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-1.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-02.htm similarity index 82% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-1.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-02.htm index cc535cffbee1207b3c5926cf11afc7fd5473e8e9..ff9f878ee91f3a24788f0e355d954e840d2c527f 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-1.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-02.htm @@ -1,5 +1,5 @@ <html><body>Magister Rollant:<br> Are you interested in the culinary arts? There are many excellent food ingredients here at Dion Castle. The local people have a passion for cooking and hold a culinary competition every month.<br> Many people think of this place as a chef's paradise, but I'm not completely satisfied. Although the correct cooking process is vital to the creation of fine foods, there is something missing.... The other chefs don't seem to notice this, or else they simply don't want to put in the time and effort to obtain new ingredients.<br> -<a action="bypass -h Quest 380_BringOutTheFlavorOfIngredients 30069-2.htm">"Are you different from other chefs?"</a> +<a action="bypass -h Quest Q00380_BringOutTheFlavorOfIngredients 30069-03.htm">"Are you different from other chefs?"</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-2.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-03.htm similarity index 81% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-2.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-03.htm index 5383f79609ed41c5bdadf25e46d8721d779326e5..df2ddc673cd8dc74d88e7a682d8b6569ca6e17e5 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-2.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-03.htm @@ -1,5 +1,5 @@ <html><body>Magister Rollant:<br> The most important skill a chef possesses is the ability to evaluate fine ingredients. A thorough knowledge of ingredients and the ability to find them are essential. Only then does preparation come into play.<br> Remember, an apple requires no preparation whatsoever. Cooking shouldn't always mean smearing something with butter and flour and calling it a pie. But I must admit, there are some hazards in using raw ingredients...<br> -<a action="bypass -h Quest 380_BringOutTheFlavorOfIngredients 30069-3.htm">"What kind of hazards?"</a> +<a action="bypass -h Quest Q00380_BringOutTheFlavorOfIngredients 30069-04.htm">"What kind of hazards?"</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-3.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-04.htm similarity index 65% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-3.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-04.htm index 3ef084c7e1ba233eec4e00ba1bed3dd16a462bdf..5db10a1bd1183952ffdfe8bab57b68486ec22bfc 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-3.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-04.htm @@ -1,3 +1,4 @@ <html><body>Magister Rollant:<br> Raw foods can have a very strong flavor. Some foods, if not prepared properly, can even cause illness. By far, the greatest use of ingredients is dessert. Would you care to sample some?<br> -<a action="bypass -h Quest 380_BringOutTheFlavorOfIngredients 30069-4.htm">"Would I ever!"</a></body></html> \ No newline at end of file +<a action="bypass -h Quest Q00380_BringOutTheFlavorOfIngredients 30069-05.htm">"Would I ever!"</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-4.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-05.htm similarity index 52% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-4.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-05.htm index c8cfca1e6ad8f6da8def9f3f0afb2e3616ed2bce..883d8f6165c6ade489cbf0c5b07b49f8a34b60e5 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-4.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-05.htm @@ -1,9 +1,9 @@ <html><body>Magister Rollant:<br> Excellent! We must gather the ingredients! Actually, that will be the hardest part. They aren't easy to find...<br> The fruit of the ritron trees quite often fails to sprout, and ripens underground.<br> -<font color="LEVEL">Dire wolves</font> have an excellent sense of smell and often dig up the<font color="LEVEL"> Ritron Fruits</font>. I will need 4 ritron fruits.<br> -I will also need a<font color="LEVEL"> Moon Face Flower</font> which is carried by<font color="LEVEL"> Kadif Werewolves</font> and some<font color="LEVEL"> Fluids of Giant Mist Leeches</font>.<br> -Ah, I will also need two leaves of Antidote as well, since Leech Fluids are very poisonous. So let's see, I need 4 Ritron Fruits, 20 Moon Flowers, 10 bottles of Giant Mist Leech Fluids and two leaves of Antidote... You can purchase Antidote at any store.<br> +<font color="LEVEL">Dire wolves</font> have an excellent sense of smell and often dig up the <font color="LEVEL">ritron fruits</font>. I will need 4 ritron fruits.<br> +I will also need a <font color="LEVEL">Moon Face Flower</font> which is carried by <font color="LEVEL">Kadif werewolves</font> and some <font color="LEVEL">fluids of giant mist leeches</font>.<br> +Ah, I will also need two leaves of Antidote as well, since Leech Fluids are very poisonous. So let's see, I need 4 ritron fruits, 20 moon flowers, 10 bottles of giant mist Leech Fluids and two leaves of Antidote... You can purchase Antidote at any store.<br> Bring me these ingredients and you'll taste the best dessert in the world!<br> -<a action="bypass -h Quest 380_BringOutTheFlavorOfIngredients 30069-5.htm">"Where can I find these ingredients?"</a> +<a action="bypass -h Quest Q00380_BringOutTheFlavorOfIngredients 30069-06.html">"Where can I find these ingredients?"</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-06.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-06.html new file mode 100644 index 0000000000000000000000000000000000000000..4f15c9d20ef25924657e45988d62c95cc0ce3e3c --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-06.html @@ -0,0 +1,6 @@ +<html><body>Magister Rollant:<br> +Dire wolves can be found in the northern Dion Hills, or in the south across the river west of Dion Castle and also on the Plains of Dion.<br> +Since Kadif werewolves can only be found on the Plains of Dion, you'll have to cross the river anyway.<br> +Giant mist leeches can be found in the Cruma Marshlands.<br> +Antidotes can be bought at any store. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-07.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-07.html new file mode 100644 index 0000000000000000000000000000000000000000..da98e70712445ab749dc0675ded6cbe3a695edac --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-07.html @@ -0,0 +1,4 @@ +<html><body>Magister Rollant:<br> +You haven't brought all the ingredients. Please bring me <font color="LEVEL">ritron fruit</font> from <font color="LEVEL">dire wolves</font>, <font color="LEVEL">moon flowers</font> from <font color="LEVEL">Kadif werewolves</font>, <font color="LEVEL">giant mist Leech Fluids</font> and <font color="LEVEL">Antidote</font>. Bring them to me and I'll make you the best dessert ever made... Even Magister Mirien, known as the magician of flavor, has never tasted it!<br> +<a action="bypass -h Quest Q00380_BringOutTheFlavorOfIngredients 30069-06.html">"Where do I find the ingredients?"</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-7.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-08.html similarity index 52% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-7.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-08.html index 432fa8ac0d9f2e002a257c521d293b4c6c6e650f..9a2998f8ff16875a260b9e966d0a03b38d633322 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-7.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-08.html @@ -1,5 +1,5 @@ <html><body>Magister Rollant:<br> Good! You've brought all the ingredients. I'll get started with my cooking.<br> -Ritron fruit cannot be consumed raw. To soften it, you must use this Leech Fluid. First we must beat the Leech Fluid together and neutralize it with Antidote. Then, grind the Moon Flower...<br> -This will take a while...<font color="LEVEL"> Would you like to come back later?</font> +Ritron fruit cannot be consumed raw. To soften it, you must use this leech fluid. First we must beat the leech fluid together and neutralize it with Antidote. Then, grind the moon flower...<br> +This will take a while... <font color="LEVEL">Would you like to come back later?</font> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-8.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-09.html similarity index 53% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-8.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-09.html index 417e4fe5266fe809fe9acba240643c482bcf51e1..b6aa32b9f780bb462739b9d9510251dc4497f749 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-8.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-09.html @@ -1,6 +1,6 @@ <html><body>Magister Rollant:<br> -Now I must distill the Leech fluid and mix it with gelatin.<br> +Now I must distill the leech fluid and mix it with gelatin.<br> Hmm, I forgot, I need to make gelatin, too. Please light the fire.<br> -Now I will crush one Ritron Fruit and add it to the ground Moon Flower...<br> +Now I will crush one ritron fruit and add it to the ground moon flower...<br> <font color="LEVEL">Please come back later.</font> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-9.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-10.html similarity index 80% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-9.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-10.html index 6fc9f39c5899eaac9686e7fc3226f0c20d39029c..d399a989070b9963e9e679c1ab14b8b00e4b9ec9 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-9.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-10.html @@ -1,5 +1,5 @@ <html><body>Magister Rollant:<br> Timing is essential!<br> -I will add the sterilized Leech Fluids to the Ritron Fruit just before it melts, so it will develop the maximum smoothness while retaining the pulp that uniquely tickles the throat...<br> +I will add the sterilized Leech Fluids to the ritron fruit just before it melts, so it will develop the maximum smoothness while retaining the pulp that uniquely tickles the throat...<br> <font color="LEVEL">I must concentrate. Please don't interrupt me! Come back later!</font> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-10.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-11.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-10.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-11.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-11.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-12.html similarity index 60% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-11.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-12.html index fe7db564420a2e1d584e523e41089e49b4b1344f..ddac03e22f6e997d4f50000eeb9b5e06bb8db953 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-11.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-12.html @@ -1,6 +1,6 @@ <html><body>Magister Rollant:<br> It's done! Now it must marinate in the sauce. When it's hardened you can eat it. I call it "Rollant's Special Ritron Jelly".<br> -Can you taste the hint of Moon Flower? I added the ritron fruit to the ritron sauce to really intensify the flavor.<br> +Can you taste the hint of moon flower? I added the ritron fruit to the ritron sauce to really intensify the flavor.<br> It melts in your mouth but still has a lovely texture, doesn't it? Eat up!<br> -<a action="bypass -h Quest 380_BringOutTheFlavorOfIngredients 30069-12.htm">"It's the best tasting dessert I've ever had!"</a> +<a action="bypass -h Quest Q00380_BringOutTheFlavorOfIngredients 30069-13.html">"It's the best tasting dessert I've ever had!"</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-12.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-13.html similarity index 78% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-12.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-13.html index 3dc6f7a940edfc1a0860a044d3f1b27f7c81462b..dfbd6d49f0abae32a1cdd8265c32a845f8d4f3af 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-12.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-13.html @@ -1,3 +1,3 @@ <html><body>Magister Rollant:<br> -I'm glad you enjoyed it. In case you ever want to have it again, take this<font color="LEVEL"> recipe</font>. I hope other chefs learn that such ingredients exist and start creating dishes made from them. Please share it with as many people as possible. +I'm glad you enjoyed it. In case you ever want to have it again, take this <font color="LEVEL">recipe</font>. I hope other chefs learn that such ingredients exist and start creating dishes made from them. Please share it with as many people as possible. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-14.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-14.html new file mode 100644 index 0000000000000000000000000000000000000000..bb7d80b39208de28cc4af3251a62c0cb367a0c0b --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-14.html @@ -0,0 +1,3 @@ +<html><body>Magister Rollant:<br> +Did you enjoy it? In case you ever want to make it, take this <font color="LEVEL">recipe</font>. I hope other chefs learn that such ingredients exist and start creating dishes using them. Please share it with as many people as possible. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-13.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-15.html similarity index 78% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-13.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-15.html index 859c7845552bdc90b57c2a85684c4b629d436b01..931d76955650e5fb9af84486f29bdf7e0ddfbf5a 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/380_BringOutTheFlavorOfIngredients/30069-13.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/30069-15.html @@ -1,6 +1,6 @@ <html><body>Magister Rollant:<br> It's done! Now, it must marinate in the ritron sauce. When it's hardened you can eat it. I call it "Rollant's Special Ritron Jelly".<br> -Can you taste the hint of Moon Flower? I added the Ritron Fruit to the Ritron sauce which really intensifies the flavor.<br> +Can you taste the hint of moon flower? I added the ritron fruit to the ritron sauce which really intensifies the flavor.<br> It melts in your mouth but still has a lovely texture, doesn't it?<br> Regretfully, this ritron fruit had been gnawed by wolves. I'm sure the taste won't be affected, but much of the joy of a dessert is its appearance...<br> Oh, well, you have to make do with what you have. Thank you for your work. diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/Q00380_BringOutTheFlavorOfIngredients.java b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/Q00380_BringOutTheFlavorOfIngredients.java new file mode 100644 index 0000000000000000000000000000000000000000..41a94c4763d5b77defd0be8aaadb9c77fabd3c6d --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00380_BringOutTheFlavorOfIngredients/Q00380_BringOutTheFlavorOfIngredients.java @@ -0,0 +1,209 @@ +/* + * Copyright (C) 2004-2014 L2J DataPack + * + * This file is part of L2J DataPack. + * + * L2J DataPack 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. + * + * L2J DataPack 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.Q00380_BringOutTheFlavorOfIngredients; + +import java.util.HashMap; +import java.util.Map; + +import com.l2jserver.gameserver.model.actor.L2Npc; +import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; +import com.l2jserver.gameserver.model.holders.ItemChanceHolder; +import com.l2jserver.gameserver.model.quest.Quest; +import com.l2jserver.gameserver.model.quest.QuestState; +import com.l2jserver.gameserver.model.quest.State; + +/** + * Bring Out the Flavor of Ingredients! (380) + * @author Pandragon + */ +public final class Q00380_BringOutTheFlavorOfIngredients extends Quest +{ + // NPC + private static final int ROLLAND = 30069; + // Items + private static final int ANTIDOTE = 1831; + private static final int RITRON_FRUIT = 5895; + private static final int MOON_FLOWER = 5896; + private static final int LEECH_FLUIDS = 5897; + // Monsters + private static final Map<Integer, ItemChanceHolder> MONSTER_CHANCES = new HashMap<>(); + { + MONSTER_CHANCES.put(20205, new ItemChanceHolder(RITRON_FRUIT, 0.1, 4)); // Dire Wolf + MONSTER_CHANCES.put(20206, new ItemChanceHolder(MOON_FLOWER, 0.5, 20)); // Kadif Werewolf + MONSTER_CHANCES.put(20225, new ItemChanceHolder(LEECH_FLUIDS, 0.5, 10)); // Giant Mist Leech + } + // Rewards + private static final int RITRON_RECIPE = 5959; + private static final int RITRON_DESSERT = 5960; + // Misc + private static final int MIN_LVL = 24; + + private Q00380_BringOutTheFlavorOfIngredients() + { + super(380, Q00380_BringOutTheFlavorOfIngredients.class.getSimpleName(), "Bring Out the Flavor of Ingredients!"); + addStartNpc(ROLLAND); + addTalkId(ROLLAND); + addKillId(MONSTER_CHANCES.keySet()); + registerQuestItems(RITRON_FRUIT, MOON_FLOWER, LEECH_FLUIDS); + } + + @Override + public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, false); + String htmltext = null; + if (qs != null) + { + switch (event) + { + case "30069-03.htm": + case "30069-04.htm": + case "30069-06.html": + { + htmltext = event; + break; + } + case "30069-05.htm": + { + if (qs.isCreated()) + { + qs.startQuest(); + htmltext = event; + } + break; + } + case "30069-13.html": + { + if (qs.isCond(9)) + { + rewardItems(player, RITRON_RECIPE, 1); + qs.exitQuest(true, true); + htmltext = event; + } + break; + } + } + } + return htmltext; + } + + @Override + public String onTalk(L2Npc npc, L2PcInstance talker) + { + final QuestState qs = getQuestState(talker, true); + String htmltext = getNoQuestMsg(talker); + switch (qs.getState()) + { + case State.CREATED: + { + htmltext = (talker.getLevel() >= MIN_LVL) ? "30069-02.htm" : "30069-01.htm"; + break; + } + case State.STARTED: + { + switch (qs.getCond()) + { + case 1: + case 2: + case 3: + case 4: + { + if ((getQuestItemsCount(talker, ANTIDOTE) >= 2) && (getQuestItemsCount(talker, RITRON_FRUIT) >= 4) && (getQuestItemsCount(talker, MOON_FLOWER) >= 20) && (getQuestItemsCount(talker, LEECH_FLUIDS) >= 10)) + { + takeItems(talker, ANTIDOTE, 2); + takeItems(talker, -1, RITRON_FRUIT, MOON_FLOWER, LEECH_FLUIDS); + qs.setCond(5, true); + htmltext = "30069-08.html"; + } + else + { + htmltext = "30069-07.html"; + } + break; + } + case 5: + { + qs.setCond(6, true); + htmltext = "30069-09.html"; + break; + } + case 6: + { + qs.setCond(7, true); + htmltext = "30069-10.html"; + break; + } + case 7: + { + qs.setCond(8, true); + htmltext = "30069-11.html"; + break; + } + case 8: + { + rewardItems(talker, RITRON_DESSERT, 1); + if (getRandom(100) < 56) + { + htmltext = "30069-15.html"; + qs.exitQuest(true, true); + } + else + { + qs.setCond(9, true); + htmltext = "30069-12.html"; + } + break; + } + case 9: + { + htmltext = "30069-12.html"; + break; + } + } + break; + } + case State.COMPLETED: + { + htmltext = getAlreadyCompletedMsg(talker); + break; + } + } + return htmltext; + } + + @Override + public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon) + { + final QuestState qs = getRandomPartyMemberState(killer, -1, 3, npc); + if ((qs != null) && (qs.getCond() < 4)) + { + final ItemChanceHolder item = MONSTER_CHANCES.get(npc.getId()); + if (giveItemRandomly(qs.getPlayer(), npc, item.getId(), 1, item.getCount(), item.getChance(), true)) + { + qs.setCond(qs.getCond() + 1, true); + } + } + return super.onKill(npc, killer, isSummon); + } + + public static void main(String[] args) + { + new Q00380_BringOutTheFlavorOfIngredients(); + } +} diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/381_LetsBecomeARoyalMember/30090-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00381_LetsBecomeARoyalMember/30090-01.html similarity index 75% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/381_LetsBecomeARoyalMember/30090-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00381_LetsBecomeARoyalMember/30090-01.html index 65a7bb4dc52a87d421fc2e1000a79693d49c0740..2e03ed2a9ac46a5111f8734afddd0134978aa726 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/381_LetsBecomeARoyalMember/30090-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00381_LetsBecomeARoyalMember/30090-01.html @@ -1,4 +1,4 @@ <html><body>Sandra:<br> Do you have the high-quality coin collection book? It's no longer for sale. Too many collectors dilute the market. You must do me a favor if you really want a book. It shouldn't be too hard for you, but there's no way I could do it. Will you help me?<br> -<a action="bypass -h Quest 381_LetsBecomeARoyalMember 30090-02.htm">"I'll help you."</a> +<a action="bypass -h Quest Q00381_LetsBecomeARoyalMember 30090-02.html">"I'll help you."</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/381_LetsBecomeARoyalMember/30090-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00381_LetsBecomeARoyalMember/30090-02.html similarity index 75% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/381_LetsBecomeARoyalMember/30090-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00381_LetsBecomeARoyalMember/30090-02.html index 3dc9ee70febc1cf1786018558d96ca6673a404e0..b809dd72d5c848fef4a9336f0e2f5a00dc91d459 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/381_LetsBecomeARoyalMember/30090-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00381_LetsBecomeARoyalMember/30090-02.html @@ -1,3 +1,3 @@ <html><body>Sandra:<br> -I'm a coin collector, too. A while back, another coin collector told me that the rare coins of Elmore were also quite valuable, although the war has left most trade routes to Elmore impassable. But this didn't slow me down! A delivery of very valuable coins has been stolen by<font color="LEVEL"> Fallen Chieftain Vegus</font> in the<font color="LEVEL"> Forsaken Plains</font>! It included the<font color="LEVEL"> rare golden clover coin</font> I was looking for! These coins are still contraband, so I can't go after them myself. Bring me at least one of the <font color="LEVEL">rare golden clover coins</font> and I'll make a high-quality coin collection book for you. Vegus usually appears in the Forsaken Plains two to three times a day. Find him there. +I'm a coin collector, too. A while back, another coin collector told me that the rare coins of Elmore were also quite valuable, although the war has left most trade routes to Elmore impassable. But this didn't slow me down! A delivery of very valuable coins has been stolen by <font color="LEVEL">Fallen Chieftain Vegus</font> in the <font color="LEVEL">Forsaken Plains</font>! It included the <font color="LEVEL">rare golden clover coin</font> I was looking for! These coins are still contraband, so I can't go after them myself. Bring me at least one of the <font color="LEVEL">rare golden clover coins</font> and I'll make a high-quality coin collection book for you. Vegus usually appears in the Forsaken Plains two to three times a day. Find him there. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/381_LetsBecomeARoyalMember/30090-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00381_LetsBecomeARoyalMember/30090-03.html similarity index 56% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/381_LetsBecomeARoyalMember/30090-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00381_LetsBecomeARoyalMember/30090-03.html index 601c902bea26489db3ace4cd0e7c8271708b9db2..e36f3e7643b37d8a66539f92769daccf0bee16f7 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/381_LetsBecomeARoyalMember/30090-03.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00381_LetsBecomeARoyalMember/30090-03.html @@ -1,3 +1,3 @@ <html><body>Sandra:<br> -You still haven't found the<font color="LEVEL"> rare golden clover coin</font>. I won't give you the high-quality coin collection book for free. At the last meeting of the Coin Collection Club, they concluded that there were too many high-level coin collection books. They've forbidden me to sell them. The <font color="LEVEL">rare golden clover coin</font> was stolen by the<font color="LEVEL"> Fallen Chieftain Vegus</font> in the<font color="LEVEL"> Forsaken Plains</font>. +You still haven't found the <font color="LEVEL">rare golden clover coin</font>. I won't give you the high-quality coin collection book for free. At the last meeting of the Coin Collection Club, they concluded that there were too many high-level coin collection books. They've forbidden me to sell them. The <font color="LEVEL">rare golden clover coin</font> was stolen by the <font color="LEVEL">Fallen Chieftain Vegus</font> in the <font color="LEVEL">Forsaken Plains</font>. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/381_LetsBecomeARoyalMember/30090-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00381_LetsBecomeARoyalMember/30090-04.html similarity index 58% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/381_LetsBecomeARoyalMember/30090-04.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00381_LetsBecomeARoyalMember/30090-04.html index 517798299f3ce25ee5bb20a10721b7b4626b757f..535889075b9f68a8adb4f703f5e77711212738d0 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/381_LetsBecomeARoyalMember/30090-04.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00381_LetsBecomeARoyalMember/30090-04.html @@ -1,3 +1,3 @@ <html><body>Sandra:<br> -You've brought the<font color="LEVEL"> rare golden clover coin</font>! Look how shiny it is! Note the exquisite pattern! It's a work of art! Now you're qualified to be a top-quality coin collector. Take this<font color="LEVEL"> high-quality coin collection book</font>. +You've brought the <font color="LEVEL">rare golden clover coin</font>! Look how shiny it is! Note the exquisite pattern! It's a work of art! Now you're qualified to be a top-quality coin collector. Take this <font color="LEVEL">high-quality coin collection book</font>. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/381_LetsBecomeARoyalMember/30090-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00381_LetsBecomeARoyalMember/30090-05.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/381_LetsBecomeARoyalMember/30090-05.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00381_LetsBecomeARoyalMember/30090-05.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/381_LetsBecomeARoyalMember/30232-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00381_LetsBecomeARoyalMember/30232-01.htm similarity index 81% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/381_LetsBecomeARoyalMember/30232-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00381_LetsBecomeARoyalMember/30232-01.htm index 433e439ddb44770b8d464a306ffe320c2ad5d962..9ade6a946cad84cc9a29db35312a33148adb3dfb 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/381_LetsBecomeARoyalMember/30232-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00381_LetsBecomeARoyalMember/30232-01.htm @@ -1,4 +1,4 @@ <html><body>Warehouse Keeper Sorint:<br> Welcome! Come on in! I was about to ask you over anyway! I believe we've had this discussion before, am I right? About the special membership? Anyway, a special committee has been formed of members from all locations of the coin collectors club to decide upon whom to bestow the honor of a Royal Membership! Are you up to the challenge?<br> -<a action="bypass -h Quest 381_LetsBecomeARoyalMember 30232-02.htm">"I'll do it."</a> +<a action="bypass -h Quest Q00381_LetsBecomeARoyalMember 30232-03.htm">"I'll do it."</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/381_LetsBecomeARoyalMember/30232-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00381_LetsBecomeARoyalMember/30232-02.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/381_LetsBecomeARoyalMember/30232-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00381_LetsBecomeARoyalMember/30232-02.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/381_LetsBecomeARoyalMember/30232-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00381_LetsBecomeARoyalMember/30232-03.htm similarity index 65% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/381_LetsBecomeARoyalMember/30232-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00381_LetsBecomeARoyalMember/30232-03.htm index 9b48aff01a07667e9d4931a51a5de2009a33ab9a..311375ff14fed17259978e625a733105f22c5f2d 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/381_LetsBecomeARoyalMember/30232-03.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00381_LetsBecomeARoyalMember/30232-03.htm @@ -1,4 +1,4 @@ <html><body>Warehouse Keeper Sorint:<br> Very well! You must prepare to impress the committee... There is an excellent opportunity available, I've heard a strange rumor...<br> -It's said that<font color="LEVEL"> Kail's Coins were discovered in the Forsaken Plains</font>. At one time Kail was Beleth's right-hand man. Bring me some of these coins. Also, if you buy a<font color="LEVEL"> "Coin Collecting Album" from Trader Sandra of Giran that she sells only when she is in a good mood</font>. Then, you will surely be chosen by the committee! +It's said that <font color="LEVEL">Kail's Coins were discovered in the Forsaken Plains</font>. At one time Kail was Beleth's right-hand man. Bring me some of these coins. Also, if you buy a <font color="LEVEL">"Coin Collecting Album" from Trader Sandra of Giran that she sells only when she is in a good mood</font>. Then, you will surely be chosen by the committee! </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/381_LetsBecomeARoyalMember/30232-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00381_LetsBecomeARoyalMember/30232-04.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/381_LetsBecomeARoyalMember/30232-04.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00381_LetsBecomeARoyalMember/30232-04.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/381_LetsBecomeARoyalMember/30232-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00381_LetsBecomeARoyalMember/30232-05.html similarity index 51% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/381_LetsBecomeARoyalMember/30232-05.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00381_LetsBecomeARoyalMember/30232-05.html index cadd21e63cafbd4beaf7ffe81ceb38c8eedf9454..e5766e674d73cdfe09cdf2be9047cbfc1cdbb59d 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/381_LetsBecomeARoyalMember/30232-05.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00381_LetsBecomeARoyalMember/30232-05.html @@ -1,4 +1,4 @@ <html><body>Warehouse Keeper Sorint:<br> -Unless you bring me a rare, high-quality<font color="LEVEL"> Coin Collecting Album from Trader Sandra of Giran</font> and<font color="LEVEL"> Kail's Coins</font>, I don't see how I could give you a Recommendation...<br> +Unless you bring me a rare, high-quality <font color="LEVEL">Coin Collecting Album from Trader Sandra of Giran</font> and <font color="LEVEL">Kail's Coins</font>, I don't see how I could give you a Recommendation...<br> Of course, I understand that these items are not easy to come by. That's why the reward is so great... you can become royalty! </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/381_LetsBecomeARoyalMember/30232-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00381_LetsBecomeARoyalMember/30232-06.html similarity index 53% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/381_LetsBecomeARoyalMember/30232-06.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00381_LetsBecomeARoyalMember/30232-06.html index 6f2f7cbb442d37cc7be2a2548f435c275dfffaa6..64ca518fc21dcbcc61e3b183257630874b88676b 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/381_LetsBecomeARoyalMember/30232-06.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00381_LetsBecomeARoyalMember/30232-06.html @@ -1,3 +1,3 @@ <html><body>Warehouse Keeper Sorint:<br> -Ah, Kail's Coin! And such a splendid album! This will truly enhance your collection. Once the committee sees this, they are bound to make you a royal! In fact, I'm so sure they will agree with me, I'm going to give you the<font color="LEVEL"> Royal Membership Card</font> of the Coin Collectors Club. You should go and visit Head Blacksmith Vergara. He's been wanting to see an actual royal member... +Ah, Kail's Coin! And such a splendid album! This will truly enhance your collection. Once the committee sees this, they are bound to make you a royal! In fact, I'm so sure they will agree with me, I'm going to give you the <font color="LEVEL"> Royal Membership Card</font> of the Coin Collectors Club. You should go and visit Head Blacksmith Vergara. He's been wanting to see an actual royal member... </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00381_LetsBecomeARoyalMember/Q00381_LetsBecomeARoyalMember.java b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00381_LetsBecomeARoyalMember/Q00381_LetsBecomeARoyalMember.java new file mode 100644 index 0000000000000000000000000000000000000000..4a2dbffc29ddcdedc3e87ee68da2ea94d1fc2d7a --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00381_LetsBecomeARoyalMember/Q00381_LetsBecomeARoyalMember.java @@ -0,0 +1,196 @@ +/* + * Copyright (C) 2004-2014 L2J DataPack + * + * This file is part of L2J DataPack. + * + * L2J DataPack 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. + * + * L2J DataPack 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.Q00381_LetsBecomeARoyalMember; + +import com.l2jserver.gameserver.enums.QuestSound; +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.util.Util; + +/** + * Let's Become a Royal Member! (381) + * @author Pandragon + */ +public final class Q00381_LetsBecomeARoyalMember extends Quest +{ + // NPCs + private static final int SANDRA = 30090; + private static final int SORINT = 30232; + // Items + private static final int COLLECTOR_MEMBERSHIP_1 = 3813; + private static final int KAILS_COIN = 5899; + private static final int FOUR_LEAF_COIN = 7569; + private static final int COIN_ALBUM = 5900; + // Monsters + private static final int ANCIENT_GARGOYLE = 21018; + private static final int FALLEN_CHIEF_VERGUS = 27316; + // Reward + private static final int ROYAL_MEMBERSHIP = 5898; + // Misc + private static final int MIN_LVL = 55; + + private Q00381_LetsBecomeARoyalMember() + { + super(381, Q00381_LetsBecomeARoyalMember.class.getSimpleName(), "Let's Become a Royal Member!"); + addStartNpc(SORINT); + addTalkId(SORINT, SANDRA); + addKillId(ANCIENT_GARGOYLE, FALLEN_CHIEF_VERGUS); + registerQuestItems(KAILS_COIN, FOUR_LEAF_COIN); + } + + @Override + public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, false); + String htmltext = null; + if (qs == null) + { + return htmltext; + } + switch (event) + { + case "30232-03.htm": + { + if (qs.isCreated()) + { + qs.startQuest(); + qs.setMemoState(1); + htmltext = event; + } + break; + } + case "30090-02.html": + { + if (qs.isMemoState(1) && !hasQuestItems(player, COIN_ALBUM)) + { + qs.setMemoState(2); + playSound(player, QuestSound.ITEMSOUND_QUEST_MIDDLE); + htmltext = event; + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(L2Npc npc, L2PcInstance talker) + { + final QuestState qs = getQuestState(talker, true); + String htmltext = getNoQuestMsg(talker); + switch (npc.getId()) + { + case SORINT: + { + if (qs.isCreated()) + { + if ((talker.getLevel() < MIN_LVL) || !hasQuestItems(talker, COLLECTOR_MEMBERSHIP_1)) + { + htmltext = "30232-02.html"; + } + else if (!hasQuestItems(talker, ROYAL_MEMBERSHIP)) + { + htmltext = "30232-01.htm"; + } + // TODO this quest is not visible in quest list if neither of these IF blocks are true + } + else if (qs.isStarted()) + { + final boolean hasAlbum = hasQuestItems(talker, COIN_ALBUM); + final boolean hasCoin = hasQuestItems(talker, KAILS_COIN); + + if (hasAlbum && hasCoin) + { + takeItems(talker, 1, KAILS_COIN, COIN_ALBUM); + giveItems(talker, ROYAL_MEMBERSHIP, 1); + qs.exitQuest(false, true); + htmltext = "30232-06.html"; + } + else if (hasAlbum || hasCoin) + { + htmltext = "30232-05.html"; + } + else + { + htmltext = "30232-04.html"; + } + } + else + { + htmltext = getAlreadyCompletedMsg(talker); + } + break; + } + case SANDRA: + { + switch (qs.getMemoState()) + { + case 1: + htmltext = "30090-01.html"; + break; + case 2: + if (hasQuestItems(talker, COIN_ALBUM)) + { + htmltext = "30090-05.html"; + } + else if (hasQuestItems(talker, FOUR_LEAF_COIN)) + { + takeItems(talker, FOUR_LEAF_COIN, 1); + giveItems(talker, COIN_ALBUM, 1); + playSound(talker, QuestSound.ITEMSOUND_QUEST_MIDDLE); + htmltext = "30090-04.html"; + } + else + { + htmltext = "30090-03.html"; + } + break; + } + break; + } + } + return htmltext; + } + + @Override + public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon) + { + final QuestState qs = getQuestState(killer, false); + if ((qs != null) && qs.isStarted() && Util.checkIfInRange(1500, npc, killer, true)) + { + if (npc.getId() == ANCIENT_GARGOYLE) + { + giveItemRandomly(killer, npc, KAILS_COIN, 1, 1, 0.05, true); + } + else if (qs.isMemoState(2) && !hasQuestItems(killer, FOUR_LEAF_COIN)) + { + giveItems(killer, FOUR_LEAF_COIN, 1); + playSound(killer, QuestSound.ITEMSOUND_QUEST_MIDDLE); + } + } + return super.onKill(npc, killer, isSummon); + } + + public static void main(String[] args) + { + new Q00381_LetsBecomeARoyalMember(); + } +} diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/382_KailsMagicCoin/30687-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00382_KailsMagicCoin/30687-01.htm similarity index 90% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/382_KailsMagicCoin/30687-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00382_KailsMagicCoin/30687-01.htm index 1dfe44f5f76324d1d1824b0c3ce7122b44e409fe..43a43d1cfeab02c6a0a7f5c17a24c43e4a178d5d 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/382_KailsMagicCoin/30687-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00382_KailsMagicCoin/30687-01.htm @@ -1,4 +1,4 @@ <html><body>Head Blacksmith Vergara:<br> I can't remember the last time I saw royalty! Sigh...<br> (This quest may only be undertaken by a royal character of level 55 or above.) -</body></html> \ No newline at end of file +</body></html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/382_KailsMagicCoin/30687-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00382_KailsMagicCoin/30687-02.htm similarity index 73% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/382_KailsMagicCoin/30687-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00382_KailsMagicCoin/30687-02.htm index 41efd8adf2e4bcec3dbec559294f18f7db6b3077..25d32336636a725b604efc3e5d97dfce581d3ba3 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/382_KailsMagicCoin/30687-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00382_KailsMagicCoin/30687-02.htm @@ -3,5 +3,5 @@ I'm honored to finally meet royalty!<br> The heavens at last have smiled upon me!<br> As a royal, you must have many rare coins, am I right?<br> You know, I have many rare items, too. Would you be interested in trading with me? All my products are guaranteed top-notch.<br> -<a action="bypass -h Quest 382_KailsMagicCoin 30687-03.htm">"I will trade with you."</a> -</body></html> \ No newline at end of file +<a action="bypass -h Quest Q00382_KailsMagicCoin 30687-03.htm">"I will trade with you."</a> +</body></html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/382_KailsMagicCoin/30687-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00382_KailsMagicCoin/30687-03.htm similarity index 77% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/382_KailsMagicCoin/30687-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00382_KailsMagicCoin/30687-03.htm index 01dc386643dcff8ae1b3c2499e9f66c213adc20d..4283277883209616103f900f02d31637c5151ea2 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/382_KailsMagicCoin/30687-03.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00382_KailsMagicCoin/30687-03.htm @@ -1,5 +1,5 @@ <html><body>Head Blacksmith Vergara:<br> Ah, yes! The forthrightness of a true royal!<br> I'll get right to the point. Here is a list of the coins I want and what I have to offer in exchange. Being in the warehouse business, I've acquired many rare and precious items. I'm offering them to you at an exceptional price. Don't miss this great opportunity!<br> -<a action="bypass -h Quest 382_KailsMagicCoin 30687-04.htm">View the list.</a> -</body></html> \ No newline at end of file +<a action="bypass -h Quest Q00382_KailsMagicCoin 30687-04.htm">View the list.</a> +</body></html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00382_KailsMagicCoin/30687-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00382_KailsMagicCoin/30687-04.htm new file mode 100644 index 0000000000000000000000000000000000000000..6912d7785f1ae87a6c8d7c286d5dbf450b55cd8f --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00382_KailsMagicCoin/30687-04.htm @@ -0,0 +1,6 @@ +<html><body>Head Blacksmith Vergara:<br> +I have many kinds of weapons. Take one or take them all!<br><br> +<a action="bypass -h npc_%objectId%_multisell 382">"I'm interested in recipe list."</a><br> +<a action="bypass -h Quest Q00382_KailsMagicCoin 30687-05.htm">"Where can I obtain Kail's Coins?"</a><br> +<a action="bypass -h Quest Q00382_KailsMagicCoin 30687-06.htm">"Tell me about the members of the coin collecting club." </a> +</body></html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/382_KailsMagicCoin/30687-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00382_KailsMagicCoin/30687-05.htm similarity index 74% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/382_KailsMagicCoin/30687-05.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00382_KailsMagicCoin/30687-05.htm index 9047d8e8761ec1a97d061f9af01ce74558c62028..5a2c40f006236a73c2e5fe914dc2912d42e4cc82 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/382_KailsMagicCoin/30687-05.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00382_KailsMagicCoin/30687-05.htm @@ -1,5 +1,5 @@ <html><body>Head Blacksmith Vergara:<br> You'll find Sorcerer Kail on the Forsaken Plains, and there you'll find the coins as well, likely in the possession of the filthy orcs that infest that place.<br> You could also probably win some by gambling with other players...<br> -<a action="bypass -h Quest 382_KailsMagicCoin 30687-04.htm">Back</a> -</body></html> \ No newline at end of file +<a action="bypass -h Quest Q00382_KailsMagicCoin 30687-04.htm">Back</a> +</body></html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/382_KailsMagicCoin/30687-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00382_KailsMagicCoin/30687-06.htm similarity index 90% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/382_KailsMagicCoin/30687-06.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00382_KailsMagicCoin/30687-06.htm index 3e3d24e06a8b70e0c0707b4d6cdb656ce8bbae0e..ce5b58e2a41de07e2cd69087ef19ecfd93247f63 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/382_KailsMagicCoin/30687-06.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00382_KailsMagicCoin/30687-06.htm @@ -2,5 +2,5 @@ Although I've only just joined, I already know all of our members by heart!<br> Let's see, there's<font color="LEVEL"> Magister Page</font> of the Magic Guild in Hunters Village,<font color="LEVEL"> Researcher Lorain</font>, who can be found near the entrance of Cruma Tower,<font color="LEVEL"> Warehouse Keeper Hagger</font> and<font color="LEVEL"> Guard Stan</font> of Oren Castle Town,<font color="LEVEL"> Blacksmith Duning</font> of Hunters Village,<font color="LEVEL"> Trader Ralford</font> under the Ivory Tower in Oren Castle Town,<font color="LEVEL"> Head Blacksmith Ferris</font> in Aden Castle Town,<font color="LEVEL"> Warehouse Keeper Collob</font> in Giran Castle Town, and... hmm, oh yes!<font color="LEVEL"> Grocer Pano</font> in the plaza of Floran Village!<br> Impressive, eh? But oh so much more impressive now that we have a royal member such as you, my lord!<br> -<a action="bypass -h Quest 382_KailsMagicCoin 30687-04.htm">Back</a> -</body></html> \ No newline at end of file +<a action="bypass -h Quest Q00382_KailsMagicCoin 30687-04.htm">Back</a> +</body></html> diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00382_KailsMagicCoin/Q00382_KailsMagicCoin.java b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00382_KailsMagicCoin/Q00382_KailsMagicCoin.java new file mode 100644 index 0000000000000000000000000000000000000000..5e6209c6ae745b9b1d66f04e2a4a7a834225b372 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00382_KailsMagicCoin/Q00382_KailsMagicCoin.java @@ -0,0 +1,137 @@ +/* + * Copyright (C) 2004-2014 L2J DataPack + * + * This file is part of L2J DataPack. + * + * L2J DataPack 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. + * + * L2J DataPack 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.Q00382_KailsMagicCoin; + +import java.util.HashMap; +import java.util.Map; + +import com.l2jserver.gameserver.model.actor.L2Npc; +import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; +import com.l2jserver.gameserver.model.holders.ItemChanceHolder; +import com.l2jserver.gameserver.model.quest.Quest; +import com.l2jserver.gameserver.model.quest.QuestState; +import com.l2jserver.gameserver.util.Util; + +/** + * Kail's Magic Coin (382) + * @author Sdw, jurchicks + */ +public final class Q00382_KailsMagicCoin extends Quest +{ + // NPCs + private static final int VERGARA = 30687; + // Monsters + private static final int FALLEN_ORC = 21017; + private static final int FALLEN_ORC_ARCHER = 21019; + private static final int FALLEN_ORC_SHAMAN = 21020; + private static final int FALLEN_ORC_CAPTAIN = 21022; + // Items + private static final int ROYAL_MEMBERSHIP = 5898; + private static final int KAILS_SILVER_BASILISK = 5961; + private static final int KAILS_GOLD_GOLEM = 5962; + private static final int KAILS_BLOOD_DRAGON = 5963; + // Drops + private static final double ORC_CAPTAIN_DROP_CHANCE = 0.069; + private static final Map<Integer, ItemChanceHolder> MONSTER_DROPS = new HashMap<>(); + static + { + MONSTER_DROPS.put(FALLEN_ORC, new ItemChanceHolder(KAILS_SILVER_BASILISK, 0.073)); + MONSTER_DROPS.put(FALLEN_ORC_ARCHER, new ItemChanceHolder(KAILS_GOLD_GOLEM, 0.075)); + MONSTER_DROPS.put(FALLEN_ORC_SHAMAN, new ItemChanceHolder(KAILS_BLOOD_DRAGON, 0.073)); + } + // Misc + private static final int MIN_LVL = 55; + + private Q00382_KailsMagicCoin() + { + super(382, Q00382_KailsMagicCoin.class.getSimpleName(), "Kail's Magic Coin"); + addStartNpc(VERGARA); + addTalkId(VERGARA); + addKillId(FALLEN_ORC, FALLEN_ORC_ARCHER, FALLEN_ORC_SHAMAN, FALLEN_ORC_CAPTAIN); + } + + @Override + public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, false); + String htmltext = null; + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "30386-03.htm": + { + if (qs.isCreated()) + { + qs.startQuest(); + htmltext = event; + } + break; + } + case "30386-05.htm": + case "30386-06.htm": + { + if (qs.isStarted()) + { + htmltext = event; + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(L2Npc npc, L2PcInstance talker) + { + final QuestState qs = getQuestState(talker, true); + String htmltext = getNoQuestMsg(talker); + if (qs.isCreated()) + { + htmltext = (((talker.getLevel() >= MIN_LVL) && hasQuestItems(talker, ROYAL_MEMBERSHIP)) ? "30687-02.htm" : "30687-01.htm"); + } + else if (qs.isStarted()) + { + htmltext = "30687-04.htm"; + } + return htmltext; + } + + @Override + public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon) + { + final QuestState qs = getQuestState(killer, false); + if ((qs != null) && hasQuestItems(killer, ROYAL_MEMBERSHIP) && Util.checkIfInRange(1500, npc, killer, true)) + { + if (npc.getId() == FALLEN_ORC_CAPTAIN) + { + giveItemRandomly(killer, KAILS_SILVER_BASILISK + getRandom(3), 1, 0, ORC_CAPTAIN_DROP_CHANCE, true); + } + else + { + final ItemChanceHolder ih = MONSTER_DROPS.get(npc.getId()); + giveItemRandomly(killer, ih.getId(), 1, 0, ih.getChance(), true); + } + } + return super.onKill(npc, killer, isSummon); + } +} diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00385_YokeOfThePast/Q00385_YokeOfThePast.java b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00385_YokeOfThePast/Q00385_YokeOfThePast.java new file mode 100644 index 0000000000000000000000000000000000000000..3295466e5ca94ef3dcf0ee292db94737a8a11168 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00385_YokeOfThePast/Q00385_YokeOfThePast.java @@ -0,0 +1,191 @@ +/* + * Copyright (C) 2004-2014 L2J DataPack + * + * This file is part of L2J DataPack. + * + * L2J DataPack 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. + * + * L2J DataPack 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.Q00385_YokeOfThePast; + +import java.util.HashMap; +import java.util.Map; + +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; + +/** + * Yoke of the Past (385) + * @author Pandragon + */ +public final class Q00385_YokeOfThePast extends Quest +{ + // NPCs + // @formatter:off + private static final int[] ZIGGURATS = + { + 31095, 31096, 31097, 31098, 31099, 31100, 31101, + 31102, 31103, 31104, 31105, 31106, 31107, 31108, + 31109, 31110, 31114, 31115, 31116, 31117, 31118, + 31119, 31120, 31121, 31122, 31123, 31124, 31125 + }; + // @formatter:on + // Item + private static final int ANCIENT_SCROLL = 5902; + // Reward + private static final int BLANK_SCROLL = 5965; + // Monsters + private static final Map<Integer, Double> MONSTER_CHANCES = new HashMap<>(); + { + MONSTER_CHANCES.put(21144, 0.306); // Catacomb Shadow + MONSTER_CHANCES.put(21156, 0.994); // Purgatory Shadow + MONSTER_CHANCES.put(21208, 0.146); // Hallowed Watchman + MONSTER_CHANCES.put(21209, 0.166); // Hallowed Seer + MONSTER_CHANCES.put(21210, 0.202); // Vault Guardian + MONSTER_CHANCES.put(21211, 0.212); // Vault Seer + MONSTER_CHANCES.put(21213, 0.274); // Hallowed Monk + MONSTER_CHANCES.put(21214, 0.342); // Vault Sentinel + MONSTER_CHANCES.put(21215, 0.360); // Vault Monk + MONSTER_CHANCES.put(21217, 0.460); // Hallowed Priest + MONSTER_CHANCES.put(21218, 0.558); // Vault Overlord + MONSTER_CHANCES.put(21219, 0.578); // Vault Priest + MONSTER_CHANCES.put(21221, 0.710); // Sepulcher Inquisitor + MONSTER_CHANCES.put(21222, 0.842); // Sepulcher Archon + MONSTER_CHANCES.put(21223, 0.862); // Sepulcher Inquisitor + MONSTER_CHANCES.put(21224, 0.940); // Sepulcher Guardian + MONSTER_CHANCES.put(21225, 0.970); // Sepulcher Sage + MONSTER_CHANCES.put(21226, 0.202); // Sepulcher Guardian + MONSTER_CHANCES.put(21227, 0.290); // Sepulcher Sage + MONSTER_CHANCES.put(21228, 0.316); // Sepulcher Guard + MONSTER_CHANCES.put(21229, 0.426); // Sepulcher Preacher + MONSTER_CHANCES.put(21230, 0.646); // Sepulcher Guard + MONSTER_CHANCES.put(21231, 0.654); // Sepulcher Preacher + MONSTER_CHANCES.put(21236, 0.238); // Barrow Sentinel + MONSTER_CHANCES.put(21237, 0.274); // Barrow Monk + MONSTER_CHANCES.put(21238, 0.342); // Grave Sentinel + MONSTER_CHANCES.put(21239, 0.360); // Grave Monk + MONSTER_CHANCES.put(21240, 0.410); // Barrow Overlord + MONSTER_CHANCES.put(21241, 0.460); // Barrow Priest + MONSTER_CHANCES.put(21242, 0.558); // Grave Overlord + MONSTER_CHANCES.put(21243, 0.578); // Grave Priest + MONSTER_CHANCES.put(21244, 0.642); // Crypt Archon + MONSTER_CHANCES.put(21245, 0.700); // Crypt Inquisitor + MONSTER_CHANCES.put(21246, 0.842); // Tomb Archon + MONSTER_CHANCES.put(21247, 0.862); // Tomb Inquisitor + MONSTER_CHANCES.put(21248, 0.940); // Crypt Guardian + MONSTER_CHANCES.put(21249, 0.970); // Crypt Sage + MONSTER_CHANCES.put(21250, 0.798); // Tomb Guardian + MONSTER_CHANCES.put(21251, 0.710); // Tomb Sage + MONSTER_CHANCES.put(21252, 0.684); // Crypt Guard + MONSTER_CHANCES.put(21253, 0.574); // Crypt Preacher + MONSTER_CHANCES.put(21254, 0.354); // Tomb Guard + MONSTER_CHANCES.put(21255, 0.250); // Tomb Preacher + } + // Misc + private static final int MIN_LVL = 20; + + private Q00385_YokeOfThePast() + { + super(385, Q00385_YokeOfThePast.class.getSimpleName(), "Yoke of the Past"); + addStartNpc(ZIGGURATS); + addTalkId(ZIGGURATS); + addKillId(MONSTER_CHANCES.keySet()); + registerQuestItems(ANCIENT_SCROLL, BLANK_SCROLL); + } + + @Override + public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, false); + String htmltext = null; + if (qs != null) + { + switch (event) + { + case "ziggurat-03.htm": + case "ziggurat-04.htm": + case "ziggurat-06.htm": + case "ziggurat-07.htm": + { + htmltext = event; + break; + } + case "ziggurat-05.htm": + { + if (qs.isCreated()) + { + qs.startQuest(); + htmltext = event; + } + break; + } + case "ziggurat-10.html": + { + qs.exitQuest(true, true); + htmltext = event; + break; + } + } + } + return htmltext; + } + + @Override + public String onTalk(L2Npc npc, L2PcInstance talker) + { + final QuestState qs = getQuestState(talker, true); + String htmltext = getNoQuestMsg(talker); + switch (qs.getState()) + { + case State.CREATED: + { + htmltext = (talker.getLevel() >= MIN_LVL) ? "ziggurat-01.htm" : "ziggurat-02.htm"; + break; + } + case State.STARTED: + { + if (hasQuestItems(talker, ANCIENT_SCROLL)) + { + rewardItems(talker, BLANK_SCROLL, getQuestItemsCount(talker, ANCIENT_SCROLL)); + takeItems(talker, ANCIENT_SCROLL, -1); + htmltext = "ziggurat-09.html"; + } + else + { + htmltext = "ziggurat-08.html"; + } + break; + } + } + return htmltext; + } + + @Override + public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon) + { + final QuestState qs = getRandomPartyMemberState(killer, -1, 3, npc); + if (qs != null) + { + giveItemRandomly(qs.getPlayer(), npc, ANCIENT_SCROLL, 1, 0, MONSTER_CHANCES.get(npc.getId()), true); + } + return super.onKill(npc, killer, isSummon); + } + + public static void main(String[] args) + { + new Q00385_YokeOfThePast(); + } +} diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00385_YokeOfThePast/ziggurat-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00385_YokeOfThePast/ziggurat-01.htm new file mode 100644 index 0000000000000000000000000000000000000000..6a6eab9c5c6895f2825a3ca3c808e9948a1d23ee --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00385_YokeOfThePast/ziggurat-01.htm @@ -0,0 +1,5 @@ +<html><body>Gatekeeper Ziggurat:<br> +A voice comes out of the sphere in a pleading tone:<br> +I was once a human like yourself. A powerful spell perished my body and my very soul was trapped in this place. For several hundred years, I've been working here as a gatekeeper. They have even taken away my memory and therefore I don't even know what kind of person I used to be. The only thing I remember is that I need to open the gate to the Lord of the Seal.<br> +<a action="bypass -h Quest Q00385_YokeOfThePast ziggurat-03.htm">"What did you do to deserve this?"</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00385_YokeOfThePast/ziggurat-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00385_YokeOfThePast/ziggurat-02.htm new file mode 100644 index 0000000000000000000000000000000000000000..4b7724d3c4ac4ff44788ad9f7b30953d5449a07e --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00385_YokeOfThePast/ziggurat-02.htm @@ -0,0 +1,6 @@ +<html><body>Gatekeeper Ziggurat:<br> +The sphere speaks again:<br> +I was once a human like yourself. A powerful spell perished my body and my very soul was trapped in this place. For several hundred years, I've been working here as a gatekeeper. They have even taken away my memory and therefore I don't even know what kind of person I used to be. The only thing I remember is that I need to open the gate to the Master of the Seals.<br> +I could use your assistance, but you should get more experience first... Then, promise me that you will come back and help me.<br> +(This quest can only be undertaken by a character of level 20 or higher.) +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/385_YokeofthePast/11.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00385_YokeOfThePast/ziggurat-03.htm similarity index 75% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/385_YokeofthePast/11.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00385_YokeOfThePast/ziggurat-03.htm index 0f5ca2661996a8cedadbd199a9bd75cf47f28959..c468d1531d7ff3cb1223e72840e29bbf444bae2d 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/385_YokeofthePast/11.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00385_YokeOfThePast/ziggurat-03.htm @@ -1,6 +1,6 @@ <html><body>Gatekeeper Ziggurat:<br> By borrowing the power of Einhasad, Shunaiman, Emperor of the Elmoreden Empire has sealed the power of ancient magic in this place. In order to guard the entrance to this place, the emperor placed a human soul into a sphere and made it into a gatekeeper.<br> -I don't remember why he needed a human soul to act as his gatekeeper. Perhaps that was to subjugate it, and make it obey the Master of the Seals.<br> +I don't remember why he needed a human soul to act as his gatekeeper. Perhaps that was to subjugate it and make it obey the Master of the Seals.<br> However, the power of ancient magic, dormant until now, has started to awaken. My magic power is too weak to restrain them... Therefore, there is something I would like to ask you.<br> -<a action="bypass -h Quest 385_YokeofthePast 12.htm">"What can I do for you?"</a> +<a action="bypass -h Quest Q00385_YokeOfThePast ziggurat-04.htm">"What can I do for you?"</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00385_YokeOfThePast/ziggurat-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00385_YokeOfThePast/ziggurat-04.htm new file mode 100644 index 0000000000000000000000000000000000000000..27d6cdb1aa07434d31bd40f4f4dc0e8b580a06e6 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00385_YokeOfThePast/ziggurat-04.htm @@ -0,0 +1,6 @@ +<html><body>Gatekeeper Ziggurat:<br> +The followers of ancient magic possess <font color="LEVEL">scrolls of ancient magic</font> containing forbidden magic power. If these scrolls were to fall into the wrong hands, it could cause quite a disturbance. I cannot let this happen.<br> +Please recover the scrolls of ancient magic from the ancients in the dungeon... Will you do this for me?<br> +<a action="bypass -h Quest Q00385_YokeOfThePast ziggurat-05.htm">"I'll do it."</a><br> +<a action="bypass -h Quest Q00385_YokeOfThePast ziggurat-07.htm">"I think you're hiding something..."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00385_YokeOfThePast/ziggurat-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00385_YokeOfThePast/ziggurat-05.htm new file mode 100644 index 0000000000000000000000000000000000000000..e10d30749afb749525ccce4a6b47c46f0e5c0eb6 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00385_YokeOfThePast/ziggurat-05.htm @@ -0,0 +1,6 @@ +<html><body>Gatekeeper Ziggurat:<br> +Good choice! Now go to the dungeon, slay <font color="LEVEL">the guardians of ancient cult</font> and bring back the <font color="LEVEL">scrolls of ancient magic</font>.<br> +When you bring me the scroll, I will remove the magic power it contains and turn the scroll into a <font color="LEVEL">Blank Scroll</font>. A Blank Scroll is the only reward I can offer you.<br> +Have you heard of <font color="LEVEL">Merchant of Mammon</font> who often appears in the castle area? He will be very interested in a Blank Scroll. You will find out more when you meet him. It won't be easy to find him though...<br> +<a action="bypass -h Quest Q00385_YokeOfThePast ziggurat-06.htm">"Tell me more about the guardians of ancient magic."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/385_YokeofthePast/15.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00385_YokeOfThePast/ziggurat-06.htm similarity index 56% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/385_YokeofthePast/15.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00385_YokeOfThePast/ziggurat-06.htm index 4924409fc97919c9a67d0f8979f47e5c7a330a3c..91094e101964f8895e5a5e9403430777c6da2b3a 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/385_YokeofthePast/15.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00385_YokeOfThePast/ziggurat-06.htm @@ -1,5 +1,5 @@ <html><body>Gatekeeper Ziggurat:<br> -The Guardians are <font color="LEVEL">the undead and demons</font> summoned by the wicked shamans who serve the goddess of death. These creatures are bound here, to protect this sepulcher from the Cross Army of Light.<br> -They call themselves <font color="LEVEL">Lookout, Watcher, Guard, Monk, Overlord, Shaman, Consul, Inquisitor, Guardian, Elder, Court Guard and Preacher</font>.<br> +The Guardians are <font color="LEVEL">the undead and demons </font> summoned by the wicked shamans who serve the goddess of death. These creatures are bound here, to protect this sepulchre from the Cross Army of Light.<br> +They call themselves <font color="LEVEL">Lookout, Watcher, Guard, Monk, Overlord, Shaman, Consul, Inquisitor, Guardian, Elder, Court Guard and Preacher.</font><br> But you must not harm Nephilim, Lilim, Gigant and Lilith. They are soldiers of the gods, most holy warriors, and you dare not raise your sword against them. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/385_YokeofthePast/13.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00385_YokeOfThePast/ziggurat-07.htm similarity index 80% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/385_YokeofthePast/13.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00385_YokeOfThePast/ziggurat-07.htm index 3909f5d57b574b4de5b02ef5813a89668c3f2560..7f72aa5284a6efe814fcfaa48960e861a569d05e 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/385_YokeofthePast/13.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00385_YokeOfThePast/ziggurat-07.htm @@ -2,5 +2,5 @@ So, you've found me out!<br> To be honest with you, I need the magic power contained in the scrolls. This is so that I can be freed from the spell that is binding me to this place! I want so much to be human again!<br> So, I beseech you. Please help me. Please go find the scrolls of ancient magic and bring them back to me.<br> -<a action="bypass -h Quest 385_YokeofthePast 14.htm">"I will help you."</a> +<a action="bypass -h Quest Q00385_YokeOfThePast ziggurat-05.htm">"I will help you."</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/385_YokeofthePast/16.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00385_YokeOfThePast/ziggurat-08.html similarity index 51% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/385_YokeofthePast/16.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00385_YokeOfThePast/ziggurat-08.html index 92c56e94b5dd1483d210568c721eba158204a5b3..ed033594ece7271e6e97d1746502241a086a5593 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/385_YokeofthePast/16.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00385_YokeOfThePast/ziggurat-08.html @@ -1,8 +1,8 @@ <html><body>Gatekeeper Ziggurat:<br> -As i said, go into the sacred area, slay <font color="LEVEL">the guardians of ancient cult</font> and bring back the <font color="LEVEL">Scroll of Ancient Magic</font>.<br> +As I said, go into the sacred area, slay <font color="LEVEL">the guardians of ancient cult</font> and bring back the <font color="LEVEL">Scroll of Ancient Magic</font>.<br> Then I will remove the magic power from the scroll and give you a <font color="LEVEL">Blank Scroll</font> as a reward. That is the only reward I can give you.<br> -A Blank Scroll will also be helpful to you if you trade with the <font color="LEVEL">Merchant of Mammon</font> who appears in the sacred area once in a while.<br> -<a action="bypass -h Quest 385_YokeofthePast 17.htm">"I want to quit."</a><br> -<a action="bypass -h Quest 385_YokeofthePast 18.htm">"I will bring back the scrolls."</a><br> -<a action="bypass -h Quest 385_YokeofthePast 15.htm">"Who are the guardians of ancient cult?"</a> +A Blank Scroll will also be helpful to you if you trade with the <font color="LEVEL">Merchant of Mammon</font> who appears in the sacred area every once in a while.<br> +<a action="bypass -h Quest Q00385_YokeOfThePast ziggurat-10.html">"I want to quit."</a><br> +<a action="bypass -h Quest Q00385_YokeOfThePast ziggurat-05.htm">"I will bring back the scrolls."</a><br> +<a action="bypass -h Quest Q00385_YokeOfThePast ziggurat-06.htm">"Who are the guardians of ancient cult?"</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00385_YokeOfThePast/ziggurat-09.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00385_YokeOfThePast/ziggurat-09.html new file mode 100644 index 0000000000000000000000000000000000000000..993c5444d1c1c8382c5f7827254c31312fa939b1 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00385_YokeOfThePast/ziggurat-09.html @@ -0,0 +1,10 @@ +<html><body>Gatekeeper Ziggurat:<br> +Give me the Scroll of Ancient Magic and step back...<br> +... the light of purification. It is cast on the shadows. The flames of soul... burning up the darkness...<br> +It's done. The magic is removed. Here is the <font color="LEVEL">Blank Scroll</font> I promised you.<br> +This Blank Scroll will be helpful to you when you trade with the <font color="LEVEL">Merchant of Mammon</font> who appears in the sacred area once in a while.<br> +If you would like to collect more Blank Scrolls, enter the sacred area, slay the <font color="LEVEL">guardians of ancient cult</font> and bring me back more <font color="LEVEL">scrolls of ancient magic</font>.<br> +<a action="bypass -h Quest Q00385_YokeOfThePast ziggurat-10.html">"I want to quit."</a><br> +<a action="bypass -h Quest Q00385_YokeOfThePast ziggurat-05.htm">"I will bring back more scrolls."</a><br> +<a action="bypass -h Quest Q00385_YokeOfThePast ziggurat-06.htm">"Tell me more about the guardians of ancient cult."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/385_YokeofthePast/17.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00385_YokeOfThePast/ziggurat-10.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/385_YokeofthePast/17.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00385_YokeOfThePast/ziggurat-10.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/385_YokeofthePast/18.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00385_YokeOfThePast/ziggurat-11.html similarity index 62% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/385_YokeofthePast/18.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00385_YokeOfThePast/ziggurat-11.html index 677df3cb0dd36e00d3af940c4c0a01994ad11452..fad7ff0dba3229452bd553777ec5281dd98c229d 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/385_YokeofthePast/18.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00385_YokeOfThePast/ziggurat-11.html @@ -1,4 +1,4 @@ <html><body>Gatekeeper Ziggurat:<br> Kill <font color="LEVEL">the guardians of ancient cult</font> and bring back the <font color="LEVEL">scrolls of ancient magic</font>.<br> -<a action="bypass -h Quest 385_YokeofthePast 15.htm">"Who are the guardians of ancient cult?"</a> +<a action="bypass -h Quest Q00385_YokeOfThePast ziggurat-06.htm">"Who are the guardians of ancient cult?"</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30608-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30608-01.html new file mode 100644 index 0000000000000000000000000000000000000000..bab9dbf9d3b7cbba03bfa54c678a180dc30c6587 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30608-01.html @@ -0,0 +1,4 @@ +<html><body>Maria:<br> +Hmm, as it is written here? A Fairy Stone?<br> +...It shouldn't be very difficult to make it according to this... I will need you to get the ingredients for me. I don't have any of this stuff just laying around<font color="LEVEL">. Toad Lord Back Skin can be obtained by hunting toad lords near the Cruma Marshlands.</font> You can purchase the other ingredients from adventurers and traders you meet. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30608-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30608-02.html new file mode 100644 index 0000000000000000000000000000000000000000..4faa84da9e4be73a432021dd4ea6a9c77e4e40f6 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30608-02.html @@ -0,0 +1,6 @@ +<html><body>Maria:<br> +Hmm... A Fairy Stone, eh?<br> +It shouldn't be very difficult to make... Let's see what ingredients you have brought... Coal, Charcoal... gemstones... silver and Toad Lord Back Skins... It's all here! If you will wait a moment. I'll make it now.<br> +Gemstone with base.. Polish with silver. Umm, from this angle it seems very similar to a Crystal of Purity.<br> +<a action="bypass -h Quest Q00420_LittleWing 30608-03.html">Wait</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_maria_3.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30608-03.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_maria_3.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30608-03.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30608-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30608-04.html new file mode 100644 index 0000000000000000000000000000000000000000..b8d9263003321ca474cdad3b08c5ca7c89eebe9a --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30608-04.html @@ -0,0 +1,7 @@ +<html><body>Maria:<br> +Hmm... A Fairy Stone, eh?<br> +It shouldn't be very difficult to make... Let's see what ingredients you have brought... Coal, Charcoal... gemstones... silver and Toad Lord Back Skins... It's all here! If you will wait a moment. I'll make it now.<br> +Gemstone with base.. Polish with silver. Umm, from this angle it seems very similar to a Crystal of Purity.<br> +What is this, "Then reprocess with Stone of Purity again."? Hmm, is that really necessary? Anyway...<br> +<a action="bypass -h Quest Q00420_LittleWing 30608-05.html">Wait</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30608-05.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30608-05.html new file mode 100644 index 0000000000000000000000000000000000000000..079845f185143ac60c225dfc814ca476180df801 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30608-05.html @@ -0,0 +1,5 @@ +<html><body>Maria:<br> +Almost done.Now I will absorb the impurities with the Toad Lord Back Skin...<br> +OK! Finished! Look how clear it is! Like pure water, it has no color at all! I've never seen anything like this... Even though I made it, I'm still in awe. Here it is.<br> +In my experience, this kind of jewel is very fragile, so please handle it carefully. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_maria_6.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30608-06.html similarity index 77% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_maria_6.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30608-06.html index a2106983b2f531e0043397c26ecbee74d4c6ab92..c4d2b9c590d66b942a6a9cbd2c6e46863add43d2 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_maria_6.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30608-06.html @@ -1,4 +1,4 @@ <html><body>Maria:<br> That jewel that I made for you earlier was so curious... If it is too fragile it will be useless as an ornament. It seemed rather weak and sensitive... Do you suppose it was made for a special purpose?<br> -Oh, by the way, I have been asked to make something for Dwarves to use to craft Mithril and adamantite... A jewel that is harder than a diamond... +Oh, by the way, I have been asked to make something for Dwarves to use to craft Mithril and adamantite... A jewel that is harder than a diamond... </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-01.html new file mode 100644 index 0000000000000000000000000000000000000000..e51db045499a18eee36a5cd73c3e5fa6c8672007 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-01.html @@ -0,0 +1,4 @@ +<html><body>Elder Cronos:<br>Let me guess. You have come for a hatchling, am I right? You should reconsider this foolish choice! It will not fight and eats like a pig. You cannot ride it, but must escort it about like it is your master. Why do you want something that will give you such trouble and heartache? I suppose you want to raise it to be a wyvern. If it were that easy, I, Cronos, would be astride one instead of sitting here talking to you!<br> +You should not expect more from a pet than to be cute and cuddly. I don't approve of your choice at all.<br> +<a action="bypass -h Quest Q00420_LittleWing 30610-02.html">"I will raise it with all my love!"</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_2.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-02.html similarity index 78% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_2.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-02.html index ee644a5d992edc6d6c3295b5ee827e8fd8204647..1749aa1015791f8035e4d6980ab8d2f118d187ef 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_2.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-02.html @@ -1,4 +1,4 @@ <html><body>Elder Cronos:<br> How can you say that with a straight face! That makes my skin crawl! No matter how hard you try, it cannot be raised properly by those of our race. The fairies were the only ones successful at it! Why don't you find a fairy, and babble about love. Maybe she will listen and grant your wish. Ha!<br> -<a action="bypass -h Quest 420_LittleWings cronos_3">"Where can I find a fairy?"</a> +<a action="bypass -h Quest Q00420_LittleWing 30610-03.html">"Where can I find a fairy?"</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_3.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-03.html similarity index 82% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_3.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-03.html index b002caac01f275ffa52642c6867667ff72d9ff97..640ca678564d3a93093349437bc4565a425aa957 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_3.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-03.html @@ -1,4 +1,4 @@ <html><body>Elder Cronos:<br> Such a stubborn youth! Do you only hear the words you want to hear? Fairies have been gone for centuries! In ancient times they became so disgusted with Human behavior they all flew away to another world! If you must see them, you might try looking in <font color="LEVEL">Enchanted Valley</font>. You must be very careful, that place is very dangerous. If someone enters the valley off guard, they can wind up dead before they know what happened!<br> -<a action="bypass -h Quest 420_LittleWings cronos_4">"Which way to the Enchanted Valley?"</a> +<a action="bypass -h Quest Q00420_LittleWing 30610-04.html">"Which way to the Enchanted Valley?"</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_4.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-04.html similarity index 72% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_4.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-04.html index 4eb04db35505fe939d411606270c7bf7a0ec3ff6..714be0403c0d41146874b3fe82839d5167c2e852 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_4.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-04.html @@ -2,7 +2,7 @@ Are you deaf? You still insist on going there even though you will surely be killed? Oh well, you were warned! Don't blame me if you wind up dead.<br> Now where is that book?<br> You must listen carefully! Let's assume that by some miracle you survive the Enchanted Valley long enough to meet a fairy. Do you really think this fairy will listen to you and grant your request? Certainly not! The fairy will ignore you, not even bothering to laugh at your ignorance. If you wish to catch a fairy's eye you must have a <font color="LEVEL">Fairy Stone</font>! You cannot buy one anywhere. You must collect the ingredients and make it yourself!<br> -There are two types of Fairy Stone. One is a regular Fairy Stone and the other is a <font color="LEVEL">Deluxe Fairy Stone</font>. The difference between them is a quite mysterious, even for a wizened old sdage like myself.<br> -<a action="bypass -h Quest 420_LittleWings fsn">"I will make a regular Fairy Stone."</a><br> -<a action="bypass -h Quest 420_LittleWings fsn_dlx">"I will make a Deluxe Fairy Stone."</a> +There are two types of Fairy Stone. One is a regular Fairy Stone and the other is a <font color="LEVEL">Deluxe Fairy Stone</font>. The difference between them is quite mysterious, even for a wizened old sage like myself.<br> +<a action="bypass -h Quest Q00420_LittleWing 30610-05.html">"I will make a regular Fairy Stone."</a><br> +<a action="bypass -h Quest Q00420_LittleWing 30610-06.html">"I will make a Deluxe Fairy Stone."</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-05.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-05.html new file mode 100644 index 0000000000000000000000000000000000000000..d30ad904aeedae64e7d2d4be68592660b230fe70 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-05.html @@ -0,0 +1,3 @@ +<html><body>Elder Cronos:<br> +Oh well, what do I have to lose? Here is the list of ingredients you will need in order to create a Fairy Stone. Howover this cannot be accomplished easily, not even by a skilled Dwarven Artisan. I do know of a young lady named <font color="LEVEL">Maria who lives in the Town of Dion</font> who can make a Crystal of Purity. I think she may also be able to make a Deluxe Fairy Stone... If she can't help you I am afraid you may be out of luck. But you won't know until you ask, eh? By the way, among the ingredients, the <font color="LEVEL">toad lord's back skin</font> cannot be purchased. You must go to the <font color="LEVEL">Cruma Marshlands</font> yourself and kill a <font color="LEVEL">toad lord</font> to collect it. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-06.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-06.html new file mode 100644 index 0000000000000000000000000000000000000000..256aeb7b3bf18e17a3f8c1a81a2d105e16ae2b82 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-06.html @@ -0,0 +1,3 @@ +<html><body>Elder Cronos:<br> +Oh well, what do I have to lose? Here is the list of ingredients you will need in order to create a Fairy Stone. However this cannot be accomplished easily, not even by a skilled Dwarven Artisan. I do know of a young lady named <font color="LEVEL">Maria who lives in the Town of Dion</font> who can make a Crystal of Purity. I think she may also be able to make a Deluxe Fairy Stone... If she can't help you I am afraid you may be out of luck. But you won't know until you ask, eh? By the way, among the ingredients, the <font color="LEVEL">toad lord's back skin</font> cannot be purchased. You must go to the <font color="LEVEL">Cruma Marshlands</font> yourself and kill a <font color="LEVEL">toad lord</font> to collect it. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_7.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-07.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_7.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-07.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_8.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-08.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_8.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-08.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_9.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-09.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_cronos_9.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-09.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-10.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-10.html new file mode 100644 index 0000000000000000000000000000000000000000..6c0319ef19fa32629eda69740a2452d272e1098a --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-10.html @@ -0,0 +1,5 @@ +<html><body>Elder Cronos:<br> +Ah, so a Deluxe Fairy Stone will break when it comes in contact with blood? This stone is more fragile than I thought. You knew about this weakness before you fought? If Byron told you not to engage in combat, you should have followed his instructions... How unfortunate! Oh well, some people never learn. I'm just wasting my breath. Aren't you ready to give up and create a regular Fairy Stone? It's easier to make and more durable. What do you think?<br> +<a action="bypass -h Quest Q00420_LittleWing 30610-12.html">"I will make a regular Fairy Stone."</a><br> +<a action="bypass -h Quest Q00420_LittleWing 30610-13.html">"I will make another Deluxe Fairy Stone."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-11.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-11.html new file mode 100644 index 0000000000000000000000000000000000000000..bcf007e90a9c8b0b16572107ac2db6d4d09efd90 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-11.html @@ -0,0 +1,3 @@ +<html><body>Elder Cronos:<br> +So he told you to go to the deepest part of Enchanted Valley? Then by all means, you should go! Byron knows of what he speaks. Few know the Enchanted Valley as well as he... Do as he says. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-12.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-12.html new file mode 100644 index 0000000000000000000000000000000000000000..002ca99b6eff5ac4820442a8de87d5c6a69586b5 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-12.html @@ -0,0 +1,3 @@ +<html><body>Elder Cronos:<br> +Here is the Ingredient List. You can obtain the <font color="LEVEL">toad lord's back skin</font> in the <font color="LEVEL">Cruma Marshlands</font>. You must capture a <font color="LEVEL">toad lord</font> and take it with the other ingredients to <font color="LEVEL">Maria of the Town of Dion</font>. She will make a Fairy Stone for you. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-13.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-13.html new file mode 100644 index 0000000000000000000000000000000000000000..d2b5c70472f155f5d783eb1d0abd7b64b4094702 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-13.html @@ -0,0 +1,3 @@ +<html><body>Elder Cronos:<br> +Here is the Ingredient List. You can obtain the <font color="LEVEL">toad lord's back skin</font> in the <font color="LEVEL">Cruma Marshlands</font>. You must capture a <font color="LEVEL">toad lord</font> and take it with the other ingredients to <font color="LEVEL">Maria of the Town of Dion</font>. She will make a Deluxe Fairy Stone for you. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-14.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-14.html new file mode 100644 index 0000000000000000000000000000000000000000..4010d9b953a10c35ec2355c27aa5a974b423455f --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30610-14.html @@ -0,0 +1,3 @@ +<html><body>Elder Cronos:<br> +Ah, another Fairy Stone! I had no idea you would actually make another one! May I examine it? It seems very similar to the last one. As I said before, you must go and see <font color="LEVEL">Guard Byron</font>. He was born in this village and is the one to tell you what you should do next. Have you been to the deepest part of the Enchanted Valley as he suggested? +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_byron_1.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30711-01.html similarity index 68% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_byron_1.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30711-01.html index 4b737cd3b3c4471d4e5fbf778df5ee979e0e9848..cddcd9db78e4110ef4980a4bdc5923ac973fd32a 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_byron_1.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30711-01.html @@ -1,5 +1,5 @@ <html><body>Guard Byron:<br> -You wish to know how to meet a Fairy? Ha, ha... There is surely more than one way, my friend! If you find out one of them, let me know...<br> +You wish to know how to meet a Fairy? Ha, ha... There is surely more than one way, my friend! If you find out one of them, let me know...<br> The Fairies do not think like Humans do. One moment they seem terrified and the next they are open and friendly. But watch yourself, for just as quickly they can turn crueler than a demon... They will only show you what they want you to see.<br> -<a action="bypass -h Quest 420_LittleWings showfsn">Show fairy stone.</a> +<a action="bypass -h Quest Q00420_LittleWing 30711-02.html">Show Fairy Stone</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30711-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30711-02.html new file mode 100644 index 0000000000000000000000000000000000000000..4e7d7ad0c71fea7de36c2ac9c75a53162fc3e873 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30711-02.html @@ -0,0 +1,4 @@ +<html><body>Guard Byron:<br> +Hmm, what is this? Such a beautiful stone! It looks very expensive... Wait! Could it be? Oh, my... Is this a Fairy Stone? If you've got one of these, you should be able to attract a Fairy. A Fairy is barely perceptible to the human eye and will run away immediately when spoken to. But this stone will surely get a Fairy's attention.<br> +<a action="bypass -h Quest Q00420_LittleWing 30711-03.html">"Please tell me more."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30711-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30711-03.html new file mode 100644 index 0000000000000000000000000000000000000000..a58913c08404270c5dd546917592da574734b7a5 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30711-03.html @@ -0,0 +1,3 @@ +<html><body>Guard Byron:<br> +Something happened to me when I was quite young. I don't remember it well, but... If there are still Fairies living in Enchanted Valley, they would most likely be found in <font color="LEVEL">the deepest part of the Northern Valley</font>. If you have that Fairy Stone I am certain a Fairy will talk to you there. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30711-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30711-04.html new file mode 100644 index 0000000000000000000000000000000000000000..1b4ce849622fb7dd35102ca3c00d45eaa8d7b8e5 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30711-04.html @@ -0,0 +1,4 @@ +<html><body>Guard Byron:<br> +Something happened to me when I was quite young. I don't remember it well, but... If there are still Fairies living in Enchanted Valley, they would most likely be found in <font color="LEVEL">the deepest part of the northern valley</font>. Take that Fairy Stone and...<br> +Wait! Let me see that stone again. ...This is not an ordinary Fairy Stone! It's as white as pure driven snow... This is the pure white Fairy Stone that Fairies can't resist! You mustn't let any blood touch the stone. In particular, the blood of creatures related to fairies... If it gets blood on it it will break immediately. And there are many creatures there that don't like Humans at all... Ah, yes, it is a very difficult situation. <font color="LEVEL">You must not attack any creatures in the Enchanted Valley</font> on your way to meet the Fairy... +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30711-05.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30711-05.html new file mode 100644 index 0000000000000000000000000000000000000000..6e8d4273219f7fd2b1a63c28c14efd2470d2e9f2 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30711-05.html @@ -0,0 +1,3 @@ +<html><body>Guard Byron:<br> +Ah, another Fairy Stone! I see that this is an ordinary Fairy Stone and not a pure white Fairy Stone. You won't have to worry about it breaking, even if it gets blood on it. It will be safe as you travel to <font color="LEVEL">the deepest part of the northern valley</font>. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30711-06.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30711-06.html new file mode 100644 index 0000000000000000000000000000000000000000..c5f1a177d4e7f1352eeabb44a7bb00d2b00825a3 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30711-06.html @@ -0,0 +1,4 @@ +<html><body>Guard Byron:<br> +Even though you failed, here you are again with that pure white Fairy Stone! With such dedication the fairy will surely open the village to you. But the creatures living there won't care about that sincerity of yours... Ha, ha.<br> +Remember, if the blood of any creature that lives in Enchanted Valley gets on the white Fairy Stone, it will break immediately. <font color="LEVEL">You must not attack any creatures in Enchanted Valley</font> on your way to meet the Fairy... +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_byron_7.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30711-07.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_byron_7.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30711-07.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30711-08.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30711-08.html new file mode 100644 index 0000000000000000000000000000000000000000..e688d2c32fb86f1e3a8aea0dd41cd11bb6b01386 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30711-08.html @@ -0,0 +1,3 @@ +<html><body>Guard Byron:<br> +You haven't left for Enchanted Valley yet? If you wish to meet a Fairy, you must take the pure white Fairy Stone and go to the <font color="LEVEL">very deepest part of the northern valley</font>. If you're lucky, you will meet a Fairy there. But you must be careful. If the blood of any creature living in Enchanted Valley should get on the pure white Fairy Stone, it will break. Therefore, you <font color="LEVEL">must not fight</font>. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30711-09.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30711-09.html new file mode 100644 index 0000000000000000000000000000000000000000..afff8d1ae0572cb3831f54f9f73e492349ede7e3 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30711-09.html @@ -0,0 +1,4 @@ +<html><body>Guard Byron:<br> +Weren't you off to meet a Fairy? What happened?! Looks like you had some trouble in the valley. Did you lose the pure white Fairy Stone? Oh, what a shame...<br> +If you still wish to meet a Fairy, then you must make another Fairy Stone. Did <font color="LEVEL">Elder Cronos</font> help you with the last one? You must go back and ask him again. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30711-10.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30711-10.html new file mode 100644 index 0000000000000000000000000000000000000000..e29bc75edcdaf81f2088b1e8371e8e81885241e1 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30711-10.html @@ -0,0 +1,3 @@ +<html><body>Guard Byron:<br> +Have you met Elder Cronos? I suppose these are the ingredients for a Fairy Stone...! Hmm... I wouldn't know from just looking. A quick glance tells me that there are a lot of very expensive items here... Ha, someone going to meet a Fairy shouldn't look so glum! Just try again and do your best this time! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_1.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-01.html similarity index 76% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_1.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-01.html index 34d45691666b5f757d337dbed43982e9d39a12be..1c613b348ae13edc0c360328c6c1354d61c3a33f 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_1.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-01.html @@ -1,4 +1,4 @@ <html><body>Fairy Mimyu:<br> What trouble! What trouble! What... Oh? I'm getting a good feeling from you. What do you have? What? What is it? Huh? What? Alright, I know that you've got something... Give it to me, give it to me, give it to me... OK? Huh? Huh?<br> -<a action="bypass -h Quest 420_LittleWings give_fsn">Give fairy stone.</a> +<a action="bypass -h Quest Q00420_LittleWing 30747-02.html">Give Fairy Stone.</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_2.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-02.html similarity index 80% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_2.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-02.html index 26d943f37da93d0bef418a487bd21bad5bd23c28..9b39c02fe53a66f3ddf057cb3ea3420b53fc92e0 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_2.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-02.html @@ -1,4 +1,4 @@ <html><body>Fairy Mimyu:<br> Heh, heh... A Fairy Stone! It's a Fairy Stone... Ha, ha! Yeah, thank you, thank you. You're a really great person! Uh, huh... OK, I'm going to have to give you a gift of gratitude. If Mimyu gets a gift, she always gives a gift in return. What should I do for you? Huh? Huh? Well, ask me for anything later!<br> -<a action="bypass -h Quest 420_LittleWings fry_ask">Ask immediately.</a> +<a action="bypass -h Quest Q00420_LittleWing 30747-05.html">Ask immediately.</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_3.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-03.html similarity index 76% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_3.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-03.html index e34b29a945eab7c659e6942f9069fc545efed665..3621f4b51d2ec33c8e760471bf99ba98021e43a9 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_3.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-03.html @@ -1,4 +1,4 @@ <html><body>Fairy Mimyu:<br> What trouble! What trouble! What... Oh? I'm getting a good feeling from you. It's a great feeling.... What do you have? What? What is it? Huh? What? Alright, I know that you've got something... Give it to me, give it to me, give it to me... OK? Huh? Huh?<br> -<a action="bypass -h Quest 420_LittleWings give_fsn_dlx">Give white fairy stone.</a> +<a action="bypass -h Quest Q00420_LittleWing 30747-04.html">Give white Fairy Stone.</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-04.html new file mode 100644 index 0000000000000000000000000000000000000000..99958c97abe261d75db6cf19265f7b7ac98ae951 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-04.html @@ -0,0 +1,4 @@ +<html><body>Fairy Mimyu:<br> +Heh, heh... A Fairy Stone! That's also a white Fairy Stone...! Ha, ha, ha, ha... Haaah. It's great, it's great, it's great! I don't know what it is, but thanks. Thank you so much for giving me this great thing! You're really just a really, super, great guy! I mean, really, really good! I love you! Uh, huh... OK, I'm going to have to give you a gift of gratitude. If Mimyu gets a gift, she always gives a gift in return. OK, take this! It's fairy powder from my wing! It's a mysterious concoction that contributes to the beauty of a woman, the head of a child or the prowess of a man! Well, but that's still not enough, huh? Of course, I'm sure you'll ask for something else. Right? What should I do for you? Huh? Huh? Well, ask me for anything later!<br> +<a action="bypass -h Quest Q00420_LittleWing 30747-06.html">Explain the situation and ask immediately.</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-05.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-05.html new file mode 100644 index 0000000000000000000000000000000000000000..6773209fa292a7abe998ee47c686ac995467f972 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-05.html @@ -0,0 +1,5 @@ +<html><body>Fairy Mimyu:<br> +Um...! OK... Yes, I know why you have come looking for me. It's because you want to get a hatchling, right? But that's not such an easy thing. To obtain a hatchling, you've got to get the egg of a wyvern and hatch it. But if it were you and someone asked you for your egg... Ah, your race has live births? Anyway, if someone were to ask you for your child, huh? Would you do it? You wouldn't? You wouldn't? You wouldn't?<br> +Right... But since you gave me a good item, I'll teach you something special... You don't need only a wyvern egg. The egg of anything with scales that flies in the sky is fine. Yeah, creatures like drakes and wyverns... But recently they've been having their own problems and don't really have their wits about them. But, well, you can ask them about it somehow...<br> +<a action="bypass -h Quest Q00420_LittleWing 30747-07.html">Ask about what's happened to the drakes and wyverns.</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-06.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-06.html new file mode 100644 index 0000000000000000000000000000000000000000..a675958d84ca3f38e86102f23d7c7a882da33fba --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-06.html @@ -0,0 +1,5 @@ +<html><body>Fairy Mimyu:<br> +Ah, yes, I know why you have come. You want a hatchling, don't you? Well, its not as easy as that. To obtain a hatchling, you must obtain the egg of a wyvern and hatch it. The wyvern will not surrender her egg without a fight... Your race gives live birth, doesn't it? Anyway, if someone were to ask you for your child, would you gladly give it? No? Oh, really...<br> +Well, your generosity must be rewarded, I shall tell you a valuable secret... It is not necessary for the egg to come from a wyvern! Any egg from a scaled flying creature will do, such as a drake or wyvern... Their eggs will be easier to get since they have been acting odd lately... Anyway, they can tell you more...<br> +<a action="bypass -h Quest Q00420_LittleWing 30747-08.html">"What happened to the drakes and wyverns?"</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-07.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-07.html new file mode 100644 index 0000000000000000000000000000000000000000..3d186c15efad1f812b97794a50a6db22c431466b --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-07.html @@ -0,0 +1,10 @@ +<html><body>Fairy Mimyu:<br> +Nearby there are drakes and wyverns looking for their lost eggs. There is evil afoot... Why would anyone steal eggs? Really...!<br> +I know of at least five creatures who have had their eggs stolen.<br> +The closest one to us... is <font color="LEVEL">Drake Exarion, who lives at the top of the mountain to the west of Oren Castle</font>. It is a very difficult place for your tribe who cannot fly to reach.<br> +<font color="LEVEL">Drake Kalibran lives at the top of another mountain southwest of Oren Castle</font>. Two-legged races like yours typically have quite a bit of trouble climbing mountains, don't they?<br> +<font color="LEVEL">Wyvern Suzet is searching in the northwest side of Death Pass</font>, also quite a mountainous region...<br> +And south from there... You will find <font color="LEVEL">Wyvern Shamhai looking for her eggs in the low western mountains of Death Pass</font>.<br> +And last, <font color="LEVEL">Drake Zwov is in the reservoir of the west mountain ridge of Plains of the Lizardmen</font>. You shouldn't have any problem reaching her...<br> +Yes, I hope you can meet up with them. All of them have lost their eggs and are quite frantic. Take this poison of monkshood with you. While deadly to your race it will quickly bring a wyvern or drake to her senses. If you stick it in the nose of one of these creatures, they will gladly do whatever you say. Now go! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-08.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-08.html new file mode 100644 index 0000000000000000000000000000000000000000..d1d6889f8eb92f60d1ce1ed871ca1e7fd6b25bb6 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-08.html @@ -0,0 +1,8 @@ +<html><body>Fairy Mimyu:<br> +You haven't yet found the ones looking for their eggs? Why not? Is it because the mountain was too high? Or perhaps, you forget the locations that I told you? OK, I'll tell you again. Please remember it well!<br> +The closest one to us... is <font color="LEVEL">Drake Exarion, who lives at the top of the mountain to the west of Oren Castle</font>. It is a very difficult place for your tribe who cannot fly to reach.<br> +<font color="LEVEL">Drake Kalibran lives at the top of another mountain southwest of Oren Castle</font>. Two-legged races like yours typically have quite a bit of trouble climbing mountains, don't they?<br> +<font color="LEVEL">Wyvern Suzet is searching in the northwest side of Death Pass</font>, also quite a mountainous region...<br> +And south from there... You will find <font color="LEVEL">Wyvern Shamhai looking for her eggs in the low western mountains of Death Pass</font>.<br> +And last, <font color="LEVEL">Drake Zwov is in the reservoir of the west mountain ridge of Plains of the Lizardmen</font>. You shouldn't have any problem reaching her... +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-09.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-09.html new file mode 100644 index 0000000000000000000000000000000000000000..b991f062e3edf5081a8853f2a0de2571d46128ed --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-09.html @@ -0,0 +1,3 @@ +<html><body>Fairy Mimyu:<br> +Why are you standing about? The eggs could be in mortal peril! Please, you must go and rescue them right away! When you accomplish this I shall grant you a favor. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-10.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-10.html new file mode 100644 index 0000000000000000000000000000000000000000..aa4184eff1d27313799a8b0597448c29a08b2e63 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-10.html @@ -0,0 +1,3 @@ +<html><body>Fairy Mimyu:<br> +Oh, wonderful! Let me count... 1, 2, 3... Yes, you've found all of the eggs! How pretty they are! Right? Now you must hurry and take them to their mother! She will be waiting! Oh, won't she be happy! They seem no worse for the wear, but there is no use taking chances, it would be best if you hurry and take them to their mother immediately. I'm sure she'll let you keep one of them. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_10.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-11.html similarity index 75% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_10.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-11.html index 2f5be1c78f78d3417cff6737fa0d0b0c459edb4c..acc238a5de149593d4c84a2192dd09e3a1c9aecc 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_10.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-11.html @@ -1,4 +1,4 @@ <html><body>Fairy Mimyu:<br> Ah, an egg! How cute! Will it hatch? I can hear its little heart beating. Can you hear it? Well, we can't just sit around staring at it. We must hurry up and hatch it. It seems the child is getting impatient...<br> -<a action="bypass -h Quest 420_LittleWings hatch">"Here is the egg."</a> +<a action="bypass -h Quest Q00420_LittleWing 30747-12.html">"Here is the egg."</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-12.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-12.html new file mode 100644 index 0000000000000000000000000000000000000000..c1fd06f7f5a8e0cd17780f4bc1e5e298ed6738a1 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-12.html @@ -0,0 +1,13 @@ +<html><body>Fairy Mimyu:<br> +Let's get started!<br> +OK.... It's moving. You're doing a good job...<br> +All right! There is the weak spot. Here you go... One, two, three..! Once more... One! Two! Three!<br> +Ah ha! A crack...<br> +Alright, now come out under your own power! Here is your mother, little one... She will feed you and teach you many things!<br> +OK, come on, let's go! A little more!<br> +OK... Good job...! Thank you!<br> +OK... I'll take a look... Perhaps it's due to the fact that it wasn't nurtured by its mother, but this hatchling looks a bit scrawny.<br> +Do you still have the Fairy Dust that I gave you? Could you give me some of that? I've got an idea...<br> +<a action="bypass -h Quest Q00420_LittleWing 30747-15.html">"Here is the Fairy Dust."</a><br> +<a action="bypass -h Quest Q00420_LittleWing 30747-13.html">"You can't have the Fairy Dust."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-13.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-13.html new file mode 100644 index 0000000000000000000000000000000000000000..8b45258517b6f352881ebe933f7b0f43654a8ab9 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-13.html @@ -0,0 +1,6 @@ +<html><body>Fairy Mimyu:<br> +You are a mean, greedy and selfish creature! What harm would it do to part with a little of the dust I gave you?<br> +Oh well, it seems to be moving normally. If it's well fed and cared for it should thrive. But the world is a very dangerous place, it can't be left unprotected.<br> +I shall hide the baby in the Elven world under my powers. Take this flute. You'll be able to summon the child at any time just by blowing on it.<br> +Take heed... If anything should happen to this baby I will cast my strongest curse upon you! Farewell! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-14.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-14.html new file mode 100644 index 0000000000000000000000000000000000000000..477ca8d8d633e42f092b958503c9126dbdb14432 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-14.html @@ -0,0 +1,5 @@ +<html><body>Fairy Mimyu:<br> +This is armor for the hatchling. Would the new mother like to do the honors? OK... The movement of the arms and legs seems good. If it's well fed and cared for it should grow up normally. But the world is a very dangerous place, it can't be left unprotected.<br> +I shall hide the baby in the Elven world under my powers. Take this flute. You'll be able to summon the child at any time just by playing it.<br> +Take heed... If anything should happen to this baby I will cast my strongest curse upon you! Farewell! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-15.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-15.html new file mode 100644 index 0000000000000000000000000000000000000000..539c5710556db01cadb33eb2b735f1d5619026c9 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-15.html @@ -0,0 +1,6 @@ +<html><body>Fairy Mimyu:<br> +This is food for the hatchling. This will help the child grow strong. Would the new mother care to do the honors?<br> +OK... The movement of the arms and legs seems to be quite healthy. If it's well fed and cared for it should grow up normally. But the world is a very dangerous place, it can't be left unprotected.<br> +I shall hide the baby in the Elven world under my powers. Take this flute. You'll be able to summon the child at any time just by playing it.<br> +Take heed... If anything should happen to this baby I will cast my strongest curse upon you! Farewell! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_15.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-16.html similarity index 86% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_15.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-16.html index 122f58d14445d4fd10488666d9c40caef0dfe550..cbdce1e2509336164161a2ad26d6ac1f053f9bed 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_mymyu_15.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30747-16.html @@ -7,5 +7,5 @@ OK, now all the way out!<br> OK... Good job! Thank you!<br> Yes, the movement of the arms and legs seems normal... If it's well fed and cared for it should grow up normally. But the world is a very dangerous place, it can't be left unprotected.<br> I shall hide the baby in the Elven world under my powers. Take this flute. You'll be able to summon the child at any time just by playing it.<br> -Take heed... If anything should happen to this baby I will cast my strongest curse upon you! Farewell! +Take heed... If anything should happen to this baby I will cast my strongest curse upon you! Farewell! </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30748-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30748-01.html new file mode 100644 index 0000000000000000000000000000000000000000..82313729713f03cbd9ee38f5f6f02c95b165cf92 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30748-01.html @@ -0,0 +1,4 @@ +<html><body>Drake Exarion:<br> +Greetings, two-legged creature! What brings you up this tall mountain? If you intend to kill me with that weapon, please proceed. Those vicious <font color="LEVEL">Leto Lizardmen</font> have stolen my eggs. I have already killed countless lizardmen trying to retrieve them but so far my search has been in vain. The depth of my grief precludes me from killing any more of those horrible creatures. If you truly believe in the sense of justice spoken of by your gods, please help me. You must find the eggs holding my sleeping babies! If you retrieve all of the eggs that were stolen, I shall give you one of them. This should demonstrate my sincerity and profound sense of loss. Will you help me?<br> +<a action="bypass -h Quest Q00420_LittleWing 30748-02.html">"I will retrieve your eggs!"</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_exarion_2.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30748-02.html similarity index 90% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_exarion_2.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30748-02.html index 554fec3813fd24708f6456e7963f0c28d93e8a48..a16f76d4acb586036a407a7ba9941cb4dec73bcc 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/420_exarion_2.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30748-02.html @@ -1,5 +1,5 @@ <html><body>Drake Exarion:<br> -Gran Kain and Antharas, lord of all scaled four-legged creatures of this land! What an extraordinary meeting! This child of the race of our tormentors agrees to go and recover my children... <br> +Gran Kain and Antharas, lord of all scaled four-legged creatures of this land! What an extraordinary meeting! This child of the race of our tormentors agrees to go and recover my children...<br> Thank you, two-legged creature! As you know, the <font color="LEVEL">leto Lizardman Warriors</font> have stolen my eggs. Those creatures have been seen <font color="LEVEL">near the fortress that you call Oren Castle</font>. There are a <font color="LEVEL">total of 20 eggs</font> that were taken. Kill the lizardmen and bring me my eggs...<br> Here is one of my scales. The pattern on my eggs will match the pattern on the scale. This will allow you to differentiate my eggs from the eggs of their other victims. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30748-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30748-03.html new file mode 100644 index 0000000000000000000000000000000000000000..41322224d7b613258ea140fac9c50a912db64bfb --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30748-03.html @@ -0,0 +1,3 @@ +<html><body>Drake Exarion:<br> +Please hurry and find my <font color="LEVEL">20 eggs</font>. As I told you, the <font color="LEVEL">leto Lizardman Warriors</font> stole them. Those creatures have been seen <font color="LEVEL">near the fortress that you call Oren Castle</font>. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30748-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30748-04.html new file mode 100644 index 0000000000000000000000000000000000000000..120fe64a471c36cf9c116bf3019279e617f351e3 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30748-04.html @@ -0,0 +1,4 @@ +<html><body>Drake Exarion:<br> +You have found all my eggs! What a good job!<br> +Yes, I remember the promise I made. In the name of Antharas I will give you one of my eggs. Take heed, once the egg is out of my protection, the baby inside will weaken and die if certain steps are not taken. You must take the egg to <font color="LEVEL">Fairy Mimyu in Enchanted Valley</font>. Her magic will protect the baby inside the egg. I am very thankful for what you have done for me. Now you must hurry! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30748-05.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30748-05.html new file mode 100644 index 0000000000000000000000000000000000000000..fc3f400466b420d0ae4293a44925ba8087b2cb5e --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30748-05.html @@ -0,0 +1,3 @@ +<html><body>Drake Exarion:<br> +Are you still here? I have given you one of my eggs as promised. It is now your responsibility to protect it. As a mother, I feel as though my heart has been ripped from my chest... Now please, hurry and take that egg to <font color="LEVEL">Fairy Mimyu</font>. My pain and the life of my infant must not be squandered! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30749-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30749-01.html new file mode 100644 index 0000000000000000000000000000000000000000..0bbcf8503a13a1c3a5f3cbada1e0cdc5f113172f --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30749-01.html @@ -0,0 +1,5 @@ +<html><body>Drake Zwov:<br> +I've smelled that stench before...The poison of monkshood, correct?<br> +Do I also detect a hint of Fairy Dust? Perhaps Mimyu has sent you to help find my eggs?<br> +<a action="bypass -h Quest Q00420_LittleWing 30749-02.html">"I will help you find the eggs."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30749-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30749-02.html new file mode 100644 index 0000000000000000000000000000000000000000..c6af158987ca7da7faf8f2dbf519fcbab36fe603 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30749-02.html @@ -0,0 +1,4 @@ +<html><body>Drake Zwov:<br> +Could it be that you are actually here to help me? Ooh... I see you have some Fairy Dust on you! Have you met Fairy Mimyu? In that case I can trust you.<br> +As you may know, my eggs were stolen by spiders and I have no idea why... Recently there have been <font color="LEVEL">many marsh spiders in the Cruma Marshlands</font>... It is a vast area and I fear I will never find my eggs alone. If you will, please go and kill the marsh spiders and recover my offspring. Take my scale so you will recognize the pattern of my eggs. We certainly wouldn't want for you to accidently bring back spider eggs! Please make sure to find all <font color="LEVEL">20 of them</font>! I will continue my search elsewhere. OK? +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30749-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30749-03.html new file mode 100644 index 0000000000000000000000000000000000000000..aaa7c8f4a2201d4694678137389c5c6267e7d7c4 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30749-03.html @@ -0,0 +1,3 @@ +<html><body>Drake Zwov:<br> +Have you found my eggs? Oh, you looked so self-satisfied I thought surely you had been successful... Please, you must go now and kill the marsh spiders in the Cruma Marshlands and recover all 20 of my eggs! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30749-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30749-04.html new file mode 100644 index 0000000000000000000000000000000000000000..94ce14702139ba43cd758eac95e8ba410268b4ed --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30749-04.html @@ -0,0 +1,4 @@ +<html><body>Drake Zwov:<br> +What a waste of time! Look at this! I'm covered with spider bites! I have accomplished nothing for all my troubles! What is that? You succeeded? You found my eggs! Oh, thank you so much! You are a saint!<br> +Let me take a look... One, two, three... They all seem to be in good shape... But what is this, 21? There's one too many! What is going on here? How strange is that? I suppose I laid 21 eggs... No, that can't be right... Well, what's the difference? This one isn't mine, you can have it. If you take it to <font color="LEVEL">Fairy Mimyu</font>, she'll incubate it and make sure that it hatches into a cute baby for you! Please raise it well...! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30749-05.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30749-05.html new file mode 100644 index 0000000000000000000000000000000000000000..7da74046601fa024866dfa0755f3442641fec0f3 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30749-05.html @@ -0,0 +1,3 @@ +<html><body>Drake Zwov:<br> +Why are you standing around with that egg? You must take it immediately to <font color="LEVEL">Fairy Mimyu</font>! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30750-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30750-01.html new file mode 100644 index 0000000000000000000000000000000000000000..0422935e7c91901ff9f4c3e37d42aca5e4edbf72 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30750-01.html @@ -0,0 +1,4 @@ +<html><body>Drake Kalibran:<br> +What is that foul odor? Could it be the stench of monkshood? Oh well, thanks to you I have regained my wits... I see that you are covered in Elven dust. While you were searching for my lost eggs, you sought help from Fairy Mimyu, didn't you?... Did she send you to help me?<br> +<a action="bypass -h Quest Q00420_LittleWing 30750-02.html">"Yes, I will help, but..."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30750-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30750-02.html new file mode 100644 index 0000000000000000000000000000000000000000..0a4aac471d05f8e5018a16c3edc647a68270270d --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30750-02.html @@ -0,0 +1,4 @@ +<html><body>Drake Kalibran:<br> +Ah yes, you two-legged creatures must always receive payment for your efforts. I understand. My eggs were stolen by <font color="LEVEL">road scavengers</font>. They attacked me and stole my eggs. I have no idea why they would do such a thing. They are camping <font color="LEVEL">near the valley the Humans call the "Death Pass."</font><br> +If you retrieve <font color="LEVEL">all 20 eggs</font> of mine that were stolen, I will do anything within my power that you ask. Here is one of my scales. The pattern of my eggs will match its pattern. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30750-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30750-03.html new file mode 100644 index 0000000000000000000000000000000000000000..6b968a3224131ada15551cda0568ea25eb2a343e --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30750-03.html @@ -0,0 +1,3 @@ +<html><body>Drake Kalibran:<br> +Where are my eggs? You must hurry to the <font color="LEVEL">Death Pass</font>, kill the <font color="LEVEL">road scavengers</font> and retrieve my <font color="LEVEL">20 eggs</font>! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30750-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30750-04.html new file mode 100644 index 0000000000000000000000000000000000000000..a1136f8fa284cfcc99d3c3d64bff4034b8e92004 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30750-04.html @@ -0,0 +1,5 @@ +<html><body>Drake Kalibran:<br> +...My eggs! They are all here! And still warm! How marvelous! Sob! Oooh.... Sniff...! Why are you staring? Do you take pleasure in seeing a drake cry?<br> +Ah yes, the promise that I made to you. What do you ask of me?<br> +<a action="bypass -h Quest Q00420_LittleWing 30750-05.html">"Please give me one of the eggs."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30750-05.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30750-05.html new file mode 100644 index 0000000000000000000000000000000000000000..31bb6486c4beb95886a8e78c756868321bb1feae --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30750-05.html @@ -0,0 +1,5 @@ +<html><body>Drake Kalibran:<br> +Oh my! How could you! No, no way...! Please, anything else! OK... Your kind loves money, don't you? I will do anything to give you as much as you want! No?<br> +How cruel you are! You must be aware that fairies cannot break a promise once made. Sob... I understand. A promise is a promise! You shall have one of my offspring. I beg you to raise my child into a great drake...<br> +The eggs have been weakened by their ordeal and without nurturing the child will die. You must take this egg to <font color="LEVEL">Fairy Mimyu</font>, she will know what to do. Please hurry! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30750-06.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30750-06.html new file mode 100644 index 0000000000000000000000000000000000000000..8244445cb541c0779efab6143c0856b5a8a9ad2a --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30750-06.html @@ -0,0 +1,3 @@ +<html><body>Drake Kalibran:<br> +Please take this child to <font color="LEVEL">Fairy Mimyu</font>, she will know what to do. May the divine blessings of the gods be upon you and this child whom I love so. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30751-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30751-01.html new file mode 100644 index 0000000000000000000000000000000000000000..20b73a54d78451310d1180adb453d474a917e3d5 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30751-01.html @@ -0,0 +1,5 @@ +<html><body>Wyvern Suzet:<br> +I am a cold-hearted beast. Is this the Juice of Monkshood? I suppose Fairy Mimyu told you that in order to straighten out a dull-witted wyvern, you would have to pour this poison into my mouth? Poppycock! You should throw away such dangerous stuff.<br> +If you have been sent by Mimyu, I suppose you are the one who will find my lost eggs. I guess you want a reward for your work, right? What is your wish? I will try to meet your expectations as much as possible.<br> +<a action="bypass -h Quest Q00420_LittleWing 30751-02.html">"Give me an egg."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30751-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30751-02.html new file mode 100644 index 0000000000000000000000000000000000000000..df0e582f8b4e21dfee7a58ac3fc32e9fa65cde56 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30751-02.html @@ -0,0 +1,4 @@ +<html><body>Wyvern Suzet:<br> +Only one out of twenty? It seems reasonable but it's not easy for me to say yes. These eggs are a part of me. But for you, its just another exotic animal, am I right? I fear that you will desert my baby and it will end up being killed.<br> +<a action="bypass -h Quest Q00420_LittleWing 30751-03.html">"I will raise it with affection and care."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30751-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30751-03.html new file mode 100644 index 0000000000000000000000000000000000000000..f8a94da4285fb5c6324357825d0bd83770a4442b --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30751-03.html @@ -0,0 +1,3 @@ +<html><body>Wyvern Suzet:<br> +If you were irresponsible I know you wouldn't have been able speak with Fairy Mimyu and find me like this. In the name of Sayha and Antharas, if you recover <font color="LEVEL">my 20 lost eggs</font> that have been stolen by Breka orcs, I promise to give one of them to you. Take my scale with you. My eggs will have the same pattern as this scale so you can recognize them. You must stalk and kill the <font color="LEVEL">Breka Orc overlords</font>. Many of them can be found in a place the Humans call <font color="LEVEL">Giran</font> in the northern part of the land. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30751-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30751-04.html new file mode 100644 index 0000000000000000000000000000000000000000..0ec9bad21e6f60200f4a9c269848aedf763043a8 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30751-04.html @@ -0,0 +1,3 @@ +<html><body>Wyvern Suzet:<br> +Have you found my eggs yet? I hate to hurry you, but I'm very worried about what Breka orcs will do to my eggs. Please go to <font color="LEVEL">Northern Giran</font>, kill the <font color="LEVEL">Breka Orc Overlords</font> and bring back <font color="LEVEL">my 20 eggs</font>. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30751-05.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30751-05.html new file mode 100644 index 0000000000000000000000000000000000000000..aad48645ba17b6d6f6448f2bc711f94821a49a10 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30751-05.html @@ -0,0 +1,4 @@ +<html><body>Wyvern Suzet:<br> +You saved all my eggs! And none damaged! Outstanding! Dear Sayha, thank you.<br> +Of course I guess I should give you the reward... As I promised, I will give you one of my eggs. If you take it to <font color="LEVEL">Fairy Mimyu</font>, she will hatch it for you. During the upcoming time of war and tribulation, I pray that my child will demonstrate his valor alongside you! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30751-06.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30751-06.html new file mode 100644 index 0000000000000000000000000000000000000000..3ada806472f343dfe7e3988f93f4e62272814b93 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30751-06.html @@ -0,0 +1,4 @@ +<html><body>Wyvern Suzet:<br> +Are you still here? How fortunate! This gives me the opportunity to see my child again.<br> +Oh yes! There is something I must tell you. It is said that the lord of all creatures with scales and wings, who has been sleeping deeply in Dragon Valley has awoken. Weak creatures cannot even gaze upon his countenance. I believe that soon many races will unite and attempt to kill him. I can guarantee that none of them will ever succeed... +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30752-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30752-01.html new file mode 100644 index 0000000000000000000000000000000000000000..cf164ac23bc5409c4378df694a1e44a0f2db7575 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30752-01.html @@ -0,0 +1,4 @@ +<html><body>Wyvern Shamhai:<br> +Aaaarrgh! What are you doing! Why are you pouring that putrid liquid into my nostrils? Are you crazy? I could bite your head off with one go! Why have you come to see me? I'm crazy with grief over the loss of all my eggs!<br> +<a action="bypass -h Quest Q00420_LittleWing 30752-02.html">"I will find your eggs if you will let me have one of them."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30752-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30752-02.html new file mode 100644 index 0000000000000000000000000000000000000000..571afdc564927d1c7125a3294e3a722e20c5441b --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30752-02.html @@ -0,0 +1,4 @@ +<html><body>Wyvern Shamhai:<br> +One of my eggs? I see... In other times, I would drag you into the sky and drop you to your death. But today I shall make an exception and listen to what you have to say...<br> +All right. I accept your offer. However, this is on the condition that you will find and bring back all <font color="LEVEL">20 of my eggs</font>. Understand? My eggs were stolen by the <font color="LEVEL">dead seekers</font> who inhabit the place that Humans call the <font color="LEVEL">Execution Grounds</font>. Take one of my scales. Kill the dead seekers and find the 20 eggs that have the same pattern as my scales and bring them to me. When you complete this task you shall have one of my babies! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30752-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30752-03.html new file mode 100644 index 0000000000000000000000000000000000000000..e5506e428830994836ef734fbba1ce4473205e72 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30752-03.html @@ -0,0 +1,3 @@ +<html><body>Wyvern Shamhai:<br> +Have you found all of my precious eggs? Not yet? You must hurry! Go straight away to the <font color="LEVEL">Execution Grounds</font>, kill the <font color="LEVEL">dead seekers</font> and bring back <font color="LEVEL">my 20 precious eggs</font>! You must leave right away! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30752-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30752-04.html new file mode 100644 index 0000000000000000000000000000000000000000..4d90b87b8c470f43e6c382cb1cc9fe28c366f56e --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30752-04.html @@ -0,0 +1,4 @@ +<html><body>Wyvern Shamhai:<br> +Oh, my eggs, my precious eggs...! Have you found all of them? Yes! Everyone is still healthy! Thank you for your hard work. You can go now...<br> +Oh yes, the matter of my egg. I doubt whether you can raise my baby to be strong and brave, cruel and proud. I will test you to find out. Take this egg to <font color="LEVEL">Fairy Mimyu</font> and ask her to hatch it for you. Take good care of my child. If you neglect or mistreat my little one, I shall feed you to it! Understand? +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30752-05.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30752-05.html new file mode 100644 index 0000000000000000000000000000000000000000..29a655a16bbb80a7d6d81f71143b3505d187e7f2 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30752-05.html @@ -0,0 +1,3 @@ +<html><body>Wyvern Shamhai:<br> +Have you changed your mind? Do you wish to return my egg? No? Then why are you still here? You must hurry to <font color="LEVEL">Fairy Mimyu</font> and ask her to hatch my child! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/Start.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30829-01.htm similarity index 82% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/Start.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30829-01.htm index 2310e2db094da960e6ab198384cc0bce9a6ac966..dfe01b1663079dafb0c191a7470ff4243b0904cc 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/Start.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30829-01.htm @@ -2,5 +2,5 @@ My, my! Hatchlings are very popular this season! I will tell you what I can about them. When they grow larger they are called striders and may be ridden. Later they mature into flying creatures called wyverns.<br> Take a look at this Katz. It's so cute and cuddly it's hard to imagine that they become such huge creatures! Ha Ha...<br> What is your interest in hatchlings? Would you like to raise one?<br> -<a action="bypass -h Quest 420_LittleWings ido">"I Wish to raise a hatchling."</a> +<a action="bypass -h Quest Q00420_LittleWing 30829-02.htm">"I wish to raise a hatchling."</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/Starting.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30829-02.htm similarity index 68% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/Starting.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30829-02.htm index 157718b682e8c8c7056563748db7fb174218797e..9d668ee4f3d23ce6b628fa91e72f646fdd6acb06 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/Starting.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30829-02.htm @@ -1,3 +1,3 @@ <html><body>Pet Manager Cooper:<br> -Previous owners of hatchlings have sought advice from <font color="LEVEL">Elder Cronos</font> in Hunter Village. +Previous owners of hatchlings have sought advice from <font color="LEVEL">Elder Cronos</font> in Hunters Village. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30829-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30829-03.html new file mode 100644 index 0000000000000000000000000000000000000000..37b42874ef1d308552d50bd3dd13ae890b342342 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30829-03.html @@ -0,0 +1,5 @@ +<html><body>Pet Manager Cooper:<br> +My, my, hatchlings are very popular this season. I will tell you what I can about them. When they grow larger they are called striders and may be ridden. Later they mature into flying creatures called wyverns. Hatchlings are so cute and cuddly it's hard to imagine that they become such gigantic creatures!<br> +A hatchling will only obey one who possesses a certain degree of skill. You're not yet up to the task.<br> +(This quest may only be undertaken by players of level 35 and above.) +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/Started.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30829-04.html similarity index 82% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/Started.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30829-04.html index b5f66f46fd3b2fe9cfb0f62c2cc846a2de1abcf7..1faa891b105d7da0c66833b3a58c0c6915dc5dd9 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/420_LittleWings/Started.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/30829-04.html @@ -1,3 +1,3 @@ <html><body>Pet Manager Cooper:<br> -I see that you have not yet gotten a hatchling. Many have bought hatchlings in the market, but I see that you are more of a traditionalist. Ha! Keep trying... Anything worth having is worth working for. If you do get a pet. we'll be glad to care for it in our kennel. It matters not whether it is a hatchling or a wolf. +I see that you have not yet gotten a hatchling. Many have bought hatchlings in the market, but I see that you are more of a traditionalist. Ha! Keep trying... Anything worth having is worth working for. If you do get a pet, we'll be glad to care for it in our kennel. It matters not whether it is a hatchling or a wolf. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/Q00420_LittleWing.java b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/Q00420_LittleWing.java new file mode 100644 index 0000000000000000000000000000000000000000..8aa7939119c7a7a0dd27ed634eb041bfca2f90a1 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00420_LittleWing/Q00420_LittleWing.java @@ -0,0 +1,891 @@ +/* + * Copyright (C) 2004-2014 L2J DataPack + * + * This file is part of L2J DataPack. + * + * L2J DataPack 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. + * + * L2J DataPack 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.Q00420_LittleWing; + +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import com.l2jserver.gameserver.enums.QuestSound; +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; +import com.l2jserver.gameserver.network.NpcStringId; +import com.l2jserver.gameserver.network.clientpackets.Say2; +import com.l2jserver.gameserver.network.serverpackets.NpcSay; + +/** + * Little Wing (420) + * @author Pandragon + */ +public final class Q00420_LittleWing extends Quest +{ + // NPCs + private static final int MARIA = 30608; + private static final int CRONOS = 30610; + private static final int BYRON = 30711; + private static final int MIMYU = 30747; + private static final int EXARION = 30748; + private static final int ZWOV = 30749; + private static final int KALIBRAN = 30750; + private static final int SUZET = 30751; + private static final int SHAMHAI = 30752; + private static final int COOPER = 30829; + // Items + private static final int COAL = 1870; + private static final int CHARCOAL = 1871; + private static final int SILVER_NUGGET = 1873; + private static final int STONE_OF_PURITY = 1875; + private static final int GEMSTONE_D = 2130; + private static final int GEMSTONE_C = 2131; + private static final int FAIRY_DUST = 3499; + private static final int FAIRY_STONE = 3816; + private static final int DELUXE_FAIRY_STONE = 3817; + private static final int FAIRY_STONE_LIST = 3818; + private static final int DELUXE_STONE_LIST = 3819; + private static final int TOAD_SKIN = 3820; + private static final int MONKSHOOD_JUICE = 3821; + private static final int EXARION_SCALE = 3822; + private static final int EXARION_EGG = 3823; + private static final int ZWOV_SCALE = 3824; + private static final int ZWOV_EGG = 3825; + private static final int KALIBRAN_SCALE = 3826; + private static final int KALIBRAN_EGG = 3827; + private static final int SUZET_SCALE = 3828; + private static final int SUZET_EGG = 3829; + private static final int SHAMHAI_SCALE = 3830; + private static final int SHAMHAI_EGG = 3831; + // Monsters + private static final int DEAD_SEEKER = 20202; + private static final int TOAD_LORD = 20231; + private static final int MARSH_SPIDER = 20233; + private static final int BREKA_OVERLORD = 20270; + private static final int ROAD_SCAVENGER = 20551; + private static final int LETO_WARRIOR = 20580; + private static final int[] DELUXE_STONE_BREAKERS = + { + 20589, // Fline + 20590, // Liele + 20591, // Valley Treant + 20592, // Satyr + 20593, // Unicorn + 20594, // Forest Runner + 20595, // Fline Elder + 20596, // Liele Elder + 20597, // Valley Treant Elder + 20598, // Satyr Elder + 20599, // Unicorn Elder + 27185, // Fairy Tree of Wind (Quest Monster) + 27186, // Fairy Tree of Star (Quest Monster) + 27187, // Fairy Tree of Twilight (Quest Monster) + 27188, // Fairy Tree of Abyss (Quest Monster) + 27189, // Soul of Tree Guardian (Quest Monster) + }; + // Rewards + private static final int DRAGONFLUTE_OF_WIND = 3500; + private static final int DRAGONFLUTE_OF_STAR = 3501; + private static final int DRAGONFLUTE_OF_TWILIGHT = 3502; + private static final int HATCHLING_ARMOR = 3912; + private static final int HATCHLING_FOOD = 4038; + private static final List<Integer> EGGS = Arrays.asList(EXARION_EGG, SUZET_EGG, KALIBRAN_EGG, SHAMHAI_EGG, ZWOV_EGG); + // Drake Drops + private static final Map<Integer, Integer> EGG_DROPS = new HashMap<>(); + { + EGG_DROPS.put(DEAD_SEEKER, SHAMHAI_EGG); + EGG_DROPS.put(MARSH_SPIDER, ZWOV_EGG); + EGG_DROPS.put(BREKA_OVERLORD, SUZET_EGG); + EGG_DROPS.put(ROAD_SCAVENGER, KALIBRAN_EGG); + EGG_DROPS.put(LETO_WARRIOR, EXARION_EGG); + } + // Misc + private static final int MIN_LVL = 35; + + private Q00420_LittleWing() + { + super(420, Q00420_LittleWing.class.getSimpleName(), "Little Wing"); + addStartNpc(COOPER); + addTalkId(MARIA, CRONOS, BYRON, MIMYU, EXARION, ZWOV, KALIBRAN, SUZET, SHAMHAI, COOPER); + addAttackId(DELUXE_STONE_BREAKERS); + addKillId(TOAD_LORD, DEAD_SEEKER, MARSH_SPIDER, BREKA_OVERLORD, ROAD_SCAVENGER, LETO_WARRIOR); + registerQuestItems(FAIRY_DUST, FAIRY_STONE, DELUXE_FAIRY_STONE, FAIRY_STONE_LIST, DELUXE_STONE_LIST, TOAD_SKIN, MONKSHOOD_JUICE, EXARION_SCALE, EXARION_EGG, ZWOV_SCALE, ZWOV_EGG, KALIBRAN_SCALE, KALIBRAN_EGG, SUZET_SCALE, SUZET_EGG, SHAMHAI_SCALE, SHAMHAI_EGG); + } + + @Override + public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, false); + String htmltext = null; + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "30610-02.html": + case "30610-03.html": + case "30610-04.html": + case "30711-02.html": + case "30747-05.html": + case "30747-06.html": + case "30751-02.html": + { + htmltext = event; + break; + } + case "30829-02.htm": + { + if (qs.isCreated()) + { + qs.startQuest(); + htmltext = event; + } + break; + } + case "30610-05.html": + { + if (qs.isCond(1)) + { + qs.setCond(2, true); + qs.set("old_stone", 0); + qs.set("fairy_stone", 1); + giveItems(player, FAIRY_STONE_LIST, 1); + htmltext = event; + } + break; + } + case "30610-06.html": + { + if (qs.isCond(1)) + { + qs.setCond(2, true); + qs.set("old_stone", 0); + qs.set("fairy_stone", 2); + giveItems(player, DELUXE_STONE_LIST, 1); + htmltext = event; + } + break; + } + case "30610-12.html": + { + if (qs.isCond(5)) + { + qs.setCond(2, true); + qs.set("old_stone", qs.getInt("fairy_stone")); + qs.set("fairy_stone", 1); + giveItems(player, FAIRY_STONE_LIST, 1); + htmltext = event; + } + break; + } + case "30610-13.html": + { + if (qs.isCond(5)) + { + qs.setCond(2, true); + qs.set("old_stone", qs.getInt("fairy_stone")); + qs.set("fairy_stone", 2); + giveItems(player, DELUXE_STONE_LIST, 1); + htmltext = event; + } + break; + } + case "30608-03.html": + { + if (qs.isCond(2)) + { + if ((qs.getInt("fairy_stone") == 1) && (getQuestItemsCount(player, COAL) >= 10) && (getQuestItemsCount(player, CHARCOAL) >= 10) && (getQuestItemsCount(player, GEMSTONE_D) >= 1) && (getQuestItemsCount(player, SILVER_NUGGET) >= 3) && (getQuestItemsCount(player, TOAD_SKIN) >= 10)) + { + takeItems(player, FAIRY_STONE_LIST, -1); + takeItems(player, COAL, 10); + takeItems(player, CHARCOAL, 10); + takeItems(player, GEMSTONE_D, 1); + takeItems(player, SILVER_NUGGET, 3); + takeItems(player, TOAD_SKIN, -1); + giveItems(player, FAIRY_STONE, 1); + } + qs.setCond(3, true); + htmltext = event; + } + break; + } + case "30608-05.html": + { + if (qs.isCond(2)) + { + if ((qs.getInt("fairy_stone") == 2) && (getQuestItemsCount(player, COAL) >= 10) && (getQuestItemsCount(player, CHARCOAL) >= 10) && (getQuestItemsCount(player, GEMSTONE_C) >= 1) && (getQuestItemsCount(player, STONE_OF_PURITY) >= 1) && (getQuestItemsCount(player, SILVER_NUGGET) >= 5) && (getQuestItemsCount(player, TOAD_SKIN) >= 20)) + { + takeItems(player, DELUXE_STONE_LIST, -1); + takeItems(player, COAL, 10); + takeItems(player, CHARCOAL, 10); + takeItems(player, GEMSTONE_C, 1); + takeItems(player, STONE_OF_PURITY, 1); + takeItems(player, SILVER_NUGGET, 5); + takeItems(player, TOAD_SKIN, -1); + giveItems(player, DELUXE_FAIRY_STONE, 1); + } + qs.setCond(3, true); + htmltext = event; + } + break; + } + case "30711-03.html": + { + if (qs.isCond(3)) + { + qs.setCond(4, true); + if (qs.getInt("fairy_stone") == 2) + { + htmltext = "30711-04.html"; + } + else + { + htmltext = event; + } + } + break; + } + case "30747-02.html": + case "30747-04.html": + { + if (qs.isCond(4) && ((getQuestItemsCount(player, FAIRY_STONE) + getQuestItemsCount(player, DELUXE_FAIRY_STONE)) > 0)) + { + takeItems(player, -1, FAIRY_STONE, DELUXE_FAIRY_STONE); + if (qs.getInt("fairy_stone") == 2) + { + giveItems(player, FAIRY_DUST, 1); + } + qs.setCond(5, true); + htmltext = event; + } + break; + } + case "30747-07.html": + case "30747-08.html": + { + if (qs.isCond(5) && (getQuestItemsCount(player, MONKSHOOD_JUICE) == 0)) + { + giveItems(player, MONKSHOOD_JUICE, 1); + htmltext = event; + } + break; + } + case "30747-12.html": + { + if (qs.isCond(7)) + { + if ((qs.getInt("fairy_stone") == 1) || (getQuestItemsCount(player, FAIRY_DUST) == 0)) + { + giveReward(player); + qs.exitQuest(true, true); + htmltext = "30747-16.html"; + } + else + { + qs.setCond(8, false); + htmltext = event; + } + } + else if (qs.isCond(8)) + { + htmltext = event; + } + break; + } + case "30747-13.html": + { + if (qs.isCond(8)) + { + giveReward(player); + qs.exitQuest(true, true); + htmltext = event; + } + break; + } + case "30747-15.html": + { + if (qs.isCond(8) && (getQuestItemsCount(player, FAIRY_DUST) > 1)) + { + if (getRandom(100) < 5) + { + giveItems(player, HATCHLING_ARMOR, 1); + htmltext = "30747-14.html"; + } + else + { + giveItems(player, HATCHLING_FOOD, 20); + htmltext = event; + } + giveReward(player); + takeItems(player, FAIRY_DUST, -1); + qs.exitQuest(true, true); + } + break; + } + case "30748-02.html": + { + if (qs.isCond(5)) + { + takeItems(player, MONKSHOOD_JUICE, -1); + giveItems(player, EXARION_SCALE, 1); + qs.setCond(6, true); + qs.set("drake_hunt", LETO_WARRIOR); + htmltext = event; + } + break; + } + case "30749-02.html": + { + if (qs.isCond(5)) + { + takeItems(player, MONKSHOOD_JUICE, -1); + giveItems(player, ZWOV_SCALE, 1); + qs.setCond(6, true); + qs.set("drake_hunt", MARSH_SPIDER); + htmltext = event; + } + break; + } + case "30750-02.html": + { + if (qs.isCond(5)) + { + takeItems(player, MONKSHOOD_JUICE, -1); + giveItems(player, KALIBRAN_SCALE, 1); + qs.setCond(6, true); + qs.set("drake_hunt", ROAD_SCAVENGER); + htmltext = event; + } + break; + } + case "30750-05.html": + { + if (qs.isCond(6) && (getQuestItemsCount(player, KALIBRAN_EGG) >= 20)) + { + takeItems(player, -1, KALIBRAN_SCALE, KALIBRAN_EGG); + giveItems(player, KALIBRAN_EGG, 1); + qs.setCond(7, true); + htmltext = event; + } + break; + } + case "30751-03.html": + { + if (qs.isCond(5)) + { + takeItems(player, MONKSHOOD_JUICE, -1); + giveItems(player, SUZET_SCALE, 1); + qs.setCond(6, true); + qs.set("drake_hunt", BREKA_OVERLORD); + htmltext = event; + } + break; + } + case "30752-02.html": + { + if (qs.isCond(5)) + { + takeItems(player, MONKSHOOD_JUICE, -1); + giveItems(player, SHAMHAI_SCALE, 1); + qs.setCond(6, true); + qs.set("drake_hunt", DEAD_SEEKER); + htmltext = event; + } + break; + } + } + return htmltext; + } + + @Override + public String onAttack(L2Npc npc, L2PcInstance attacker, int damage, boolean isSummon) + { + final QuestState qs = attacker.getQuestState(getName()); + if ((qs != null) && (getQuestItemsCount(attacker, DELUXE_FAIRY_STONE) > 0) && (getRandom(100) < 30)) + { + takeItems(attacker, DELUXE_FAIRY_STONE, -1); + qs.playSound(QuestSound.ITEMSOUND_QUEST_MIDDLE); + npc.broadcastPacket(new NpcSay(npc, Say2.NPC_ALL, NpcStringId.THE_STONE_THE_ELVEN_STONE_BROKE)); + } + return super.onAttack(npc, attacker, damage, isSummon); + } + + @Override + public String onTalk(L2Npc npc, L2PcInstance talker) + { + final QuestState qs = getQuestState(talker, true); + String htmltext = getNoQuestMsg(talker); + switch (qs.getState()) + { + case State.CREATED: + { + if (npc.getId() == COOPER) + { + htmltext = ((talker.getLevel() >= MIN_LVL) ? "30829-01.htm" : "30829-03.html"); + } + break; + } + case State.STARTED: + { + switch (npc.getId()) + { + case COOPER: + { + htmltext = "30829-04.html"; + break; + } + case CRONOS: + { + switch (qs.getCond()) + { + case 1: + { + htmltext = "30610-01.html"; + break; + } + case 2: + { + htmltext = "30610-07.html"; + break; + } + case 3: + { + if (qs.getInt("old_stone") > 0) + { + htmltext = "30610-14.html"; + } + else + { + htmltext = "30610-08.html"; + } + break; + } + case 4: + { + htmltext = "30610-09.html"; + break; + } + case 5: + { + if ((getQuestItemsCount(talker, FAIRY_STONE) == 0) && (getQuestItemsCount(talker, DELUXE_FAIRY_STONE) == 0)) + { + htmltext = "30610-10.html"; + } + else + { + htmltext = "30610-11.html"; + } + break; + } + } + break; + } + case MARIA: + { + switch (qs.getCond()) + { + case 2: + { + if ((qs.getInt("fairy_stone") == 1) && (getQuestItemsCount(talker, COAL) >= 10) && (getQuestItemsCount(talker, CHARCOAL) >= 10) && (getQuestItemsCount(talker, GEMSTONE_D) >= 1) && (getQuestItemsCount(talker, SILVER_NUGGET) >= 3) && (getQuestItemsCount(talker, TOAD_SKIN) >= 10)) + { + htmltext = "30608-02.html"; + } + else if ((qs.getInt("fairy_stone") == 2) && (getQuestItemsCount(talker, COAL) >= 10) && (getQuestItemsCount(talker, CHARCOAL) >= 10) && (getQuestItemsCount(talker, GEMSTONE_C) >= 1) && (getQuestItemsCount(talker, STONE_OF_PURITY) >= 1) && (getQuestItemsCount(talker, SILVER_NUGGET) >= 5) && (getQuestItemsCount(talker, TOAD_SKIN) >= 20)) + { + htmltext = "30608-04.html"; + } + else + { + htmltext = "30608-01.html"; + } + break; + } + case 3: + { + htmltext = "30608-06.html"; + break; + } + } + break; + } + case BYRON: + { + switch (qs.getCond()) + { + case 2: + { + htmltext = "30711-10.html"; + break; + } + case 3: + { + if (qs.getInt("old_stone") == 0) + { + htmltext = "30711-01.html"; + } + else if (qs.getInt("old_stone") == 1) + { + qs.setCond(5, true); + htmltext = "30711-05.html"; + } + else + { + qs.setCond(4, true); + htmltext = "30711-06.html"; + } + break; + } + case 4: + { + if ((getQuestItemsCount(talker, FAIRY_STONE) == 0) && (getQuestItemsCount(talker, DELUXE_FAIRY_STONE) == 0)) + { + htmltext = "30711-09.html"; + } + else if (getQuestItemsCount(talker, FAIRY_STONE) == 0) + { + htmltext = "30711-08.html"; + } + else + { + htmltext = "30711-07.html"; + } + break; + } + } + break; + } + case MIMYU: + { + switch (qs.getCond()) + { + case 4: + { + if (getQuestItemsCount(talker, FAIRY_STONE) > 0) + { + htmltext = "30747-01.html"; + } + else if (getQuestItemsCount(talker, DELUXE_FAIRY_STONE) > 0) + { + htmltext = "30747-03.html"; + } + break; + } + case 5: + { + if (getQuestItemsCount(talker, MONKSHOOD_JUICE) > 0) + { + htmltext = "30747-09.html"; + } + else if (qs.getInt("fairy_stone") == 1) + { + htmltext = "30747-05.html"; + } + else + { + htmltext = "30747-06.html"; + } + break; + } + case 6: + { + if ((getQuestItemsCount(talker, EXARION_EGG) >= 20) || (getQuestItemsCount(talker, ZWOV_EGG) >= 20) || (getQuestItemsCount(talker, KALIBRAN_EGG) >= 20) || (getQuestItemsCount(talker, SUZET_EGG) >= 20) || (getQuestItemsCount(talker, SHAMHAI_EGG) >= 20)) + { + htmltext = "30747-10.html"; + } + else + { + htmltext = "30747-09.html"; + } + break; + } + case 7: + { + htmltext = "30747-11.html"; + break; + } + case 8: + { + htmltext = "30747-12.html"; + break; + } + } + break; + } + case EXARION: + { + switch (qs.getCond()) + { + case 5: + { + if (getQuestItemsCount(talker, MONKSHOOD_JUICE) > 0) + { + htmltext = "30748-01.html"; + } + break; + } + case 6: + { + if (getQuestItemsCount(talker, EXARION_EGG) >= 20) + { + takeItems(talker, -1, EXARION_SCALE, EXARION_EGG); + giveItems(talker, EXARION_EGG, 1); + qs.setCond(7, true); + htmltext = "30748-04.html"; + } + else + { + htmltext = "30748-03.html"; + } + break; + } + case 7: + { + htmltext = "30748-05.html"; + break; + } + } + break; + } + case ZWOV: + { + switch (qs.getCond()) + { + case 5: + { + if (getQuestItemsCount(talker, MONKSHOOD_JUICE) > 0) + { + htmltext = "30749-01.html"; + } + break; + } + case 6: + { + if (getQuestItemsCount(talker, ZWOV_EGG) >= 20) + { + takeItems(talker, -1, ZWOV_SCALE, ZWOV_EGG); + giveItems(talker, ZWOV_EGG, 1); + qs.setCond(7, true); + htmltext = "30749-04.html"; + } + else + { + htmltext = "30749-03.html"; + } + break; + } + case 7: + { + htmltext = "30749-05.html"; + break; + } + } + break; + } + case KALIBRAN: + { + switch (qs.getCond()) + { + case 5: + { + if (getQuestItemsCount(talker, MONKSHOOD_JUICE) > 0) + { + htmltext = "30750-01.html"; + } + break; + } + case 6: + { + if (getQuestItemsCount(talker, KALIBRAN_EGG) >= 20) + { + htmltext = "30750-04.html"; + } + else + { + htmltext = "30750-03.html"; + } + break; + } + case 7: + { + htmltext = "30750-06.html"; + break; + } + } + break; + } + case SUZET: + { + switch (qs.getCond()) + { + case 5: + { + if (getQuestItemsCount(talker, MONKSHOOD_JUICE) > 0) + { + htmltext = "30751-01.html"; + } + break; + } + case 6: + { + if (getQuestItemsCount(talker, SUZET_EGG) >= 20) + { + takeItems(talker, -1, SUZET_SCALE, SUZET_EGG); + giveItems(talker, SUZET_EGG, 1); + qs.setCond(7, true); + htmltext = "30751-05.html"; + } + else + { + htmltext = "30751-04.html"; + } + break; + } + case 7: + { + htmltext = "30751-06.html"; + break; + } + } + break; + } + case SHAMHAI: + { + switch (qs.getCond()) + { + case 5: + { + if (getQuestItemsCount(talker, MONKSHOOD_JUICE) > 0) + { + htmltext = "30752-01.html"; + } + break; + } + case 6: + { + if (getQuestItemsCount(talker, SHAMHAI_EGG) >= 20) + { + takeItems(talker, -1, SHAMHAI_SCALE, SHAMHAI_EGG); + giveItems(talker, SHAMHAI_EGG, 1); + qs.setCond(7, true); + htmltext = "30752-04.html"; + } + else + { + htmltext = "30752-03.html"; + } + break; + } + case 7: + { + htmltext = "30752-05.html"; + break; + } + } + break; + } + } + break; + } + case State.COMPLETED: + { + htmltext = getAlreadyCompletedMsg(talker); + break; + } + } + return htmltext; + } + + @Override + public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon) + { + final QuestState qs = getRandomPartyMemberState(killer, -1, 3, npc); + if (qs != null) + { + if (qs.isCond(2) && (npc.getId() == TOAD_LORD)) + { + if (qs.getInt("fairy_stone") == 1) + { + giveItemRandomly(qs.getPlayer(), npc, TOAD_SKIN, 1, 10, 0.3, true); + } + else + { + giveItemRandomly(qs.getPlayer(), npc, TOAD_SKIN, 1, 20, 0.3, true); + } + } + else if (qs.isCond(6) && (npc.getId() == qs.getInt("drake_hunt"))) + { + giveItemRandomly(qs.getPlayer(), npc, EGG_DROPS.get(npc.getId()), 1, 20, 0.5, true); + } + } + return super.onKill(npc, killer, isSummon); + } + + /** + * Gives the reward to the player. + * @param player the player + */ + private static void giveReward(L2PcInstance player) + { + final int random = getRandom(100); + for (int i : EGGS) + { + if (hasQuestItems(player, i)) + { + final int mul = EGGS.indexOf(i) * 5; + if (hasQuestItems(player, FAIRY_DUST)) + { + if (random < (45 + mul)) + { + giveItems(player, DRAGONFLUTE_OF_WIND, 1); + } + else if (random < (75 + mul)) + { + giveItems(player, DRAGONFLUTE_OF_STAR, 1); + } + else + { + giveItems(player, DRAGONFLUTE_OF_TWILIGHT, 1); + } + } + if (random < (50 + mul)) + { + giveItems(player, DRAGONFLUTE_OF_WIND, 1); + } + else if (random < (85 + mul)) + { + giveItems(player, DRAGONFLUTE_OF_STAR, 1); + } + else + { + giveItems(player, DRAGONFLUTE_OF_TWILIGHT, 1); + } + takeItems(player, i, -1); + break; + } + } + } + + public static void main(String[] args) + { + new Q00420_LittleWing(); + } +} diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30610-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30610-01.htm similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30610-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30610-01.htm diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30610-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30610-02.htm similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30610-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30610-02.htm diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30610-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30610-03.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30610-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30610-03.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30610-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30610-04.htm similarity index 71% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30610-04.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30610-04.htm index 3f4ca10b862003b7b1fd8ab8124befe65fbef2a5..ec40ce959aa4cf192a919ee33348aa03c1e3955f 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30610-04.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30610-04.htm @@ -1,4 +1,4 @@ <html><body>Elder Cronos:<br> We've had this conversation before, haven't we? As I said, raising a hatchling requires resolve, which you haven't yet proven. Have you learned your lesson yet? Are you ready to have your hatchling transformed into a strider?<br> -<a action="bypass -h Quest 421_LittleWingAdventures 30610-05.htm">"Do you know how to do this?"</a> +<a action="bypass -h Quest Q00421_LittleWingsBigAdventure 30610-05.htm">"Do you know how to do this?"</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30610-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30610-05.htm similarity index 85% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30610-05.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30610-05.htm index 0d388cfe4cabf913433d2cb9b4d2c0459bc52d6c..26ac09c5b62cd4b9336d4e2177d0e62781fa09b1 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30610-05.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30610-05.htm @@ -1,4 +1,4 @@ <html><body>Elder Cronos:<br> Whether I know how to do it or not is not your concern...<br> -You should talk to <FONT color="LEVEL">Fairy Mimyu</FONT> in the Enchanted Valley. Actually, she was the one I got your hatchling from! I have kept in touch with her since our last encounter. We have become friendly. I will send her a letter asking her to take good care of you and your hatchling... Do you understand what I'm saying to you? +You should talk to <font color="LEVEL">Fairy Mimyu</font> in the Enchanted Valley. Actually, she was the one I got your hatchling from! I have kept in touch with her since our last encounter. We have become friendly. I will send her a letter asking her to take good care of you and your hatchling... Do you understand what I'm saying to you? </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30610-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30610-06.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30610-06.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30610-06.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30610-07.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30610-07.html similarity index 76% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30610-07.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30610-07.html index 8fbf255a1e62056ac6d26afbb2eb3b9a31c0fdbc..451ebe653a4b793db4fcb509615ce324a8851919 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30610-07.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30610-07.html @@ -1,3 +1,3 @@ <html><body>Elder Cronos:<br> -Questions, questions, questions! You should mind your own business and go and find <FONT color="LEVEL">Fairy Mimyu</FONT> in the Enchanted Valley. She will tell you what you need to do in order to transform your hatchling into a strider. +Questions, questions, questions! You should mind your own business and go and find <font color="LEVEL">Fairy Mimyu</font> in the Enchanted Valley. She will tell you what you need to do in order to transform your hatchling into a strider. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-01.html similarity index 71% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-01.html index 0eda7c0cf92da3e416809e99865927774ff81ce5..97c2ebcaa53d2259d9b1eefc2350b4c32bd359b1 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-01.html @@ -1,5 +1,5 @@ <html><body>Fairy Mimyu:<br> This is so annoying! Please, leave me alone! Oh, its you! You're the one who brought me the Fairy Stone... What have you brought me this time? Nothing?!<br> What a selfish brute! Why would you visit me emptyhanded? Oh, I remember! Cronos said that you would be visiting me...<br> -<a action="bypass -h Quest 421_LittleWingAdventures 30747-02.htm">"I wish to change a hatchling to a strider."</a> +<a action="bypass -h Quest Q00421_LittleWingsBigAdventure 30747-04.html">"I wish to change a hatchling to a strider."</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-02.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-02.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-03.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-03.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-04.html similarity index 58% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-04.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-04.html index b32aa4928c34c3da82bb6f86787c620033b04fd3..b40792e64122e42927de5c4fb75d471f1bf4cc1f 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-04.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-04.html @@ -1,4 +1,4 @@ <html><body>Fairy Mimyu:<br> Oh my, hasn't the baby grown! You've done an admirable job raising him. His mother will be so proud! Yes, he'll make a fine strider!<br> -<a action="bypass -h Quest 421_LittleWingAdventures 30747-05.htm">"Will you change my hatchling into a strider?"</a> +<a action="bypass -h Quest Q00421_LittleWingsBigAdventure 30747-05.html">"Will you change my hatchling into a strider?"</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-05.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-05.html new file mode 100644 index 0000000000000000000000000000000000000000..7b7870b09e797e385495bfcca93a52a745fad4bb --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-05.html @@ -0,0 +1,4 @@ +<html><body>Fairy Mimyu:<br> +Nothing would make me happier, unfortunately, the hatchling is responsible for his own transformation. He must find the <font color="LEVEL">four fairy trees</font> and gorge himself on their juice. This task is risky, for the trees are protected by the <font color="LEVEL">ghosts of tree guardians</font>. You must see that this Fairy Leaf is affixed to the tree when his thirst is sated.<br> +<a action="bypass -h Quest Q00421_LittleWingsBigAdventure 30747-07.html">"Please be more specific about what must be done for him to become a strider!"</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-06.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-06.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-06.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-06.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-07.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-07.html new file mode 100644 index 0000000000000000000000000000000000000000..fcfcdd7aab13a1e28d7d72210b8821c8c6dd059e --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-07.html @@ -0,0 +1,6 @@ +<html><body>Fairy Mimyu:<br> +What more can I tell you?<br> +<a action="bypass -h Quest Q00421_LittleWingsBigAdventure 30747-08.html">"Tell me about the four fairy trees."</a><br> +<a action="bypass -h Quest Q00421_LittleWingsBigAdventure 30747-09.html">"Tell me about the ghosts of tree guardians."</a><br> +<a action="bypass -h Quest Q00421_LittleWingsBigAdventure 30747-10.html">"Tell me about the Fairy Leaf."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-08.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-08.html similarity index 67% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-08.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-08.html index 0ace5d777e6a3356e2a17e68b9d35e8f39107702..3750db771b27e6ad47ac775ab2194da08a3673d1 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-08.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-08.html @@ -1,5 +1,5 @@ <html><body>Fairy Mimyu:<br> -The four fairy trees are connected. Their roots traverse unimaginable depths to touch the Mother Tree Glade in the Elven Forest. The Essence of Wind, star, twilight and the abyss respectively flow within the trunks of these trees... These elements are essential for a hatchling to mature properly...Legend says that these trees were planted long ago by King Raul after he met the Lady of the Lake. He did this at the behest of the Lady of the Lake to stop the poisonous smog that was coming over from Dragon Valley. Now, in the northern section of the valley, <FONT color="LEVEL">those damn hunters have settled down....</FONT><br> -And there is one thing that you have to be absolutely careful about! While this sap is indispensible for a hatchling's growth, it is a deadly poison to your race. <FONT color="LEVEL">If you handle a fairy tree, you will likely get sick and die. </FONT><br> -<a action="bypass -h Quest 421_LittleWingAdventures 30747-07.htm">Back</a> +The four fairy trees are connected. Their roots traverse unimaginable depths to touch the Mother Tree Glade in the Elven Forest. The Essence of Wind, star, twilight and the abyss respectively flow within the trunks of these trees... These elements are essential for a hatchling to mature properly...Legend says that these trees were planted long ago by King Raul after he met the Lady of the Lake. He did this at the behest of the Lady of the Lake to stop the poisonous smog that was coming over from Dragon Valley. Now, in the northern section of the valley, <font color="LEVEL">those damn hunters have settled down....</font><br> +And there is one thing that you have to be absolutely careful about! While this sap is indispensible for a hatchling's growth, it is a deadly poison to your race. <font color="LEVEL">If you handle a fairy tree, you will likely get sick and die.</font><br> +<a action="bypass -h Quest Q00421_LittleWingsBigAdventure 30747-07.html">Back</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-09.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-09.html similarity index 51% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-09.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-09.html index 5b2c6a302985363cc3ba3e6afa283815d55f0276..5ecdfe87f1b15d069678810f2ec36bec1392d314 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-09.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-09.html @@ -1,5 +1,5 @@ <html><body>Fairy Mimyu:<br> -These are the spirits of elves who protected the Mother Tree Glade in ancient times. In death they have lost their former discretion and attack indiscriminately anyone who ventures near. You will find many souls in each tree. <FONT color="LEVEL">Your hatchling is certain to be attacked by these spirits when it is drinking the sap of the trees.</FONT><br> -You must use care when defending your hatchling, for if <FONT color="LEVEL"> a fairy tree is cut down, the spirits from within that tree will be set loose upon you and your party.</FONT> This would be disastrous.<br> -<a action="bypass -h Quest 421_LittleWingAdventures 30747-07.htm">Return</a> +These are the spirits of elves who protected the Mother Tree Glade in ancient times. In death they have lost their former discretion and attack indiscriminately anyone who ventures near. You will find many souls in each tree. <font color="LEVEL">Your hatchling is certain to be attacked by these spirits when it is drinking the sap of the trees.</font><br> +You must use care when defending your hatchling, for if <font color="LEVEL"> a fairy tree is cut down, the spirits from within that tree will be set loose upon you and your party.</font> This would be disastrous.<br> +<a action="bypass -h Quest Q00421_LittleWingsBigAdventure 30747-07.html">Return</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-10.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-10.html new file mode 100644 index 0000000000000000000000000000000000000000..d2deeaf5afd53cd910220caf01c3c01210cc0ca2 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-10.html @@ -0,0 +1,4 @@ +<html><body>Fairy Mimyu:<br> +When your hatchling has slaked his thirst, affix the <font color="LEVEL">Fairy Leaf</font> I gave you to the tree from which he drank. This will heal the tree and quieten the spirits within it. You only have enough leaves to use one per tree. Is that clear?<br> +<a action="bypass -h Quest Q00421_LittleWingsBigAdventure 30747-07.html">Return</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-11.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-11.html similarity index 50% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-11.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-11.html index b689a5e051ad95787e816075efe6ba6fa180a7dc..b215a1420e54fdc9060bc344dcca0b673a9843fe 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-11.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-11.html @@ -1,4 +1,4 @@ <html><body>Fairy Mimyu:<br> Why have you come back so soon? Your hatchling has not had enough sap! Surely you don't think that someone else will do your job for you? Go now and deal with your responsibilities!<br> -Remember, your hatchling must drink the sap of the <FONT color="LEVEL">four fairy trees in the forest south of Aden Castle Town</FONT>. <FONT color="LEVEL">You mustn't touch the sap of the tree as it is a deadly poison to your race. Your hatchling must feed himself!</FONT> Beware the <FONT color="LEVEL">ghosts that guard the fairy trees</FONT>! +Remember, your hatchling must drink the sap of the <font color="LEVEL">four fairy trees in the forest south of the Town of Aden</font>. <font color="LEVEL">You mustn't touch the sap of the tree as it is a deadly poison to your race. Your hatchling must feed himself!</font> Beware the <font color="LEVEL">ghosts that guard the fairy trees</font>! </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-12.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-12.html new file mode 100644 index 0000000000000000000000000000000000000000..18262a6b6e0cdd889a9eb547e80039d1bc7bd704 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-12.html @@ -0,0 +1,3 @@ +<html><body>Fairy Mimyu:<br> +Go ahead and summon your hatchling! I trust that you completed your task successfully? If not, the forest must be in quite an uproar with those spirits careening about! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-13.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-13.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-13.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-13.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-14.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-14.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-14.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-14.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-15.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-15.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-15.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-15.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-16.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-16.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-16.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-16.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-17.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-17.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-17.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-17.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-18.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-18.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/421_LittleWingAdventures/30747-18.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/30747-18.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/Q00421_LittleWingsBigAdventure.java b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/Q00421_LittleWingsBigAdventure.java new file mode 100644 index 0000000000000000000000000000000000000000..d4511b7f6915483f162383671a5f3215e3a8fb84 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00421_LittleWingsBigAdventure/Q00421_LittleWingsBigAdventure.java @@ -0,0 +1,508 @@ +/* + * Copyright (C) 2004-2014 L2J DataPack + * + * This file is part of L2J DataPack. + * + * L2J DataPack 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. + * + * L2J DataPack 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.Q00421_LittleWingsBigAdventure; + +import java.util.HashMap; +import java.util.Map; + +import com.l2jserver.gameserver.ai.CtrlIntention; +import com.l2jserver.gameserver.enums.QuestSound; +import com.l2jserver.gameserver.model.actor.L2Npc; +import com.l2jserver.gameserver.model.actor.L2Summon; +import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; +import com.l2jserver.gameserver.model.holders.SkillHolder; +import com.l2jserver.gameserver.model.items.instance.L2ItemInstance; +import com.l2jserver.gameserver.model.quest.Quest; +import com.l2jserver.gameserver.model.quest.QuestState; +import com.l2jserver.gameserver.model.quest.State; +import com.l2jserver.gameserver.network.NpcStringId; +import com.l2jserver.gameserver.network.clientpackets.Say2; +import com.l2jserver.gameserver.network.serverpackets.NpcSay; +import com.l2jserver.gameserver.util.Util; + +/** + * Little Wing's Big Adventure (421) + * @author Pandragon, jurchiks + */ +public final class Q00421_LittleWingsBigAdventure extends Quest +{ + // NPCs + private static final int CRONOS = 30610; + private static final int MIMYU = 30747; + // Items + private static final int DRAGONFLUTE_OF_WIND = 3500; + private static final int DRAGONFLUTE_OF_STAR = 3501; + private static final int DRAGONFLUTE_OF_TWILIGHT = 3502; + private static final int FAIRY_LEAF = 4325; + // Monsters + private static final int TREE_OF_WIND = 27185; + private static final int TREE_OF_STAR = 27186; + private static final int TREE_OF_TWILIGHT = 27187; + private static final int TREE_OF_ABYSS = 27188; + private static final int SOUL_OF_TREE_GUARDIAN = 27189; + // Skills + private static final SkillHolder CURSE_OF_MIMYU = new SkillHolder(4167, 1); + private static final SkillHolder DRYAD_ROOT = new SkillHolder(1201, 33); + private static final SkillHolder VICIOUS_POISON = new SkillHolder(4243, 1); + // Rewards + private static final int DRAGON_BUGLE_OF_WIND = 4422; + private static final int DRAGON_BUGLE_OF_STAR = 4423; + private static final int DRAGON_BUGLE_OF_TWILIGHT = 4424; + // Misc + private static final int MIN_PLAYER_LVL = 45; + private static final int MIN_HACHLING_LVL = 55; + private static final Map<Integer, NpcData> NPC_DATA = new HashMap<>(); + static + { + NPC_DATA.put(TREE_OF_WIND, new NpcData(NpcStringId.HEY_YOUVE_ALREADY_DRUNK_THE_ESSENCE_OF_WIND, 2, 1, 270)); + NPC_DATA.put(TREE_OF_STAR, new NpcData(NpcStringId.HEY_YOUVE_ALREADY_DRUNK_THE_ESSENCE_OF_A_STAR, 4, 2, 400)); + NPC_DATA.put(TREE_OF_TWILIGHT, new NpcData(NpcStringId.HEY_YOUVE_ALREADY_DRUNK_THE_ESSENCE_OF_DUSK, 8, 4, 150)); + NPC_DATA.put(TREE_OF_ABYSS, new NpcData(NpcStringId.HEY_YOUVE_ALREADY_DRUNK_THE_ESSENCE_OF_THE_ABYSS, 16, 8, 270)); + } + + private Q00421_LittleWingsBigAdventure() + { + super(421, Q00421_LittleWingsBigAdventure.class.getSimpleName(), "Little Wing's Big Adventure"); + addStartNpc(CRONOS); + addTalkId(CRONOS, MIMYU); + addAttackId(NPC_DATA.keySet()); + addKillId(NPC_DATA.keySet()); + registerQuestItems(FAIRY_LEAF); + } + + @Override + public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, false); + String htmltext = null; + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "30610-05.htm": + { + if (qs.isCreated()) + { + if (getQuestItemsCount(player, DRAGONFLUTE_OF_WIND, DRAGONFLUTE_OF_STAR, DRAGONFLUTE_OF_TWILIGHT) == 1) + { + final L2ItemInstance flute = getFlute(player); + + if (flute.getEnchantLevel() < MIN_HACHLING_LVL) + { + htmltext = "30610-06.html"; + } + else + { + qs.startQuest(); + qs.setMemoState(100); + qs.set("fluteObjectId", flute.getObjectId()); + htmltext = event; + } + } + else + { + htmltext = "30610-06.html"; + } + } + break; + } + case "30747-04.html": + { + final L2Summon summon = player.getSummon(); + + if (summon == null) + { + htmltext = "30747-02.html"; + } + else if (summon.getControlObjectId() != qs.getInt("fluteObjectId")) + { + htmltext = "30747-03.html"; + } + else + { + htmltext = event; + } + break; + } + case "30747-05.html": + { + final L2Summon summon = player.getSummon(); + + if (summon == null) + { + htmltext = "30747-06.html"; + } + else if (summon.getControlObjectId() != qs.getInt("fluteObjectId")) + { + htmltext = "30747-06.html"; + } + else + { + giveItems(player, FAIRY_LEAF, 4); + qs.setCond(2, true); + qs.setMemoState(0); + htmltext = event; + } + break; + } + case "30747-07.html": + case "30747-08.html": + case "30747-09.html": + case "30747-10.html": + { + htmltext = event; + break; + } + case "DESPAWN_GUARDIAN": + { + if (npc != null) + { + npc.deleteMe(); + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(L2Npc npc, L2PcInstance talker) + { + final QuestState qs = getQuestState(talker, true); + String htmltext = getNoQuestMsg(talker); + + switch (npc.getId()) + { + case CRONOS: + { + switch (qs.getState()) + { + case State.CREATED: + { + final long fluteCount = getQuestItemsCount(talker, DRAGONFLUTE_OF_WIND, DRAGONFLUTE_OF_STAR, DRAGONFLUTE_OF_TWILIGHT); + if (fluteCount == 0) + { + break; // this quest does not show up if no flute in inventory + } + + if (talker.getLevel() < MIN_PLAYER_LVL) + { + htmltext = "30610-01.htm"; + } + else if (fluteCount > 1) + { + htmltext = "30610-02.htm"; + } + else if (getFlute(talker).getEnchantLevel() < MIN_HACHLING_LVL) + { + htmltext = "30610-03.html"; + } + else + { + htmltext = "30610-04.htm"; + } + break; + } + case State.STARTED: + { + htmltext = "30610-07.html"; + break; + } + case State.COMPLETED: + { + htmltext = getAlreadyCompletedMsg(talker); + break; + } + } + break; + } + case MIMYU: + { + switch (qs.getMemoState()) + { + case 100: + { + qs.setMemoState(200); + htmltext = "30747-01.html"; + break; + } + case 200: + { + final L2Summon summon = talker.getSummon(); + + if (summon == null) + { + htmltext = "30747-02.html"; + } + else if (summon.getControlObjectId() != qs.getInt("fluteObjectId")) + { + htmltext = "30747-03.html"; + } + else + { + htmltext = "30747-04.html"; + } + break; + } + case 0: + { + htmltext = "30747-07.html"; + break; + } + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: + { + if (hasQuestItems(talker, FAIRY_LEAF)) + { + htmltext = "30747-11.html"; + } + break; + } + case 15: + { + if (!hasQuestItems(talker, FAIRY_LEAF)) + { + final L2Summon summon = talker.getSummon(); + + if (summon == null) + { + htmltext = "30747-12.html"; + } + else if (summon.getControlObjectId() == qs.getInt("fluteObjectId")) + { + qs.setMemoState(16); + htmltext = "30747-13.html"; + } + else + { + htmltext = "30747-14.html"; + } + } + break; + } + case 16: + { + if (!hasQuestItems(talker, FAIRY_LEAF)) + { + if (talker.hasSummon()) + { + htmltext = "30747-15.html"; + } + else + { + final long fluteCount = getQuestItemsCount(talker, DRAGONFLUTE_OF_WIND, DRAGONFLUTE_OF_STAR, DRAGONFLUTE_OF_TWILIGHT); + + if (fluteCount > 1) + { + htmltext = "30747-17.html"; + } + else if (fluteCount == 1) + { + final L2ItemInstance flute = getFlute(talker); + + if (flute.getObjectId() == qs.getInt("fluteObjectId")) + { + // TODO what if the hatchling has items in his inventory? + // Should they be transfered to the strider or given to the player? + switch (flute.getId()) + { + case DRAGONFLUTE_OF_WIND: + takeItems(talker, DRAGONFLUTE_OF_WIND, -1); + giveItems(talker, DRAGON_BUGLE_OF_WIND, 1); + break; + case DRAGONFLUTE_OF_STAR: + takeItems(talker, DRAGONFLUTE_OF_STAR, -1); + giveItems(talker, DRAGON_BUGLE_OF_STAR, 1); + break; + case DRAGONFLUTE_OF_TWILIGHT: + takeItems(talker, DRAGONFLUTE_OF_TWILIGHT, -1); + giveItems(talker, DRAGON_BUGLE_OF_TWILIGHT, 1); + break; + } + + qs.exitQuest(true, true); + htmltext = "30747-16.html"; + } + else + { + npc.setTarget(talker); + npc.doCast(CURSE_OF_MIMYU.getSkill()); + htmltext = "30747-18.html"; + } + } + } + } + break; + } + } + break; + } + } + return htmltext; + } + + @Override + public String onAttack(L2Npc npc, L2PcInstance attacker, int damage, boolean isSummon) + { + final QuestState qs = attacker.getQuestState(getName()); + if ((qs != null) && qs.isCond(2)) + { + if (isSummon) + { + final NpcData data = NPC_DATA.get(npc.getId()); + if ((qs.getMemoState() % data.memoStateMod) < data.memoStateValue) + { + if (attacker.getSummon().getControlObjectId() == qs.getInt("fluteObjectId")) + { + final int hits = qs.getInt("hits") + 1; + qs.set("hits", hits); + + if (hits < data.minHits) + { + if ((npc.getId() == TREE_OF_ABYSS) && (getRandom(100) < 2)) + { + npc.setTarget(attacker); + npc.doCast(DRYAD_ROOT.getSkill()); + } + } + else if (getRandom(100) < 2) + { + if (hasQuestItems(attacker, FAIRY_LEAF)) + { + npc.broadcastPacket(new NpcSay(npc, Say2.NPC_ALL, NpcStringId.GIVE_ME_A_FAIRY_LEAF)); + takeItems(attacker, FAIRY_LEAF, 1); + qs.setMemoState(qs.getMemoState() + data.memoStateValue); + qs.unset("hits"); + playSound(attacker, QuestSound.ITEMSOUND_QUEST_MIDDLE); + + if (qs.getMemoState() == 15) + { + qs.setCond(3); + } + } + } + } + } + else + { + switch (getRandom(3)) + { + case 0: + npc.broadcastPacket(new NpcSay(npc, Say2.NPC_ALL, NpcStringId.WHY_DO_YOU_BOTHER_ME_AGAIN)); + break; + case 1: + npc.broadcastPacket(new NpcSay(npc, Say2.NPC_ALL, data.message)); + break; + case 2: + npc.broadcastPacket(new NpcSay(npc, Say2.NPC_ALL, NpcStringId.LEAVE_NOW_BEFORE_YOU_INCUR_THE_WRATH_OF_THE_GUARDIAN_GHOST)); + break; + } + } + } + else if (getRandom(100) < 30) + { + npc.setTarget(attacker); + npc.doCast(VICIOUS_POISON.getSkill()); + } + } + else if ((npc.getCurrentHp() < (npc.getMaxHp() * 0.67)) && (getRandom(100) < 30)) + { + npc.setTarget(attacker); + npc.doCast(VICIOUS_POISON.getSkill()); + } + + return super.onAttack(npc, attacker, damage, isSummon); + } + + @Override + public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon) + { + if (Util.checkIfInRange(1500, killer, npc, true)) + { + for (int i = 0; i < 20; i++) + { + L2Npc guardian = addSpawn(SOUL_OF_TREE_GUARDIAN, npc); + startQuestTimer("DESPAWN_GUARDIAN", 300000, guardian, null); + + if (i == 0) + { + npc.setTarget(killer); + npc.doCast(VICIOUS_POISON.getSkill()); + } + + npc.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, killer); + } + } + return super.onKill(npc, killer, isSummon); + } + + private static L2ItemInstance getFlute(L2PcInstance player) + { + final int fluteItemId; + if (hasQuestItems(player, DRAGONFLUTE_OF_WIND)) + { + fluteItemId = DRAGONFLUTE_OF_WIND; + } + else if (hasQuestItems(player, DRAGONFLUTE_OF_STAR)) + { + fluteItemId = DRAGONFLUTE_OF_STAR; + } + else + { + fluteItemId = DRAGONFLUTE_OF_TWILIGHT; + } + return player.getInventory().getItemByItemId(fluteItemId); + } + + private static final class NpcData + { + public final NpcStringId message; + public final int memoStateMod; + public final int memoStateValue; + public final int minHits; + + public NpcData(NpcStringId message, int memoStateMod, int memoStateValue, int minHits) + { + this.message = message; + this.memoStateMod = memoStateMod; + this.memoStateValue = memoStateValue; + this.minHits = minHits; + } + } + + public static void main(String[] args) + { + new Q00421_LittleWingsBigAdventure(); + } +} \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31551-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31548-01.html similarity index 64% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31551-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31548-01.html index 5653644bfa2b7455a159cb59851461583feffd7b..708abecca8ee76d7951b4087f81231ed777f2de2 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31551-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31548-01.html @@ -1,4 +1,4 @@ <html><body>Ancient Stone Tablet:<br> Upon closer examination, you notice an inscription describing the exploits of the heroes who defeated Daimon the White-Eyed.<br> -<a action="bypass -h Quest 603_DaimontheWhiteEyedPart1 31551-02.htm"> Read the inscription</a> +<a action="bypass -h Quest Q00603_DaimonTheWhiteEyedPart1 31548-02.html">Read the inscription</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31548-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31548-02.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31548-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31548-02.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/table-no.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31548-03.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/table-no.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31548-03.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31548-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31549-01.html similarity index 64% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31548-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31549-01.html index 3b427b959d8ad73204ab3cf7f0185270c4befc24..b02912375b441130a25a5782be2bc6de0652119e 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31548-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31549-01.html @@ -1,4 +1,4 @@ <html><body>Ancient Stone Tablet:<br> Upon closer examination, you notice an inscription describing the exploits of the heroes who defeated Daimon the White-Eyed.<br> -<a action="bypass -h Quest 603_DaimontheWhiteEyedPart1 31548-02.htm"> Read the inscription</a> +<a action="bypass -h Quest Q00603_DaimonTheWhiteEyedPart1 31549-02.html">Read the inscription</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31549-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31549-02.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31549-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31549-02.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31549-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31549-03.html new file mode 100644 index 0000000000000000000000000000000000000000..17e81491957881c8d4aa65021c2a5b6d25016553 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31549-03.html @@ -0,0 +1,3 @@ +<html><body>Ancient Stone Tablet:<br> +You've already read the inscription. Find another tablet. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31549-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31550-01.html similarity index 64% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31549-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31550-01.html index 1ba1945a9a1e9990b60be4d6fd774fc05b993b6a..54dbcb5e8b03ee0f9686c3d8e3a836541b03091f 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31549-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31550-01.html @@ -1,4 +1,4 @@ <html><body>Ancient Stone Tablet:<br> Upon closer examination, you notice an inscription describing the exploits of the heroes who defeated Daimon the White-Eyed.<br> -<a action="bypass -h Quest 603_DaimontheWhiteEyedPart1 31549-02.htm"> Read the inscription </a> +<a action="bypass -h Quest Q00603_DaimonTheWhiteEyedPart1 31550-02.html">Read the inscription</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31550-02.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31550-02.html new file mode 100644 index 0000000000000000000000000000000000000000..0aeb0d717fcc618641547b56df6b7c0f0d24bf8d --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31550-02.html @@ -0,0 +1,6 @@ +<html><body>Mysterious Ancient Tablet:<br> +"Based on previous adventurers' experience, a fragment certainly exists that may be useful when confronting Daimon the White-Eyed. But even so, Daimon is...<br> +In that case, you may gather your strength and launch a focused attack, but that does not seem to be optimal. It is vital that his three henchmen be..."<br> +The rest of the tablet is too damaged to read.<br> +As you turn around, you suddenly hear the sound of something falling from the tablet. It's a mysterious bead fragment... +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31550-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31550-03.html new file mode 100644 index 0000000000000000000000000000000000000000..17e81491957881c8d4aa65021c2a5b6d25016553 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31550-03.html @@ -0,0 +1,3 @@ +<html><body>Ancient Stone Tablet:<br> +You've already read the inscription. Find another tablet. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31550-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31551-01.html similarity index 64% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31550-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31551-01.html index 47c6a8816d3c8d2248ac0798c0b3a5bd84a3f81c..7e22a277b644abd0d268a874e01f79001de2dde6 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31550-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31551-01.html @@ -1,4 +1,4 @@ <html><body>Ancient Stone Tablet:<br> Upon closer examination, you notice an inscription describing the exploits of the heroes who defeated Daimon the White-Eyed.<br> -<a action="bypass -h Quest 603_DaimontheWhiteEyedPart1 31550-02.htm"> Read the inscription</a> +<a action="bypass -h Quest Q00603_DaimonTheWhiteEyedPart1 31551-02.html">Read the inscription</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31551-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31551-02.html similarity index 72% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31551-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31551-02.html index 3bd06a1cb2b5321bd6686ec3eaaac431f8579b85..0fb92b2471c11a9bc8cbe596ca4f400a4566d33e 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31551-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31551-02.html @@ -3,6 +3,6 @@ The mage replied, "I agree. Especially the one that keeps restoring Daimon! I'll deal with that rascal myself!"<br> The Dwarf girl softly said,<br> "Someone's going to have to deal with Daimon. Who can do that? None of us are any match for his powers, even if we use the bead of summoning perfectly!"<br> -[Illegible text]<br ->As you turn to leave, you hear something fall from the tablet. Upon close examination, you find that it's a fragment of a mysterious bead. +[Illegible text]<br> +As you turn to leave, you hear something fall from the tablet. Upon close examination, you find that it's a fragment of a mysterious bead. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31551-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31551-03.html new file mode 100644 index 0000000000000000000000000000000000000000..17e81491957881c8d4aa65021c2a5b6d25016553 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31551-03.html @@ -0,0 +1,3 @@ +<html><body>Ancient Stone Tablet:<br> +You've already read the inscription. Find another tablet. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31552-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31552-01.html new file mode 100644 index 0000000000000000000000000000000000000000..2863099cfefa84d50326d140996c5234416a7a52 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31552-01.html @@ -0,0 +1,4 @@ +<html><body>Ancient Stone Tablet:<br> +Upon closer examination, you notice an inscription describing the exploits of the heroes who defeated Daimon the White-Eyed.<br> +<a action="bypass -h Quest Q00603_DaimonTheWhiteEyedPart1 31552-02.html">Read the inscription</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31552-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31552-02.html similarity index 87% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31552-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31552-02.html index e36f82d73ddb7c0f6cfb12dacf7aeccc390d2e61..59ef4d297ddee490fb5b0e376ea641e24af39013 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31552-02.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31552-02.html @@ -1,6 +1,7 @@ <html><body>Ancient Stone Tablet:<br> The text describes the decisive battles against Daimon the White-Eyed.<br> -Past heroes used the bead of summoning to call out Daimon before he and his minions were ready.<br><br> +Past heroes used the bead of summoning to call out Daimon before he and his minions were ready.<br> +<br> Now it all makes sense! You know how to defeat Daimon!<br> As you stand thinking before the tablet, something falls to the ground. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31552-03.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31552-03.html new file mode 100644 index 0000000000000000000000000000000000000000..a235b5b2886a207a07b412549db0f118bc3db47d --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31552-03.html @@ -0,0 +1,3 @@ +<html><body>Ancient Stone Tablet:<br> +You've already read the inscription. Now that you've learned how to defeat Daimon the White-Eyed, go back to Eye of Argos. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31683-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-01.htm similarity index 53% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31683-01.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-01.htm index fa898a17cf6ba0488e235c88575a643fc13ed277..6ec168f21c7ab5695b820d7b78d4af2a7c219cde 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31683-01.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-01.htm @@ -2,6 +2,6 @@ Welcome, traveler!<br> My eyes see justice, courage and wisdom within you!<br> Our meeting is not mere coincidence, my brave young warrior!<br> -A trial awaits you. Will you accept the challenge?<br> -<a action="bypass -h Quest 603_DaimontheWhiteEyedPart1 31683-02.htm">"I accept the challenge!"</a> +A trial awaits you. Will you accept the challenge?<br> +<a action="bypass -h Quest Q00603_DaimonTheWhiteEyedPart1 31683-03.htm">"I accept the challenge!"</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31683-01a.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-02.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31683-01a.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-02.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31683-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-03.htm similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31683-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-03.htm diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31683-02a.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-04.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31683-02a.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-04.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31683-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-05.html similarity index 60% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31683-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-05.html index fab9c727fc63b14ce527ff84fc7895fd77b6f817..e5dae2f58d8451d0fa67409e0fcc0df19ba6a3ba 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31683-03.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-05.html @@ -1,5 +1,5 @@ <html><body>Eye of Argos:<br> Oh, you came back!<br> Did you find out how the heroes of the past defeated Daimon the White-Eyed?<br> -<a action="bypass -h Quest 603_DaimontheWhiteEyedPart1 31683-04.htm">"Yes, I did."</a> +<a action="bypass -h Quest Q00603_DaimonTheWhiteEyedPart1 31683-06.html">"Yes, I did."</a> </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31683-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-06.html similarity index 72% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31683-04.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-06.html index 8cc371f40a6006fd49ec68f602bad12f8495102d..6fa77c95d6cb4dcc2b8d8f54a30d80e4c034eb89 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31683-04.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-06.html @@ -1,4 +1,4 @@ <html><body>Eye of Argos:<br> -The bead of summoning? Ah, yes, I haven't forgotten about that one yet! Good job, my hero!<br> +The bead of summoning? Ah, yes, I haven't forgotten about that one yet! Good job, my hero!<br> Now, you must make a bead of summoning! It has the power to summon him from the darkness. You must obtain 200 thoughts of darkness from valley Bandersnatch slaves, Buffalo Slaves and Grendel Slaves and bring them to me. </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31683-08.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-07.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31683-08.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-07.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-08.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-08.html new file mode 100644 index 0000000000000000000000000000000000000000..a9f95367c6ed20b8e856f5c909fd3f909d847d50 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-08.html @@ -0,0 +1,4 @@ +<html><body>Eye of Argos:<br> +Have you collected all the thoughts of darkness you need?<br> +<a action="bypass -h Quest Q00603_DaimonTheWhiteEyedPart1 31683-10.html">"Here are the thoughts of darkness I've collected."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31683-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-09.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31683-05.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-09.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31683-07.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-10.html similarity index 64% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31683-07.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-10.html index 8559aacc6e9c6fa25830740e95f1ea42fb7a4ac4..9f9f09bf281bca0f7c6e1c97a31f0543792365a3 100644 --- a/L2J_DataPack_BETA/dist/game/data/scripts/quests/603_DaimontheWhiteEyedPart1/31683-07.htm +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-10.html @@ -1,5 +1,5 @@ <html><body>Eye of Argos:<br> You've created the vessel that will contain the power to draw him out.<br> -I shall put the voice to call him out in this thought of darkness. You, my hero, will you give me some time alone? I'll be ready shortly after. Come back to me then.. <br> +I shall put the voice to call him out in this thought of darkness. You, my hero, will you give me some time alone? I'll be ready shortly after. Come back to me then..<br> I hope we're not too late! </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-11.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-11.html new file mode 100644 index 0000000000000000000000000000000000000000..bf30991e253a7344630d6c133b71a4a738669757 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-11.html @@ -0,0 +1,3 @@ +<html><body>Eye of Argos:<br> +Where are the eyes of darkness you've collected? +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/Q00603_DaimonTheWhiteEyedPart1.java b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/Q00603_DaimonTheWhiteEyedPart1.java new file mode 100644 index 0000000000000000000000000000000000000000..9139ce0aff14065cd5cfef6c3b94ee7929cc59a5 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/Q00603_DaimonTheWhiteEyedPart1.java @@ -0,0 +1,224 @@ +/* + * Copyright (C) 2004-2014 L2J DataPack + * + * This file is part of L2J DataPack. + * + * L2J DataPack 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. + * + * L2J DataPack 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.Q00603_DaimonTheWhiteEyedPart1; + +import java.util.HashMap; +import java.util.Map; + +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; + +/** + * Daimon the White-Eyed - Part 1 (603) + * @author Pandragon + */ +public final class Q00603_DaimonTheWhiteEyedPart1 extends Quest +{ + // NPC + private static final int EYE_OF_ARGOS = 31683; + private static final int TABLET_1 = 31548; + private static final int TABLET_2 = 31549; + private static final int TABLET_3 = 31550; + private static final int TABLET_4 = 31551; + private static final int TABLET_5 = 31552; + // Items + private static final int SPIRIT_OF_DARKNESS = 7190; + private static final int BROKEN_CRYSTAL = 7191; + // Monsters + private final Map<Integer, Double> MONSTER_CHANCES = new HashMap<>(); + { + MONSTER_CHANCES.put(21297, 0.5); // Canyon Bandersnatch Slave + MONSTER_CHANCES.put(21299, 0.519); // Buffalo Slave + MONSTER_CHANCES.put(21304, 0.673); // Grendel Slave + } + // Reward + private static final int UNFINISHED_CRYSTAL = 7192; + // Misc + private static final int MIN_LVL = 73; + + private Q00603_DaimonTheWhiteEyedPart1() + { + super(603, Q00603_DaimonTheWhiteEyedPart1.class.getSimpleName(), "Daimon the White-Eyed - Part 1"); + addStartNpc(EYE_OF_ARGOS); + addTalkId(EYE_OF_ARGOS, TABLET_1, TABLET_2, TABLET_3, TABLET_4, TABLET_5); + addKillId(MONSTER_CHANCES.keySet()); + registerQuestItems(SPIRIT_OF_DARKNESS, BROKEN_CRYSTAL); + } + + @Override + public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, false); + String htmltext = null; + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "31683-03.htm": + { + if (qs.isCreated()) + { + qs.set("tablet_" + TABLET_1, 0); + qs.set("tablet_" + TABLET_2, 0); + qs.set("tablet_" + TABLET_3, 0); + qs.set("tablet_" + TABLET_4, 0); + qs.set("tablet_" + TABLET_5, 0); + qs.startQuest(); + htmltext = event; + } + break; + } + case "31548-02.html": + case "31549-02.html": + case "31550-02.html": + case "31551-02.html": + case "31552-02.html": + { + if (qs.getCond() < 6) + { + giveItems(player, BROKEN_CRYSTAL, 1); + qs.set("TABLET_" + npc.getId(), 1); + qs.setCond(qs.getCond() + 1, true); + htmltext = event; + } + break; + } + case "31683-06.html": + { + if (qs.isCond(6) && (getQuestItemsCount(player, BROKEN_CRYSTAL) >= 5)) + { + takeItems(player, BROKEN_CRYSTAL, -1); + qs.setCond(7, true); + htmltext = event; + } + break; + } + case "31683-10.html": + { + if (qs.isCond(8)) + { + if (getQuestItemsCount(player, SPIRIT_OF_DARKNESS) >= 200) + { + takeItems(player, SPIRIT_OF_DARKNESS, -1); + giveItems(player, UNFINISHED_CRYSTAL, 1); + qs.exitQuest(true, true); + htmltext = event; + } + else + { + htmltext = "31683-11.html"; + } + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(L2Npc npc, L2PcInstance talker) + { + final QuestState qs = getQuestState(talker, true); + String htmltext = getNoQuestMsg(talker); + switch (qs.getState()) + { + case State.CREATED: + { + if (npc.getId() == EYE_OF_ARGOS) + { + htmltext = ((talker.getLevel() < MIN_LVL) ? "31683-02.html" : "31683-01.htm"); + } + break; + } + case State.STARTED: + { + if (npc.getId() == EYE_OF_ARGOS) + { + switch (qs.getCond()) + { + case 1: + case 2: + case 3: + case 4: + case 5: + { + htmltext = "31683-04.html"; + break; + } + case 6: + { + htmltext = "31683-05.html"; + break; + } + case 7: + { + htmltext = "31683-07.html"; + break; + } + case 8: + { + htmltext = "31683-08.html"; + break; + } + } + } + else if (qs.getInt("TABLET_" + npc.getId()) == 0) + { + htmltext = npc.getId() + "-01.html"; + } + else + { + htmltext = npc.getId() + "-03.html"; + } + break; + } + case State.COMPLETED: + { + htmltext = getAlreadyCompletedMsg(talker); + break; + } + } + return htmltext; + } + + @Override + public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon) + { + final QuestState qs = getRandomPartyMemberState(killer, 7, 3, npc); + if (qs != null) + { + if (giveItemRandomly(qs.getPlayer(), npc, SPIRIT_OF_DARKNESS, 1, 200, MONSTER_CHANCES.get(npc.getId()), true)) + { + qs.setCond(8, true); + } + } + return super.onKill(npc, killer, isSummon); + } + + public static void main(String[] args) + { + new Q00603_DaimonTheWhiteEyedPart1(); + } +} diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-01.htm new file mode 100644 index 0000000000000000000000000000000000000000..83f1c558a26db37f963307e5eed2d26b384e0c86 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-01.htm @@ -0,0 +1,4 @@ +<html><body>Chef Jeremy:<br> +It's ready. Now give me the soy sauce that I gave you earlier.<br> +<a action="bypass -h Quest Q00625_TheFinestIngredientsPart2 31521-04.htm">"Here's your Pot of Soy Sauce."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/625_TheFinestIngredientsPart2/31521-00a.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-02.htm similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/625_TheFinestIngredientsPart2/31521-00a.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-02.htm diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/625_TheFinestIngredientsPart2/31521-00b.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-03.htm similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/625_TheFinestIngredientsPart2/31521-00b.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-03.htm diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-04.htm new file mode 100644 index 0000000000000000000000000000000000000000..72d5aeb5862f1cc6ec78aa7fa46811e0b39fa6c2 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-04.htm @@ -0,0 +1,6 @@ +<html><body>Chef Jeremy:<br> +All right, now find the Icicle Emperor Bumbalump, or whatever you want to call him, and put out this food and wait.<br> + He loves to eat, and won't be able to resist such a scrumptious meal from a world-class chef!<br> + You must hurry! Kill that filthy creature and bring me his meat!<br> + One more thing... He's quite a messy eater, and sometimes the table gets broken. If that happens, wait until he fixes the table. + </body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/625_TheFinestIngredientsPart2/31521-02a.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-05.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/625_TheFinestIngredientsPart2/31521-02a.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-05.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-06.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-06.html new file mode 100644 index 0000000000000000000000000000000000000000..b44f591c07c3ac94b26e03b61d7fd4951bea1c68 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-06.html @@ -0,0 +1,4 @@ +<html><body>Chef Jeremy:<br> +Where's the Special Yeti Meat?<br> +I don't want anything else! As I said, all I need is the special meat from Bumbalump! Get it?!! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-07.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-07.html new file mode 100644 index 0000000000000000000000000000000000000000..b0eb0592721c2cd755ce503f4a6445aebb221cce --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-07.html @@ -0,0 +1,5 @@ +<html><body>Chef Jeremy:<br> +So, you slaughtered him?<br> +Did you bring the meat?<br> +<a action="bypass -h Quest Q00625_TheFinestIngredientsPart2 31521-08.html">"Here's your meat."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/625_TheFinestIngredientsPart2/31521-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-08.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/625_TheFinestIngredientsPart2/31521-04.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-08.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/625_TheFinestIngredientsPart2/31521-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-09.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/625_TheFinestIngredientsPart2/31521-05.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-09.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31542-01.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31542-01.html new file mode 100644 index 0000000000000000000000000000000000000000..12980fdb489c70b2189886d9459d685de9351549 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31542-01.html @@ -0,0 +1,4 @@ +<html><body>Yeti's Table:<br> +This is where Icicle Emperor Bumbalump eats his prey.<br> +<a action="bypass -h Quest Q00625_TheFinestIngredientsPart2 31542-02.html">Place Bumbalump's dish on table.</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/625_TheFinestIngredientsPart2/31542-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31542-02.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/625_TheFinestIngredientsPart2/31542-02.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31542-02.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/625_TheFinestIngredientsPart2/31542-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31542-03.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/625_TheFinestIngredientsPart2/31542-03.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31542-03.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/625_TheFinestIngredientsPart2/31542-04.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31542-04.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/625_TheFinestIngredientsPart2/31542-04.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31542-04.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/625_TheFinestIngredientsPart2/31542-05.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31542-05.html similarity index 100% rename from L2J_DataPack_BETA/dist/game/data/scripts/quests/625_TheFinestIngredientsPart2/31542-05.htm rename to L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31542-05.html diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/Q00625_TheFinestIngredientsPart2.java b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/Q00625_TheFinestIngredientsPart2.java new file mode 100644 index 0000000000000000000000000000000000000000..d80641fae227535333a6a83f435ed2cb80915f71 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/Q00625_TheFinestIngredientsPart2.java @@ -0,0 +1,292 @@ +/* + * Copyright (C) 2004-2014 L2J DataPack + * + * This file is part of L2J DataPack. + * + * L2J DataPack 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. + * + * L2J DataPack 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.Q00625_TheFinestIngredientsPart2; + +import com.l2jserver.gameserver.datatables.SpawnTable; +import com.l2jserver.gameserver.model.Location; +import com.l2jserver.gameserver.model.actor.L2Npc; +import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; +import com.l2jserver.gameserver.model.holders.ItemHolder; +import com.l2jserver.gameserver.model.quest.Quest; +import com.l2jserver.gameserver.model.quest.QuestState; +import com.l2jserver.gameserver.network.NpcStringId; +import com.l2jserver.gameserver.network.clientpackets.Say2; +import com.l2jserver.gameserver.network.serverpackets.NpcSay; +import com.l2jserver.gameserver.util.Util; + +/** + * The Finest Ingredients Part - 2 (625) + * @author Janiko + */ +public final class Q00625_TheFinestIngredientsPart2 extends Quest +{ + // NPCs + private static final int JEREMY = 31521; + private static final int YETIS_TABLE = 31542; + // Monster + private static final int ICICLE_EMPEROR_BUMBALUMP = 25296; + // Required Item + private static final ItemHolder SOY_SOURCE_JAR = new ItemHolder(7205, 1); + // Quest Items + private static final ItemHolder FOOD_FOR_BUMBALUMP = new ItemHolder(7209, 1); + private static final ItemHolder SPECIAL_YETI_MEAT = new ItemHolder(7210, 1); + // Rewards + private static final ItemHolder GREATER_DYE_OF_STR_1 = new ItemHolder(4589, 5); + private static final ItemHolder GREATER_DYE_OF_STR_2 = new ItemHolder(4590, 5); + private static final ItemHolder GREATER_DYE_OF_CON_1 = new ItemHolder(4591, 5); + private static final ItemHolder GREATER_DYE_OF_CON_2 = new ItemHolder(4592, 5); + private static final ItemHolder GREATER_DYE_OF_DEX_1 = new ItemHolder(4593, 5); + private static final ItemHolder GREATER_DYE_OF_DEX_2 = new ItemHolder(4594, 5); + // Location + private static final Location ICICLE_EMPEROR_BUMBALUMP_LOC = new Location(158240, -121536, -2222); + // Misc + private static final int MIN_LVL = 73; + + private Q00625_TheFinestIngredientsPart2() + { + super(625, Q00625_TheFinestIngredientsPart2.class.getSimpleName(), "The Finest Ingredients - Part 2"); + addStartNpc(JEREMY); + addTalkId(JEREMY, YETIS_TABLE); + addSpawnId(ICICLE_EMPEROR_BUMBALUMP); + addKillId(ICICLE_EMPEROR_BUMBALUMP); + registerQuestItems(FOOD_FOR_BUMBALUMP.getId(), SPECIAL_YETI_MEAT.getId()); + } + + @Override + public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, false); + String htmltext = null; + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "31521-04.htm": + { + if (qs.isCreated()) + { + qs.startQuest(); + takeItem(player, SOY_SOURCE_JAR); + giveItems(player, FOOD_FOR_BUMBALUMP); + htmltext = event; + } + break; + } + case "31521-08.html": + { + if (qs.isCond(3)) + { + if (hasItem(player, SPECIAL_YETI_MEAT)) + { + int random = getRandom(1000); + if (random < 167) + { + rewardItems(player, GREATER_DYE_OF_STR_1); + + } + else if (random < 334) + { + rewardItems(player, GREATER_DYE_OF_STR_2); + } + else if (random < 501) + { + rewardItems(player, GREATER_DYE_OF_CON_1); + } + else if (random < 668) + { + rewardItems(player, GREATER_DYE_OF_CON_2); + } + else if (random < 835) + { + rewardItems(player, GREATER_DYE_OF_DEX_1); + } + else if (random < 1000) + { + rewardItems(player, GREATER_DYE_OF_DEX_2); + } + qs.exitQuest(false, true); + htmltext = event; + } + else + { + htmltext = "31521-09.html"; + } + } + break; + } + case "31542-02.html": + { + if (qs.isCond(1)) + { + if (hasItem(player, FOOD_FOR_BUMBALUMP)) + { + if (!isBumbalumpSpawned()) + { + qs.setCond(2, true); + takeItem(player, FOOD_FOR_BUMBALUMP); + L2Npc umpaloopa = addSpawn(ICICLE_EMPEROR_BUMBALUMP, ICICLE_EMPEROR_BUMBALUMP_LOC); + umpaloopa.setSummoner(player); + htmltext = event; + } + else + { + htmltext = "31542-03.html"; + } + } + else + { + htmltext = "31542-04.html"; + } + } + break; + } + case "NPC_TALK": + { + if (isBumbalumpSpawned()) + { + npc.broadcastPacket(new NpcSay(npc.getObjectId(), Say2.NPC_ALL, npc.getTemplate().getDisplayId(), NpcStringId.OOOH)); + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(L2Npc npc, L2PcInstance talker) + { + final QuestState qs = getQuestState(talker, true); + String htmltext = getNoQuestMsg(talker); + switch (npc.getId()) + { + case JEREMY: + { + if (qs.isCreated()) + { + if (talker.getLevel() >= MIN_LVL) + { + htmltext = (hasItem(talker, SOY_SOURCE_JAR)) ? "31521-01.htm" : "31521-02.htm"; + } + else + { + htmltext = "31521-03.htm"; + } + } + else if (qs.isStarted()) + { + switch (qs.getCond()) + { + case 1: + { + htmltext = "31521-05.html"; + break; + } + case 2: + { + htmltext = "31521-06.html"; + break; + } + case 3: + { + htmltext = "31521-07.html"; + break; + } + } + } + else if (qs.isCompleted()) + { + htmltext = getAlreadyCompletedMsg(talker); + } + break; + } + case YETIS_TABLE: + { + switch (qs.getCond()) + { + case 1: + { + if (hasItem(talker, FOOD_FOR_BUMBALUMP)) + { + htmltext = "31542-01.html"; + } + break; + } + case 2: + { + if (!isBumbalumpSpawned()) + { + L2Npc umpaloopa = addSpawn(ICICLE_EMPEROR_BUMBALUMP, ICICLE_EMPEROR_BUMBALUMP_LOC); + umpaloopa.setSummoner(talker); + htmltext = "31542-02.html"; + } + else + { + htmltext = "31542-03.html"; + } + break; + } + case 3: + { + htmltext = "31542-05.html"; + break; + } + + } + break; + } + } + return htmltext; + } + + @Override + public String onSpawn(L2Npc npc) + { + startQuestTimer("NPC_TALK", 1000 * 1200, npc, null); + npc.broadcastPacket(new NpcSay(npc.getObjectId(), Say2.NPC_ALL, npc.getTemplate().getDisplayId(), NpcStringId.I_SMELL_SOMETHING_DELICIOUS)); + return super.onSpawn(npc); + } + + @Override + public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon) + { + final QuestState qs = getRandomPartyMemberState(killer, 1, 2, npc); + if ((qs != null) && Util.checkIfInRange(1500, npc, killer, true)) + { + if (npc.getSummoner() == killer) + { + qs.setCond(3, true); + giveItems(qs.getPlayer(), SPECIAL_YETI_MEAT); + } + } + return super.onKill(npc, killer, isSummon); + } + + private static boolean isBumbalumpSpawned() + { + return SpawnTable.getInstance().getFirstSpawn(ICICLE_EMPEROR_BUMBALUMP) != null; + } + + public static void main(String[] args) + { + new Q00625_TheFinestIngredientsPart2(); + } +} \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00661_MakingTheHarvestGroundsSafe/30210-01.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00661_MakingTheHarvestGroundsSafe/30210-01.htm new file mode 100644 index 0000000000000000000000000000000000000000..ecc72cc3c3a32c1cc3ecc60f81fed97a68892d3a --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00661_MakingTheHarvestGroundsSafe/30210-01.htm @@ -0,0 +1,8 @@ +<html><body>Warehouse Keeper Norman:<br> +We of the Iron Gate Guild are currently participating in various reconstruction works to restore Gludio Territory from the devastation of war...<br> +We've obtained permission from the Lord to start a construction project in this area.<br> +We've been having problems with monsters rampaging through the Fellmere Harvesting Grounds that produce our construction materials, so we're not making much progress...<br> +Other factors have led to a shortage of resources in the manor. The Lord is seeking adventurers to help us solve this problem...<br> +Will you help us rebuild Gludio Territory?<br> +<a action="bypass -h Quest Q00661_MakingTheHarvestGroundsSafe 30210-03.htm">"I'll help you."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00661_MakingTheHarvestGroundsSafe/30210-02.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00661_MakingTheHarvestGroundsSafe/30210-02.htm new file mode 100644 index 0000000000000000000000000000000000000000..f49212476e2b9aca2b8de6595f62b7e88dc1fc32 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00661_MakingTheHarvestGroundsSafe/30210-02.htm @@ -0,0 +1,8 @@ +<html><body>Warehouse Keeper Norman:<br> +Our guild, The Iron Gate, is involved with various reconstruction efforts to restore Gludio Territory from the devastation of war.<br> +We've gotten the Lord's permission to begin reconstruction in this area...<br> +But monsters have begun appearing in the Fellmere Harvesting Grounds where we get many of our important construction materials...<br> +Other factors have led to a shortage of resources in the manor. The Lord is seeking adventurer's help.<br> +When you have enough power, we could use your help!<br> +(Only characters level 21 or above may undertake this quest.) +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00661_MakingTheHarvestGroundsSafe/30210-03.htm b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00661_MakingTheHarvestGroundsSafe/30210-03.htm new file mode 100644 index 0000000000000000000000000000000000000000..526d0824747e224bd54cf0e7f2635729e9840259 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00661_MakingTheHarvestGroundsSafe/30210-03.htm @@ -0,0 +1,3 @@ +<html><body>Warehouse Keeper Norman:<br> +Excellent! Go to the Fellmere Harvesting Grounds and defeat the <font color= "LEVEL">Giant Poison Bee, Cloudy Beast and Young Araneid</font> that are impeding our work. And don't forget to bring me proof of your kills... Good luck! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00661_MakingTheHarvestGroundsSafe/30210-04.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00661_MakingTheHarvestGroundsSafe/30210-04.html new file mode 100644 index 0000000000000000000000000000000000000000..b688365ed355f1614ab0c8315de5c1f387db83bf --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00661_MakingTheHarvestGroundsSafe/30210-04.html @@ -0,0 +1,4 @@ +<html><body>Warehouse Keeper Norman:<br> +Oh, you're back so soon? The Lord wants the reconstruction effort started as soon as possible... We really need your help! Cam you prove that you're valuable enough for the reconstruction effort?<br> +<a action="bypass -h Quest Q00661_MakingTheHarvestGroundsSafe 30210-08.html">"Here's the proof."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00661_MakingTheHarvestGroundsSafe/30210-05.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00661_MakingTheHarvestGroundsSafe/30210-05.html new file mode 100644 index 0000000000000000000000000000000000000000..e4323b8e716c7bda302643a5830f9ca8658924e6 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00661_MakingTheHarvestGroundsSafe/30210-05.html @@ -0,0 +1,3 @@ +<html><body>Warehouse Keeper Norman:<br> +Oh, how was it? The Lord wants us to proceed with the reconstruction project as soon as possible... We must have your help! Go to the Fellmere Harvesting Grounds quickly and bring me the evidence that you eliminated those nasty, vile monsters. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00661_MakingTheHarvestGroundsSafe/30210-06.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00661_MakingTheHarvestGroundsSafe/30210-06.html new file mode 100644 index 0000000000000000000000000000000000000000..93013496194a77b6c347112782395e1fc887aceb --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00661_MakingTheHarvestGroundsSafe/30210-06.html @@ -0,0 +1,3 @@ +<html><body>Warehouse Keeper Norman:<br> +Thank you! We'll engrave your name on the cornerstone of a building when we begin the reconstruction! Go to the Fellmere Harvesting Grounds quickly and bring me the evidence that you've eliminated those monsters. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00661_MakingTheHarvestGroundsSafe/30210-07.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00661_MakingTheHarvestGroundsSafe/30210-07.html new file mode 100644 index 0000000000000000000000000000000000000000..9e732a5bea675d601378682aecd843b12feb58a1 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00661_MakingTheHarvestGroundsSafe/30210-07.html @@ -0,0 +1,3 @@ +<html><body>Warehouse Keeper Norman:<br> +Oh, how was it? The Lord wants us to proceed with the reconstruction project as soon as possible... We must have your help! Go to the Fellmere Harvesting Grounds quickly and bring me the evidence that you eliminated those monsters. +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00661_MakingTheHarvestGroundsSafe/30210-08.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00661_MakingTheHarvestGroundsSafe/30210-08.html new file mode 100644 index 0000000000000000000000000000000000000000..bdfac37255be028c8dc51a178a6d55570bc93173 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00661_MakingTheHarvestGroundsSafe/30210-08.html @@ -0,0 +1,5 @@ +<html><body>Warehouse Keeper Norman:<br> +Here is the reward for your hard work... The reward is provided by the Iron Gate Guild and the Gludio Territory Reconstruction Fund... What! It's not enough? Then kill some more monsters and bring me the proofs!<br> +<a action="bypass -h Quest Q00661_MakingTheHarvestGroundsSafe 30210-06.html">"I'll keep working for you."</a><br> +<a action="bypass -h Quest Q00661_MakingTheHarvestGroundsSafe 30210-09.html">"I quit."</a> +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00661_MakingTheHarvestGroundsSafe/30210-09.html b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00661_MakingTheHarvestGroundsSafe/30210-09.html new file mode 100644 index 0000000000000000000000000000000000000000..bc7da61987622c26466a8fcd149cbe86e4f14559 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00661_MakingTheHarvestGroundsSafe/30210-09.html @@ -0,0 +1,3 @@ +<html><body>Warehouse Keeper Norman:<br> +Hmmm, perhaps you have a better source for making Adena... Or are you just going on to more exciting adventures? Please remember us, the Iron Gate Guild that strives to reconstruct Gludio Territory. Good luck! +</body></html> \ No newline at end of file diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00661_MakingTheHarvestGroundsSafe/Q00661_MakingTheHarvestGroundsSafe.java b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00661_MakingTheHarvestGroundsSafe/Q00661_MakingTheHarvestGroundsSafe.java new file mode 100644 index 0000000000000000000000000000000000000000..f441cab08e0e2c8baca6c0fcdebdd878bec886e0 --- /dev/null +++ b/L2J_DataPack_BETA/dist/game/data/scripts/quests/Q00661_MakingTheHarvestGroundsSafe/Q00661_MakingTheHarvestGroundsSafe.java @@ -0,0 +1,162 @@ +/* + * Copyright (C) 2004-2014 L2J DataPack + * + * This file is part of L2J DataPack. + * + * L2J DataPack 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. + * + * L2J DataPack 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.Q00661_MakingTheHarvestGroundsSafe; + +import java.util.HashMap; +import java.util.Map; + +import com.l2jserver.gameserver.model.actor.L2Npc; +import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; +import com.l2jserver.gameserver.model.holders.ItemChanceHolder; +import com.l2jserver.gameserver.model.quest.Quest; +import com.l2jserver.gameserver.model.quest.QuestState; +import com.l2jserver.gameserver.model.quest.State; + +/** + * Making the Harvest Grounds Safe (661) + * @author Pandragon + */ +public final class Q00661_MakingTheHarvestGroundsSafe extends Quest +{ + // NPC + private static final int NORMAN = 30210; + // Items + private static final int BIG_HORNET_STING = 8283; + private static final int CLOUD_GEM = 8284; + private static final int YOUNG_ARANEID_CLAW = 8285; + // Monsters + private final Map<Integer, ItemChanceHolder> MONSTER_CHANCES = new HashMap<>(); + { + MONSTER_CHANCES.put(21095, new ItemChanceHolder(BIG_HORNET_STING, 0.508)); // Giant Poison Bee + MONSTER_CHANCES.put(21096, new ItemChanceHolder(CLOUD_GEM, 0.5)); // Cloudy Beast + MONSTER_CHANCES.put(21097, new ItemChanceHolder(YOUNG_ARANEID_CLAW, 0.516)); // Young Araneid + } + // Misc + private static final int MIN_LVL = 21; + + private Q00661_MakingTheHarvestGroundsSafe() + { + super(661, Q00661_MakingTheHarvestGroundsSafe.class.getSimpleName(), "Making the Harvest Grounds Safe"); + addStartNpc(NORMAN); + addTalkId(NORMAN); + addKillId(MONSTER_CHANCES.keySet()); + registerQuestItems(BIG_HORNET_STING, CLOUD_GEM, YOUNG_ARANEID_CLAW); + } + + @Override + public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, false); + String htmltext = null; + if (qs == null) + { + return htmltext; + } + + switch (event) + { + case "30210-01.htm": + case "30210-02.htm": + case "30210-04.html": + case "30210-06.html": + { + htmltext = event; + break; + } + case "30210-03.htm": + { + if (qs.isCreated()) + { + qs.startQuest(); + htmltext = event; + } + break; + } + case "30210-08.html": + { + long stingCount = getQuestItemsCount(player, BIG_HORNET_STING); + long gemCount = getQuestItemsCount(player, CLOUD_GEM); + long clawCount = getQuestItemsCount(player, YOUNG_ARANEID_CLAW); + long reward = (57 * stingCount) + (56 * gemCount) + (60 * clawCount); + if ((stingCount + gemCount + clawCount) >= 10) + { + reward += 5773; + } + takeItems(player, BIG_HORNET_STING, -1); + takeItems(player, CLOUD_GEM, -1); + takeItems(player, YOUNG_ARANEID_CLAW, -1); + giveAdena(player, reward, true); + htmltext = event; + break; + } + case "30210-09.html": + { + qs.exitQuest(true, true); + htmltext = event; + break; + } + } + return htmltext; + } + + @Override + public String onTalk(L2Npc npc, L2PcInstance talker) + { + final QuestState qs = getQuestState(talker, true); + String htmltext = getNoQuestMsg(talker); + switch (qs.getState()) + { + case State.CREATED: + { + htmltext = (talker.getLevel() >= MIN_LVL) ? "30210-01.htm" : "30210-02.htm"; + break; + } + case State.STARTED: + { + if (hasQuestItems(talker, BIG_HORNET_STING, CLOUD_GEM, YOUNG_ARANEID_CLAW)) + { + htmltext = "30210-04.html"; + } + else + { + htmltext = "30210-05.html"; + } + break; + } + } + return htmltext; + } + + @Override + public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon) + { + final QuestState qs = getRandomPartyMemberState(killer, -1, 3, npc); + if (qs != null) + { + final ItemChanceHolder item = MONSTER_CHANCES.get(npc.getId()); + giveItemRandomly(qs.getPlayer(), npc, item.getId(), item.getCount(), 0, item.getChance(), true); + } + return super.onKill(npc, killer, isSummon); + } + + public static void main(String[] args) + { + new Q00661_MakingTheHarvestGroundsSafe(); + } +} diff --git a/L2J_DataPack_BETA/dist/sql/game/updates/20140319update.sql b/L2J_DataPack_BETA/dist/sql/game/updates/20140319update.sql new file mode 100644 index 0000000000000000000000000000000000000000..e342b1300abe7549e9c6cf230b43a2e75ec7ffc3 --- /dev/null +++ b/L2J_DataPack_BETA/dist/sql/game/updates/20140319update.sql @@ -0,0 +1,11 @@ +UPDATE character_quests SET name='Q00154_SacrificeToTheSea' WHERE name='154_SacrificeToSea'; +UPDATE character_quests SET name='Q00344_1000YearsTheEndOfLamentation' WHERE name='344_1000YearsEndofLamentation'; +UPDATE character_quests SET name='Q00347_GoGetTheCalculator' WHERE name='347_GoGetTheCalculator'; +UPDATE character_quests SET name='Q00380_BringOutTheFlavorOfIngredients' WHERE name='380_BringOutTheFlavorOfIngredients'; +UPDATE character_quests SET name='Q00381_LetsBecomeARoyalMember' WHERE name='381_LetsBecomeARoyalMember'; +UPDATE character_quests SET name='Q00382_KailsMagicCoin' WHERE name='382_KailsMagicCoin'; +UPDATE character_quests SET name='Q00385_YokeOfThePast' WHERE name='385_YokeofthePast'; +UPDATE character_quests SET name='Q00420_LittleWing' WHERE name='420_LittleWings'; +UPDATE character_quests SET name='Q00421_LittleWingsBigAdventure' WHERE name='421_LittleWingAdventures'; +UPDATE character_quests SET name='Q00625_TheFinestIngredientsPart2' WHERE name='625_TheFinestIngredientsPart2'; +UPDATE character_quests SET name='Q00661_MakingTheHarvestGroundsSafe' WHERE name='661_TheHarvestGroundsSafe'; \ No newline at end of file