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,4 +1,4 @@
<html><body>Adventure Guildsman:<br>
Were you able to find a decent sketch of Sakum? What? Oh, yes I'm glad to see you are okay. Now, did you find a decent sketch of Sakum?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10358_DividedSakumPoslof 31795-04.htm">"Fine, defeated Poslof, here is the sketch."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10358_DividedSakumPoslof 31795-04.html">"Fine, defeated Poslof, here is the sketch."</Button>
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Adventure Guildsman:<br>
Poslof? Really?<br>
Awesome. Let me see the sketch of Sakum. I hear that Guard Lef is quite the artist.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10358_DividedSakumPoslof 31795-05.htm">Here</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10358_DividedSakumPoslof 31795-05.html">Here</Button>
</body></html>

View File

@@ -2,5 +2,5 @@
The best way to describe it is <font color="LEVEL">Poslof</font> is <font color="LEVEL">a portion</font> of <font color="LEVEL">Sakum</font> that is able to exist on its own. Bad news is that it isn<73>t just one of them<65> we are receiving reports from guards in other locations of multiple Poslof sightings.<br>
Kind of a bad day to find out that your only problem just turned into several problems.<br>
I would send you out to defeat Poslof, but I<>m not sure where it is at the moment. I don<6F>t suppose you would be interested in de-raging the rampaging creatures in the area until I can find out where Poslof is?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10358_DividedSakumPoslof 33510-03.htm">"It sounds like fun."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10358_DividedSakumPoslof 33510-03.html">"It sounds like fun."</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Guard Lef:<br>
What are you doing around here? Don't you know it's dangerous? For your safety, please return to the village.<br>
(Only characters between Level 32 and 40, who have completed Sakum's Influence can take on this quest.)
(Only characters between Level 33 and 40, who have completed Sakum's Influence can take on this quest.)
</body></html>

View File

@@ -54,8 +54,8 @@ public final class Q10358_DividedSakumPoslof extends Quest
addTalkId(LEF, ADVENTURER_GUIDE);
addKillId(ZOMBIE_WARRIOR, VEELEAN, POSLOF);
registerQuestItems(SAKUM_SKETCH);
addCondCompletedQuest(Q10337_SakumsImpact.class.getSimpleName(), "33510-09.htm");
addCondLevel(MIN_LEVEL, MAX_LEVEL, "33510-09.htm");
addCondCompletedQuest(Q10337_SakumsImpact.class.getSimpleName(), "33510-09.html");
addCondLevel(MIN_LEVEL, MAX_LEVEL, "33510-09.html");
}
@Override
@@ -71,18 +71,18 @@ public final class Q10358_DividedSakumPoslof extends Quest
switch (event)
{
case "33510-02.htm":
case "31795-04.htm":
case "31795-04.html":
{
htmltext = event;
break;
}
case "33510-03.htm":
case "33510-03.html":
{
st.startQuest();
htmltext = event;
break;
}
case "31795-05.htm":
case "31795-05.html":
{
if (st.isCond(4))
{
@@ -107,7 +107,7 @@ public final class Q10358_DividedSakumPoslof extends Quest
{
case State.CREATED:
{
htmltext = npc.getId() == LEF ? "33510-01.htm" : "31795-02.htm";
htmltext = npc.getId() == LEF ? "33510-01.htm" : "31795-02.html";
break;
}
case State.STARTED:
@@ -116,7 +116,7 @@ public final class Q10358_DividedSakumPoslof extends Quest
{
case 1:
{
htmltext = npc.getId() == LEF ? "33510-04.htm" : "31795-01.htm";
htmltext = npc.getId() == LEF ? "33510-04.html" : "31795-01.html";
break;
}
case 2:
@@ -128,22 +128,22 @@ public final class Q10358_DividedSakumPoslof extends Quest
st.setCond(3);
giveItems(player, SAKUM_SKETCH, 1);
}
htmltext = "33510-05.htm";
htmltext = "33510-05.html";
}
else if (npc.getId() == ADVENTURER_GUIDE)
{
htmltext = "31795-01.htm";
htmltext = "31795-01.html";
}
break;
}
case 3:
{
htmltext = npc.getId() == LEF ? "33510-06.htm" : "31795-01.htm";
htmltext = npc.getId() == LEF ? "33510-06.html" : "31795-01.html";
break;
}
case 4:
{
htmltext = npc.getId() == LEF ? "33510-07.htm" : "31795-03.htm";
htmltext = npc.getId() == LEF ? "33510-07.html" : "31795-03.html";
break;
}
}
@@ -151,7 +151,7 @@ public final class Q10358_DividedSakumPoslof extends Quest
}
case State.COMPLETED:
{
htmltext = npc.getId() == LEF ? "33510-08.htm" : "31795-06.htm";
htmltext = npc.getId() == LEF ? "33510-08.html" : "31795-06.html";
break;
}
}