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>Forest Patrol Milone:<br>
It's Maestro Dolkin. At first I wondered what a Warehouse Keeper was doing here. He doesn't waste even a branch on the ground. He never rest until he finishes the research he started. Are you interested? He is always whining about lack of research material. Perhaps he could get you something nice if you be nice to him.<br>
Do you want to go see him?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10744_StrongerThanSteel 33953-03.htm">"I do."</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10744_StrongerThanSteel 33953-03.html">"I do."</button>
</body></html>

View File

@@ -2,5 +2,5 @@
You can't produce strong weapon or armor by just banging on the ingredients for a long time. The material and the timing have to be just right in order to produce some brilliant gear. Just like how I can. Ha ha ha.<br>
Now that I see it, your armor is very poor. It's not affording you much protection, and you'll get injured eventually. Now, I am a very skilled Dwarf. Even that snooty Forest Patroller Milone acknowledges this.<br>
If I gave you some good armor, will you consider helping me with something? It's nothing bad, just gathering up some material.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10744_StrongerThanSteel 33954-02.htm">"What is it?"</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10744_StrongerThanSteel 33954-02.html">"What is it?"</button>
</body></html>

View File

@@ -2,5 +2,5 @@
You've got fire in you. I like that!<br>
What material do you think will produce the strongest armor? Diamond's a strong material, but it's very expensive and hard to forge. Steel is good, but it's too heavy, and rusts easily.<br>
The best material I've found is a tree leaf! The tree leaves around here are different from other leaves. They don't decay and they're very durable. And they're light! I've been researching the leaves in the Whispering Woods for use in high-quality armor. Leaves, stronger than steel! Don't you think that's amazing?
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10744_StrongerThanSteel 33954-03.htm">"Get to the point."</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10744_StrongerThanSteel 33954-03.html">"Get to the point."</button>
</body></html>

View File

@@ -48,8 +48,8 @@ public class Q10744_StrongerThanSteel extends Quest
addTalkId(MILONE, DOLKIN);
addKillId(TREANT, LEAFIE);
registerQuestItems(TREANT_LEAF, LEAFIE_LEAF);
addCondLevel(MIN_LEVEL, MAX_LEVEL, "fixme.htm");
addCondRace(Race.ERTHEIA, "fixme.htm");
addCondLevel(MIN_LEVEL, MAX_LEVEL, "fixme.html");
addCondRace(Race.ERTHEIA, "fixme.html");
}
@Override
@@ -65,18 +65,18 @@ public class Q10744_StrongerThanSteel extends Quest
switch (event)
{
case "33953-02.htm":
case "33954-02.htm":
case "33954-02.html":
{
htmltext = event;
break;
}
case "33953-03.htm":
case "33953-03.html":
{
qs.startQuest();
htmltext = event;
break;
}
case "33954-03.htm":
case "33954-03.html":
{
if (qs.isCond(1))
{
@@ -109,7 +109,7 @@ public class Q10744_StrongerThanSteel extends Quest
}
else if (qs.isStarted())
{
htmltext = "33953-03.htm";
htmltext = "33953-03.html";
}
break;
}
@@ -117,11 +117,11 @@ public class Q10744_StrongerThanSteel extends Quest
{
if (qs.isCond(1))
{
htmltext = "33954-01.htm";
htmltext = "33954-01.html";
}
else if (qs.isCond(3))
{
htmltext = "33954-04.htm";
htmltext = "33954-04.html";
giveAdena(player, 34000, true);
addExpAndSp(player, 112001, 5);
qs.exitQuest(false, true);