Quest dialog extension changes.

This commit is contained in:
MobiusDev
2016-07-11 16:26:49 +00:00
parent 14b5fa63b1
commit c3d15707a3
393 changed files with 438 additions and 430 deletions

View File

@@ -1,5 +1,5 @@
<html><body>Adventure Guildsman:<br>
You must be the one they sent as backup to the Ruins of Agony! I heard from Bathis that you were helping Zenath and Schunain. So, how did it go?<br>
What? It's done already? That's great news! Tell me all about it.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10336_DividedSakumKanilov 31795-05.htm">"Yes, sir."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10336_DividedSakumKanilov 31795-05.html">"Yes, sir."</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Adventure Guildsman:<br>
No sooner do we defeat Kanilov than another pops up in his place. Sigh... It's never-ending. Ah well. Did Zenath send you to deliver something?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10336_DividedSakumKanilov 31795-06.htm">Here's a sketch of Sakum</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10336_DividedSakumKanilov 31795-06.html">Here's a sketch of Sakum</Button>
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Guard Zenath:<br>
Sakum created Kanilov. In a way, they're actually twins - it seems the life energy absorbed by Kanilov is being transmitted to Sakum, making him virtually indestructible as long as Kanilov lives...<br>
We need to stop Sakum, obviously, but first we must kill Kanilov. Are you up to the task?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10336_DividedSakumKanilov 33509-03.htm">"I will try."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10336_DividedSakumKanilov 33509-03.html">"I will try."</Button>
</body></html>

View File

@@ -52,8 +52,8 @@ public final class Q10336_DividedSakumKanilov extends Quest
addTalkId(ZENATH, ADVENTURE_GUILDSMAN);
addKillId(KANILOV);
registerQuestItems(SAKUM_SKETCH);
addCondLevel(MIN_LEVEL, MAX_LEVEL, "33509-08.htm");
addCondCompletedQuest(Q10335_RequestToFindSakum.class.getSimpleName(), "33509-08.htm");
addCondLevel(MIN_LEVEL, MAX_LEVEL, "33509-08.html");
addCondCompletedQuest(Q10335_RequestToFindSakum.class.getSimpleName(), "33509-08.html");
}
@Override
@@ -69,18 +69,18 @@ public final class Q10336_DividedSakumKanilov extends Quest
switch (event)
{
case "33509-02.htm":
case "31795-05.htm":
case "31795-05.html":
{
htmltext = event;
break;
}
case "33509-03.htm":
case "33509-03.html":
{
st.startQuest();
htmltext = event;
break;
}
case "31795-06.htm":
case "31795-06.html":
{
if (st.isCond(3))
{
@@ -106,7 +106,7 @@ public final class Q10336_DividedSakumKanilov extends Quest
{
case State.CREATED:
{
htmltext = npc.getId() == ZENATH ? "33509-01.htm" : "31795-02.htm";
htmltext = npc.getId() == ZENATH ? "33509-01.htm" : "31795-02.html";
break;
}
case State.STARTED:
@@ -115,7 +115,7 @@ public final class Q10336_DividedSakumKanilov extends Quest
{
case 1:
{
htmltext = npc.getId() == ZENATH ? "33509-04.htm" : "31795-01.htm";
htmltext = npc.getId() == ZENATH ? "33509-04.html" : "31795-01.html";
break;
}
case 2:
@@ -127,17 +127,17 @@ public final class Q10336_DividedSakumKanilov extends Quest
st.setCond(3);
giveItems(player, SAKUM_SKETCH, 1);
}
htmltext = "33509-05.htm";
htmltext = "33509-05.html";
}
else
{
htmltext = "31795-03.htm";
htmltext = "31795-03.html";
}
break;
}
case 3:
{
htmltext = npc.getId() == ZENATH ? "33509-06.htm" : "31795-04.htm";
htmltext = npc.getId() == ZENATH ? "33509-06.html" : "31795-04.html";
break;
}
}
@@ -145,7 +145,7 @@ public final class Q10336_DividedSakumKanilov extends Quest
}
case State.COMPLETED:
{
htmltext = npc.getId() == ZENATH ? "33509-07.htm" : "31795-07.htm";
htmltext = npc.getId() == ZENATH ? "33509-07.html" : "31795-07.html";
break;
}
}