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

@@ -10,6 +10,6 @@ within this tome.<br>
Before accepting this power I must warn you that you will have to give up all that you have learned. Also, you can be
consumed by this power if you do not know how to control it. Although, by looking at you I can tell that despite these
warnings you still wish to accept the power of the Giants.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10338_SeizeYourDestiny 33340-02.htm">Accept the Scroll of Afterlife.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10338_SeizeYourDestiny 33340-02.html">Accept the Scroll of Afterlife.</Button>
</body>
</html>

View File

@@ -5,6 +5,6 @@ There is something… strange about you. I am Hadel, a disciple of the great Gia
What brings you to this place? Are you another one of those tomb raiders looking to steal artifacts from the Giants? Speak!<br>
Oh, Cellphine sent you here… then that is what I sense about you. You are here to free my master Hermuncus.
I can feel strong and unyielding energy resonating within your soul. Yes, you do seem to have certain strength about you suitable to save the master.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10338_SeizeYourDestiny 33344-02.htm">"Tell me more about Hermuncus."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10338_SeizeYourDestiny 33344-02.html">"Tell me more about Hermuncus."</Button>
</body>
</html>

View File

@@ -10,6 +10,6 @@ was to be an example of what would happen if anyone challenged the gods ever aga
When Shilen tore Ye Sagira from the sky causing it to crash it broke part of the seal that contained Hermuncus soul,
allowing him to find those who would be able help him. You need to find Hermuncus and break the remaining seals to free
his soul.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10338_SeizeYourDestiny 33344-03.htm">"Is that safe? I mean, he challenged the gods!"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10338_SeizeYourDestiny 33344-03.html">"Is that safe? I mean, he challenged the gods!"</Button>
</body>
</html>

View File

@@ -11,6 +11,6 @@ Look around you...Our world is collapsing into chaos and we are at the end of th
Shilen will destroy this world so that the gods may start again. Why do you think they are not doing anything to stop her?
They are simply sitting and waiting... there is no interest in saving what is already here. How about you? Can you just sit
here and wait for the world to come to an end?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10338_SeizeYourDestiny 33344-04.htm">"No. No I can't!"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10338_SeizeYourDestiny 33344-04.html">"No. No I can't!"</Button>
</body>
</html>

View File

@@ -6,6 +6,6 @@ gods would be no better than what they did to the Giants and what they are plann
<font color="LEVEL">free Hermuncus... if you accept the power that he can give you... you will wield the power to save our world.</font>!<br>
The choice is yours. <font color="LEVEL">Do you wish to wield the power of Giants</font>, or
<font color="LEVEL">do you want to wait for Shilen to destroy us all</font>?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10338_SeizeYourDestiny 33344-05.htm">"I'll help Hermuncus."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10338_SeizeYourDestiny 33344-05.html">"I'll help Hermuncus."</Button>
</body>
</html>

View File

@@ -9,6 +9,6 @@ Hermuncus soul slept until recently. When Shilen tore Ye Sagira from the sky cau
act released a seal on his spirit allowing him to call upon those who would help him.<br>
If you help him, it could be possible that he will help you Awaken your true power. You could have the same power that
the gods and Giants once had. Will you help free Hermuncus?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10338_SeizeYourDestiny 33477-03.htm">The power of the Giants do sound nice.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10338_SeizeYourDestiny 33477-03.html">The power of the Giants do sound nice.</Button>
</body>
</html>

View File

@@ -54,10 +54,10 @@ public class Q10338_SeizeYourDestiny extends Quest
addStartNpc(CELLPHINE);
addTalkId(CELLPHINE, HADEL, HERMUNCUS);
addKillId(HARNAKS_WRAITH);
addCondNotClassId(ClassId.JUDICATOR, "33477-04.htm");
addCondIsNotSubClassActive("33477-04.htm");
addCondMinLevel(85, "33477-04.htm");
addCondInCategory(CategoryType.FOURTH_CLASS_GROUP, "33477-04.htm");
addCondNotClassId(ClassId.JUDICATOR, "33477-04.html");
addCondIsNotSubClassActive("33477-04.html");
addCondMinLevel(85, "33477-04.html");
addCondInCategory(CategoryType.FOURTH_CLASS_GROUP, "33477-04.html");
}
@Override
@@ -84,13 +84,13 @@ public class Q10338_SeizeYourDestiny extends Quest
player.showQuestMovie(RELIQUARY_OF_THE_GIANT_SCENE);
break;
}
case "33477-03.htm":
case "33477-03.html":
{
qs.startQuest();
htmltext = event;
break;
}
case "33344-05.htm":
case "33344-05.html":
{
if (qs.isCond(1))
{
@@ -99,7 +99,7 @@ public class Q10338_SeizeYourDestiny extends Quest
}
break;
}
case "33340-02.htm":
case "33340-02.html":
{
if (qs.isCond(3))
{
@@ -111,9 +111,9 @@ public class Q10338_SeizeYourDestiny extends Quest
}
break;
}
case "33344-02.htm":
case "33344-03.htm":
case "33344-04.htm":
case "33344-02.html":
case "33344-03.html":
case "33344-04.html":
case "33477-02.htm":
{
htmltext = event;
@@ -135,11 +135,11 @@ public class Q10338_SeizeYourDestiny extends Quest
{
if (qs.isStarted())
{
htmltext = "33477-06.htm";
htmltext = "33477-06.html";
}
else if (qs.hasQuestItems(SCROLL_OF_AFTERLIFE.getId()) || qs.isCompleted())
{
htmltext = "33477-05.htm";
htmltext = "33477-05.html";
}
else if (qs.isCreated())
{
@@ -151,15 +151,15 @@ public class Q10338_SeizeYourDestiny extends Quest
{
if (qs.isCompleted() || player.isInCategory(CategoryType.AWAKEN_GROUP) || qs.hasQuestItems(SCROLL_OF_AFTERLIFE.getId()))
{
htmltext = "33344-07.htm";
htmltext = "33344-07.html";
}
else if (player.getLevel() < 85)
{
htmltext = "33344-06.htm";
htmltext = "33344-06.html";
}
else if (player.isSubClassActive() && !player.isDualClassActive())
{
htmltext = "33344-09.htm";
htmltext = "33344-09.html";
}
else
{
@@ -167,17 +167,17 @@ public class Q10338_SeizeYourDestiny extends Quest
{
case 1:
{
htmltext = "33344-01.htm";
htmltext = "33344-01.html";
break;
}
case 2:
{
htmltext = "33344-08.htm";
htmltext = "33344-08.html";
break;
}
case 3:
{
htmltext = "33344-07.htm";
htmltext = "33344-07.html";
break;
}
}
@@ -188,17 +188,17 @@ public class Q10338_SeizeYourDestiny extends Quest
{
if (player.isSubClassActive() && !player.isDualClassActive())
{
htmltext = "33340-04.htm";
htmltext = "33340-04.html";
break;
}
else if (qs.isCond(3))
{
htmltext = "33340-01.htm";
htmltext = "33340-01.html";
break;
}
else if (qs.hasQuestItems(SCROLL_OF_AFTERLIFE.getId()))
{
htmltext = "33340-03.htm";
htmltext = "33340-03.html";
break;
}
break;