Removal of old Valentine event.

This commit is contained in:
MobiusDev 2016-02-24 12:43:01 +00:00
parent f0328b269c
commit d880056901
8 changed files with 0 additions and 170 deletions

View File

@ -266,7 +266,6 @@ events/ThePowerOfLove/ThePowerOfLove.java
# Disabled by default events
#events/GiftOfVitality/GiftOfVitality.java
#events/HeavyMedal/HeavyMedal.java
#events/TheValentineEvent/TheValentineEvent.java
#events/FreyaCelebration/FreyaCelebration.java
#events/MasterOfEnchanting/MasterOfEnchanting.java
#events/LoveYourGatekeeper/LoveYourGatekeeper.java

View File

@ -1,10 +0,0 @@
<html><body>
Meow~ You're really a lovable person.<br>
I'll definitely help you show your heart to the one who's precious to you.<br>
If you use the <font color="LEVEL">Valentine Secret Spell</font> that I gave you, you can find out the <font color="LEVEL">way to make a special Valentine Cake</font> for the person you love~ meow~.<br>
If you register the Valentine Secret Spell as a recipe, then collect 10 dark chocolates, 10 white chocolates, and 5 fresh creams, you can make a cake. It can fail sometimes, so pray for success in your heart~ meow~~<br>
But, I can't give you the chocolates and fresh cream. Some unknown monsters took them after raiding the warehouse awhile ago.<br>
But with the courage that comes from making a gift for someone precious to you, you should be able to retrieve the cake ingredients from the monsters.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest TheValentineEvent 4301-2.htm">I'm curious about the event rewards.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest TheValentineEvent 4301.htm">To the beginning</Button>
</body></html>

View File

@ -1,9 +0,0 @@
<html><body>
Meow~ It's a reward for the person receiving the gift.<br>
If you take the Valentine Secret Spell and collect chocolates and fresh cream, you can make a special Valentine cake. The first cake that you make will probably look shabby. But with a little effort, you can turn it into a great cake.<br>
First, the <font color="LEVEL">Simple Valentine Cake</font> - Transformation Scroll, Healing Potion, Ordinary Valentine Cake<br>
Second, the <font color="LEVEL">Velvety Valentine Cake</font> - Armor Enchant Scroll, Blessed Scroll of Return, Blessed Scroll of Resurrection, 3 Day Energy Agathion of Love, Delicious Valentine Cake<br>
Third, the <font color="LEVEL">Delectable Valentine Cake</font> - Weapon Enchant Scroll, 7 Day Energy Agathion of Love, Perfect Valentine Cake<br>
Fourth, the <font color="LEVEL">Decadent Valentine Cake</font> - Top-grade Armor Enchant Scroll, 15 Day Energy Agathion of Love, 30 Day Energy Agathion of Love<br><br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest TheValentineEvent 4301.htm">To the beginning</Button>
</body></html>

View File

@ -1,5 +0,0 @@
<html><body>
Meow~<br>
Please take the <font color="LEVEL">Valentine Secret Spell</font> to help you make a special Valentine cake.<br><br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest TheValentineEvent 4301.htm">To the beginning</Button>
</body></html>

View File

@ -1,6 +0,0 @@
<html><body>
Meow~<br>
I already gave you Valentine Secret Spell, but you're back for me. How greedy.<br>
I can't give it to you~<br><br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest TheValentineEvent 4301.htm">To the beginning</Button>
</body></html>

View File

@ -1,10 +0,0 @@
<html><body>
Meow~ meow~<br>
I'm <font color="LEVEL">Valentine messenger Queen Yang</font><br>
The goddess of love Aphrodite gave me a special mission.<br>
She told me to help lovers stay in love forever, to deliver comaraderie to friends who are always by your side, and to give something to those who are precious to you.<br>
I want to give all of you a special gift today. Lalala~ Lala~<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest TheValentineEvent 4301-1.htm">See detailed event explanation.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest TheValentineEvent 4301-2.htm">I'm curious about the event rewards.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest TheValentineEvent 4301-3.htm">Receive Valentine Secret Spell.</Button>
</body></html>

View File

@ -1,74 +0,0 @@
/*
* 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.TheValentineEvent;
import com.l2jmobius.gameserver.enums.QuestSound;
import com.l2jmobius.gameserver.model.actor.L2Npc;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
import com.l2jmobius.gameserver.model.event.LongTimeEvent;
/**
* The Valentine Event event AI.
* @author Gnacik
*/
final class TheValentineEvent extends LongTimeEvent
{
// NPC
private static final int NPC = 4301;
// Item
private static final int RECIPE = 20191;
// Misc
private static final String COMPLETED = TheValentineEvent.class.getSimpleName() + "_completed";
private TheValentineEvent()
{
super(TheValentineEvent.class.getSimpleName(), "events");
addStartNpc(NPC);
addFirstTalkId(NPC);
addTalkId(NPC);
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
String htmltext = event;
if (event.equalsIgnoreCase("4301-3.htm"))
{
if (player.getVariables().getBoolean(COMPLETED, false))
{
htmltext = "4301-4.htm";
}
else
{
giveItems(player, RECIPE, 1);
playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
}
}
return htmltext;
}
@Override
public String onFirstTalk(L2Npc npc, L2PcInstance player)
{
return npc.getId() + ".htm";
}
public static void main(String[] args)
{
new TheValentineEvent();
}
}

View File

@ -1,55 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<event name="Valentine Event" active="15 12 2001-16 12 2001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../xsd/eventConfig.xsd">
<droplist>
<add item="20192" min="1" max="1" chance="5%" /> <!-- Valentine Dark Chocolate -->
<add item="20193" min="1" max="1" chance="5%" /> <!-- Valentine White Chocolate -->
<add item="20194" min="1" max="1" chance="5%" /> <!-- Valentine Fresh Cream -->
</droplist>
<spawnlist>
<add npc="4301" x="87792" y="-142240" z="-1343" heading="44000" />
<add npc="4301" x="87616" y="-140688" z="-1542" heading="16500" />
<add npc="4301" x="114733" y="-178691" z="-821" heading="0" />
<add npc="4301" x="115708" y="-182362" z="-1449" heading="0" />
<add npc="4301" x="-44337" y="-113669" z="-224" heading="0" />
<add npc="4301" x="-44628" y="-115409" z="-240" heading="22500" />
<add npc="4301" x="-13073" y="122801" z="-3117" heading="0" />
<add npc="4301" x="-13949" y="121934" z="-2988" heading="32768" />
<add npc="4301" x="-14822" y="123708" z="-3117" heading="8192" />
<add npc="4301" x="-80762" y="151118" z="-3043" heading="28672" />
<add npc="4301" x="-84049" y="150176" z="-3129" heading="4096" />
<add npc="4301" x="-82623" y="151666" z="-3129" heading="49152" />
<add npc="4301" x="-84516" y="242971" z="-3730" heading="34000" />
<add npc="4301" x="-86003" y="243205" z="-3730" heading="60000" />
<add npc="4301" x="11281" y="15652" z="-4584" heading="25000" />
<add npc="4301" x="11303" y="17732" z="-4574" heading="57344" />
<add npc="4301" x="47151" y="49436" z="-3059" heading="32000" />
<add npc="4301" x="79806" y="55570" z="-1560" heading="0" />
<add npc="4301" x="83328" y="55824" z="-1525" heading="32768" />
<add npc="4301" x="80986" y="54504" z="-1525" heading="32768" />
<add npc="4301" x="18178" y="145149" z="-3054" heading="7400" />
<add npc="4301" x="19208" y="144380" z="-3097" heading="32768" />
<add npc="4301" x="19508" y="145775" z="-3086" heading="48000" />
<add npc="4301" x="17396" y="170259" z="-3507" heading="30000" />
<add npc="4301" x="83332" y="149160" z="-3405" heading="49152" />
<add npc="4301" x="82277" y="148598" z="-3467" heading="0" />
<add npc="4301" x="81621" y="148725" z="-3467" heading="32768" />
<add npc="4301" x="81680" y="145656" z="-3533" heading="32768" />
<add npc="4301" x="117498" y="76630" z="-2695" heading="38000" />
<add npc="4301" x="115914" y="76449" z="-2711" heading="59000" />
<add npc="4301" x="119536" y="76988" z="-2275" heading="40960" />
<add npc="4301" x="147120" y="27312" z="-2192" heading="40960" />
<add npc="4301" x="147920" y="25664" z="-2000" heading="16384" />
<add npc="4301" x="111776" y="221104" z="-3543" heading="16384" />
<add npc="4301" x="107904" y="218096" z="-3675" heading="0" />
<add npc="4301" x="114920" y="220020" z="-3632" heading="32768" />
<add npc="4301" x="147888" y="-58048" z="-2979" heading="49000" />
<add npc="4301" x="147285" y="-56461" z="-2776" heading="11500" />
<add npc="4301" x="44176" y="-48732" z="-800" heading="33000" />
<add npc="4301" x="44294" y="-47642" z="-792" heading="50000" />
<add npc="4301" x="-116677" y="46824" z="360" heading="34828" />
</spawnlist>
<messages>
<add type="onEnd" text="The Valentine Event end!" />
<add type="onEnter" text="Valentine's Event is currently active. Collect all items and make your Valentine Cake!" />
</messages>
</event>