Converting Ertheia quests to follow showHtmlFile logic.

This commit is contained in:
MobiusDev
2015-05-14 21:24:35 +00:00
parent 79fd9f196e
commit 80e9205866
320 changed files with 380 additions and 378 deletions

View File

@@ -1,4 +1,4 @@
<html><body>Pa'agrio Lord Kakai:<br>
What... what do you have there in your hand? Whatever it is, it's giving me a killer headache... Oh, you've got yourself a nasty little Evil Fragment, huh. You've seen Pantheon, have you? Hand that thing over and let me quench it before we both get migraines.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10328_RequestToSealTheEvilFragment 30565-02.htm">"Here is the Evil Fragment."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10328_RequestToSealTheEvilFragment 30565-02.html">"Here is the Evil Fragment."</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><head><body>Pa'agrio Lord Kakai:<br>
Whoa! Step back a bit, that's one potent and nasty Evil Fragment you've got there. From Pantheon, huh? What does he want me to do with it?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10328_RequestToSealTheEvilFragment 30565-03.htm">"He wants you to seal this."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10328_RequestToSealTheEvilFragment 30565-03.html">"He wants you to seal this."</Button>
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Pantheon:<br>
Well, we don't know when the monster will hatch, so we want you to destroy it as soon as possible! Asterios, the head of the elves, is away, so the only one that can seal the seed is Kakai, leader of the Orcs.<br>
We want you to take the seed to <font color="LEVEL">Pa'agrio Lord Kakai</font>, he's in the Administration Office.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10328_RequestToSealTheEvilFragment 32972-04.htm">"Sounds easy. I'll do it."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10328_RequestToSealTheEvilFragment 32972-04.html">"Sounds easy. I'll do it."</Button>
</body></html>

View File

@@ -46,9 +46,9 @@ public final class Q10328_RequestToSealTheEvilFragment extends Quest
super(10328, Q10328_RequestToSealTheEvilFragment.class.getSimpleName(), "Request to Seal the Evil Fragment");
addStartNpc(PANTHEON);
addTalkId(PANTHEON, KAKAI);
addCondMaxLevel(MAX_LEVEL, "32972-06.htm");
addCondMaxLevel(MAX_LEVEL, "32972-06.html");
registerQuestItems(EVIL_FRAGMENT);
addCondCompletedQuest(Q10327_IntruderWhoWantsTheBookOfGiants.class.getSimpleName(), "32972-06.htm");
addCondCompletedQuest(Q10327_IntruderWhoWantsTheBookOfGiants.class.getSimpleName(), "32972-06.html");
}
@Override
@@ -63,7 +63,7 @@ public final class Q10328_RequestToSealTheEvilFragment extends Quest
String htmltext = null;
switch (event)
{
case "32972-04.htm":
case "32972-04.html":
{
qs.startQuest();
qs.giveItems(EVIL_FRAGMENT, 1);
@@ -72,12 +72,12 @@ public final class Q10328_RequestToSealTheEvilFragment extends Quest
}
case "32972-02.htm":
case "32972-03.htm":
case "30565-02.htm":
case "30565-02.html":
{
htmltext = event;
break;
}
case "30565-03.htm":
case "30565-03.html":
{
if (qs.isStarted())
{
@@ -112,12 +112,12 @@ public final class Q10328_RequestToSealTheEvilFragment extends Quest
}
case State.STARTED:
{
htmltext = npc.getId() == PANTHEON ? "32972-05.htm" : "30565-01.htm";
htmltext = npc.getId() == PANTHEON ? "32972-05.html" : "30565-01.html";
break;
}
case State.COMPLETED:
{
htmltext = npc.getId() == PANTHEON ? "32972-07.htm" : "30565-04.htm";
htmltext = npc.getId() == PANTHEON ? "32972-07.html" : "30565-04.html";
break;
}
}