Merged with released L2J-Unity files.
This commit is contained in:
6
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34180-01.htm
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34180-01.htm
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Mystic Tavern Owner Settlen:<br>
|
||||
Welcome! Welcome to the Mystic Tavern, where you'll find great food, drinks, and stories!<br>
|
||||
This place is a little out of th way, so we weren't sure how many people would actually visit us. But thank you for visiting us like this.<br>
|
||||
Now I'll tell you about the things we've prepared. Hahaha!<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q10297_GrandOpeningComeToOurPub 34180-02.htm">"What do you have?"</Button>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34180-02.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34180-02.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Mystic Tavern Owner Settlen:<br>
|
||||
No need to be so hasty. But of course, it's no fun to do all hte talk. How about you go around to meet everyone here?<br>
|
||||
First, talk to my lovely daughter, <font color="LEVEL">Lollia</font>. A lot of things about our tavern got started thanks to her.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10297_GrandOpeningComeToOurPub 34180-03.htm">"Lollia?"</Button>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34180-03.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34180-03.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Mystic Tavern Owner Settlen:<br>
|
||||
Lollia is my only daughter. You should go talk to her while you are here. Hahaha.<br>
|
||||
We had her very late. She's precious to us. She's also very smart and kind... It was Lollia's idea to start telling stories to our customers.<br>
|
||||
Lollia's helping out a lot in the tavern, and she's also getting ready to meet new customers. Make sure to go to talk to her!
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34180-04.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34180-04.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Mystic Tavern Owner Settlen:<br>
|
||||
Lollia is very excited to meet new customers, so make sure to talk to her while you are here.
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34180-05.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34180-05.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Mystic Tavern Owner Settlen:<br>
|
||||
I'm not sure how you head about this place, but it's dangerous here.<br>
|
||||
Come visit us again once you get stronger.<br>
|
||||
(Only characters above Lv. 99.)
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34181-01.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34181-01.html
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Madame Lailly:<br>
|
||||
Isn't Lupia cute?<br>
|
||||
If someone wakes you up from your sweet dreams, come find me. I'll take you into the dream world again.<br>
|
||||
Isn't our tavern great?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10297_GrandOpeningComeToOurPub 34181-02.html">"Yes, it is."</Button>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34181-02.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34181-02.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Madame Lailly:<br>
|
||||
Please come by the tavern often! Everyone here is ready to talk to all our customers!<br>
|
||||
Here's a small gift, in hopes that you spread the word about the tavern. I'll see you again soon.
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34182-01.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34182-01.html
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Only Daughter Lollia:<br>
|
||||
Hey! Nice to meet you!<br>
|
||||
It's our first time meeting, right? Do you know how to get around here? Have you heard about <font color="LEVEL">how to place an order</font>?<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q10297_GrandOpeningComeToOurPub 34182-02.html">"How do I place an order?"</Button>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34182-02.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34182-02.html
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Only Daughter Lollia:<br>
|
||||
You see the <font color="LEVEL">table</font> and the <font color="LEVEL">chairs</font>?<br>
|
||||
If you want to listen to our stories, please get ready and call one of our employees at the table.<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q10297_GrandOpeningComeToOurPub 34182-03.html">"How do I call an employee?"</Button>
|
||||
</body></html>
|
8
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34182-03.html
vendored
Normal file
8
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34182-03.html
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
<html><body>Only Daughter Lollia:<br>
|
||||
You see that <font color="LEVEL">shiny crystal</font> on the table? We call it the <font color="LEVEL">Mystic Summoning Crystal</font>. Use that to call one of us and put your order.<br>
|
||||
You just need to <font color="LEVEL">press</font> it.<br>
|
||||
One of us will come to you, and then you just need to follow our instructions. Not hard at all.<br>
|
||||
I want to tell you many more things, but <font color="LEVEL">Hanna</font> insisted that she wants to introduce our employees.<br>
|
||||
Go talk to her.<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q10297_GrandOpeningComeToOurPub 34182-04.html">"Who's Hanna?"</Button>
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34182-04.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34182-04.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Only Daughter Lollia:<br>
|
||||
You see the small lady over there? She's my mom's childhood friend. She's a very nice lady. Go talk to her.
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34182-05.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34182-05.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Only Daughter Lollia:<br>
|
||||
Hanna insisted that she would be the one to introduce everyone here, so go talk to her.
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34183-01.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34183-01.html
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Kitchen Employee Hanna:<br>
|
||||
Oh, hello! Nice to meet you. What do you think of our Mystic Tavern? Pretty nice, right?<br>
|
||||
I told Lollia that I wanted to be the one to introduce our employees to our customers. You haven't met them right?<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q10297_GrandOpeningComeToOurPub 34183-02.html">"Nope, not yet."</Button>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34183-02.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34183-02.html
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Kitchen Employee Hanna:<br>
|
||||
I knew it. In order to have a great time at the tavern, you should get to know our employees. They all have great stories.<br>
|
||||
Of course, they'll tell you fun stories regardless of how close you are, but wouldn't it be better to get to know them?<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q10297_GrandOpeningComeToOurPub 34183-03.html">"I agree."</Button>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34183-03.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34183-03.html
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Kitchen Employee Hanna:<br>
|
||||
Alright, I'll tell you about myself. First, I'm charge of the kitchen. I'm taking care of all the food that goes to our customers. I can guarantee you that my food will taste great.<br>
|
||||
The girl over there is <font color="LEVEL">Mei</font>. She's the youngest out of us, and she's a ver nice young lady. <font color="LEVEL">Brodien</font> and <font color="LEVEL">Lupia</font> rely on her a lot. I'm also glad that Mei is here with us.<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q10297_GrandOpeningComeToOurPub 34183-04.html">"I see."</Button>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34183-04.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34183-04.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Kitchen Employee Hanna:<br>
|
||||
That lad over there is Brodien. I've never seen an elf like him. So curious and playful. He says he's still growing, but that's all elves for you. He may look like that, but I bet he's pretty old.<br>
|
||||
Lupia is an Ertheia. It's a race that people say has disappeared a long time ago. I was so surprised to see Lupia at first.<br>
|
||||
Well, go meet them. How about talking to Mei first?</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34183-05.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34183-05.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Kitchen Employee Hanna:<br>
|
||||
Go talk to Mei. She leaves her spot sometimes to talk to other customers, but she should be back in no time.
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34184-01.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34184-01.html
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Employee Brodien:<br>
|
||||
Hello! I've been expecting you!<br>
|
||||
I'm sure you've heard about the Mystic Tavern from Mei. I'll tell you about <font color="LEVEL">how to get ready</font> to listen to the stories.<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q10297_GrandOpeningComeToOurPub 34184-02.html">"Get ready?"</Button>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34184-02.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34184-02.html
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Employee Brodien:<br>
|
||||
In order to have a great time, you need to <font color="LEVEL">get ready</font>.<br>
|
||||
You might remember from having met Lollia, but there's a <font color="LEVEL">blue crystal</font> on the table so that you can call our employees. This crystal is called the <font color="LEVEL">Mystic Summoning Crystal</font>.<br>
|
||||
When you call us with this crystal, we'll <font color="LEVEL">set up the chairs</font> so that you can listen to our stories.<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q10297_GrandOpeningComeToOurPub 34184-03.html">"Chairs?"</Button>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34184-03.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34184-03.html
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Employee Brodien:<br>
|
||||
The chairs are there so that you can sit comfortably while listening to our stories.<br>
|
||||
Once we prepare the chairs, only members of the party that has made the reservation can sit down. Now please take a seat and be excited!<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q10297_GrandOpeningComeToOurPub 34184-04.html">"How do I sit down?"</Button>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34184-04.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34184-04.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Employee Brodien:<br>
|
||||
Here's how you sit down. You know the <font color="LEVEL">\sit</font> command, right? <font color="LEVEL">Select a chair</font>, and then use the <font color="LEVEL">\sit</font> command.<br>
|
||||
Oh, I wasn't the only one waiting for you! Please go find Lupia over there.
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34184-05.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34184-05.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Employee Brodien:<br>
|
||||
Lupia over there is waiting for you. Please go talk to her.
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34185-01.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34185-01.html
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Employee Lupia:<br>
|
||||
Nice to meet you! I'm Lupia. I was the last one to join the tavern.<br>
|
||||
I've been waiting to talk to you! I have something important to tell you too.<br>
|
||||
It's probably the most important thing you'll need to know. Aren't you curious?<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q10297_GrandOpeningComeToOurPub 34185-02.html">"What is it?"</Button>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34185-02.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34185-02.html
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Employee Lupia:<br>
|
||||
Everyone talks about what we have here at the Mystic tavern, but no one mentions the most important thing.<br>
|
||||
In order to have the best time listening to our stories, there are something you have to <font color="LEVEL">keep in mind</font>.<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q10297_GrandOpeningComeToOurPub 34185-03.html">"What are they?"</Button>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34185-03.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34185-03.html
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Employee Lupia:<br>
|
||||
Once you call one of us, <font color="LEVEL">take a seat</font> in one of the chairs.<br>
|
||||
If you don't sit right away, the troublemaker fairy in our tavern might kick you and your party out.<br>
|
||||
Also, keep in mind that you <font color="LEVEL">can't listen to our stories every day</font>.<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q10297_GrandOpeningComeToOurPub 34185-04.html">"Any other conditions?"</Button>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34185-04.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34185-04.html
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Employee Lupia:<br>
|
||||
We would love to tell you our stories in one sitting, but we will run out of stories to tell, then.<br>
|
||||
That's why we are limiting our story-teeling to <font color="LEVEL">2 times a week</font>. We are re-telling our stories on <font color="LEVEL">Wednesday and Saturday</font>. I'm sorry this is the only way we can do it...<br>
|
||||
Lailly will tell you about one last point that you should know.<br>
|
||||
She's over there, so go talk to her.
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34185-05.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34185-05.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Employee Lupia:<br>
|
||||
Lailly said she wants to tell you about one additional thing. Go talk to her.
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34186-01.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34186-01.html
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Employee Mei:<br>
|
||||
There you are. I was wondering when you would come.<br>
|
||||
I'll tell you about the kinds of stories we are telling our customers here at the Mystic Tavern.<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q10297_GrandOpeningComeToOurPub 34186-02.html">"What stories?"</Button>
|
||||
</body></html>
|
7
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34186-02.html
vendored
Normal file
7
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34186-02.html
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<html><body>Employee Mei:<br>
|
||||
The stories we are telling are about the <font color="LEVEL">terrifying monsters that are known throughout the continent</font>.<br>
|
||||
Stories of the likes of the <font color="LEVEL">Lord of Hellfire</font>, Tauti, <font color="LEVEL">Kelbim of the Atelia Fortress</font>, and <font color="LEVEL">Ice Queen Freya</font> of the Frozen Labyrinth. We'll tell you stories about how they came to be.<br>
|
||||
We are always coming up with better ways to tell the stories.<br>
|
||||
However, since we are telling terrifying stories, you must meet certain <font color="LEVEL">conditions</font>.<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q10297_GrandOpeningComeToOurPub 34186-03.html">"What are they?"</Button>
|
||||
</body></html>
|
7
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34186-03.html
vendored
Normal file
7
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34186-03.html
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<html><body>Employee Mei:<br>
|
||||
Sometimes, our customers get hurt because they go deep into the story and start feeling like everything's real.<br>
|
||||
We just want to tell our customers great stories, and don't want them to be in danger, so we are only telling the stories to people who are strong enough to protect themselves. For that, our customers have to be <font color="LEVEL">above Lv. 99</font>.<br>
|
||||
Also, you will need people to help you in case you are in real danger, so we are only telling the stories to those who are in a <font color="LEVEL">party</font>.<br>
|
||||
One more thing.<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q10297_GrandOpeningComeToOurPub 34186-04.html">"What is it?"</Button>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34186-04.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34186-04.html
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Employee Mei:<br>
|
||||
We have a few stories that we've prepared, but some customers only want to listen to certain stories.<br>
|
||||
However, we want people to listen to the various stories we have prepared, so we decided to tell them randomly.<br>
|
||||
Don't worry, though! All the stories will be worth your time.<br>
|
||||
Oh, yea. <font color="LEVEL">Brodien</font> wants to meet you, so go talk to him.
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34186-05.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10297_GrandOpeningComeToOurPub/34186-05.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Employee Mei:<br>
|
||||
Brodien has been waiting to meet new customers. Go talk to Brodien.
|
||||
</body></html>
|
@@ -0,0 +1,260 @@
|
||||
/*
|
||||
* This file is part of the L2J Mobius project.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package quests.Q10297_GrandOpeningComeToOurPub;
|
||||
|
||||
import com.l2jmobius.gameserver.model.actor.L2Npc;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.quest.Quest;
|
||||
import com.l2jmobius.gameserver.model.quest.QuestState;
|
||||
import com.l2jmobius.gameserver.model.quest.State;
|
||||
|
||||
/**
|
||||
* Grand Opening! Come to Our Pub! (10297)
|
||||
* @author Gladicek
|
||||
*/
|
||||
|
||||
public final class Q10297_GrandOpeningComeToOurPub extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int SETTLEN = 34180;
|
||||
private static final int LOLLIA = 34182;
|
||||
private static final int HANNA = 34183;
|
||||
private static final int MEI = 34186;
|
||||
private static final int BRODIEN = 34184;
|
||||
private static final int LUPIA = 34185;
|
||||
private static final int LAILLY = 34181;
|
||||
// Item
|
||||
private static final int SCROLL_OF_ESCAPE_MYSTIC_TAVERN = 46564;
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 99;
|
||||
|
||||
public Q10297_GrandOpeningComeToOurPub()
|
||||
{
|
||||
super(10297);
|
||||
addStartNpc(SETTLEN);
|
||||
addTalkId(SETTLEN, LOLLIA, HANNA, MEI, BRODIEN, LUPIA, LAILLY);
|
||||
addCondMinLevel(MIN_LEVEL, "34180-05.htm");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, false);
|
||||
if (qs == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
String htmltext = event;
|
||||
|
||||
switch (event)
|
||||
{
|
||||
case "34180-02.htm":
|
||||
case "34182-02.html":
|
||||
case "34183-02.html":
|
||||
case "34183-03.html":
|
||||
case "34184-02.html":
|
||||
case "34184-03.html":
|
||||
case "34185-02.html":
|
||||
case "34185-03.html":
|
||||
case "34186-02.html":
|
||||
case "34186-03.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34180-03.htm":
|
||||
{
|
||||
qs.startQuest();
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34182-04.html":
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
qs.setCond(2, true);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "34183-04.html":
|
||||
{
|
||||
if (qs.isCond(2))
|
||||
{
|
||||
qs.setCond(3, true);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "34186-04.html":
|
||||
{
|
||||
if (qs.isCond(3))
|
||||
{
|
||||
qs.setCond(4, true);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "34184-04.html":
|
||||
{
|
||||
if (qs.isCond(4))
|
||||
{
|
||||
qs.setCond(5, true);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "34185-04.html":
|
||||
{
|
||||
if (qs.isCond(5))
|
||||
{
|
||||
qs.setCond(6, true);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "34181-02.html":
|
||||
{
|
||||
if (qs.isCond(6))
|
||||
{
|
||||
giveItems(player, SCROLL_OF_ESCAPE_MYSTIC_TAVERN, 5);
|
||||
qs.exitQuest(false, true);
|
||||
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 == null)
|
||||
{
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
switch (qs.getState())
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
if (npc.getId() == SETTLEN)
|
||||
{
|
||||
htmltext = "34180-01.htm";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
switch (npc.getId())
|
||||
{
|
||||
case SETTLEN:
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
htmltext = "34180-04.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case LOLLIA:
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
htmltext = "34182-01.html";
|
||||
}
|
||||
else if (qs.isCond(2))
|
||||
{
|
||||
htmltext = "34182-05.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case HANNA:
|
||||
{
|
||||
if (qs.isCond(2))
|
||||
{
|
||||
htmltext = "34183-01.html";
|
||||
}
|
||||
else if (qs.isCond(3))
|
||||
{
|
||||
htmltext = "34183-05.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case MEI:
|
||||
{
|
||||
if (qs.isCond(3))
|
||||
{
|
||||
htmltext = "34186-01.html";
|
||||
}
|
||||
else if (qs.isCond(4))
|
||||
{
|
||||
htmltext = "34186-05.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case BRODIEN:
|
||||
{
|
||||
if (qs.isCond(4))
|
||||
{
|
||||
htmltext = "34184-01.html";
|
||||
}
|
||||
else if (qs.isCond(5))
|
||||
{
|
||||
htmltext = "34184-05.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case LUPIA:
|
||||
{
|
||||
if (qs.isCond(5))
|
||||
{
|
||||
htmltext = "34185-01.html";
|
||||
}
|
||||
else if (qs.isCond(6))
|
||||
{
|
||||
htmltext = "34185-05.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case LAILLY:
|
||||
{
|
||||
if (qs.isCond(6))
|
||||
{
|
||||
htmltext = "34181-01.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
if (npc.getId() == SETTLEN)
|
||||
{
|
||||
htmltext = getAlreadyCompletedMsg(player);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user