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>Lakcis:<br>
Why are you here? It's not safe here - you should go back to town now! Hell, even I'm thinking of leaving if this many monsters keep showing up!<br>
It's embarrassing to say this but I don't even know how to use magic because I am just a scholar.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10330_ToTheRuinsOfYeSagira 32977-02.htm">"Really? Atran sent me."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10330_ToTheRuinsOfYeSagira 32977-02.html">"Really? Atran sent me."</Button>
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Lakcis:<br>
What? Atran did? That kid was badly hurt last time he was here, I hope he's okay these days.<br>
Did you have a message or anything? I doubt Atran wanted you to have the same thing that happened to him happen to you.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10330_ToTheRuinsOfYeSagira 32977-03.htm">"He told me to tell you to stop being an idiot Seeker."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10330_ToTheRuinsOfYeSagira 32977-03.html">"He told me to tell you to stop being an idiot Seeker."</Button>
</body></html>

View File

@@ -3,5 +3,5 @@ You want to go to Ye Sagira? For what reason?<br1>
There are not many rangers left at the <font color="LEVEL">Ruins of Ye Sagira</font>... maybe one or two per exploration zone, but they're not fighters, and can't help you if you find yourself in danger.<br>
Idiots go there without a plan, and idiots get hurt. That's how I broke my...<br>
No, no... That's not why I got hurt. Anyway. Are you really going there?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10330_ToTheRuinsOfYeSagira 33448-03.htm">"Yes."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10330_ToTheRuinsOfYeSagira 33448-03.html">"Yes."</Button>
</body></html>

View File

@@ -51,9 +51,9 @@ public class Q10330_ToTheRuinsOfYeSagira extends Quest
super(10330, Q10330_ToTheRuinsOfYeSagira.class.getSimpleName(), "To the Ruins of Ye Sagira");
addStartNpc(ATRAN);
addTalkId(ATRAN, LAKCIS);
addCondMinLevel(MIN_LEVEL, "33448-05.htm");
addCondMaxLevel(MAX_LEVEL, "33448-05.htm");
addCondCompletedQuest(Q10329_BackupSeekers.class.getSimpleName(), "33448-05.htm");
addCondMinLevel(MIN_LEVEL, "33448-05.html");
addCondMaxLevel(MAX_LEVEL, "33448-05.html");
addCondCompletedQuest(Q10329_BackupSeekers.class.getSimpleName(), "33448-05.html");
}
@Override
@@ -69,18 +69,18 @@ public class Q10330_ToTheRuinsOfYeSagira extends Quest
switch (event)
{
case "33448-02.htm":
case "32977-02.htm":
case "32977-02.html":
{
htmltext = event;
break;
}
case "33448-03.htm":
case "33448-03.html":
{
qs.startQuest();
htmltext = event;
break;
}
case "32977-03.htm":
case "32977-03.html":
{
if (qs.isStarted())
{
@@ -109,17 +109,17 @@ public class Q10330_ToTheRuinsOfYeSagira extends Quest
{
case State.CREATED:
{
htmltext = npc.getId() == ATRAN ? "33448-01.htm" : "32977-04.htm";
htmltext = npc.getId() == ATRAN ? "33448-01.htm" : "32977-04.html";
break;
}
case State.STARTED:
{
htmltext = npc.getId() == ATRAN ? "33448-04.htm" : "32977-01.htm";
htmltext = npc.getId() == ATRAN ? "33448-04.html" : "32977-01.html";
break;
}
case State.COMPLETED:
{
htmltext = npc.getId() == ATRAN ? "33448-06.htm" : "32977-05.htm";
htmltext = npc.getId() == ATRAN ? "33448-06.html" : "32977-05.html";
break;
}
}