Sync with L2JServer Jan 24th 2015.
This commit is contained in:
		
							
								
								
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-01.htm
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-01.htm
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| <html><body>Innocentin:<br> | ||||
| You've been a great help to me in the past, and I'd like to thank you again for bringing me that report! There's one more thing... Could you help me out again?<br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart ACCEPT">"OK, whatever."</a> | ||||
| </body></html> | ||||
							
								
								
									
										6
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-01a.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-01a.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| <html><body>Innocentin:<br> | ||||
| This is something you can get started on immediately!<br> | ||||
| There's a vast conspiracy afoot in the Rune Township and the Forest of the Dead!<br> | ||||
| The roots of this conspiracy lie in that forest, and you should seek the truth there.<br> | ||||
| (This quest may only be undertaken by a character of level 64 or above who has completed the Hidden Truth and Tragedy of Hellmann Forest quests.) | ||||
| </body></html> | ||||
							
								
								
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-02.htm
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-02.htm
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| <html><body>Innocentin:<br> | ||||
| You look tired, my friend! Why don't you take a break, improve your ability and then come back! This next mission is much more challenging than the last one...<br> | ||||
| (This quest may only be undertaken by a character of level 64 or above who has completed the Tragedy of Hellmann Forest quest.) | ||||
| </body></html> | ||||
							
								
								
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-03.htm
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-03.htm
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| <html><body>Innocentin:<br> | ||||
| Here's the Map and key he left behind. Take them and find out what he was searching for.<br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31328-05.html">"Tell me more about the Map and key."</a> | ||||
| </body></html> | ||||
							
								
								
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-04.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-04.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| <html><body>Innocentin:<br> | ||||
| He probably drew this Map while exploring the Forest of the Dead. As for the key... I'm not sure. The only clue I've found is the Silver Spear engraved upon it.<br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31328-06.html">"Tell me more about the Silver Spear."</a> | ||||
| </body></html> | ||||
							
								
								
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-05.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-05.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| <html><body>Innocentin:<br> | ||||
| He probably drew this Map while exploring the Forest of the Dead. As for the key... I'm not sure. The only clue I've found is the Silver Spear engraved upon it.<br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31328-06.html">"Tell me more about the Silver Spear."</a> | ||||
| </body></html> | ||||
							
								
								
									
										6
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-06.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-06.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| <html><body>Innocentin:<br> | ||||
| According to a custom from the Elmoreden period, a Silver Spear was the symbol of the family responsible for guarding the royal family.<br> | ||||
| An ancient proverb says, <font color="LEVEL">"A jeweled scepter for the mighty King of Elmore and two Silver Spears for his protectors"</font>.<br> | ||||
| I'll wager that somewhere is a lock that matches this key...<br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31328-07.html">"Who holds the spear now?"</a> | ||||
| </body></html> | ||||
							
								
								
									
										5
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-07.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-07.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| <html><body>High Priestess Innocentin:<br> | ||||
| Today's silver spears are dedicated to the people who worked hard to suppress the rebellion. One is for the protectors of the royal family, who captured and punished the rebels, and one is for those who fought against the undead and captured the demon's followers... and it will therefore be a dedication that upholds the false accusations against our former priests.<br> | ||||
| The one responsible for all this is staying at the temple in Rune Castle Town.<br> | ||||
| Please don't ask any more questions. Just take the records that he left behind, and find out where that key fits. | ||||
| </body></html> | ||||
							
								
								
									
										3
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-08.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-08.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| <html><body>Innocentin:<br> | ||||
| You must find the lock that matches that key! It would probably be in the possession of a family worthy of the spear! | ||||
| </body></html> | ||||
							
								
								
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-09.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-09.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| <html><body>Innocentin:<br> | ||||
| So, did you find anything?<br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31328-10.html">"Here is the diary and the hairpin."</a> | ||||
| </body></html> | ||||
							
								
								
									
										6
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-10.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-10.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| <html><body>Innocentin:<br> | ||||
| Please! Put those things away...Please!<br> | ||||
| I'm sorry, but the power of darkness contained in them is overpowering! I can't even look at them...<br> | ||||
| How about you? Are you okay?<br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31328-11.html">"I'm fine."</a> | ||||
| </body></html> | ||||
							
								
								
									
										5
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-11.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-11.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| <html><body>Innocentin:<br> | ||||
| Really? Have you read it?<br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31328-13.html">"Yes, I read it."</a><br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31328-12.html">"No, I haven't read it."</a> | ||||
| </body></html> | ||||
							
								
								
									
										3
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-12.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-12.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| <html><body>Innocentin:<br> | ||||
| Read it and come back to me... I have many questions! | ||||
| </body></html> | ||||
							
								
								
									
										5
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-13.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-13.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| <html><body>Innocentin:<br> | ||||
| Then answer me... What is it?<br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31328-16.html">"Lidia's Diary."</a><br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31328-21.html">"Alfred's Diary."</a> | ||||
| </body></html> | ||||
							
								
								
									
										5
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-14.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-14.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| <html><body>Innocentin:<br> | ||||
| Have you read the document?<br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31328-13.html">"Yes, I read it."</a><br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31328-12.html">No, I didn't read it."</a> | ||||
| </body></html> | ||||
							
								
								
									
										5
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-15.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-15.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| <html><body>Innocentin:<br> | ||||
| Then answer me... What is it?<br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31328-16.html">"Lidia's Diary."</a><br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31328-21.html">"Alfred's Diary."</a> | ||||
| </body></html> | ||||
							
								
								
									
										7
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-16.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-16.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| <html><body>Innocentin:<br> | ||||
| Lidia's Diary?<br> | ||||
| Lidia was dear Alfred's precious daughter... They led an idyllic life, until that tragic day...<br> | ||||
| Does her diary cover the period after she became lord of the forest?<br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31328-17.html">"Yes, it does."</a><br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31328-21.html">"No, it doesn't."</a> | ||||
| </body></html> | ||||
							
								
								
									
										5
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-17.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-17.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| <html><body>Innocentin:<br> | ||||
| What did you learn from the diary?<br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31328-21.html">"Lidia was bitten by a vampire."</a><br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31328-18.html">"Lidia signed some sort of contract."</a> | ||||
| </body></html> | ||||
							
								
								
									
										8
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-18.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-18.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| <html><body>Innocentin:<br> | ||||
| A contract?!<br> | ||||
| I'll bet that rascal Nidrah was behind this! Was he involved?<br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31328-21.html">"Yes, he forced her to sign the contract."</a><br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31328-19.html">"Lidia approached Nidrah."</a><br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31328-21.html">"Nidrah wasn't involved."</a><br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31328-21.html">"As I said before, Lidia was bitten by a vampire! Don't you get it?"</a> | ||||
| </body></html> | ||||
							
								
								
									
										5
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-19.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-19.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| <html><body>Innocentin:<br> | ||||
| Oh really? Then let me ask you one more question. Have you ever heard the expression <font color="LEVEL">"Owner of a Moon Face Flower"</font>?<br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31328-20.html">"It's the Lord of the Forest of the Dead."</a><br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31328-20.html">"It's Lidia von Hellmann."</a> | ||||
| </body></html> | ||||
							
								
								
									
										6
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-20.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-20.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| <html><body>Innocentin:<br> | ||||
| Ah ha! Then that hairpin must belong to Lidia!<br> | ||||
| Now I remember it! She used to wear it in her hair! Sigh... She was so beautiful then...<br> | ||||
| Thank you for your help! I suppose our business is done now, but your journey continues...<br> | ||||
| I'll always be here for you if you have any questions. | ||||
| </body></html> | ||||
							
								
								
									
										3
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-21.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-21.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| <html><body> | ||||
| The moment the words leave your lips, you feel an electric current shoot through your head, buzzing like 5000 wyverns in flight! Deep within your heart wells an emotion, small but growing more intense by the moment... It's remorse! Lidia must have been angered by your answer! | ||||
| </body></html> | ||||
							
								
								
									
										3
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-22.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31328-22.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| <html><body>Innocentin:<br> | ||||
| I don't think your journey's over yet. Someone close to her wants to see you. He'll show you the path that leads to your next adventure. | ||||
| </body></html> | ||||
							
								
								
									
										6
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31386-01.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31386-01.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| <html><body>Violet:<br> | ||||
| Oh, the key? That's right! That's the key that Duke Adolph von Hellmann asked me to keep for him! That was a very long time ago! He told me that it guards the highest honor his family received from the King!<br> | ||||
| But I can't go there. I can't leave this village.<br> | ||||
| Go towards the northern part of the village. You'll find a box near the center of the Forest of the Dead. This key opens the padlock on the box.<br> | ||||
| Bring me the object you find inside the box. | ||||
| </body></html> | ||||
							
								
								
									
										5
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31386-02.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31386-02.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| <html><body>Violet:<br> | ||||
| I can't go there. I can't leave this village!<br> | ||||
| Go towards the northern part of the village, you'll find a box near the center of the Forest of the Dead. This key opens the padlock on the box.<br> | ||||
| Bring me the object you find inside the box. | ||||
| </body></html> | ||||
							
								
								
									
										5
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31386-03.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31386-03.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| <html><body>Violet:<br> | ||||
| This is the very Silver Spear that King Astaire Van Halter bestowed upon Duke Adolph!  It's the treasured heirloom of the Hellmann family!  The lord will be overjoyed!  The long lost honor of his family name is restored, and it's all because of you!<br> | ||||
| Thank you.  Please accept this small token of our gratitude!  I only wish that we could have you over to the castle and give you a more formal recognition...<br> | ||||
| I probably have to express our gratitude to the lord through another person, not me.  Please talk with the village people. | ||||
| </body></html> | ||||
							
								
								
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31386-04.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31386-04.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| <html><body>Violet:<br> | ||||
| Find someone among the villagers to express your gratitude to the lord.<br> | ||||
| Have you visited Doriun yet? | ||||
| </body></html> | ||||
							
								
								
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31523-01.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31523-01.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| <html><body>Tombstone:<br> | ||||
| <font color="LEVEL">One jeweled scepter for the King and two Silver Spears for the von Hellmann family who protects him.</font><br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31523-02.html">Wait a while.</a> | ||||
| </body></html> | ||||
							
								
								
									
										3
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31523-02.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31523-02.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| <html><body>Tombstone:<br> | ||||
| After a while, a white ghost appears. | ||||
| </body></html> | ||||
							
								
								
									
										3
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31523-03.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31523-03.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| <html><body>Tombstone:<br> | ||||
| The ghost was beside you all along! | ||||
| </body></html> | ||||
							
								
								
									
										5
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31523-04.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31523-04.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| <html><body>Tombstone:<br> | ||||
| There is a tablet engraved with familiar characters.<br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31523-06.html">Dig</a><br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31523-02.html">Recall the ghost</a> | ||||
| </body></html> | ||||
							
								
								
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31523-05.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31523-05.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| <html><body>Tombstone:<br> | ||||
| There is a tablet engraved with familiar characters.<br> | ||||
| It appears that something else has been crudely etched into the tablet. | ||||
| </body></html> | ||||
							
								
								
									
										3
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31523-06.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31523-06.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| <html><body>Tombstone:<br> | ||||
| You find a key engraved with a silver spear. | ||||
| </body></html> | ||||
							
								
								
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31524-01.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31524-01.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| <html><body>Ghost of von Hellmann:<br> | ||||
| Who has summoned me here? Why can't I sleep?<br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31524-02.html">"Let me tell you about Lidia von Hellmann."</a> | ||||
| </body></html> | ||||
							
								
								
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31524-02.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31524-02.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| <html><body>Ghost of von Hellmann:<br> | ||||
| Oh, the horror! The von Hellmann's are dead and Lidia is a demon? Her curse upon this land is depriving me of my rest!<br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31524-03.html">"It's the truth."</a> | ||||
| </body></html> | ||||
							
								
								
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31524-03.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31524-03.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| <html><body>Ghost of von Hellmann:<br> | ||||
| How did she become the Lord of the Dead?<br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31524-04.html">"Here's her diary."</a> | ||||
| </body></html> | ||||
							
								
								
									
										5
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31524-04.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31524-04.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| <html><body>Ghost of von Hellmann:<br> | ||||
| This concerns Lidia's Diary? Is that right? Oh, I see! Dear traveler! For whatever little time I have left, I'll read this diary and go over the past again and again in my mind!<br> | ||||
| Traveler, I shall reward you well for this diary! Dig underneath this tombstone and you will find my key!<br> | ||||
| Take that key to the Chamberlain of the Hellmann Family! You'll find him <font color="LEVEL">in the village hidden in the middle of this forest</font>! | ||||
| </body></html> | ||||
							
								
								
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31524-05.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31524-05.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| <html><body>Ghost of von Hellmann:<br> | ||||
| <font color="LEVEL">Dig under this monument for the key and take it to the von Hellmann's page.</font><br> | ||||
| He's in the hidden village in the center of the forest. | ||||
| </body></html> | ||||
							
								
								
									
										3
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31524-06.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31524-06.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| <html><body>Ghost of von Hellmann:<br> | ||||
| Take the key to von Hellmann's page, He's in <font color="LEVEL">the hidden village in the center of the forest</font>. | ||||
| </body></html> | ||||
							
								
								
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31526-01.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31526-01.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| <html><body>Broken Desk:<br> | ||||
| The chest is secured with a padlock which bears the mark of the Hellmann family.<br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31526-02.html">Use a Silver Spear key</a> | ||||
| </body></html> | ||||
							
								
								
									
										6
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31526-02.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31526-02.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| <html><body>Broken Desk:<br> | ||||
| The chest opens with a creak.<br> | ||||
| Inside, you find an old hairpin and a book tied with a leather string.<br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31526-04.html">Examine the hair pin.</a><br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31526-07a.html">Examine the book.</a> | ||||
| </body></html> | ||||
							
								
								
									
										5
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31526-03.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31526-03.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| <html><body>Broken Bookshelf:<br> | ||||
| The chest opens with a creak.  Inside, you find an old hairpin and a book tied with a leather string.<br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31526-04.html">Examine the hair pin.</a><br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31526-07a.html">Examine the book.</a> | ||||
| </body></html> | ||||
							
								
								
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31526-04.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31526-04.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| <html><body>Broken Bookshelf:<br> | ||||
| The hair pin is a type once used by aristocratic ladies.  It's engraved with the image of a Moon Face Flower, and was probably used by a unattached young lady.<br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31526-05.html">"I wonder what that design means?"</a> | ||||
| </body></html> | ||||
							
								
								
									
										6
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31526-05.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31526-05.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| <html><body>Broken Bookshelf:<br> | ||||
| According to legend, the Moon Face Flower only blooms on moonlit nights.<br> | ||||
| It's very shy, and shows its face only to its future husband. This legend made it quite popular among young, single, aristocratic ladies.<br> | ||||
| I wonder who might have owned this one?<br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31526-06.html">Take the hairpin.</a> | ||||
| </body></html> | ||||
							
								
								
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31526-06.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31526-06.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| <html><body>Broken Bookshelf:<br> | ||||
| You took the hairpin.<br> | ||||
| Check the bookshelf. You may find something else. | ||||
| </body></html> | ||||
							
								
								
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31526-07.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31526-07.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| <html><body>Broken Bookshelf:<br> | ||||
| In the locker where you found the hairpin, you also find a book tied with a leather string.<br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31526-07a.html">Examine the book.</a> | ||||
| </body></html> | ||||
							
								
								
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31526-07a.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31526-07a.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| <html><body>Broken Bookshelf:<br> | ||||
| A book tied with a leather string.  It's tied very tight, and doesn't seem like it could easily be cut.<br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31526-08.html">Try to cut the string.</a> | ||||
| </body></html> | ||||
							
								
								
									
										5
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31526-08.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31526-08.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| <html><body>Broken Bookshelf:<br> | ||||
| When you cut the string, it falls to the floor and you hear a faint sigh.<br> | ||||
| Shall you read the book?<br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31526-09.html">Read the book.</a> | ||||
| </body></html> | ||||
							
								
								
									
										6
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31526-09.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31526-09.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| <html><body>Broken Bookshelf:<br> | ||||
| "Month of Shilen, 15th day.<br> | ||||
| Lately, Father spends all his days with Nidrah!  He doesn't take care of the manor like he should.  What makes him so angry?<br> | ||||
| What's this?!<br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31526-10.html">"It's Lidia's Diary!"</a> | ||||
| </body></html> | ||||
							
								
								
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31526-10.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31526-10.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| <html><body>Broken Bookshelf:<br> | ||||
| It's a journal that belonged to Lidia von Hellmann.  It probably has a lot of useful information in it!<br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31526-11.html">Pick up the journal.</a> | ||||
| </body></html> | ||||
							
								
								
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31526-11.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31526-11.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| <html><body>Broken Bookshelf:<br> | ||||
| You've found Lidia's Diary!<br> | ||||
| Check the bookshelf again. You may find something else. | ||||
| </body></html> | ||||
							
								
								
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31526-12.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31526-12.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| <html><body>Broken Bookshelf:<br> | ||||
| In the chest where you found the book, you also find a hairpin shaped like a Moon Face Flower.<br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31526-04.html">Examine the hairpin.</a> | ||||
| </body></html> | ||||
							
								
								
									
										3
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31526-13.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31526-13.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| <html><body>Broken Bookshelf:<br> | ||||
| The locker is empty. | ||||
| </body></html> | ||||
							
								
								
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31530-01.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31530-01.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| <html><body>Box:<br> | ||||
| It's an antique box with the von Hellmann family seal on the lock.<br> | ||||
| <a action="bypass -h Quest Q00023_LidiasHeart 31530-02.html">Use the Silver Spear key.</a> | ||||
| </body></html> | ||||
							
								
								
									
										3
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31530-02.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31530-02.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| <html><body>Box:<br> | ||||
| The box opens. | ||||
| </body></html> | ||||
							
								
								
									
										3
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31530-03.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/31530-03.html
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| <html><body>Box:<br> | ||||
| It's empty. | ||||
| </body></html> | ||||
							
								
								
									
										509
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/Q00023_LidiasHeart.java
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										509
									
								
								trunk/dist/game/data/scripts/quests/Q00023_LidiasHeart/Q00023_LidiasHeart.java
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,509 @@ | ||||
| /* | ||||
|  * Copyright (C) 2004-2015 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.Q00023_LidiasHeart; | ||||
|  | ||||
| import quests.Q00024_InhabitantsOfTheForestOfTheDead.Q00024_InhabitantsOfTheForestOfTheDead; | ||||
|  | ||||
| import com.l2jserver.gameserver.enums.QuestSound; | ||||
| 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.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; | ||||
|  | ||||
| /** | ||||
|  * Lidia's Heart (23) | ||||
|  * @author ivantotov | ||||
|  */ | ||||
| public final class Q00023_LidiasHeart extends Quest | ||||
| { | ||||
| 	// NPCs | ||||
| 	private static final int HIGH_PRIEST_INNOCENTIN = 31328; | ||||
| 	private static final int TRADER_VIOLET = 31386; | ||||
| 	private static final int TOMBSTONE = 31523; | ||||
| 	private static final int GHOST_OF_VON_HELLMANN = 31524; | ||||
| 	private static final int BROKEN_BOOKSHELF = 31526; | ||||
| 	private static final int BOX = 31530; | ||||
| 	// Items | ||||
| 	private static final int LIDIAS_DIARY = 7064; | ||||
| 	private static final int SILVER_KEY = 7149; | ||||
| 	private static final int SILVER_SPEAR = 7150; | ||||
| 	// Reward | ||||
| 	private static final int MAP_FOREST_OF_THE_DEAD = 7063; | ||||
| 	private static final int LIDIAS_HAIRPIN = 7148; | ||||
| 	// Misc | ||||
| 	private static final int MIN_LEVEL = 64; | ||||
| 	// Locations | ||||
| 	private static final Location GHOST_SPAWN = new Location(51432, -54570, -3136); | ||||
| 	 | ||||
| 	public Q00023_LidiasHeart() | ||||
| 	{ | ||||
| 		super(23, Q00023_LidiasHeart.class.getSimpleName(), "Lidia's Heart"); | ||||
| 		addStartNpc(HIGH_PRIEST_INNOCENTIN); | ||||
| 		addTalkId(HIGH_PRIEST_INNOCENTIN, TRADER_VIOLET, TOMBSTONE, GHOST_OF_VON_HELLMANN, BROKEN_BOOKSHELF, BOX); | ||||
| 		addSpawnId(GHOST_OF_VON_HELLMANN); | ||||
| 		registerQuestItems(LIDIAS_DIARY, SILVER_KEY, SILVER_SPEAR); | ||||
| 	} | ||||
| 	 | ||||
| 	@Override | ||||
| 	public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) | ||||
| 	{ | ||||
| 		if ("DESPAWN".equals(event)) | ||||
| 		{ | ||||
| 			final L2Npc npc0 = npc.getVariables().getObject("npc0", L2Npc.class); | ||||
| 			if (npc0 != null) | ||||
| 			{ | ||||
| 				npc0.getVariables().set("SPAWNED", false); | ||||
| 			} | ||||
| 			npc.deleteMe(); | ||||
| 			return super.onAdvEvent(event, npc, player); | ||||
| 		} | ||||
| 		 | ||||
| 		final QuestState qs = getQuestState(player, false); | ||||
| 		if (qs == null) | ||||
| 		{ | ||||
| 			return null; | ||||
| 		} | ||||
| 		 | ||||
| 		String htmltext = null; | ||||
| 		switch (event) | ||||
| 		{ | ||||
| 			case "ACCEPT": | ||||
| 			{ | ||||
| 				if (player.getLevel() < MIN_LEVEL) | ||||
| 				{ | ||||
| 					htmltext = "31328-02.htm"; | ||||
| 				} | ||||
| 				else | ||||
| 				{ | ||||
| 					if (!hasQuestItems(player, MAP_FOREST_OF_THE_DEAD)) | ||||
| 					{ | ||||
| 						giveItems(player, MAP_FOREST_OF_THE_DEAD, 1); | ||||
| 					} | ||||
| 					giveItems(player, SILVER_KEY, 1); | ||||
| 					qs.startQuest(); | ||||
| 					qs.setMemoState(1); | ||||
| 					htmltext = "31328-03.htm"; | ||||
| 				} | ||||
| 				break; | ||||
| 			} | ||||
| 			case "31328-05.html": | ||||
| 			case "31328-06.html": | ||||
| 			case "31328-10.html": | ||||
| 			case "31328-11.html": | ||||
| 			case "31328-16.html": | ||||
| 			case "31328-17.html": | ||||
| 			case "31328-18.html": | ||||
| 			case "31524-03.html": | ||||
| 			case "31526-04.html": | ||||
| 			case "31526-05.html": | ||||
| 			case "31526-07a.html": | ||||
| 			case "31526-09.html": | ||||
| 			{ | ||||
| 				htmltext = event; | ||||
| 				break; | ||||
| 			} | ||||
| 			case "31328-07.html": | ||||
| 			{ | ||||
| 				if (qs.isMemoState(1)) | ||||
| 				{ | ||||
| 					qs.setMemoState(2); | ||||
| 					qs.setCond(2, true); | ||||
| 					htmltext = event; | ||||
| 				} | ||||
| 				break; | ||||
| 			} | ||||
| 			case "31328-12.html": | ||||
| 			{ | ||||
| 				if (qs.isMemoState(5) || qs.isMemoState(6)) | ||||
| 				{ | ||||
| 					qs.setMemoState(6); | ||||
| 					qs.setCond(5); | ||||
| 					htmltext = event; | ||||
| 				} | ||||
| 				break; | ||||
| 			} | ||||
| 			case "31328-13.html": | ||||
| 			{ | ||||
| 				if (qs.isMemoState(5) || qs.isMemoState(6)) | ||||
| 				{ | ||||
| 					qs.setMemoState(7); | ||||
| 					htmltext = event; | ||||
| 				} | ||||
| 				break; | ||||
| 			} | ||||
| 			case "31328-19.html": | ||||
| 			{ | ||||
| 				playSound(player, QuestSound.AMBSOUND_MT_CREAK); | ||||
| 				htmltext = event; | ||||
| 				break; | ||||
| 			} | ||||
| 			case "31328-20.html": | ||||
| 			{ | ||||
| 				if (qs.isMemoState(7)) | ||||
| 				{ | ||||
| 					qs.setMemoState(8); | ||||
| 					qs.setCond(6); | ||||
| 					htmltext = event; | ||||
| 				} | ||||
| 				break; | ||||
| 			} | ||||
| 			case "31328-21.html": | ||||
| 			{ | ||||
| 				qs.setCond(5); | ||||
| 				htmltext = event; | ||||
| 				break; | ||||
| 			} | ||||
| 			case "31523-02.html": | ||||
| 			{ | ||||
| 				if (qs.isMemoState(8) || qs.isMemoState(9)) | ||||
| 				{ | ||||
| 					playSound(player, QuestSound.SKILLSOUND_HORROR_02); | ||||
| 					if (!npc.getVariables().getBoolean("SPAWNED", false)) | ||||
| 					{ | ||||
| 						npc.getVariables().set("SPAWNED", true); | ||||
| 						final L2Npc ghost = addSpawn(npc, GHOST_OF_VON_HELLMANN, GHOST_SPAWN, false, 0); | ||||
| 						ghost.getVariables().set("npc0", npc); | ||||
| 						htmltext = event; | ||||
| 					} | ||||
| 					else | ||||
| 					{ | ||||
| 						htmltext = "31523-03.html"; | ||||
| 					} | ||||
| 				} | ||||
| 				break; | ||||
| 			} | ||||
| 			case "31523-06.html": | ||||
| 			{ | ||||
| 				if (qs.isMemoState(9)) | ||||
| 				{ | ||||
| 					giveItems(player, SILVER_KEY, 1); | ||||
| 					qs.setMemoState(10); | ||||
| 					qs.setCond(8); | ||||
| 					htmltext = event; | ||||
| 				} | ||||
| 				break; | ||||
| 			} | ||||
| 			case "31524-02.html": | ||||
| 			{ | ||||
| 				playSound(player, QuestSound.CHRSOUND_MHFIGHTER_CRY); | ||||
| 				htmltext = event; | ||||
| 				break; | ||||
| 			} | ||||
| 			case "31524-04.html": | ||||
| 			{ | ||||
| 				if (qs.isMemoState(8)) | ||||
| 				{ | ||||
| 					takeItems(player, LIDIAS_DIARY, 1); | ||||
| 					qs.setMemoState(9); | ||||
| 					qs.setCond(7); | ||||
| 					htmltext = event; | ||||
| 				} | ||||
| 				break; | ||||
| 			} | ||||
| 			case "31526-02.html": | ||||
| 			{ | ||||
| 				if (qs.isMemoState(2) && hasQuestItems(player, SILVER_KEY)) | ||||
| 				{ | ||||
| 					takeItems(player, SILVER_KEY, -1); | ||||
| 					qs.setMemoState(3); | ||||
| 					htmltext = event; | ||||
| 				} | ||||
| 				break; | ||||
| 			} | ||||
| 			case "31526-06.html": | ||||
| 			{ | ||||
| 				if (!hasQuestItems(player, LIDIAS_HAIRPIN)) | ||||
| 				{ | ||||
| 					giveItems(player, LIDIAS_HAIRPIN, 1); | ||||
| 				} | ||||
| 				qs.setMemoState(qs.getMemoState() + 1); | ||||
| 				if (hasQuestItems(player, LIDIAS_DIARY)) | ||||
| 				{ | ||||
| 					qs.setCond(4); | ||||
| 				} | ||||
| 				htmltext = event; | ||||
| 				break; | ||||
| 			} | ||||
| 			case "31526-08.html": | ||||
| 			{ | ||||
| 				playSound(player, QuestSound.ITEMSOUND_ARMOR_LEATHER); | ||||
| 				htmltext = event; | ||||
| 				break; | ||||
| 			} | ||||
| 			case "31526-10.html": | ||||
| 			{ | ||||
| 				playSound(player, QuestSound.AMBSOUND_EG_DRON); | ||||
| 				htmltext = event; | ||||
| 				break; | ||||
| 			} | ||||
| 			case "31526-11.html": | ||||
| 			{ | ||||
| 				giveItems(player, LIDIAS_DIARY, 1); | ||||
| 				qs.setMemoState(qs.getMemoState() + 1); | ||||
| 				if (hasQuestItems(player, LIDIAS_HAIRPIN)) | ||||
| 				{ | ||||
| 					qs.setCond(4); | ||||
| 				} | ||||
| 				htmltext = event; | ||||
| 				break; | ||||
| 			} | ||||
| 			case "31530-02.html": | ||||
| 			{ | ||||
| 				if (qs.isMemoState(11) && hasQuestItems(player, SILVER_KEY)) | ||||
| 				{ | ||||
| 					giveItems(player, SILVER_SPEAR, 1); | ||||
| 					takeItems(player, SILVER_KEY, -1); | ||||
| 					playSound(player, QuestSound.ITEMSOUND_WEAPON_SPEAR); | ||||
| 					qs.setCond(10); | ||||
| 					htmltext = event; | ||||
| 				} | ||||
| 				break; | ||||
| 			} | ||||
| 		} | ||||
| 		return htmltext; | ||||
| 	} | ||||
| 	 | ||||
| 	@Override | ||||
| 	public String onTalk(L2Npc npc, L2PcInstance player) | ||||
| 	{ | ||||
| 		final QuestState qs = getQuestState(player, true); | ||||
| 		String htmltext = getNoQuestMsg(player); | ||||
| 		if (qs.isCreated()) | ||||
| 		{ | ||||
| 			if (npc.getId() == HIGH_PRIEST_INNOCENTIN) | ||||
| 			{ | ||||
| 				final QuestState q22 = player.getQuestState("22_TragedyInVonHellmannForest"); | ||||
| 				if ((q22 != null) && q22.isCompleted()) | ||||
| 				{ | ||||
| 					htmltext = "31328-01.htm"; | ||||
| 				} | ||||
| 				else | ||||
| 				{ | ||||
| 					htmltext = "31328-01a.html"; | ||||
| 				} | ||||
| 			} | ||||
| 		} | ||||
| 		else if (qs.isStarted()) | ||||
| 		{ | ||||
| 			switch (npc.getId()) | ||||
| 			{ | ||||
| 				case HIGH_PRIEST_INNOCENTIN: | ||||
| 				{ | ||||
| 					switch (qs.getMemoState()) | ||||
| 					{ | ||||
| 						case 1: | ||||
| 						{ | ||||
| 							htmltext = "31328-04.html"; | ||||
| 							break; | ||||
| 						} | ||||
| 						case 2: | ||||
| 						{ | ||||
| 							htmltext = "31328-08.html"; | ||||
| 							break; | ||||
| 						} | ||||
| 						case 5: | ||||
| 						{ | ||||
| 							htmltext = "31328-09.html"; | ||||
| 							break; | ||||
| 						} | ||||
| 						case 6: | ||||
| 						{ | ||||
| 							htmltext = "31328-14.html"; | ||||
| 							break; | ||||
| 						} | ||||
| 						case 7: | ||||
| 						{ | ||||
| 							htmltext = "31328-15.html"; | ||||
| 							break; | ||||
| 						} | ||||
| 						case 8: | ||||
| 						{ | ||||
| 							qs.setCond(6, true); | ||||
| 							htmltext = "31328-22.html"; | ||||
| 							break; | ||||
| 						} | ||||
| 					} | ||||
| 					break; | ||||
| 				} | ||||
| 				case TRADER_VIOLET: | ||||
| 				{ | ||||
| 					switch (qs.getMemoState()) | ||||
| 					{ | ||||
| 						case 10: | ||||
| 						{ | ||||
| 							if (hasQuestItems(player, SILVER_KEY)) | ||||
| 							{ | ||||
| 								qs.setMemoState(11); | ||||
| 								qs.setCond(9, true); | ||||
| 								htmltext = "31386-01.html"; | ||||
| 							} | ||||
| 							break; | ||||
| 						} | ||||
| 						case 11: | ||||
| 						{ | ||||
| 							if (!hasQuestItems(player, SILVER_SPEAR)) | ||||
| 							{ | ||||
| 								htmltext = "31386-02.html"; | ||||
| 							} | ||||
| 							else | ||||
| 							{ | ||||
| 								giveAdena(player, 350000, true); | ||||
| 								addExpAndSp(player, 456893, 42112); | ||||
| 								qs.exitQuest(false, true); | ||||
| 								htmltext = "31386-03.html"; | ||||
| 							} | ||||
| 							break; | ||||
| 						} | ||||
| 					} | ||||
| 					break; | ||||
| 				} | ||||
| 				case TOMBSTONE: | ||||
| 				{ | ||||
| 					switch (qs.getMemoState()) | ||||
| 					{ | ||||
| 						case 8: | ||||
| 						{ | ||||
| 							htmltext = "31523-01.html"; | ||||
| 							break; | ||||
| 						} | ||||
| 						case 9: | ||||
| 						{ | ||||
| 							htmltext = "31523-04.html"; | ||||
| 							break; | ||||
| 						} | ||||
| 						case 10: | ||||
| 						{ | ||||
| 							htmltext = "31523-05.html"; | ||||
| 							break; | ||||
| 						} | ||||
| 					} | ||||
| 					break; | ||||
| 				} | ||||
| 				case GHOST_OF_VON_HELLMANN: | ||||
| 				{ | ||||
| 					final int memoState = qs.getMemoState(); | ||||
| 					if (memoState == 8) | ||||
| 					{ | ||||
| 						htmltext = "31524-01.html"; | ||||
| 					} | ||||
| 					else if (memoState == 9) | ||||
| 					{ | ||||
| 						if (!hasQuestItems(player, SILVER_KEY)) | ||||
| 						{ | ||||
| 							htmltext = "31524-05.html"; | ||||
| 						} | ||||
| 					} | ||||
| 					else if ((memoState == 9) || (memoState == 10)) | ||||
| 					{ | ||||
| 						if (hasQuestItems(player, SILVER_KEY)) | ||||
| 						{ | ||||
| 							qs.setMemoState(10); | ||||
| 							htmltext = "31524-06.html"; | ||||
| 						} | ||||
| 					} | ||||
| 					break; | ||||
| 				} | ||||
| 				case BROKEN_BOOKSHELF: | ||||
| 				{ | ||||
| 					switch (qs.getMemoState()) | ||||
| 					{ | ||||
| 						case 2: | ||||
| 						{ | ||||
| 							if (hasQuestItems(player, SILVER_KEY)) | ||||
| 							{ | ||||
| 								qs.setCond(3, true); | ||||
| 								htmltext = "31526-01.html"; | ||||
| 							} | ||||
| 							break; | ||||
| 						} | ||||
| 						case 3: | ||||
| 						{ | ||||
| 							htmltext = "31526-03.html"; | ||||
| 							break; | ||||
| 						} | ||||
| 						case 4: | ||||
| 						{ | ||||
| 							if (hasQuestItems(player, LIDIAS_HAIRPIN)) | ||||
| 							{ | ||||
| 								htmltext = "31526-07.html"; | ||||
| 							} | ||||
| 							else if (hasQuestItems(player, LIDIAS_DIARY)) | ||||
| 							{ | ||||
| 								htmltext = "31526-12.html"; | ||||
| 							} | ||||
| 							break; | ||||
| 						} | ||||
| 						case 5: | ||||
| 						{ | ||||
| 							if (hasQuestItems(player, LIDIAS_HAIRPIN, LIDIAS_DIARY)) | ||||
| 							{ | ||||
| 								htmltext = "31526-13.html"; | ||||
| 							} | ||||
| 							break; | ||||
| 						} | ||||
| 					} | ||||
| 					break; | ||||
| 				} | ||||
| 				case BOX: | ||||
| 				{ | ||||
| 					if (qs.getMemoState() == 11) | ||||
| 					{ | ||||
| 						if (hasQuestItems(player, SILVER_KEY)) | ||||
| 						{ | ||||
| 							htmltext = "31530-01.html"; | ||||
| 						} | ||||
| 						else if (hasQuestItems(player, SILVER_SPEAR)) | ||||
| 						{ | ||||
| 							htmltext = "31530-03.html"; | ||||
| 						} | ||||
| 					} | ||||
| 					break; | ||||
| 				} | ||||
| 			} | ||||
| 		} | ||||
| 		else if (qs.isCompleted()) | ||||
| 		{ | ||||
| 			if (npc.getId() == HIGH_PRIEST_INNOCENTIN) | ||||
| 			{ | ||||
| 				htmltext = getAlreadyCompletedMsg(player); | ||||
| 			} | ||||
| 			else if (npc.getId() == TRADER_VIOLET) | ||||
| 			{ | ||||
| 				final QuestState q24 = player.getQuestState(Q00024_InhabitantsOfTheForestOfTheDead.class.getSimpleName()); | ||||
| 				if ((q24 == null)) | ||||
| 				{ | ||||
| 					htmltext = "31386-04.html"; | ||||
| 				} | ||||
| 			} | ||||
| 		} | ||||
| 		return htmltext; | ||||
| 	} | ||||
| 	 | ||||
| 	@Override | ||||
| 	public String onSpawn(L2Npc npc) | ||||
| 	{ | ||||
| 		startQuestTimer("DESPAWN", 300000, npc, null); | ||||
| 		npc.broadcastPacket(new NpcSay(npc, Say2.NPC_ALL, NpcStringId.WHO_AWOKE_ME)); | ||||
| 		return super.onSpawn(npc); | ||||
| 	} | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 mobius
					mobius