Jump to content

[SHARE] 131_BirdInACage


Recommended Posts

I have made a patch for 131_BirdInACage.

Make sure you got the 131_BirdInACage folder in your data to apply patch !

 

Credits to Charus  l2jserver forum.

 

Index: data/scripts/quests/131_BirdInACage/32264.htm
===================================================================
--- data/scripts/quests/131_BirdInACage/32264.htm	(revision 0)
+++ data/scripts/quests/131_BirdInACage/32264.htm	(revision 0)
@@ -0,0 +1,5 @@
+<html><body>Priest Kanis:<br>
+I am Priest Kanis, and I serve the great Shamaness Parme of the Crystal Oracle, who offered herself as a sacrifice in order to appease the Water Dragon Fafurion.<br>
+Several days ago, Demons, crazed sevants of the Water Dragon and Crystal Golems attacked the Oracle it was completely destroyed, and the people of the Oracle was killed or captured.<br>
+Only I was abble to escape to seek help...<br>
+<a action="bypass -h npc_%objectId%_Quest">Quest.</a>
+</body></html>
\ No newline at end of file
Index: data/scripts/quests/131_BirdInACage/32264-01.htm
===================================================================
--- data/scripts/quests/131_BirdInACage/32264-01.htm	(revision 0)
+++ data/scripts/quests/131_BirdInACage/32264-01.htm	(revision 0)
@@ -0,0 +1,5 @@
+<html><body>Priest Kanis:<br>
+On the day of the attack on the Crystal Oracle, the Oracle's Shamaness was also lost.<br>
+After much effort, I was finally able to determine her whereabouts.<br>
+But my skill is insufficient to defeat the monster that guards her.<br>
+I need the help of an experienced adventurer.<br>
+<a action="bypass -h Quest 131_BirdInACage 32264-02.htm">"I will help."</a>
</body></html>
\ No newline at end of file
Index: data/scripts/quests/131_BirdInACage/32264-02.htm
===================================================================
--- data/scripts/quests/131_BirdInACage/32264-02.htm	(revision 0)
+++ data/scripts/quests/131_BirdInACage/32264-02.htm	(revision 0)
@@ -0,0 +1,5 @@
+<html><body>Priest Kanis:<br>
+Thank you for agreeing to help.<br>
+The Shamaness is being held captive in the Crystal Caverns of the Water Dragon at the center of this land.<br>
+<a action="bypass -h Quest 131_BirdInACage 32264-03.htm">"What happened at the Crystal Oracle, and why is the Shamaness being held captive?"</a>
+</body></html>
\ No newline at end of file
Index: data/scripts/quests/131_BirdInACage/32264-03.htm
===================================================================
--- data/scripts/quests/131_BirdInACage/32264-03.htm	(revision 0)
+++ data/scripts/quests/131_BirdInACage/32264-03.htm	(revision 0)
@@ -0,0 +1,5 @@
+<html><body>Priest kanis:<br>
+In the past, the Water Dragon rose up because of the conflict between the Water Dragon's anger, which was fueled by Shilen's influence, and its original heart.<br>
+The Innadril Elves and the goddess Eva, who felt pity for the Dragon, used a special method to commune with it. They selected and Elf maiden to serve as the Dragon's Shamaness in order to provide it with some comfort.<br>
+The servants of the Water Dragon build this Crystal Oracle for the Shamaness.<br>
+<a action="bypass -h Quest 131_BirdInACage 32264-04.htm">"Keep listening."</a>
+</body></html>
\ No newline at end of file
Index: data/scripts/quests/131_BirdInACage/32264-04.htm
===================================================================
--- data/scripts/quests/131_BirdInACage/32264-04.htm	(revision 0)
+++ data/scripts/quests/131_BirdInACage/32264-04.htm	(revision 0)
@@ -0,0 +1,5 @@
+<html><body>Priest kanis:<br>
+Recently, however, the Shamaness began to act strangely, and the Water Dragon stopped coming.<br>
+Then monsters that had never appeared here before attacked the Crystal Oracle, along with many of the Water Dragon's servants -- including even the Crystal Golems that had previously protected us.
+Many people were killed or captured, including the Shamaness...<br>
+(Kanis looks like he is reliving the experience.)<br>
+<a action="bypass -h Quest 131_BirdInACage 32264-05.htm">"Wait until Kanis calms down."</a>
+</body></html>
\ No newline at end of file
Index: data/scripts/quests/131_BirdInACage/32264-05.htm
===================================================================
--- data/scripts/quests/131_BirdInACage/32264-05.htm	(revision 0)
+++ data/scripts/quests/131_BirdInACage/32264-05.htm	(revision 0)
@@ -0,0 +1,5 @@
+<html><body>Priest Kanis:<br>
+(Kanis calms down and continues the story.)<br>
+I escaped to Gakas and made many dangerous attempts to fin the location of the Shamaness.<br>
+During my search, I found diaries of the Shamaness'maidservant and her supervisor.<br>
+<a action="bypass -h Quest 131_BirdInACage 32264-06.htm">"What did you learn from the diaries?"</a>
+</body></html>
\ No newline at end of file
Index: data/scripts/quests/131_BirdInACage/32264-06.htm
===================================================================
--- data/scripts/quests/131_BirdInACage/32264-06.htm	(revision 0)
+++ data/scripts/quests/131_BirdInACage/32264-06.htm	(revision 0)
@@ -0,0 +1,5 @@
+<html><body>Priest Kanis:<br>
+Considering all that has happened, it is clear to me that some evil force is trying to use the Shamaness to obtain the Water Dragon's power.<br>
+It must have disguised itself as a hurt, weak creature and entered the most vulnerable part of the Shamaness' mind.<br>
+By the time the Shamaness realized that something was wrong, the evil force had managed to obtain nearly all of the Water Dragon's power.<br>
+If the Shamaness were restored the her own mind, it would undoubtedly feel the wrath of the Water Dragon...<br>
+The evil force realized this and acted first by attacking the Crystal Oracle and imprisoning the Shamaness some place she cannot communicate with the Water Dragon.<br>
+<a action="bypass -h Quest 131_BirdInACage 32264-07.htm">"How did you find the place where she is being held?"</a>
+</body></html>
\ No newline at end of file
Index: data/scripts/quests/131_BirdInACage/32264-07.htm
===================================================================
--- data/scripts/quests/131_BirdInACage/32264-07.htm	(revision 0)
+++ data/scripts/quests/131_BirdInACage/32264-07.htm	(revision 0)
@@ -0,0 +1,5 @@
+<html><body>Priest Kanis:<br>
+I was able to determine the Shamaness'location by using a relic of Eva that contains the power of the Water Dragon.<br>
+...<br>
+Take this Echo Crystal for now.<br>
+When I confirmed her location through the relic, I was also able to ascertain a little about her condition.<br>
+It seems that her mind has been sealed in order to block her from communication with the Water Dragon.<br>
+When you find her, you may need this Echo Crystal, which contains the voice of her mother, also a famous priestess.<br>
+<a action="bypass -h Quest 131_BirdInACage 32264-08.htm">"Take the Echo Crystal from Kanis."</a>
+</body></html>
\ No newline at end of file
Index: data/scripts/quests/131_BirdInACage/32264-08.htm
===================================================================
--- data/scripts/quests/131_BirdInACage/32264-08.htm	(revision 0)
+++ data/scripts/quests/131_BirdInACage/32264-08.htm	(revision 0)
@@ -0,0 +1,5 @@
+<html><body>Priest Kanis:<br>
+They say that a monster named <font color="LEVEL">Baylor</font> rules over the <font color="LEVEL">Water Dragon's Cave</font>.<br>
+I believe that Baylor guards the place where the Shamaness is being held captive.
+If that is the case, you will only be able to reach the Shamaness by defeating Baylor.
+That creature is said to be far stronger and more frightening that ordinary monsters, so please be careful...<br>
+<a action="bypass -h Quest 131_BirdInACage 32264-09.htm">"I will depart now."</a>
+</body></html>
\ No newline at end of file
Index: data/scripts/quests/131_BirdInACage/32264-09.htm
===================================================================
--- data/scripts/quests/131_BirdInACage/32264-09.htm	(revision 0)
+++ data/scripts/quests/131_BirdInACage/32264-09.htm	(revision 0)
@@ -0,0 +1,5 @@
+<html><body>Priest Kanis:<br>
+I entreat you...<br>
+You will only be able to reach the location where the Shamaness is being held captive after defeating the evil creature named Baylor.<br>
+You can enter the Water Dragon's Cave using the <font color="LEVEL">Contaminated Crystal</font> from the <font color="LEVEL">Dark cloud Mansion</font>. Please be careful...and good luck!<br>
+</body></html>
\ No newline at end of file
Index: data/scripts/quests/131_BirdInACage/32264-11.htm
===================================================================
--- data/scripts/quests/131_BirdInACage/32264-11.htm	(revision 0)
+++ data/scripts/quests/131_BirdInACage/32264-11.htm	(revision 0)
@@ -0,0 +1,5 @@
+<html><body>Priest Kanis:<br>
+Oh...?<br>
+Have you rescued the Shamaness?<br>
+Where is the Shamaness?<br>
+Did you fail to find her?<br>
+<a action="bypass -h Quest 131_BirdInACage 32264-12.htm">"Calm the flustered Kanis and hand him the Shamaness' letter."</a>
+</body></html>
\ No newline at end of file
Index: data/scripts/quests/131_BirdInACage/32264-12.htm
===================================================================
--- data/scripts/quests/131_BirdInACage/32264-12.htm	(revision 0)
+++ data/scripts/quests/131_BirdInACage/32264-12.htm	(revision 0)
@@ -0,0 +1,5 @@
+<html><body>Priest Kanis:<br>
+(Kanis begins to read the Shamaness'letter. His expression brightens.)<br>
+Oh, thanks you!<br>
+(Tears form in Kanis'eyes.)<br>
+Thank you very much!<br>
+The Shamaness will be safe in this secret location.<br>
+You are a true benefactor of this Crystal Island.<br>
+<a action="bypass -h Quest 131_BirdInACage 32264-13.htm">"During our escape from the Crystal Dungeon the Shamaness said that Beleth was responsible for this."</a>
+</body></html>
\ No newline at end of file
Index: data/scripts/quests/131_BirdInACage/32264-13.htm
===================================================================
--- data/scripts/quests/131_BirdInACage/32264-13.htm	(revision 0)
+++ data/scripts/quests/131_BirdInACage/32264-13.htm	(revision 0)
@@ -0,0 +1,5 @@
+<html><body>Priest kanis:<br>
+Ah, the notorious Demon Beleth... So the Shamaness reports in her letter.<br>
+She says that she was due to be transported shortly to Beleth's stronghold on Hellbound Island.<br>
+You succeeded in rescuing her in the nick of time!<br>
+This could have been an even worse disaster...<br>
+Apparently, though, several others from the Oracle, including several high-level priests with the weakened power of the Water Dragon, where taken to there.<br>
+Once Innadril's Elven Army has been summoned, it will likely have to mount a major rescue operation.<br>
+The Shamaness was able to describe in general terms the presumed location of Beleth's stronghold.<br>
+I now have many things to attend to.<br>
+Oh, this is one of the Oracle's treasures -- the Shamaness has instructed me to give it to you with her gratitude.<br>
+Please speak to me if you are interested in Beleth's stronghold on Hellbound Island...<br>
+Thank you again for all your help.<br>
+I will pray that divine blessings rain down upon your path.
+</body></html>
\ No newline at end of file
Index: data/scripts/quests/131_BirdInACage/32271-01.htm
===================================================================
--- data/scripts/quests/131_BirdInACage/32271-01.htm	(revision 0)
+++ data/scripts/quests/131_BirdInACage/32271-01.htm	(revision 0)
@@ -0,0 +1,5 @@
+<html><body>Water Dragon's Shamaness Parme:<br>
+(Suddenly, an ethereal and sorrowful melody beings to flow from the Echo Crystal you received from Kanis.<br>
+The Shamaness' body is engulfed in a light, and her eyes come back into focus as she clutches her head and shrieks in pain.<br>
+A moment later...<br>
+(She seems to recover, although still appears somewhat disoriented.)<br>
+Who...who...are you?<br>
+And where... am I?<br>
+<a action="bypass -h Quest 131_BirdInACage 32271-02.htm">"Explain what happened."</a>
+</body></html>
\ No newline at end of file
Index: data/scripts/quests/131_BirdInACage/32271-02.htm
===================================================================
--- data/scripts/quests/131_BirdInACage/32271-02.htm	(revision 0)
+++ data/scripts/quests/131_BirdInACage/32271-02.htm	(revision 0)
@@ -0,0 +1,5 @@
+<html><body>Water Dragon's Shamaness Parme:<br>
+(As she listens, the Shamaness continues to tenderly hold her head in her hands.)<br>
+Uhh... Uhh...<br>
+...<br>
+Ahh! I remember everything now.<br>
+Thank you very much.<br>
+There is so much to tell, but...<br>
+It would be best to leave this place first.<br>
+I will go to a secret location to take care of a number of tasks for the Water Dragon that cannot be delayed.<br>
+I am sorry to not be able to tell you more, even after you saved me.<br>
+But it is that important...<br>
+I will teleport you outside.<br>
+(The Shamaness begins to write a letter.)<br>
+Please deliver this letter to Kanis.<br>
+We must go now!<br>
+(The Shamaness concentrates for a moment and then begins chanting a spell.)<br>
+<a action="bypass -h Quest 131_BirdInACage 32271-03.htm">"Take the letter and wait until the spell is complete."</a>
+</body></html>
\ No newline at end of file
Index: data/scripts/quests/131_BirdInACage/32271-03.htm
===================================================================
--- data/scripts/quests/131_BirdInACage/32271-03.htm	(revision 0)
+++ data/scripts/quests/131_BirdInACage/32271-03.htm	(revision 0)
@@ -0,0 +1,5 @@
+<html><body>Water Dragon Shamaness Parme:<br>
+While being teleported through the power of the Shamaness, you hear her final whisper in your ear:<br>
+The name of the one who destroyed the Oracle and trapped me in this place is...<br><br>
+Be...le...th...
+</body></html>
\ No newline at end of file
Index: data/scripts/quests/131_BirdInACage/__init__.py
===================================================================
--- data/scripts/quests/131_BirdInACage/__init__.py	(revision 0)
+++ data/scripts/quests/131_BirdInACage/__init__.py	(revision 0)
@@ -0,0 +1,5 @@
+# Made by Bloodshed and Charus (last update 6 sept. 2008)
+import sys
+from net.sf.l2j.gameserver.model.quest import State
+from net.sf.l2j.gameserver.model.quest import QuestState
+from net.sf.l2j.gameserver.model.quest.jython import QuestJython as JQuest
+
+qn = "131_BirdInACage"
+
+#NPCs
+KANIS = 32264
+PARME = 32271
+
+#ITEMS
+PARMES_LETTER = 9784
+ECHO_CRYSTAL = 9783
+
+class Quest (JQuest) :
+
+ def __init__(self,id,name,descr):
+     JQuest.__init__(self,id,name,descr)
+     self.questItemIds = [PARMES_LETTER,ECHO_CRYSTAL]
+
+ def onEvent (self,event,st) :
+   htmltext = event
+   if event == "32264-02.htm" :
+     st.set("cond","1")
+     st.setState(State.STARTED)
+     st.playSound("ItemSound.quest_accept")
+   elif event == "32264-08.htm" :
+     st.set("cond","2")
+     st.giveItems(ECHO_CRYSTAL,1)
+     st.playSound("ItemSound.quest_middle")
+   elif event == "32271-03.htm" :
+     st.set("cond","3")
+     st.giveItems(PARMES_LETTER,1)
+     st.playSound("ItemSound.quest_middle")
+     st.getPlayer().teleToLocation(149369,174197,-902) #Location is Parnassus at this time since i don't know where she spawns u on retail yet.
+   elif event == "32264-12.htm" :
+     st.takeItems(PARMES_LETTER,-1)
+     st.playSound("ItemSound.quest_middle")
+   elif event == "32264-13.htm" :
+     st.takeItems(ECHO_CRYSTAL,-1)
+     st.addExpAndSp(1304752,0)
+     st.playSound("ItemSound.quest_finish")
+     st.exitQuest(False)
+   return htmltext
+
+ def onTalk (self,npc,player):
+   st = player.getQuestState(qn)
+   htmltext = "<html><body>You are either not on a quest that involves this NPC, or you don't meet this NPC's minimum quest requirements.</body></html>"
+   if not st : return htmltext
+
+   npcId = npc.getNpcId()
+   id = st.getState()
+   cond = st.getInt("cond")
+
+   if id == State.COMPLETED :
+     htmltext = "<html><body>This quest has already been completed.</body></html>"
+
+   elif npcId == KANIS :
+     if cond == 0 :
+       if player.getLevel() >= 78 :
+         htmltext = "32264-01.htm"
+       else :
+         htmltext = "32264-00.htm"
+         st.exitQuest(1)
+     elif cond == 3 :
+       if st.getQuestItemsCount(ECHO_CRYSTAL) == 1 and st.getQuestItemsCount(PARMES_LETTER) == 1 :
+         htmltext = "32264-11.htm"
+   elif npcId == PARME :
+     if st.getQuestItemsCount(ECHO_CRYSTAL) == 1 :
+       htmltext = "32271-01.htm"
+   return htmltext
+
+QUEST = Quest(131,qn,"Bird in a Cage")
+
+QUEST.addStartNpc(KANIS)
+
+QUEST.addTalkId(KANIS)
+QUEST.addTalkId(PARME)
\ No newline at end of file

 

I tested the patch and it works.

I'm not sure the quest works 100%

 

Coments are welcome :D

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • New Season coming May 2024! First post updated      Website: L2Kain.net  Discord: https://discord.gg/l2kain  Wiki: https://info.kain.ws/   Important Dates   Server Start: TBD  Open Beta Test: 10th of May 2024!   Basic Information     Briefly about the concept of the server! We decided to move away from the standard Mid-Rate server concept and keep the mechanics of our beloved Lineage 2 that everyone loves! Massive battles for epic bosses, battles for profitable farming locations, resource spoilage and equipment crafting, daily instances, a balanced economy and much more. This server is build as a Craft-PvP concept. The goal is to gather players with a variety of preferences in the game and make a high-quality and interesting server with alternative character development options. We are well aware that "grinding" is an integral part of the game, but we diluted the boring and the same type of farming with interesting solutions and non-standard mechanics!   We have prepared a new High Five x25 on Modern Client for you. This server will be another step in the development of the platform and the project as a whole! Your appeals to those. support was not ignored, which means the new server will be even better than the previous one!      ⭐ Promotions and Bonuses for new players!     ⭐ Events and Giveaways daily!   ⭐ Rewards for Voting!   ℹ️ Server Rates Learn more about server rates! Server rates are configured in such a way that farming is best rewarded. Adena, drops, quests, various rewards and prices in the game store are well balanced among themselves!   Basic Server Rates:  ⭐ Experience & Skill Points - x25  ⭐ Adena Drop - x15 & Fixed Chance 66%  ⭐ Drop Rates - x10  ⭐ Spoil Rates - x10   Crafting keys, recipes drop & spoil with fixed amount from 2 to 3 and increased chances on all locations and quests  related to farm them.  ⭐ Quest Rates - x5  ⭐ Fortresses & Sieges - x5  ⭐ Raid Bosses & Epic Bosses - x1  ⭐ Weight Limit - x10      Connect with Us:  Discord: https://discord.gg/l2kain  Facebook: https://www.facebook.com/KainLineage2  TikTok: https://www.tiktok.com/@l2kain.net  YouTube: https://www.youtube.com/@Lineage2Kain
    • Relevant! I sell forum listings and also post and promote your topics on forums!
  • Topics

×
×
  • Create New...