Red Libra initial commit.

This commit is contained in:
MobiusDev
2016-01-30 13:53:58 +00:00
parent e92e8a1e16
commit 2757b80b0e
14 changed files with 194 additions and 37 deletions

View File

@ -0,0 +1,5 @@
<html><body>Wealthy Merchant Red:<br>
Hello, I'm Red. I'm the leader of the Red Libra.<br>
Our group has a long history. My great-great-grandfather started it. We wander here and there, and we came to Aden because we heard there are lots of people.<br>
We have very rare items as well. Go meet our merchants to find out more.
</body></html>

View File

@ -0,0 +1,6 @@
<html><body>Elder Green:<br>
I'm Green from the Red Libra merchants. I've been together with them since Red's grandfather was in charge. I'm old and very experienced.<br>
We visited Talking Island Village before arriving in the Town of Giran. I met Raina there, and she told me about the dual class.<br>
That's how I came to realize something about the dual class. And I found the secret behind reawakening the dual class.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest RedLibra 34211-2.htm">"Can I reawaken my Awakened dual class?"</Button>
</body></html>

View File

@ -0,0 +1,6 @@
<html><body>Elder Green:<br>
Raina isn't as experienced, so she can't maintain a character's level when reawakening the dual class. However, I, am experienced. When <font color="LEVEL">reawakening the dual class</font>, I can <font color="LEVEL">let you keep your level</font>. However, instant reawakening does come with its flaws. You'll have to learn the skills yourself.<br>
In order to rewaken your dual class, bring <font color="LEVEL">your current dual class' cloak</font>, <font color="LEVEL">1 Proof of Red</font>, and <font color="LEVEL">667 Gemstones (R-grade)</font>. I'm a merchant, so no free passes here.<br>
You need <font color="LEVEL">Red Tears</font> in order to work with us. Talk to <font color="LEVEL">Bodyguard Blue</font> and help him to get some.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Raina reawekenDualclass">"I would like to reawaken my dual class."</Button>
</body></html>

View File

@ -0,0 +1,7 @@
<html><body>Artisan Black:<br>
I'm Black, and I deal with the great weapons of the Red Libra merchants. I'm the best in the world at creating and repairing weapons. I'm a master.<br>
I heard about the Mammon blacksmiths, but I can guarantee you that I'm much better than them. I can change those <font color="LEVEL">R-grade weapons</font> into <font color="LEVEL">other types</font> as well.<br>
I'm also selling <font color="LEVEL">Elysium weapons</font>. Mind you, I'm the only one in the world who can make them.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest RedLibra 34212-2.htm">"I want to change my weapon into another type."</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest RedLibra 34212-3.htm">"I want to purchase an Elysium weapon."</button>
</body></html>

View File

@ -0,0 +1,10 @@
<html><body>Artisan Black:<br>
Do you want to get another weapon type? That's easy. But we are merchants! Nothing is free.<br>
We don't trade with just anyone. If you want to trade, give me <font color="LEVEL">1 Proof of Red</font>. Also, some <font color="LEVEL">Gemstones</font>. The amount depends on the grade of the weapon.<br>
When you switch a weapon, the <font color="LEVEL">enchantment, Soul Crystal, augmenting, and attributes</font> will remain the same. However, the appearance will be changed, so keep that in mind.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_exc_multisell 3421201">"I want to change an R-grade weapon."</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_exc_multisell 3421202">"I want to change an R95-grade weapon."</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_exc_multisell 3421203">"I want to change an R99-grade weapon."</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_exc_multisell 3421204">"I want to exchange a Tauti and Kelbim weapon."</button>
<Button ALIGN=LEFT ICON="RETURN" action="link ev_libra_black001.htm">Back</button>
</body></html>

View File

@ -0,0 +1,7 @@
<html><body>Artisan Black:<br>
Elysium weapons can only be created in Elysium. They are great weapons. There's one issue with them though. They can only be used while we are staying here, since the weapons are greatly affected by Elysium.<br>
Once we leave, the Elysium weapons will also disappear. But I can guarantee that the weapons will be amazing.<br>
It's very precious, so I can't just give it to you for free. Just give me <font color="LEVEL">1 Scroll: Enchant Weapon (R-grade)</font>. Pretty cheap, right?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 3421205">"I want to purchase an Elysium weapon."</button>
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest RedLibra 34212-1.htm">Back.</button>
</body></html>

View File

@ -0,0 +1,6 @@
<html><body>Grocer Pink:<br>
I'm Grocer Pink, one of the Red Libra merchants. I'm the prettiest and cutest out of us.<br>
I've been collecting <font color="LEVEL">dyes</font> from this place. If you have anything you need, take a look around.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest RedLibra 34213-2.htm">"I want to exchange dyes."</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest RedLibra 34213-3.htm">"I want to exchange supplies."</button>
</body></html>

View File

@ -0,0 +1,8 @@
<html><body>Grocer Pink:<br>
I was so surprised when I first saw the dyes in Aden. That's why I'm trying to collect as many as possible. I'm trying out different techniques with those dyes. Sell those to me, and I'll give you a <font color="LEVEL">Rudi</font>, which is a mixture of those dyes.<br>
If you have <font color="LEVEL">Rudies</font>, I can create some great dyes from those. I can use Rudies to create <font color="LEVEL">Lv. 5 Giant Dye Packs</font>. I can create <font color="LEVEL">10</font> at a time.<br>
One thing to keep in mind though is that the Rudies are a combination of various dyes, so the type of dye I can create is random. Anyway, are you up to test your luck?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_exc_multisell 3421301">"I want to sell dyes."</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 3421302">"I want to purchase dyes."</button>
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest RedLibra 34213-1.htm">Back</button>
</body></html>

View File

@ -0,0 +1,6 @@
<html><body>Grocer Pink:<br>
We thoroughly investigate our destinations before going. We always carry various items.<br>
We brought some items that you might like, so make sure to take a look around.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 3421303">"I want to purchase your items."</button>
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest RedLibra 34213-1.htm">Back</button>
</body></html>

View File

@ -0,0 +1,6 @@
<html><body>Bodyguard Blue:<br>
I'm Blue, a bodyguard of the Red Libra merchants. I go to the most dangerous places.<br>
I'm the only bodyguard that accompanied the merchants this time. We are in charge of going ahead of the group and dealing with monsters, but since I'm the only one here now, we haven't been able to go through.<br>
That's why I'm looking for people to help us out. I'll give you something that will allow you to trade with one of our merchants in exchange. Interested?<br>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h Quest">"What do I need to do?"</button>
</body></html>

View File

@ -0,0 +1,79 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package events.RedLibra;
import com.l2jmobius.gameserver.model.actor.L2Npc;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
import com.l2jmobius.gameserver.model.event.LongTimeEvent;
/**
* Red Libra<br>
* Info - http://www.lineage2.com/en/news/events/01202016-red-libra.php
* @author Mobius
*/
final class RedLibra extends LongTimeEvent
{
// NPCs
private static final int RED = 34210;
private static final int GREEN = 34211;
private static final int BLACK = 34212;
private static final int PINK = 34213;
private static final int BLUE = 34214;
private RedLibra()
{
super(RedLibra.class.getSimpleName(), "events");
addStartNpc(RED, GREEN, BLACK, PINK, BLUE);
addFirstTalkId(RED, GREEN, BLACK, PINK, BLUE);
addTalkId(RED, GREEN, BLACK, PINK, BLUE);
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
String htmltext = null;
switch (event)
{
case "34210-1.htm":
case "34211-1.htm":
case "34211-2.htm":
case "34212-1.htm":
case "34212-2.htm":
case "34212-3.htm":
case "34213-1.htm":
case "34213-2.htm":
case "34213-3.htm":
case "34214-1.htm":
{
htmltext = event;
break;
}
}
return htmltext;
}
@Override
public String onFirstTalk(L2Npc npc, L2PcInstance player)
{
return npc.getId() + "-1.htm";
}
public static void main(String[] args)
{
new RedLibra();
}
}

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<event name="Red Libra" active="20 01 1016-03 02 2016" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../xsd/eventConfig.xsd">
<spawnlist>
<add npc="34210" x="81010" y="149003" z="-3464" heading="65404" />
<add npc="34211" x="80986" y="149064" z="-3464" heading="8749" />
<add npc="34212" x="80981" y="148940" z="-3464" heading="65404" />
<add npc="34213" x="80941" y="149137" z="-3464" heading="65404" />
<add npc="34214" x="80940" y="148874" z="-3464" heading="65404" />
<add npc="34215" x="80834" y="149143" z="-3464" heading="65404" />
<add npc="34215" x="80847" y="148876" z="-3464" heading="65404" />
<add npc="34216" x="80834" y="149017" z="-3464" heading="65404" />
</spawnlist>
<messages>
<add type="onEnd" text="Red Libra: Event end!" />
<add type="onEnter" text="Red Libra: Event ongoing!" />
</messages>
</event>