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

@@ -4,5 +4,5 @@ But it's not like I hate my job. <font color="LEVEL">Armor</font> increases <fon
I take pride in helping people protect themselves. A full set of a top, pants, gloves, boots, and a helmet will help you to withstand any attacks.<br>
But you don't look like you're here to buy armor.<br1>
What do you need?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10739_SupplyAndDemand 33934-02.htm">"I'm running errands for Evna."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10739_SupplyAndDemand 33934-02.html">"I'm running errands for Evna."</Button>
</body></html>

View File

@@ -2,5 +2,5 @@
Okay, okay! You're impatient. Some dwarves are dying to talk to me.<br>
I want you to take the shipment from me and other merchants here to the forest patrol. Of course, you will be handsomely rewarded.<br>
You get to make money, and I get to make money. It's a win-win.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10739_SupplyAndDemand 33935-03.htm">"I'll take the job"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10739_SupplyAndDemand 33935-03.html">"I'll take the job"</Button>
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Grocer Pelu:<br>
Armor Merchant Denya sent you, didn't she? How did I know? My eyes are just that good. You were talking to her just now.<br>
By the way, do you know what I sell?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10739_SupplyAndDemand 33936-02.htm">"What do you sell?"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10739_SupplyAndDemand 33936-02.html">"What do you sell?"</Button>
</body></html>

View File

@@ -3,5 +3,5 @@ You're finally here. I've been waiting for you. Am I the last one? You need to r
Outside town, you will find the <font color="LEVEL">Whispering Woods.</font> It was transferred from the Wind Spirit Realm along with the village.
The animals and fairies there became violent as they came through the Dimensional Rift, so the Forest Patrols are watching them.<br>
You must deliver the supply box soon, so they don't get hurt doing their job.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10739_SupplyAndDemand 33937-02.htm">"What do I deliver?"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10739_SupplyAndDemand 33937-02.html">"What do I deliver?"</Button>
</body></html>

View File

@@ -59,9 +59,9 @@ public class Q10739_SupplyAndDemand extends Quest
addStartNpc(EVNA);
addTalkId(EVNA, DENYA, PELU, CERI, SIVANTHE);
registerQuestItems(WEAPON_SUPPLY_BOX.getId(), ARMOR_SUPPLY_BOX.getId(), GROCERY_SUPPLY_BOX.getId(), ACCESSORY_SUPPLY_BOX.getId());
addCondLevel(MIN_LEVEL, MAX_LEVEL, "33935-05.htm");
addCondRace(Race.ERTHEIA, "33935-05.htm");
addCondCompletedQuest(Q10738_AnInnerBeauty.class.getSimpleName(), "33935-05.htm");
addCondLevel(MIN_LEVEL, MAX_LEVEL, "33935-05.html");
addCondRace(Race.ERTHEIA, "33935-05.html");
addCondCompletedQuest(Q10738_AnInnerBeauty.class.getSimpleName(), "33935-05.html");
}
@Override
@@ -76,14 +76,14 @@ public class Q10739_SupplyAndDemand extends Quest
String htmltext = null;
switch (event)
{
case "33935-03.htm":
case "33935-03.html":
{
qs.startQuest();
giveItems(player, WEAPON_SUPPLY_BOX);
htmltext = event;
break;
}
case "33934-02.htm":
case "33934-02.html":
{
if (qs.isCond(1))
{
@@ -93,7 +93,7 @@ public class Q10739_SupplyAndDemand extends Quest
}
break;
}
case "33936-02.htm":
case "33936-02.html":
{
if (qs.isCond(2))
{
@@ -103,7 +103,7 @@ public class Q10739_SupplyAndDemand extends Quest
}
break;
}
case "33937-02.htm":
case "33937-02.html":
{
if (qs.isCond(3))
{
@@ -143,40 +143,40 @@ public class Q10739_SupplyAndDemand extends Quest
}
else if (qs.isStarted())
{
htmltext = "33935-04.htm";
htmltext = "33935-04.html";
}
break;
case DENYA:
if (qs.isCond(1))
{
htmltext = "33934-01.htm";
htmltext = "33934-01.html";
}
else if (qs.isCond(2))
{
htmltext = "33934-03.htm";
htmltext = "33934-03.html";
}
break;
case PELU:
if (qs.isCond(2))
{
htmltext = "33936-01.htm";
htmltext = "33936-01.html";
}
else if (qs.isCond(3))
{
htmltext = "33936-03.htm";
htmltext = "33936-03.html";
}
break;
case CERI:
if (qs.isCond(3))
{
htmltext = "33937-01.htm";
htmltext = "33937-01.html";
}
else if (qs.isCond(4))
{
htmltext = "33937-03.htm";
htmltext = "33937-03.html";
}
break;
@@ -191,7 +191,7 @@ public class Q10739_SupplyAndDemand extends Quest
addExpAndSp(player, 8136, 0);
qs.exitQuest(false, true);
showOnScreenMsg(player, NpcStringId.CHECK_YOUR_EQUIPMENT_IN_YOUR_INVENTORY, ExShowScreenMessage.TOP_CENTER, 4500);
htmltext = "33951-01.htm";
htmltext = "33951-01.html";
}
break;
}