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

@@ -2,5 +2,5 @@
It is a devastating tale that you will soon learn. Once one of the seals that bound the Goddess of Destruction was released, many catastrophic events followed. Such was the case with the fall of Ye Sagira.<br>
Scholars including myself were dispatched to study the ruins. Soon all other races came as well.<br>
I cannot recall the event fully, but Theodore knows more about when the migration of all the races came to Talking Island Village. You should speak with him.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10320_LetsGoToTheCentralSquare 32972-03.htm">"Umm... Where can I find him?"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10320_LetsGoToTheCentralSquare 32972-03.html">"Umm... Where can I find him?"</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Theodore:<br>
Ah, I see the Pantheon has sent another to ask me about the migration of the races here in Talking Island Village. Is this what you've come to discuss?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10320_LetsGoToTheCentralSquare 32975-02.htm">Ask about migration of races.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10320_LetsGoToTheCentralSquare 32975-02.html">Ask about migration of races.</Button>
</body></html>

View File

@@ -62,8 +62,8 @@ public final class Q10320_LetsGoToTheCentralSquare extends Quest
addStartNpc(PANTHEON);
addTalkId(PANTHEON, THEODORE);
addEnterZoneId(TALKING_ISLAND_PRESENTATION_MOVIE_ZONE);
addCondMaxLevel(MAX_LEVEL, "32972-01a.htm");
addCondNotRace(Race.ERTHEIA, "32972-01b.htm");
addCondMaxLevel(MAX_LEVEL, "32972-01a.html");
addCondNotRace(Race.ERTHEIA, "32972-01b.html");
}
@Override
@@ -78,7 +78,7 @@ public final class Q10320_LetsGoToTheCentralSquare extends Quest
String htmltext = null;
switch (event)
{
case "32972-03.htm":
case "32972-03.html":
{
qs.startQuest();
qs.setCond(2); // Show arrow hack
@@ -92,7 +92,7 @@ public final class Q10320_LetsGoToTheCentralSquare extends Quest
htmltext = event;
break;
}
case "32975-02.htm":
case "32975-02.html":
{
giveAdena(player, 30, true);
addExpAndSp(player, 30, 5);
@@ -115,17 +115,17 @@ public final class Q10320_LetsGoToTheCentralSquare extends Quest
{
case State.CREATED:
{
htmltext = npc.getId() == PANTHEON ? "32972-01.htm" : "32975-04.htm";
htmltext = npc.getId() == PANTHEON ? "32972-01.htm" : "32975-04.html";
break;
}
case State.STARTED:
{
htmltext = npc.getId() == PANTHEON ? "32972-04.htm" : "32975-01.htm";
htmltext = npc.getId() == PANTHEON ? "32972-04.html" : "32975-01.html";
break;
}
case State.COMPLETED:
{
htmltext = npc.getId() == PANTHEON ? "32972-05.htm" : "32975-03.htm";
htmltext = npc.getId() == PANTHEON ? "32972-05.html" : "32975-03.html";
break;
}
}