Converting Ertheia quests to follow showHtmlFile logic.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<html><body>Weapon Merchant Evna:<br>
|
||||
Welcome! What do you want? Of course you want weapons from me. Take your pick. All my goods are durable.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10738_AnInnerBeauty 33935-02.htm">"Grakon sent me."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10738_AnInnerBeauty 33935-02.html">"Grakon sent me."</Button>
|
||||
</body></html>
|
@@ -1,5 +1,5 @@
|
||||
<html><body>Weapon Merchant Evna:<br>
|
||||
Grakon? Who's that?<br>
|
||||
You mean the old warehouse keeper? He creeps me out. I hate seeing him grinning at me whenever I visit. I try not to visit. But what's this about?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10738_AnInnerBeauty 33935-03.htm">"I have his note."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10738_AnInnerBeauty 33935-03.html">"I have his note."</Button>
|
||||
</body></html>
|
@@ -3,5 +3,5 @@ Oh, how embarrassing. Actually, I wrote that poem with someone in mind. Heh.<br>
|
||||
Who's it about, you say? How about you mind your own business and pay me for my recitation?<br>
|
||||
Don't freeze up like that, naive fellow. I was just joking.<br>
|
||||
I do have one request, though. Want to hear it?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10738_AnInnerBeauty 33947-04.htm">"Do I? I suppose..."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10738_AnInnerBeauty 33947-04.html">"Do I? I suppose..."</Button>
|
||||
</body></html>
|
@@ -2,5 +2,5 @@
|
||||
You didn't hear? Hmph. I see. What? I didn't say anything.<br>
|
||||
No one ever hears me. No one wants to listen to my lonely heart! They only want me when they need me for something.<br>
|
||||
You're not like that, are you? You'll listen, right? And do me a favor?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10738_AnInnerBeauty 33947-04.htm">"What? I didn't hear -- oh, fine."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10738_AnInnerBeauty 33947-04.html">"What? I didn't hear -- oh, fine."</Button>
|
||||
</body></html>
|
@@ -46,9 +46,9 @@ public class Q10738_AnInnerBeauty extends Quest
|
||||
super(10738, Q10738_AnInnerBeauty.class.getSimpleName(), "An Inner Beauty");
|
||||
addStartNpc(GRAKON);
|
||||
addTalkId(GRAKON, EVNA);
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "33947-05.htm");
|
||||
addCondRace(Race.ERTHEIA, "33947-05.htm");
|
||||
addCondCompletedQuest(Q10737_GrakonsWarehouse.class.getSimpleName(), "33947-05.htm");
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "33947-05.html");
|
||||
addCondRace(Race.ERTHEIA, "33947-05.html");
|
||||
addCondCompletedQuest(Q10737_GrakonsWarehouse.class.getSimpleName(), "33947-05.html");
|
||||
registerQuestItems(GRAKON_S_NOTE.getId());
|
||||
}
|
||||
|
||||
@@ -66,19 +66,19 @@ public class Q10738_AnInnerBeauty extends Quest
|
||||
{
|
||||
case "33947-02.htm":
|
||||
case "33947-03.htm":
|
||||
case "33935-02.htm":
|
||||
case "33935-02.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "33947-04.htm":
|
||||
case "33947-04.html":
|
||||
{
|
||||
qs.startQuest();
|
||||
giveItems(player, GRAKON_S_NOTE);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "33935-03.htm":
|
||||
case "33935-03.html":
|
||||
{
|
||||
if (qs.isStarted())
|
||||
{
|
||||
@@ -112,14 +112,14 @@ public class Q10738_AnInnerBeauty extends Quest
|
||||
}
|
||||
else if (qs.isStarted())
|
||||
{
|
||||
htmltext = "33947-04.htm";
|
||||
htmltext = "33947-04.html";
|
||||
}
|
||||
}
|
||||
else if (npc.getId() == EVNA)
|
||||
{
|
||||
if (qs.isStarted())
|
||||
{
|
||||
htmltext = "33935-01.htm";
|
||||
htmltext = "33935-01.html";
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
|
Reference in New Issue
Block a user