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>Pa'agrio Lord Kakai:<br>
The Evil Fragments continue to spread. It's beginning to be a toss up whether we're doing archaeology or parasite control over in the ruins. I'd love to send over some reinforcements, but we've had a rash of monster attacks in the village, so I can't just reassign troops.<br>
Could you head on over to Ye Sagira and help out?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10329_BackupSeekers 30565-03.htm">"No problem."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10329_BackupSeekers 30565-03.html">"No problem."</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Atran:<br>
Why are you looking at me like that? It makes me feel terrible! Who are you? Huh?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10329_BackupSeekers 33448-02.htm">"Kakai sent me."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10329_BackupSeekers 33448-02.html">"Kakai sent me."</Button>
</body></html>

View File

@@ -87,8 +87,8 @@ public class Q10329_BackupSeekers extends Quest
addTalkId(KAKAI, ATRAN);
addSpawnId(BART);
addMoveFinishedId(BART);
addCondMaxLevel(MAX_LEVEL, "30565-05.htm");
addCondCompletedQuest(Q10328_RequestToSealTheEvilFragment.class.getSimpleName(), "30565-05.htm");
addCondMaxLevel(MAX_LEVEL, "30565-05.html");
addCondCompletedQuest(Q10328_RequestToSealTheEvilFragment.class.getSimpleName(), "30565-05.html");
}
@Override
@@ -108,7 +108,7 @@ public class Q10329_BackupSeekers extends Quest
htmltext = event;
break;
}
case "30565-03.htm":
case "30565-03.html":
{
qs.startQuest();
htmltext = event;
@@ -118,7 +118,7 @@ public class Q10329_BackupSeekers extends Quest
startQuestTimer("MOVE_DELAY", 500, bart, player);
break;
}
case "33448-02.htm":
case "33448-02.html":
{
if (qs.isStarted())
{
@@ -279,12 +279,12 @@ public class Q10329_BackupSeekers extends Quest
}
case State.STARTED:
{
htmltext = npc.getId() == KAKAI ? "30565-04.htm" : "33448-01.htm";
htmltext = npc.getId() == KAKAI ? "30565-04.html" : "33448-01.html";
break;
}
case State.COMPLETED:
{
htmltext = npc.getId() == KAKAI ? "30565-06.htm" : "33448-03.htm";
htmltext = npc.getId() == KAKAI ? "30565-06.html" : "33448-03.html";
break;
}
}