This commit is contained in:
6
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31521-01.htm
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31521-01.htm
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Chef Jeremy:<br>
|
||||
You look like you could use a few extra Adena...<br>
|
||||
Well I'm looking for a helper! You'll earn an honest wage around here, that's for sure!<br>
|
||||
All you have to do is take these steaming hot hard-boiled eggs I just made to my customers. Their names are already written on them. Deliver them quickly, and who knows? I might teach you a secret cooking technique! Ha!<br>
|
||||
<a action="bypass -h Quest Q00621_EggDelivery 31521-03.htm">"I'll deliver your eggs."</a>
|
||||
</html></body>
|
4
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31521-02.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31521-02.htm
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Chef Jeremy:<br>
|
||||
Many dangerous and ferocious beasts lurk these parts. I'd really hate to have to bury another assistant!<br>
|
||||
(Only a character of level 68 or above may undertake this quest.)
|
||||
</html></body>
|
5
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31521-03.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31521-03.htm
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Chef Jeremy:<br>
|
||||
Take these hard-Boiled Eggs to my customers at the hot springs resort.<br>
|
||||
Everyone likes their eggs done a different way.You must deliver them in the order!<br>
|
||||
Look at the note I gave you for details, and don't ever forget our motto, "The Customer Always Comes First"!
|
||||
</html></body>
|
4
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31521-04.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31521-04.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Chef Jeremy:<br>
|
||||
What are you waiting for?<br>
|
||||
My customers must be salivating, waiting for my delicious eggs to arrive! Get going!
|
||||
</html></body>
|
5
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31521-05.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31521-05.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Jeremy:<br>
|
||||
OK, OK!<br>
|
||||
Did you finish the delivery?<br>
|
||||
<a action="bypass -h Quest Q00621_EggDelivery 31521-06.html">"I completed the delivery."</a>
|
||||
</html></body>
|
4
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31521-06.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31521-06.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Jeremy:<br>
|
||||
Excellent!<br>
|
||||
You seem to have more aptitude for delivery work than I thought. You did a good job, but unfortunately, I don't have the Adena to pay you. I don't have any more work for you, either... Talk to Valentine in the Town of Goddard. He owes me, and he'll give you a satisfactory reward.
|
||||
</html></body>
|
3
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31521-07.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31521-07.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><body>Jeremy:<br>
|
||||
Hey, hey. You didn't just deliver that food without getting paid, right? Do make me sweat over small stuff like this. I'm leaving the small stuff up to you!
|
||||
</html></body>
|
3
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31521-08.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31521-08.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><body>Jeremy:<br>
|
||||
Hey, what are you doing here? You should've visited Valentine in the Town of Goddard. I don't have any Adena to give you.
|
||||
</html></body>
|
4
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31543-01.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31543-01.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Pulin:<br>
|
||||
I'm starving! When will that eggman get here?<br>
|
||||
<a action="bypass -h Quest Q00621_EggDelivery 31543-02.html">"I've got some Boiled Eggs for you."</a>
|
||||
</html></body>
|
6
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31543-02.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31543-02.html
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Pulin:<br>
|
||||
Woohoo!<br>
|
||||
Yummy! There's nothing like a nice boiled egg at the hot springs!<br>
|
||||
I could eat a thousand of these!<br>
|
||||
Oh, thank you for the eggs! Here's your money. I know you are busy, so leave now. There are many places you must be, but here is not one of them.
|
||||
</html></body>
|
3
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31543-03.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31543-03.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><body>Pulin:<br>
|
||||
Aren't you Jeremy's delivery man? I've been waiting!
|
||||
</html></body>
|
6
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31543-04.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31543-04.html
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Pulin:<br>
|
||||
Smack!<br>
|
||||
Mmm... Chomp!<br>
|
||||
Snort!<br>
|
||||
Can't talk! ...Gulp! ...Eating!
|
||||
</html></body>
|
4
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31544-01.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31544-01.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Naff:<br>
|
||||
Oh, that feels great! If only I had some Boiled Eggs to go with it!<br>
|
||||
<a action="bypass -h Quest Q00621_EggDelivery 31544-02.html">"I have some Boiled Eggs for you!"</a>
|
||||
</html></body>
|
3
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31544-02.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31544-02.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><body>Naff:<br>
|
||||
Wow, this is great!
|
||||
</html></body>
|
3
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31544-03.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31544-03.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><body>Naff:<br>
|
||||
Come on in! The water's fine!
|
||||
</html></body>
|
5
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31544-04.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31544-04.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Naff:<br>
|
||||
Hmm...<br>
|
||||
I know I'm sexy, but you're embarrassing me!<br>
|
||||
Don't you have something else to do?
|
||||
</html></body>
|
4
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31545-01.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31545-01.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Crocus:<br>
|
||||
The hot springs just aren't the same without hard Boiled Eggs! Do you have any eggs? Do you?!<br>
|
||||
<a action="bypass -h Quest Q00621_EggDelivery 31545-02.html">I've got your eggs right here.</a>
|
||||
</html></body>
|
4
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31545-02.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31545-02.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Crocus:<br>
|
||||
There's nothing quite like the taste of a good egg!<br>
|
||||
Jeremy's eggs taste better than anybody's!
|
||||
</html></body>
|
3
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31545-03.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31545-03.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><body>Crocus:<br>
|
||||
What a wonderful diversion! I'll wager that even the gods are jealous!If only I could have a taste of Jeremy's eggs...
|
||||
</html></body>
|
3
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31545-04.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31545-04.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><body>Crocus:<br>
|
||||
If I only had a drink... I'd be the happiest person in the world!
|
||||
</html></body>
|
7
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31546-01.html
vendored
Normal file
7
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31546-01.html
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
<html><body>Kuber:<br>
|
||||
Hot hot hot springs!<br>
|
||||
I'm so happy to be here! It's so heavenly... My spirit soars!<br>
|
||||
All my worries~ Far~ far~ away~ Come what may~<br>
|
||||
I'll take it easy~ ~whatever happens~<br>
|
||||
<a action="bypass -h Quest Q00621_EggDelivery 31546-02.html">"Egg delivery, sir!"</a>
|
||||
</html></body>
|
4
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31546-02.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31546-02.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Kuber:<br>
|
||||
Oh my god!<br>
|
||||
This is it! It's so good!
|
||||
</html></body>
|
3
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31546-03.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31546-03.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><body>Kuber:<br>
|
||||
If you're hungry, take a bite of this delicious hard-boiled egg! Mmm mmm mmm...!
|
||||
</html></body>
|
3
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31546-04.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31546-04.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><body>Kuber:<br>
|
||||
I need a nap.
|
||||
</html></body>
|
4
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31547-01.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31547-01.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Beolin:<br>
|
||||
I'm so hungry I could eat a thousand wyvern eggs!You don't happen to have any eggs, do you?<br>
|
||||
<a action="bypass -h Quest Q00621_EggDelivery 31547-02.html">I've got your eggs right here.</a>
|
||||
</html></body>
|
3
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31547-02.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31547-02.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><body>Beolin:<br>
|
||||
What excellent timing! If you were a minute later, I would've starved to death! Here's some money for your eggs!
|
||||
</html></body>
|
3
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31547-03.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31547-03.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><body>Beolin:<br>
|
||||
Do you have any eggs? I'm starving!
|
||||
</html></body>
|
3
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31547-04.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31547-04.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><body>Beolin:<br>
|
||||
That was awesome! I feel so much better! Tell Jeremy that the food was delicious!
|
||||
</html></body>
|
4
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31584-01.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31584-01.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Brewer Valentine:<br>
|
||||
Would you like a drink? What is it that you want?<br>
|
||||
<a action="bypass -h Quest Q00621_EggDelivery 31584-02.html">"Jeremy sent me."</a>
|
||||
</html></body>
|
5
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31584-02.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/31584-02.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Brewer Valentine:<br>
|
||||
Jeremy?<br>
|
||||
He wants to be paid?...<br>
|
||||
I thought this matter was settled! I distinctly remember paying you before!
|
||||
</html></body>
|
279
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/Q00621_EggDelivery.java
vendored
Normal file
279
trunk/dist/game/data/scripts/quests/Q00621_EggDelivery/Q00621_EggDelivery.java
vendored
Normal file
@ -0,0 +1,279 @@
|
||||
/*
|
||||
* Copyright (C) 2004-2014 L2J DataPack
|
||||
*
|
||||
* This file is part of L2J DataPack.
|
||||
*
|
||||
* L2J DataPack is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* L2J DataPack is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package quests.Q00621_EggDelivery;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import com.l2jserver.gameserver.model.actor.L2Npc;
|
||||
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jserver.gameserver.model.quest.Quest;
|
||||
import com.l2jserver.gameserver.model.quest.QuestState;
|
||||
import com.l2jserver.gameserver.model.quest.State;
|
||||
|
||||
/**
|
||||
* Egg Delivery (621)
|
||||
* @author Janiko
|
||||
*/
|
||||
public final class Q00621_EggDelivery extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int JEREMY = 31521;
|
||||
private static final int PULIN = 31543;
|
||||
private static final int NAFF = 31544;
|
||||
private static final int CROCUS = 31545;
|
||||
private static final int KUBER = 31546;
|
||||
private static final int BOELIN = 31547;
|
||||
private static final int VALENTINE = 31584;
|
||||
// Items
|
||||
private static final int BOILED_EGG = 7195;
|
||||
private static final int EGG_PRICE = 7196;
|
||||
// Misc
|
||||
private static final int MIN_LVL = 68;
|
||||
// Reward
|
||||
private static final int QUICK_STEP_POTION = 734;
|
||||
private static final int SEALED_RING_OF_AURAKYRA = 6849;
|
||||
private static final int SEALED_SANDDRAGONS_EARING = 6847;
|
||||
private static final int SEALED_DRAGON_NECKLACE = 6851;
|
||||
// Talkers
|
||||
private static final List<Integer> TALKERS = Arrays.asList(NAFF, CROCUS, KUBER, BOELIN);
|
||||
|
||||
public Q00621_EggDelivery()
|
||||
{
|
||||
super(621, Q00621_EggDelivery.class.getSimpleName(), "Egg Delivery");
|
||||
addStartNpc(JEREMY);
|
||||
addTalkId(JEREMY, PULIN, VALENTINE);
|
||||
addTalkId(TALKERS);
|
||||
registerQuestItems(BOILED_EGG, EGG_PRICE);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, false);
|
||||
String htmltext = null;
|
||||
if (qs == null)
|
||||
{
|
||||
return htmltext;
|
||||
}
|
||||
switch (event)
|
||||
{
|
||||
case "31521-03.htm":
|
||||
{
|
||||
if (qs.isCreated())
|
||||
{
|
||||
qs.startQuest();
|
||||
giveItems(player, BOILED_EGG, 5);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "31521-06.html":
|
||||
{
|
||||
if (qs.isCond(6))
|
||||
{
|
||||
if (getQuestItemsCount(player, EGG_PRICE) >= 5)
|
||||
{
|
||||
qs.setCond(7, true);
|
||||
takeItems(player, EGG_PRICE, -1);
|
||||
htmltext = event;
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "31521-07.html";
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "31543-02.html":
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
if (hasQuestItems(player, BOILED_EGG))
|
||||
{
|
||||
qs.setCond(2, true);
|
||||
takeItems(player, BOILED_EGG, 1);
|
||||
giveItems(player, EGG_PRICE, 1);
|
||||
htmltext = event;
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "31543-03.html";
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "31544-02.html":
|
||||
case "31545-02.html":
|
||||
case "31546-02.html":
|
||||
case "31547-02.html":
|
||||
{
|
||||
if (TALKERS.contains(npc.getId()) && qs.isCond(TALKERS.indexOf(npc.getId()) + 2))
|
||||
{
|
||||
if (hasQuestItems(player, BOILED_EGG))
|
||||
{
|
||||
qs.setCond(qs.getCond() + 1, true);
|
||||
takeItems(player, BOILED_EGG, 1);
|
||||
giveItems(player, EGG_PRICE, 1);
|
||||
htmltext = event;
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = npc.getId() + "-03.html";
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "31584-02.html":
|
||||
{
|
||||
if (qs.isCond(7))
|
||||
{
|
||||
int rnd = getRandom(1000);
|
||||
if (rnd < 800)
|
||||
{
|
||||
rewardItems(player, QUICK_STEP_POTION, 1);
|
||||
giveAdena(player, 18800, true);
|
||||
}
|
||||
else if (rnd < 880)
|
||||
{
|
||||
rewardItems(player, SEALED_RING_OF_AURAKYRA, 1);
|
||||
}
|
||||
else if (rnd < 960)
|
||||
{
|
||||
rewardItems(player, SEALED_SANDDRAGONS_EARING, 1);
|
||||
}
|
||||
else if (rnd < 1000)
|
||||
{
|
||||
rewardItems(player, SEALED_DRAGON_NECKLACE, 1);
|
||||
}
|
||||
qs.exitQuest(true, true);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance talker)
|
||||
{
|
||||
final QuestState qs = getQuestState(talker, true);
|
||||
String htmltext = getNoQuestMsg(talker);
|
||||
switch (npc.getId())
|
||||
{
|
||||
case JEREMY:
|
||||
{
|
||||
switch (qs.getState())
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
htmltext = (talker.getLevel() >= MIN_LVL) ? "31521-01.htm" : "31521-02.htm";
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
switch (qs.getCond())
|
||||
{
|
||||
case 1:
|
||||
{
|
||||
htmltext = "31521-04.html";
|
||||
break;
|
||||
}
|
||||
case 6:
|
||||
{
|
||||
if (hasQuestItems(talker, EGG_PRICE))
|
||||
{
|
||||
htmltext = "31521-05.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 7:
|
||||
{
|
||||
if (!hasQuestItems(talker, BOILED_EGG))
|
||||
{
|
||||
htmltext = "31521-08.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
htmltext = getAlreadyCompletedMsg(talker);
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case PULIN:
|
||||
{
|
||||
if (qs.isStarted())
|
||||
{
|
||||
switch (qs.getCond())
|
||||
{
|
||||
case 1:
|
||||
{
|
||||
if (getQuestItemsCount(talker, BOILED_EGG) >= 5)
|
||||
{
|
||||
htmltext = "31543-01.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 2:
|
||||
{
|
||||
htmltext = "31543-04.html";
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case NAFF:
|
||||
case CROCUS:
|
||||
case KUBER:
|
||||
case BOELIN:
|
||||
{
|
||||
if (qs.isStarted())
|
||||
{
|
||||
final int cond = TALKERS.indexOf(npc.getId()) + 2;
|
||||
if (qs.isCond(cond) && hasQuestItems(talker, EGG_PRICE)) // 2,3,4,5
|
||||
{
|
||||
htmltext = npc.getId() + "-01.html";
|
||||
}
|
||||
else if (qs.isCond(cond + 1)) // 3,4,5,6
|
||||
{
|
||||
htmltext = npc.getId() + "-04.html";
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case VALENTINE:
|
||||
{
|
||||
if (qs.isStarted() && qs.isCond(7))
|
||||
{
|
||||
htmltext = "31584-01.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user