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,4 +1,4 @@
<html><body>Shannon:<br>
Did you learn a lot from Evain? Fight off the hordes of scarecrows? Travel to any exotic underground locations? Ha ha ha. You need to learn from the field! Did you learn ANYTHING there?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10323_TrainLikeItsReal 32974-02.htm">"I can use shots now... that's pretty cool."</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10323_TrainLikeItsReal 32974-02.html">"I can use shots now... that's pretty cool."</button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Holden:<br>
Evain sent you? That means you only had practice against a dummy. That's not enough. Wouldn't you agree that your training will only be effective if you train as if it were real combat?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10323_TrainLikeItsReal 33194-02.htm">"Sound reasonable!"</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10323_TrainLikeItsReal 33194-02.html">"Sound reasonable!"</button>
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Holden:<br>
That's why we made a Training Golem. It's designed to attack you, but won't be dangerous.<br>
Can you show me what you're capable of?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10323_TrainLikeItsReal 33194-03.htm">"All right"</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10323_TrainLikeItsReal 33194-03.html">"All right"</button>
</body></html>

View File

@@ -3,5 +3,5 @@ Good job.<br>
Good work. But I noticed that there wasn't any light of spirits when you were fighting. Using
<font color=LEVEL>Soulshots or Spiritshots</font> will empower you weapons temporarily to deal powerful attacks<br>
Do you know how to use Soulshots?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10323_TrainLikeItsReal 33194-05.htm">"No, please tell me."</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10323_TrainLikeItsReal 33194-05.html">"No, please tell me."</button>
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Holden:<br>
You're done. How was it? Isn't it more efficient?<br>
Make sure to use what you've learned in battle later.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10323_TrainLikeItsReal 33194-08.htm">All right</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10323_TrainLikeItsReal 33194-08.html">All right</button>
</body></html>

View File

@@ -2,5 +2,5 @@
Good. After all, a dummy is an easy opponent.<br>
We wanted to prepare something a little more challenging for you. You know, something that actually moves?<br>
This training is to prepare you for battle, not to knock down straw dolls.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10323_TrainLikeItsReal 33464-03.htm">Give me the task</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10323_TrainLikeItsReal 33464-03.html">Give me the task</button>
</body></html>

View File

@@ -58,8 +58,8 @@ public class Q10323_TrainLikeItsReal extends Quest
addStartNpc(EVAIN);
addTalkId(HOLDEN, EVAIN, SHANNON);
addKillId(TRAINING_GOLEM);
addCondMaxLevel(MAX_LEVEL, "33464-05.htm");
addCondCompletedQuest(Q10322_SearchingForTheMysteriousPower.class.getSimpleName(), "33464-05.htm");
addCondMaxLevel(MAX_LEVEL, "33464-05.html");
addCondCompletedQuest(Q10322_SearchingForTheMysteriousPower.class.getSimpleName(), "33464-05.html");
}
@Override
@@ -76,7 +76,7 @@ public class Q10323_TrainLikeItsReal extends Quest
switch (event)
{
case "33464-02.htm":
case "33194-02.htm":
case "33194-02.html":
{
htmltext = event;
break;
@@ -91,13 +91,13 @@ public class Q10323_TrainLikeItsReal extends Quest
showOnScreenMsg(player, NpcStringId.AUTOMATE_SOULSHOT_AS_SHOWN_IN_THE_TUTORIAL, ExShowScreenMessage.TOP_CENTER, 4500);
break;
}
case "33464-03.htm":
case "33464-03.html":
{
qs.startQuest();
htmltext = event;
break;
}
case "33194-03.htm":
case "33194-03.html":
{
if (qs.isCond(1))
{
@@ -106,7 +106,7 @@ public class Q10323_TrainLikeItsReal extends Quest
}
break;
}
case "33194-05.htm":
case "33194-05.html":
{
if (qs.isCond(3))
{
@@ -131,7 +131,7 @@ public class Q10323_TrainLikeItsReal extends Quest
}
break;
}
case "33194-08.htm":
case "33194-08.html":
{
if (qs.isCond(8))
{
@@ -140,7 +140,7 @@ public class Q10323_TrainLikeItsReal extends Quest
}
break;
}
case "32974-02.htm":
case "32974-02.html":
{
if (qs.isCond(9))
{
@@ -173,7 +173,7 @@ public class Q10323_TrainLikeItsReal extends Quest
}
else if (npc.getId() == SHANNON)
{
htmltext = "32974-03.htm";
htmltext = "32974-03.html";
break;
}
}
@@ -181,7 +181,7 @@ public class Q10323_TrainLikeItsReal extends Quest
{
if (npc.getId() == EVAIN)
{
htmltext = "33464-03.htm";
htmltext = "33464-03.html";
break;
}
else if (npc.getId() == HOLDEN)
@@ -190,29 +190,29 @@ public class Q10323_TrainLikeItsReal extends Quest
{
case 1:
{
htmltext = "33194-01.htm";
htmltext = "33194-01.html";
break;
}
case 3:
{
htmltext = "33194-04.htm";
htmltext = "33194-04.html";
break;
}
case 4:
{
htmltext = "33194-06.htm";
htmltext = "33194-06.html";
qs.setCond(6, true);
break;
}
case 5:
{
htmltext = "33194-06.htm";
htmltext = "33194-06.html";
qs.setCond(7, true);
break;
}
case 8:
{
htmltext = "33194-07.htm";
htmltext = "33194-07.html";
break;
}
}
@@ -222,7 +222,7 @@ public class Q10323_TrainLikeItsReal extends Quest
{
if (qs.isCond(9))
{
htmltext = "32974-01.htm";
htmltext = "32974-01.html";
break;
}
}
@@ -231,12 +231,12 @@ public class Q10323_TrainLikeItsReal extends Quest
{
if (npc.getId() == EVAIN)
{
htmltext = "33464-04.htm";
htmltext = "33464-04.html";
break;
}
else if (npc.getId() == SHANNON)
{
htmltext = "32974-05.htm";
htmltext = "32974-05.html";
break;
}
}