This commit is contained in:
4
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/30621-01.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/30621-01.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Maestro Nikola:<br>
|
||||
Why did you come to see me?<br>
|
||||
<a action="bypass -h Quest Q00185_NikolasCooperation 30621-03.htm">"I came here to tell you something."</a>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/30621-02.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/30621-02.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Maestro Nikola:<br>
|
||||
Why did you come to see me? This place is far too dangerous for someone so inexperienced.<br>
|
||||
(Only characters level 40 and above are permitted to undertake this quest.)
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/30621-03.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/30621-03.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Maestro Nikola:<br>
|
||||
I have no idea what you are talking about. I have nothing to say on the matter.<br>
|
||||
<a action="bypass -h Quest Q00185_NikolasCooperation 30621-04.htm">"Wouldn't you like to work together with Lorain in the future?"</a>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/30621-03a.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/30621-03a.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Maestro Nikola:<br>
|
||||
Don't you think that it's too soon for you to join us?<br>
|
||||
(Only characters level 40 and above are permitted to undertake this quest.)
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/30621-04.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/30621-04.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Maestro Nikola:<br>
|
||||
That was not my fault. I do not know what you heard, but I have nothing to say. I did nothing wrong!<br>
|
||||
<a action="bypass -h Quest Q00185_NikolasCooperation 30621-05.htm">"Are you going to ignore her?"</a>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/30621-05.htm
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/30621-05.htm
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Maestro Nikola:<br>
|
||||
How can I deal civilly with someone who is so unreasonable?<br>
|
||||
You obviously know nothing about this. Why don't you just go away and leave me alone!<br>
|
||||
I have a great deal of work to do.<br>
|
||||
<a action="bypass -h Quest Q00185_NikolasCooperation 30621-06.htm">"Why not work with her? I can help you contact her."</a>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/30621-06.htm
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/30621-06.htm
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Maestro Nikola:<br>
|
||||
You don't give up, do you?<br>
|
||||
Very well. I will agree to help her in good faith. But you had best keep your promise as well! Here, take this map. It shows the last place that Lorain explored.<br>
|
||||
I hope to hear good news from you soon!<br>
|
||||
Please note that Cruma Tower is not accessible after level 56.
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/30621-07.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/30621-07.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Maestro Nikola:<br>
|
||||
I trusted you enough to give you the map, which is the culmination of my explorations, didn't I? Don't forget that you are supposed to <font color="LEVEL">lend it to Lorain</font>.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/30673-01.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/30673-01.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Researcher Lorain:<br>
|
||||
Well! Where is the place? Did that coward tell you?<br>
|
||||
<a action="bypass -h Quest Q00185_NikolasCooperation 30673-02.html">"He wanted to repair his relationship with you -- he told me that what happened was simply a misunderstanding. As a sign of good faith, he lent me this map to show you."</a>
|
||||
</body></html>
|
8
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/30673-02.html
vendored
Normal file
8
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/30673-02.html
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
<html><body>Researcher Lorain:<br>
|
||||
What? Misunderstanding?<br>
|
||||
What is that old man talking about? That's absurd...<br>
|
||||
But he said he would help us, eh? It's certainly not like him to lend us his precious map.<br>
|
||||
I'm still angry at him, but now I have to admit I'm curious enough about his motives to talk to him again...<br>
|
||||
In any case, show me the map! I want to study it to see exactly where we should search.<br>
|
||||
<a action="bypass -h Quest Q00185_NikolasCooperation 30673-03.html">Give her the map.</a>
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/30673-03.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/30673-03.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Researcher Lorain:<br>
|
||||
Can you wait a moment? I need more time to check this out.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/30673-04.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/30673-04.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Researcher Lorain:<br>
|
||||
I think we searched the entire 1st floor after comparing my information to Nikola's map. The place we were in danger was somewhere on the 2nd floor. Nikola said that he was examining some broken devices in the front with help from the keeper, but he couldn't determine their exact purpose because of the monster attack. I suppose that's the place we want -- will you go there and check it out?<br>
|
||||
<a action="bypass -h Quest Q00185_NikolasCooperation 30673-05.html">"Let me know the exact location."</a>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/30673-05.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/30673-05.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Researcher Lorain:<br>
|
||||
<font color="LEVEL">After you go up to the 2nd floor and pass the crossroads, you will see an intersection where 3 roads meet. Go to the right</font> and you should be able to see the broken pieces of the machine. Be careful, though -- the alarm system in that area may be still functional. If you let the alarm ring, your life may be in danger.<br>
|
||||
To disable it, enter the <font color="LEVEL">passcode number 3196</font> into the alarm device. Be careful!
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/30673-06.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/30673-06.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Researcher Lorain:<br>
|
||||
As I told you, <font color="LEVEL">climb up to the 2nd floor of the tower and pass the crossroads. You will see an intersection where 3 roads meet. Go to the right</font>and you should be able to see the broken pieces of the machine. Hurry!
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/30673-07.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/30673-07.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Researcher Lorain:<br>
|
||||
Were you in any danger?<br>
|
||||
<a action="bypass -h Quest Q00185_NikolasCooperation 30673-08.html">Tell her what happened.</a>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/30673-08.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/30673-08.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Researcher Lorain:<br>
|
||||
Well, I'm relieved that you're OK. May I see what you recovered from the ruins?<br>
|
||||
<a action="bypass -h Quest Q00185_NikolasCooperation 30673-09.html">Give it to Lorain.</a>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/30673-09.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/30673-09.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Researcher Lorain:<br>
|
||||
To ensure that there are no oversights, we're issuing a certificate whenever we trade with anyone. Please keep this in a safe place -- <font color="LEVEL">if you lose it, you'll be in big trouble</font>! Now go get some rest.<br>
|
||||
(If you lose the Certificate of Lorain, you will be moved back to the Seal Removal quest.)
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/30673-10.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/30673-10.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Researcher Lorain:<br>
|
||||
Good job! After I study this, I'll ask for your help. In the meantime, you'd best go get some rest.
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/32366-01.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/32366-01.html
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Destroyed Device:<br>
|
||||
You see a pile of broken pieces. As you walk forward for a closer look...<br>
|
||||
You suddenly hear an ear-splitting siren!<br>
|
||||
<a action="bypass -h Quest Q00185_NikolasCooperation 32366-03.html">Look around.</a>
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/32366-03.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/32366-03.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Destroyed Device:<br>
|
||||
The alarm is deafeningly loud. Unless it is turned off soon, it may cause permanent damage!
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/32366-04.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/32366-04.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Destroyed Device:<br>
|
||||
The siren is deafening. Someone must have accidentally tripped the alarm system. You'd best get out of there right away!
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/32366-05.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/32366-05.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Destroyed Device:<br>
|
||||
You see something shiny in the pile of broken pieces.<br>
|
||||
<a action="bypass -h Quest Q00185_NikolasCooperation 32366-06.html">Examine it.</a>
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/32366-06.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/32366-06.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Destroyed Device:<br>
|
||||
You see a metal plate with something written on it. Take it back to Lorain.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/32366-07.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/32366-07.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Destroyed Device:<br>
|
||||
The surrounding area was devastated by the explosion of the alarm system. You see something shiny in the pile of broken pieces.<br>
|
||||
<a action="bypass -h Quest Q00185_NikolasCooperation 32366-08.html">Examine it.</a>
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/32366-08.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/32366-08.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Destroyed Device:<br>
|
||||
It is a broken piece that appears to have been destroyed in the recent explosion. Perhaps you should take it back to Lorain.
|
||||
</body></html>
|
290
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/Q00185_NikolasCooperation.java
vendored
Normal file
290
trunk/dist/game/data/scripts/quests/Q00185_NikolasCooperation/Q00185_NikolasCooperation.java
vendored
Normal file
@@ -0,0 +1,290 @@
|
||||
/*
|
||||
* 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.Q00185_NikolasCooperation;
|
||||
|
||||
import quests.Q00183_RelicExploration.Q00183_RelicExploration;
|
||||
import quests.Q00184_ArtOfPersuasion.Q00184_ArtOfPersuasion;
|
||||
|
||||
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;
|
||||
|
||||
/**
|
||||
* Nikola's Cooperation (185)
|
||||
* @author ivantotov
|
||||
*/
|
||||
public final class Q00185_NikolasCooperation extends Quest
|
||||
{
|
||||
// NPC's
|
||||
private static final int MAESTRO_NIKOLA = 30621;
|
||||
private static final int RESEARCHER_LORAIN = 30673;
|
||||
private static final int DESTROYED_DEVICE = 32366;
|
||||
private static final int ALARM_OF_GIANT = 32367;
|
||||
// Items
|
||||
private static final int METALLOGRAPH = 10363;
|
||||
private static final int BROKEN_METAL_PIECES = 10364;
|
||||
private static final int NIKOLAS_MAP = 10365;
|
||||
// Reward
|
||||
private static final int LORAINES_CERTIFICATE = 10362;
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 40;
|
||||
private static final int MAX_LEVEL_FOR_EXP_SP = 46;
|
||||
|
||||
public Q00185_NikolasCooperation()
|
||||
{
|
||||
super(185, Q00185_NikolasCooperation.class.getSimpleName(), "Nikola's Cooperation");
|
||||
addStartNpc(MAESTRO_NIKOLA);
|
||||
addTalkId(MAESTRO_NIKOLA, RESEARCHER_LORAIN, DESTROYED_DEVICE);
|
||||
registerQuestItems(METALLOGRAPH, BROKEN_METAL_PIECES, NIKOLAS_MAP);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, false);
|
||||
if (qs == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
String htmltext = null;
|
||||
switch (event)
|
||||
{
|
||||
case "30621-06.htm":
|
||||
{
|
||||
if (qs.isCreated())
|
||||
{
|
||||
qs.startQuest();
|
||||
qs.setMemoState(1);
|
||||
giveItems(player, NIKOLAS_MAP, 1);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "30621-03.htm":
|
||||
{
|
||||
if (player.getLevel() >= MIN_LEVEL)
|
||||
{
|
||||
htmltext = event;
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "30621-03a.htm";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "30621-04.htm":
|
||||
case "30621-05.htm":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "30673-02.html":
|
||||
{
|
||||
if (qs.isMemoState(1))
|
||||
{
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "30673-03.html":
|
||||
{
|
||||
if (qs.isMemoState(1))
|
||||
{
|
||||
takeItems(player, NIKOLAS_MAP, -1);
|
||||
qs.setMemoState(2);
|
||||
qs.setCond(2, true);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "30673-05.html":
|
||||
{
|
||||
if (qs.isMemoState(2))
|
||||
{
|
||||
qs.setMemoState(3);
|
||||
qs.setCond(3, true);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "30673-08.html":
|
||||
{
|
||||
if (qs.isMemoState(6))
|
||||
{
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "30673-09.html":
|
||||
{
|
||||
if (qs.isMemoState(6))
|
||||
{
|
||||
if (hasQuestItems(player, METALLOGRAPH))
|
||||
{
|
||||
giveItems(player, LORAINES_CERTIFICATE, 1);
|
||||
qs.exitQuest(false, true);
|
||||
htmltext = event;
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "30673-10.html";
|
||||
qs.exitQuest(false, true);
|
||||
}
|
||||
if (player.getLevel() < MAX_LEVEL_FOR_EXP_SP)
|
||||
{
|
||||
giveAdena(player, 72527, true);
|
||||
addExpAndSp(player, 203717, 14032);
|
||||
}
|
||||
else
|
||||
{
|
||||
giveAdena(player, 72527, true);
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "32366-03.html":
|
||||
{
|
||||
if (qs.isMemoState(3) && !npc.getVariables().getBoolean("SPAWNED", false))
|
||||
{
|
||||
npc.getVariables().set("SPAWNED", true);
|
||||
npc.getVariables().set("PLAYER_ID", player.getObjectId());
|
||||
L2Npc alarm = addSpawn(ALARM_OF_GIANT, player.getX() + 80, player.getY() + 60, player.getZ(), 16384, false, 0);
|
||||
alarm.getVariables().set("player0", player);
|
||||
alarm.getVariables().set("npc0", npc);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "32366-06.html":
|
||||
{
|
||||
if (qs.isMemoState(4))
|
||||
{
|
||||
giveItems(player, METALLOGRAPH, 1);
|
||||
qs.setMemoState(6);
|
||||
qs.setCond(4, true);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "32366-08.html":
|
||||
{
|
||||
if (qs.isMemoState(5))
|
||||
{
|
||||
giveItems(player, BROKEN_METAL_PIECES, 1);
|
||||
qs.setMemoState(6);
|
||||
qs.setCond(5, true);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, true);
|
||||
final int memoState = qs.getMemoState();
|
||||
String htmltext = getNoQuestMsg(player);
|
||||
if (qs.isCreated())
|
||||
{
|
||||
if (npc.getId() == MAESTRO_NIKOLA)
|
||||
{
|
||||
final QuestState q183 = player.getQuestState(Q00183_RelicExploration.class.getSimpleName());
|
||||
final QuestState q184 = player.getQuestState(Q00184_ArtOfPersuasion.class.getSimpleName());
|
||||
final QuestState q185 = player.getQuestState(Q00185_NikolasCooperation.class.getSimpleName());
|
||||
if ((q183 != null) && q183.isCompleted() && (q184 != null) && (q185 != null))
|
||||
{
|
||||
htmltext = (player.getLevel() >= MIN_LEVEL) ? "30621-01.htm" : "30621-02.html";
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (qs.isStarted())
|
||||
{
|
||||
switch (npc.getId())
|
||||
{
|
||||
case MAESTRO_NIKOLA:
|
||||
{
|
||||
if (memoState == 1)
|
||||
{
|
||||
htmltext = "30621-07.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case RESEARCHER_LORAIN:
|
||||
{
|
||||
if (memoState == 1)
|
||||
{
|
||||
htmltext = "30673-01.html";
|
||||
}
|
||||
else if (memoState == 2)
|
||||
{
|
||||
htmltext = "30673-04.html";
|
||||
}
|
||||
else if ((memoState >= 3) && (memoState <= 5))
|
||||
{
|
||||
htmltext = "30673-06.html";
|
||||
}
|
||||
else if (memoState == 6)
|
||||
{
|
||||
htmltext = "30673-07.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case DESTROYED_DEVICE:
|
||||
{
|
||||
if (memoState == 3)
|
||||
{
|
||||
if (!npc.getVariables().getBoolean("SPAWNED", false))
|
||||
{
|
||||
htmltext = "32366-01.html";
|
||||
}
|
||||
else if (npc.getVariables().getInt("PLAYER_ID") == player.getObjectId())
|
||||
{
|
||||
htmltext = "32366-03.html";
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "32366-04.html";
|
||||
}
|
||||
}
|
||||
else if (memoState == 4)
|
||||
{
|
||||
htmltext = "32366-05.html";
|
||||
}
|
||||
else if (memoState == 5)
|
||||
{
|
||||
htmltext = "32366-07.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (qs.isCompleted())
|
||||
{
|
||||
if (npc.getId() == MAESTRO_NIKOLA)
|
||||
{
|
||||
htmltext = getAlreadyCompletedMsg(player);
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user