Some Talking Island quests rework.

Contributed by gyo.
This commit is contained in:
MobiusDev
2016-03-13 20:09:05 +00:00
parent 1b945f56e1
commit c40ff89ed3
80 changed files with 464 additions and 111 deletions

View File

@@ -0,0 +1,4 @@
<html><body>Grand Master Valfar:<br>
I often hear of your outstanding performances, child, but did you complete the work I assigned you in the Ruins of Ye Sagira too?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32146-02.html">"Well..."</Button>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Grand Master Valfar:<br>
Good! This is wonderful news. Now, perhaps we'll start to see a return to normality, even if it takes a little while for those beasts to be killed off for good.<br1>
Is there anything else?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32146-03.html>"Yes. Sebion was hurt."</Button>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Grand Master Valfar:<br>
Sebion?! How?? He's not just a scholar, but a skilled Wizard too. I'm surprised he was hurt!<br1>
Hmm. I will make sure he returns for rest as soon as possible, and will send Bloodhoud out in his stead.<br>
Thank you, friend. May Rodenpicula watch over you!
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Grand Master Valfar:<br>
I educate Kamael, stranger. You are not one of my kind.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Grand Master Valfar:<br>
We owe you more than you know, friend. Again, thank you.<br>
(You have already completed this quest.)
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Grand Master Rivian:<br>
Aha! You're back sooner than I expected. Did everything go well?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32147-02.html">"Well..."</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Grand Master Rivian:<br>
Ah, excellent! If the monsters have been cut down in number, then perhaps the rest will get the message and flee. At any rate, you've helped secure our home, and we owe you a great deal. Do you have anything else to report?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32147-03.html">"Yes...Sebion was hurt."</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Grand Master Rivian:<br>
What? Sebion was hurt? How? I assume from your tone that he's not been badly hurt, but still... he is an asset we can ill afford to lose. I will send a replacement soon. <br>
Thank you for your report, friend. You have helped save our home, and for that we are all extremely grateful. I will pray that the blessings of Einhasad will be with you always.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Grand Master Rivian:<br>
I'm in charge of educating the Elf race. I believe you came to the wrong person!
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Grand Master Rivian:<br>
Thank you again, friend. You have guided us through a great storm.<br>
(You have already completed this quest.)
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>High Prefect Took:<br>
Welcome. How goes the task in Ye Sagira? What's the latest news?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32150-02.html">"Let me tell you what has been going on in the Ruins of Ye Sagira."</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>High Prefect Took:<br>
Wonderful, wonderful. The monster population is down, the situation is under control. Lovely. Good work! I was worried that I'd run out of scholars before we ran out of scholar eating monsters. Ha! Anything else to report?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32150-03.html">"Sebion was hurt."</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>High Prefect Took:<br>
Sebion is injured? That's surprising... he has such strong magic, I wouldn't have thought.... That's strange. I'll have to send in additional support workers.<br>
We need to hire a Bloodhound for his return. King? Is that his name? Yes, we'll need King to protect Sebion's return journey. Thanks for your detailed report. May blessing of darkness enhance your future.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>High Prefect Took:<br>
I'm only in charge of Orcs. You don't look much like an Orc....
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>High Prefect Took:<br>
They're making great strides with their research at Ruins of Ye Sagira, thanks to you.<br>
(You have already completed this quest.)
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>High Priest Franco:<br>
You returned from the Ruins of Ye Sagira! Are you well? What was going on there?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 33750-02.html">"Well..."</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>High Priest Franco:<br>
You were a great help! With the monsters cut down, perhaps we will start to see peace flow through this region again. But tell me, friend -- what happened to the scholars there? I doubt they were able to fend the monsters off?<br>
<button align=left icon=NORMAL action="bypass -h Quest Q10366_RuinsStatusUpdate 33750-03.html"> "Sebion was hurt."</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 33750-03.html">"Sebion was hurt."</Button>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>High Priest Franco:<br>
Hmm. I train humans, not your kind. You should look elsewhere for your training.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>High Priest Franco:<br>
Thank you again, friend. You have done so much for us!<br>
(You have already completed this quest.)
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Head Blacksmith Moka:<br>
Hmm? You're back from Ye Sagira already? I have a lot of questions for you! So, what's the situation in Ye Sagira? How are the seekers doing? Are they finding anything interesting?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32157-02.html">"Well..."</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Head Blacksmith Moka:<br>
Marvelous! It's good to hear that the monster population is finally on the downturn. Such good news. I was worried, everyone over there has a great scholarly pedigree, but no one had any good fighting skills or common sense! You know that scientist type. Brainy, but not terribly practical. This is a great weight off of my shoulders. Do you have any other news?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32157-03.html">"Sebion was hurt."</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Head Blacksmith Moka:<br>
Sebion is injured?! How? I know he was conducting research in the Labyrinth of Belis... which is not exactly a cake walk, but what happened? Hmm... He's going to need someone to help dig and carry. I'll send over some additional bodies to help out.<br>
And, we'll need a Bloodhound to protect him on his return. Bloodhounds are rather pricey right now, but we certainly can't afford any more severe injuries, or deaths! Thanks for your report. We be in touch, when we have need of your skills again.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Head Blacksmith Moka:<br>
I'm in charge of Dwarf training and I'm pretty sure you're not a Dwarf. You need to locate your own race's master.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Head Blacksmith Moka:<br>
The pace of research over at the Ruins of Ye Sagira has picked up greatly, thanks entirely to your good work. Nicely done!<br>
(You have already completed this quest.)
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Grand Magister Devon:<br>
Welcome, and well done! I've heard much about you, but... I'd like to hear a report directly from the horse's mouth... so to speak. Did you finish the work in the Ruins of Ye Sagira? How are search members doing?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32160-02.html">"Well..."</Button>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Grand Magister Devon:<br>
Then you are due our thanks, friend. Perhaps over time, the area will regain its natural beauty, eh?<br1>
I don't know how long this peace will hold, but I do know that you've given me one less thing to worry about. Thank you.<br1>
Now, is there anything else we need to discuss?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32160-03.html">"Yes. Sebion was hurt..."</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Grand Magister Devon:<br>
Badly? Sebion is an able mage, and should be able to tend to his own woumds, but... hmm... I will make sure he is replaced.<br>
When Sebion returns, we should bring and protect Bloodhound as well. Thank you for the detailed report - I will pray that the Blessing of Darkness be with you for years to come.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Grand Magister Devon:<br>
I'm in charge of educating the Dark Elf race. I think you came to the wrong teacher - please go to your race master!
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Grand Magister Devon:<br>
The investigation on the Ruins of Ye Sagira is still ongoing, friend. We have you to thank for getting us this close though.<br>
(You have already completed this quest.)
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Sebion:<br>
You've really gotten the monsters in the Ruins under control. I mean, there are still some about, but it's not nearly so bad. I'm just waiting for my replacement to come, so I can head back to town and concentrate on recovering.<br>
But before I go, I have one more favor to ask of you.<br>
<button align=left icon=NORMAL action="bypass -h Quest Q10366_RuinsStatusUpdate 32978-02.htm">"What is it?"</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32978-02.htm">"What is it?"</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Sebion:<br>
Tell the master in the Talking Island Administration Office that things are getting better in the Ruins. And, while you're there... could you poke them to make sure they haven't forgotten about replacing me out here.<br>
<button align=left icon=NORMAL action="bypass -h Quest Q10366_RuinsStatusUpdate 32978-03.htm">"No problem"</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32978-03.html">"No problem."</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Sebion:<br>
Oh, that's a relief. Now I won't have to contact Lakcis and Dep. Use your <font color="LEVEL">Scroll of Escape</font> to travel to the <font color="LEVEL">Administration Office</font> and tell <font color="LEVEL">High Priest Franco</font> about the situation here.<br>
Thank you for everything you've done. I'm in your debt.
Oh, that's a relief. Now I won't have to contact Lakcis and Dep. Use your <font color="LEVEL">Scroll of Escape</font> to travel to the <font color="LEVEL">Administration Office</font> and tell <font color="LEVEL">%MASTER%</font> about the situation here.<br>
Thank you for everything you've done. I'm in your debt.<br>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Sebion:<br>
Oh, that's a relief. Now I won't have to contact Lakcis and Dep. Use your <font color="LEVEL">Scroll of Escape</font> to travel to the <font color="LEVEL">Administration Office</font> and tell <font color="LEVEL">High Priest Franco</font> about the situation here.<br>
Oh, that's a relief. Now I won't have to contact Lakcis and Dep. Use your <font color="LEVEL">Scroll of Escape</font> to travel to the <font color="LEVEL">Administration Office</font> and tell <font color="LEVEL">%MASTER%</font> about the situation here.<br1>
Thank you for everything you've done. I'm in your debt.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Sebion:<br>
Here is very dangerous, I think you better get back in the village.<br>
(The quest is avaiable after reaching level 16 and until level 25.)
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Sebion:<br>
Being out here is really slowing my recovery. I hope they send my replacement soon...<br>
(This quest is already completed)
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>High Priest Franco:<br>
You returned from the RUins of Ye Sagira! Are you well? What was going there?<br>
<button align=left icon=NORMAL action="bypass -h Quest Q10366_RuinsStatusUpdate 33750-02.html">"Well.."</button>
</body></html>

View File

@@ -16,17 +16,20 @@
*/
package quests.Q10366_RuinsStatusUpdate;
import com.l2jmobius.gameserver.enums.Race;
import com.l2jmobius.gameserver.model.actor.L2Npc;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
import com.l2jmobius.gameserver.model.quest.Quest;
import com.l2jmobius.gameserver.model.quest.QuestState;
import com.l2jmobius.gameserver.model.quest.State;
import com.l2jmobius.gameserver.network.NpcStringId;
import com.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage;
import quests.Q10365_SeekerEscort.Q10365_SeekerEscort;
/**
* Ruins status update (10366)
* @author spider
* @author spider, gyo
*/
public class Q10366_RuinsStatusUpdate extends Quest
{
@@ -45,14 +48,21 @@ public class Q10366_RuinsStatusUpdate extends Quest
// Requirements
private static final int MIN_LEVEL = 16;
private static final int MAX_LEVEL = 25;
// NPCs Name
private static final String GRAND_MAGISTER_DEVON = "Grand Magister Devon";
private static final String GRAND_MASTER_RIVIAN = "Grand Master Rivian";
private static final String GRAND_MASTER_VALFAR = "Grand Master Valfar";
private static final String HEAD_BLACKSMITH_MOKA = "Head Blacksmith Moka";
private static final String HIGH_PREFECT_TOOK = "High Prefect Took";
private static final String HIGH_PRIEST_FRANCO = "High Priest Franco";
public Q10366_RuinsStatusUpdate()
{
super(10366, Q10366_RuinsStatusUpdate.class.getSimpleName(), "Ruins status update");
addStartNpc(SEBION);
addTalkId(FRANCO, VALFAR, RIVIAN, TOOK, MOKA, DEVON, SEBION);
addCondLevel(MIN_LEVEL, MAX_LEVEL, "no_level.htm");
addCondCompletedQuest(Q10365_SeekerEscort.class.getSimpleName(), "no_prequest.html");
addCondLevel(MIN_LEVEL, MAX_LEVEL, "32978-05.htm");
addCondCompletedQuest(Q10365_SeekerEscort.class.getSimpleName(), "32978-05.htm");
}
@Override
@@ -72,19 +82,68 @@ public class Q10366_RuinsStatusUpdate extends Quest
htmltext = event;
break;
}
case "32978-03.htm": // FIXME: add race-specified texts
case "32978-03.html":
{
qs.startQuest();
qs.setCond(2);
htmltext = event;
showOnScreenMsg(qs.getPlayer(), NpcStringId.USE_THE_ESCAPE_SCROLL_IN_YOUR_INVENTORY_TO_GO_TO_THE_ADMINISTRATIVE_OFFICE_IN_TALKING_ISLAND, ExShowScreenMessage.TOP_CENTER, 10000);
htmltext = getHtm(player.getHtmlPrefix(), event);
switch (player.getRace())
{
case HUMAN:
{
qs.setCond(2);
htmltext = htmltext.replace("%MASTER%", HIGH_PRIEST_FRANCO);
break;
}
case ELF:
{
qs.setCond(3);
htmltext = htmltext.replace("%MASTER%", GRAND_MASTER_RIVIAN);
break;
}
case DARK_ELF:
{
qs.setCond(4);
htmltext = htmltext.replace("%MASTER%", GRAND_MAGISTER_DEVON);
break;
}
case ORC:
{
qs.setCond(5);
htmltext = htmltext.replace("%MASTER%", HIGH_PREFECT_TOOK);
break;
}
case DWARF:
{
qs.setCond(6);
htmltext = htmltext.replace("%MASTER%", HEAD_BLACKSMITH_MOKA);
break;
}
case KAMAEL:
{
qs.setCond(7);
htmltext = htmltext.replace("%MASTER%", GRAND_MASTER_VALFAR);
break;
}
}
break;
}
case "33750-02.html":
case "32146-02.html":
case "32147-02.html":
case "32150-02.html":
case "32153-02.html":
case "32157-02.html":
case "32160-02.html":
{
htmltext = event;
break;
}
case "33750-03.html":
case "32146-03.html":
case "32147-03.html":
case "32150-03.html":
case "32153-03.html":
case "32157-03.html":
case "32160-03.html":
{
if (qs.getCond() > 1)
{
@@ -117,17 +176,112 @@ public class Q10366_RuinsStatusUpdate extends Quest
{
case SEBION:
{
htmltext = "32978-04.html";
htmltext = getHtm(player.getHtmlPrefix(), "32978-04.html");
switch (player.getRace())
{
case HUMAN:
{
htmltext = htmltext.replace("%MASTER%", HIGH_PRIEST_FRANCO);
break;
}
case ELF:
{
htmltext = htmltext.replace("%MASTER%", GRAND_MASTER_RIVIAN);
break;
}
case DARK_ELF:
{
htmltext = htmltext.replace("%MASTER%", GRAND_MAGISTER_DEVON);
break;
}
case ORC:
{
htmltext = htmltext.replace("%MASTER%", HIGH_PREFECT_TOOK);
break;
}
case DWARF:
{
htmltext = htmltext.replace("%MASTER%", HEAD_BLACKSMITH_MOKA);
break;
}
case KAMAEL:
{
htmltext = htmltext.replace("%MASTER%", GRAND_MASTER_VALFAR);
break;
}
}
break;
}
case VALFAR:// FIXME: add all races texts
case RIVIAN:
case TOOK:
case MOKA:
case DEVON:
case FRANCO:
{
htmltext = "33750-01.html";
if (player.getRace() == Race.HUMAN)
{
htmltext = "32153-01.html";
}
else
{
htmltext = "32153-04.html";
}
break;
}
case RIVIAN:
{
if (player.getRace() == Race.ELF)
{
htmltext = "32147-01.html";
}
else
{
htmltext = "32147-04.html";
}
break;
}
case DEVON:
{
if (player.getRace() == Race.DARK_ELF)
{
htmltext = "32160-01.html";
}
else
{
htmltext = "32160-04.html";
}
break;
}
case TOOK:
{
if (player.getRace() == Race.ORC)
{
htmltext = "32150-01.html";
}
else
{
htmltext = "32150-04.html";
}
break;
}
case MOKA:
{
if (player.getRace() == Race.DWARF)
{
htmltext = "32157-01.html";
}
else
{
htmltext = "32157-04.html";
}
break;
}
case VALFAR:
{
if (player.getRace() == Race.KAMAEL)
{
htmltext = "32146-01.html";
}
else
{
htmltext = "32146-04.html";
}
break;
}
}
@@ -135,7 +289,44 @@ public class Q10366_RuinsStatusUpdate extends Quest
}
case State.COMPLETED:
{
htmltext = getAlreadyCompletedMsg(player);
switch (npc.getId())
{
case SEBION:
{
htmltext = "32978-06.html";
break;
}
case FRANCO:
{
htmltext = "32153-05.html";
break;
}
case RIVIAN:
{
htmltext = "32147-05.html";
break;
}
case DEVON:
{
htmltext = "32160-05.html";
break;
}
case TOOK:
{
htmltext = "32150-05.html";
break;
}
case MOKA:
{
htmltext = "32157-05.html";
break;
}
case VALFAR:
{
htmltext = "32146-05.html";
break;
}
}
break;
}
}

View File

@@ -1,2 +0,0 @@
<html><body>To begin this quest, you need to complete Seeker Escort quest first.
</body></html>