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>
We think they were looking for anything related to the Giants,and tried to steal The War of Gods and Giants, an ancient book that was discovered in Ye Sagira.<br>
It has many stories about the powers of the Giants, how that power can be learned, and about others species from their time. Now that the island has crashed, perhaps we should think about safeguarding the book...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10327_IntruderWhoWantsTheBookOfGiants 32972-03.htm">"I'd like to help."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10327_IntruderWhoWantsTheBookOfGiants 32972-03.html">"I'd like to help."</Button>
</body></html>

View File

@@ -1,5 +1,5 @@
<html><head><body>Pantheon:<br>
You've brought the book? Good! It must have been difficult to find it amongst all those others!<br>
I hope you didn't get hurt either - Gallint may be a fool, but plenty have hurt themselves moving books around before him.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10327_IntruderWhoWantsTheBookOfGiants 32972-06.htm">"I had to fight someone!"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10327_IntruderWhoWantsTheBookOfGiants 32972-06.html">"I had to fight someone!"</Button>
</body></html>

View File

@@ -48,8 +48,8 @@ public class Q10327_IntruderWhoWantsTheBookOfGiants extends Quest
addStartNpc(PANTHEON);
addTalkId(PANTHEON);
registerQuestItems(THE_WAR_OF_GODS_AND_GIANTS);
addCondMaxLevel(MAX_LEVEL, "no_level.htm");
addCondCompletedQuest(Q10326_RespectYourElders.class.getSimpleName(), "no_level.htm");
addCondMaxLevel(MAX_LEVEL, "no_level.html");
addCondCompletedQuest(Q10326_RespectYourElders.class.getSimpleName(), "no_level.html");
}
@Override
@@ -69,13 +69,13 @@ public class Q10327_IntruderWhoWantsTheBookOfGiants extends Quest
htmltext = event;
break;
}
case "32972-03.htm":
case "32972-03.html":
{
qs.startQuest();
htmltext = event;
break;
}
case "32972-06.htm":
case "32972-06.html":
{
if (qs.isCond(3))
{
@@ -108,17 +108,17 @@ public class Q10327_IntruderWhoWantsTheBookOfGiants extends Quest
{
if (qs.isCond(3))
{
htmltext = "32972-05.htm";
htmltext = "32972-05.html";
}
else
{
htmltext = "32972-04.htm";
htmltext = "32972-04.html";
}
break;
}
case State.COMPLETED:
{
htmltext = "32972-07.htm";
htmltext = "32972-07.html";
break;
}
}