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,5 +1,5 @@
<html><body>Pantheon:<br>
Hmm? You came Gallint instead? Injured by falling book... How is he? He could not move away from the shock of the fall of the Island, but still continued to work... Even don `t know what to say... just restless... Hmm...<br>
Right. What Gallint asked me to tell me?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10326_RespectYourElders 32972-02.htm">"To say that the Ruins Esagira began to notice Suspicious Types."</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10326_RespectYourElders 32972-02.html">"To say that the Ruins Esagira began to notice Suspicious Types."</button>
</body></html>

View File

@@ -2,5 +2,5 @@
You know... Today I long for the first time, brought order to the documents. There were so many that had to move folders using magic.<br>
But these manuscripts was so much dust that I started sneezing. Distracted, and documents that are carried through the air, dropped over. Now sore lower back.<br>
For three days had passed on his feet I stood up, but moving all Yeshe hard. It was necessary to convey something of the Pantheon. Phew.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10326_RespectYourElders 32980-03.htm">"Offer Help"</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10326_RespectYourElders 32980-03.html">"Offer Help"</button>
</body></html>

View File

@@ -65,8 +65,8 @@ public class Q10326_RespectYourElders extends Quest
addTalkId(GALLINT, PANTHEON);
addSpawnId(HANDERMONKEY);
addMoveFinishedId(HANDERMONKEY);
addCondMaxLevel(MAX_LEVEL, "32980-04.htm");
addCondCompletedQuest(Q10325_SearchingForNewPower.class.getSimpleName(), "32980-05.htm");
addCondMaxLevel(MAX_LEVEL, "32980-04.html");
addCondCompletedQuest(Q10325_SearchingForNewPower.class.getSimpleName(), "32980-05.html");
}
@Override
@@ -81,7 +81,7 @@ public class Q10326_RespectYourElders extends Quest
String htmltext = null;
switch (event)
{
case "32980-03.htm":
case "32980-03.html":
{
qs.startQuest();
htmltext = event;
@@ -89,7 +89,7 @@ public class Q10326_RespectYourElders extends Quest
startQuestTimer("MOVE_DELAY", 500, handerMonkey, player);
break;
}
case "32972-02.htm":
case "32972-02.html":
{
if (qs.isStarted())
{
@@ -204,12 +204,12 @@ public class Q10326_RespectYourElders extends Quest
}
case State.STARTED:
{
htmltext = npc.getId() == GALLINT ? "32980-03.htm" : "32972-01.htm";
htmltext = npc.getId() == GALLINT ? "32980-03.html" : "32972-01.html";
break;
}
case State.COMPLETED:
{
htmltext = npc.getId() == GALLINT ? "32980-04.htm" : "32972-03.htm";
htmltext = npc.getId() == GALLINT ? "32980-04.html" : "32972-03.html";
break;
}
}