Teleport Device:
+(According to Gatekeeper Bella, in order to reach the Altar of Evil, you need to go to the Bloody SwamplandGo there and look for Lapathiaa Mystic of Dark Arts.)
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/30848-01.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/30848-01.html
new file mode 100644
index 0000000000..e2b2020041
--- /dev/null
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/30848-01.html
@@ -0,0 +1,4 @@
+Gatekeeper Elisa:
+You want to know how to go to the Altar of Evil? It must be because of your mission from the Adventure Guild! Alright, I'll tell you.
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/30848-02.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/30848-02.html
new file mode 100644
index 0000000000..021cbb0551
--- /dev/null
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/30848-02.html
@@ -0,0 +1,5 @@
+Gatekeeper Elisa:
+The Altar of Evil is a Hunting Zone that can be accessed by the Dark Elf Village. But, there is no direct channel to teleport from the Town of Aden to the Dark Elf Village. So, you'll have to go somewhere that has teleporting routes to the Dark Elf Village.
+You should go to the Town of Gludio. Once you get there, ask Gatekeeper Bella about how to teleport. For now, why don't you just focus on getting to the Town of Gludio.
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/32921-01.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/32921-01.html
new file mode 100644
index 0000000000..f6bbf7a149
--- /dev/null
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/32921-01.html
@@ -0,0 +1,4 @@
+Black Wizard Lapathia:
+I asked the Adventure Guild to send an adventurer but didn't expect they would send you. I'd like to see how good you are.
+(To do "Basic Mission: Altar of Evil," you must do "The Purification Ritual" and "Wash Blood with Blood" through Black Wizard Lapathia.)
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/32921-02.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/32921-02.html
new file mode 100644
index 0000000000..6243f5d4fc
--- /dev/null
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/32921-02.html
@@ -0,0 +1,5 @@
+Black Wizard Lapathia:
+You completed all the missions I gave you, meaning that you also completed those of the Adventure Guildsman. Are you going back to the Town of Aden? How?
+Don't tell me you're going to walk all the way up there. I know a better way.
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/32921-03.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/32921-03.html
new file mode 100644
index 0000000000..2280a859d9
--- /dev/null
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/32921-03.html
@@ -0,0 +1,5 @@
+Black Wizard Lapathia:
+When setting out for a joumey, veteran adventurers always pack Scrolls of Escape, it teleports the user immediately to the closest village or to the check point.
+If you have these useful items, you can move easily after hunting or when you are far away from the village. Since you've been a great help to me, I'll give you the scroll that can teleport you directly to the Town of Aden.
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/32921-04.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/32921-04.html
new file mode 100644
index 0000000000..a62abbb849
--- /dev/null
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/32921-04.html
@@ -0,0 +1,6 @@
+Black Wizard Lapathia:
+You can use the scroll now or later. Just don't forget to pack enough Scrolls of Escape once you retum to town.
+You can easily buy Scrolls of Escape at stores. Be safe until we meet again.
+
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/33100-01.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/33100-01.html
new file mode 100644
index 0000000000..469d6de030
--- /dev/null
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/33100-01.html
@@ -0,0 +1,4 @@
+Gatekeeper Bella:
+ Do you have something else you need?
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/33100-02.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/33100-02.html
new file mode 100644
index 0000000000..195a8cc6e3
--- /dev/null
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/33100-02.html
@@ -0,0 +1,6 @@
+Gatekeeper Bella:
+Are you here on a mission from the Adventure Guild? I've seen many who are. If so, I'll explain the details.
+You'll have to select Dark Elf Village from the teleport link I give you and go there. The area for an active mission will appear at the top of the teleport list so it won't be hard to find.
+But you have to watch out for one thing.
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/33100-03.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/33100-03.html
new file mode 100644
index 0000000000..3f5c6e5103
--- /dev/null
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/33100-03.html
@@ -0,0 +1,5 @@
+Gatekeeper Bella:
+There's no Gatekeeper in the Dark Elf Village. In the past, there had been a Gatekeeper, however, now, due to a tragic accident, there is only a Teleport Device.
+Anyway, there's no other option. Go and check the missions.
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-01.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-01.htm
new file mode 100644
index 0000000000..e42613f2e1
--- /dev/null
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-01.htm
@@ -0,0 +1,4 @@
+Adventure Guildsman Penny:
+Your're the one that Hephah has sent, right? If not, you should go meet Herphah and receive a mission from her before you continue. If you think it doesn't matter, I can continue anyway. Do you want me to continue?
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-02.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-02.htm
new file mode 100644
index 0000000000..bf83816c8a
--- /dev/null
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-02.htm
@@ -0,0 +1,4 @@
+Adventure Guildsman Penny:
+Herphah wants you to do some missions, and I'll chose an appropriate mission depending on your relationship with us at the Adventure Guild.
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-03.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-03.htm
new file mode 100644
index 0000000000..2c7f40cb66
--- /dev/null
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-03.htm
@@ -0,0 +1,4 @@
+Adventure Guildsman Penny:
+Your mission is to assist with the task at the Altar of Evil. If successful, our Adventure Guild will give you additional rewards on top of the mission payment and your relationship with our faction will grow even stronger.
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-04.htm b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-04.htm
new file mode 100644
index 0000000000..002c33c6d6
--- /dev/null
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-04.htm
@@ -0,0 +1,6 @@
+Adventure Guildsman Penny:
+You've already leamed everything you need to know about the mission. By that I mean, how to go to the Altar of Evil. You should be able to start the mission right away without further explanation.
+But if you want to listen to the explanation again, I'd be happy to tell you.
+
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-05.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-05.html
new file mode 100644
index 0000000000..6a2b0fce5e
--- /dev/null
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-05.html
@@ -0,0 +1,3 @@
+Adventure Guildsman Penny:
+Good choice. Now, go to Black Wizard Lapathia at the Altar of Evil and do the mission that she gives you. When the mission is done, come back to me.
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-06.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-06.html
new file mode 100644
index 0000000000..02bed5e9b8
--- /dev/null
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-06.html
@@ -0,0 +1,4 @@
+Adventure Guildsman Penny:
+Welcome back! So, did you do a good job?
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-07.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-07.html
new file mode 100644
index 0000000000..ba0fe1f086
--- /dev/null
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-07.html
@@ -0,0 +1,3 @@
+Adventure Guildsman Penny:
+Thanks, you've done a great job! I'm sure eveyone in the Adventure Guild will know your name now. If there is another opportunity, we'd love for you to help us again. Good luck and farewell!
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-08.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-08.html
new file mode 100644
index 0000000000..190351d034
--- /dev/null
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-08.html
@@ -0,0 +1,3 @@
+Adventure Guildsman Penny:
+To do the mission, you have to go to Black Wizard Lapathia at the Altar of Evil. Do the mission that Lapathia gives. Then, come back to me.
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-09.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-09.html
new file mode 100644
index 0000000000..05b3a3231b
--- /dev/null
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-09.html
@@ -0,0 +1,4 @@
+Adventure Guildsman Penny:
+I'm sure the Gatekeeper of the town, Gatekeeper Elise, could give you a better explanation. Go to her and ask how you can go to the Altar of Evil. She's very friendly so don't be shy.
+If you anive successfully, meet the black wizard, Lapathia, and ask about the mission.
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-10.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-10.html
new file mode 100644
index 0000000000..3ecc46dbe2
--- /dev/null
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-10.html
@@ -0,0 +1,4 @@
+Adventure Guildsman Penny:
+You need to leam how to get there first. Go to Gatekeeper Elise and ask how to go to the Altar of Evil. She will give you a detailed explanation.
+If you arive successfully, meet the black wizard, Lapathia, and ask about the mission.
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-11.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-11.html
new file mode 100644
index 0000000000..7f547de891
--- /dev/null
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-11.html
@@ -0,0 +1,4 @@
+Truth Seeker Devianne:
+In order to take on this mission, you must first build more trust with us.
+(Only characters with faction level 3 or above with the Blackbird Clan may undertake this quest.)
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/Q00565_BasicMissionFairySettlementWest.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/Q00565_BasicMissionFairySettlementWest.java
new file mode 100644
index 0000000000..a28ca31185
--- /dev/null
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/Q00565_BasicMissionFairySettlementWest.java
@@ -0,0 +1,276 @@
+/*
+ * 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 .
+ */
+package quests.Q00565_BasicMissionFairySettlementWest;
+
+import org.l2jmobius.gameserver.enums.Faction;
+import org.l2jmobius.gameserver.enums.QuestType;
+import org.l2jmobius.gameserver.model.Location;
+import org.l2jmobius.gameserver.model.actor.Npc;
+import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
+import org.l2jmobius.gameserver.model.quest.Quest;
+import org.l2jmobius.gameserver.model.quest.QuestState;
+import org.l2jmobius.gameserver.model.quest.State;
+
+/**
+ * Basic Mission: Fairy Settlement - West
+ * @URL https://l2wiki.com/Basic_Mission:_Fairy_Settlement_-_West
+ * @author Dmitri
+ */
+public class Q00565_BasicMissionFairySettlementWest extends Quest
+{
+ // NPCs
+ private static final int PENNY = 34413;
+ private static final int FAIRY_CITY_DWELLER = 32921;
+ private static final int ELISA = 30848;
+ private static final int RADA = 33100;
+ private static final int DE_VILLAGE_TELEPORT_DEVICE = 30134;
+ // Rewards
+ private static final long EXP = 527029380;
+ private static final int SP = 527010;
+ private static final int FP = 240; // Faction points
+ private static final int SCROLL_OF_ESCAPE_FAIRY_COLONY = 39498;
+ private static final int SCROLL_OF_ESCAPE_TOWN_OF_ADEN = 48413;
+ // Misc
+ private static final int MIN_LEVEL = 88;
+ private static final int MAX_LEVEL = 92;
+ // Location
+ private static final Location TOWN_OF_ADEN = new Location(146632, 26760, -2213);
+
+ public Q00565_BasicMissionFairySettlementWest()
+ {
+ super(565);
+ addStartNpc(PENNY);
+ addTalkId(PENNY, FAIRY_CITY_DWELLER, ELISA, RADA, DE_VILLAGE_TELEPORT_DEVICE);
+ addCondLevel(MIN_LEVEL, MAX_LEVEL, "nolevel.html");
+ addFactionLevel(Faction.ADVENTURE_GUILD, 3, "34413-11.html");
+ }
+
+ @Override
+ public String onAdvEvent(String event, Npc npc, PlayerInstance player)
+ {
+ final QuestState qs = getQuestState(player, false);
+
+ if (qs == null)
+ {
+ return null;
+ }
+
+ String htmltext = null;
+ switch (event)
+ {
+ case "34413-02.htm":
+ case "34413-03.htm":
+ case "34413-06.html":
+ case "33100-02.html":
+ case "32921-03.html":
+ {
+ htmltext = event;
+ break;
+ }
+ case "34413-04.htm":
+ {
+ qs.startQuest();
+ htmltext = event;
+ break;
+ }
+ case "34413-05.html":
+ {
+ qs.setCond(5, true);
+ htmltext = event;
+ break;
+ }
+ case "34413-09.html":
+ {
+ qs.setCond(2, true);
+ htmltext = event;
+ break;
+ }
+ case "34413-07.html":
+ {
+ StringBuilder str = new StringBuilder("00");
+ checkQuestCompleted(player, str); // Initialize the array with all quests completed
+
+ if (str.indexOf("11") != -1) // verify if all quests completed
+ {
+ giveItems(player, SCROLL_OF_ESCAPE_FAIRY_COLONY, 1);
+ addExpAndSp(player, EXP, SP);
+ addFactionPoints(player, Faction.ADVENTURE_GUILD, FP); // add FP points to ADVENTURE_GUILD Faction
+ qs.exitQuest(QuestType.DAILY, true);
+ htmltext = event;
+ }
+ else
+ {
+ htmltext = "34413-08.html";
+ }
+ break;
+ }
+ case "30848-02.html": // ELISA
+ {
+ qs.setCond(3, true);
+ htmltext = event;
+ break;
+ }
+ case "33100-03.html": // RADA
+ {
+ qs.setCond(4, true);
+ htmltext = event;
+ break;
+ }
+ case "32921-04.html": // LEPATHIA
+ {
+ giveItems(player, SCROLL_OF_ESCAPE_TOWN_OF_ADEN, 1);
+ htmltext = event;
+ break;
+ }
+ case "usescroll":
+ {
+ // TODO: force player to use item SCROLL_OF_ESCAPE_TOWN_OF_ADEN
+ player.teleToLocation(TOWN_OF_ADEN); // Town of Aden near Npc Penny - temp solution
+ takeItems(player, SCROLL_OF_ESCAPE_TOWN_OF_ADEN, -1); // remove SOE - temp solution
+ qs.setCond(8, true);
+ break;
+ }
+ case "keepscroll":
+ {
+ qs.setCond(8, true);
+ break;
+ }
+ }
+ return htmltext;
+ }
+
+ @Override
+ public String onTalk(Npc npc, PlayerInstance player)
+ {
+ final QuestState qs = getQuestState(player, true);
+ String htmltext = getNoQuestMsg(player);
+
+ switch (qs.getState())
+ {
+ case State.CREATED:
+ {
+ if (npc.getId() == PENNY)
+ {
+ htmltext = "34413-01.htm";
+ }
+ break;
+ }
+ case State.STARTED:
+ {
+ switch (npc.getId())
+ {
+ case PENNY:
+ {
+ if (qs.getCond() == 1)
+ {
+ htmltext = "34413-04.htm";
+ }
+ else if (qs.getCond() == 2)
+ {
+ // htmltext = qs.getCond() == 2 ? "34413-10.htm" : "34413-06.html";
+ htmltext = "33509-10.htm";
+ }
+ else if (qs.getCond() == 5)
+ {
+ // htmltext = qs.getCond() == 5 ? "34413-08.htm" : "34413-06.html";
+ htmltext = "34413-08.html";
+ }
+ else
+ {
+ htmltext = "34413-06.html";
+ }
+ break;
+ }
+ case ELISA:
+ {
+ htmltext = "30848-01.html";
+ break;
+ }
+ case RADA:
+ {
+ htmltext = "33100-01.html";
+ break;
+ }
+ case DE_VILLAGE_TELEPORT_DEVICE:
+ {
+ qs.setCond(5, true);
+ htmltext = "30134-01.html";
+ break;
+ }
+ case FAIRY_CITY_DWELLER:
+ {
+ if (qs.getCond() == 5)
+ {
+ qs.setCond(6, true);
+ htmltext = "32921-01.html";
+ }
+ else
+ {
+ StringBuilder str = new StringBuilder("00");
+ checkQuestCompleted(player, str); // Initialize the array with all quests completed
+ if (str.indexOf("11") != -1) // verify if all quests completed
+ {
+ qs.setCond(7, true);
+ htmltext = "32921-02.html";
+ }
+ else
+ {
+ htmltext = "32921-01.html";
+ }
+ }
+ break;
+ }
+ }
+ break;
+ }
+ case State.COMPLETED:
+
+ {
+ if (qs.isNowAvailable())
+ {
+ qs.setState(State.CREATED);
+ htmltext = "34413-01.htm";
+ }
+ else
+ {
+ htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY);
+ }
+ break;
+ }
+ }
+ return htmltext;
+ }
+
+ private StringBuilder checkQuestCompleted(PlayerInstance player, StringBuilder string)
+ {
+ int index = 0;
+ char ch = '1';
+ final QuestState st1 = player.getQuestState("Q00773_ToCalmTheFlood");
+ if ((st1 != null) && st1.isCompleted())
+ {
+ index = 0;
+ string.setCharAt(index, ch);
+ }
+ final QuestState st2 = player.getQuestState("Q00585_CantGoAgainstTheTime");
+ if ((st2 != null) && st2.isCompleted())
+ {
+ index = 1;
+ string.setCharAt(index, ch);
+ }
+ return string;
+ }
+}
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/nolevel.html b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/nolevel.html
new file mode 100644
index 0000000000..671b338438
--- /dev/null
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/nolevel.html
@@ -0,0 +1,4 @@
+Penny:
+I don't understand why someone like you is interested in this mission?
+(Only characters above Lv.88-92.)
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/QuestMasterHandler.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/QuestMasterHandler.java
index 6e6380e92d..70f15ddfce 100644
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/QuestMasterHandler.java
+++ b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/QuestMasterHandler.java
@@ -141,6 +141,7 @@ import quests.Q00561_BasicMissionHarnakUndergroundRuins.Q00561_BasicMissionHarna
import quests.Q00562_BasicMissionAltarOfEvil.Q00562_BasicMissionAltarOfEvil;
import quests.Q00563_BasicMissionBloodySwampland.Q00563_BasicMissionBloodySwampland;
import quests.Q00564_BasicMissionKartiasLabyrinthSolo.Q00564_BasicMissionKartiasLabyrinthSolo;
+import quests.Q00565_BasicMissionFairySettlementWest.Q00565_BasicMissionFairySettlementWest;
import quests.Q00580_BeyondTheMemories.Q00580_BeyondTheMemories;
import quests.Q00581_ThePurificationRitual.Q00581_ThePurificationRitual;
import quests.Q00582_WashBloodWithBlood.Q00582_WashBloodWithBlood;
@@ -600,7 +601,7 @@ public class QuestMasterHandler
Q00562_BasicMissionAltarOfEvil.class,
Q00563_BasicMissionBloodySwampland.class,
Q00564_BasicMissionKartiasLabyrinthSolo.class,
- Q00565_BasicMissionFairySettlementWest.class, // TODO: Not done.
+ Q00565_BasicMissionFairySettlementWest.class,
Q00566_BasicMissionFairySettlementEast.class, // TODO: Not done.
Q00567_BasicMissionIsleOfSouls.class, // TODO: Not done.
Q00568_SpecialMissionNornilsCave.class, // TODO: Not done.
diff --git a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q00565_BasicMissionFairySettlementWest.java b/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q00565_BasicMissionFairySettlementWest.java
deleted file mode 100644
index bf3c15317d..0000000000
--- a/L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/not_done/Q00565_BasicMissionFairySettlementWest.java
+++ /dev/null
@@ -1,36 +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 .
- */
-package quests.not_done;
-
-import org.l2jmobius.Config;
-import org.l2jmobius.gameserver.model.quest.Quest;
-
-/**
- * @author Mobius
- */
-public class Q00565_BasicMissionFairySettlementWest extends Quest
-{
- private static final int START_NPC = 34413;
-
- public Q00565_BasicMissionFairySettlementWest()
- {
- super(565);
- addStartNpc(START_NPC);
- addTalkId(START_NPC);
- addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null));
- }
-}
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/30134-01.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/30134-01.html
new file mode 100644
index 0000000000..0e25e61045
--- /dev/null
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/30134-01.html
@@ -0,0 +1,4 @@
+Teleport Device:
+(According to Gatekeeper Bella, in order to reach the Altar of Evil, you need to go to the Bloody SwamplandGo there and look for Lapathiaa Mystic of Dark Arts.)
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/30848-01.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/30848-01.html
new file mode 100644
index 0000000000..e2b2020041
--- /dev/null
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/30848-01.html
@@ -0,0 +1,4 @@
+Gatekeeper Elisa:
+You want to know how to go to the Altar of Evil? It must be because of your mission from the Adventure Guild! Alright, I'll tell you.
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/30848-02.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/30848-02.html
new file mode 100644
index 0000000000..021cbb0551
--- /dev/null
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/30848-02.html
@@ -0,0 +1,5 @@
+Gatekeeper Elisa:
+The Altar of Evil is a Hunting Zone that can be accessed by the Dark Elf Village. But, there is no direct channel to teleport from the Town of Aden to the Dark Elf Village. So, you'll have to go somewhere that has teleporting routes to the Dark Elf Village.
+You should go to the Town of Gludio. Once you get there, ask Gatekeeper Bella about how to teleport. For now, why don't you just focus on getting to the Town of Gludio.
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/32921-01.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/32921-01.html
new file mode 100644
index 0000000000..f6bbf7a149
--- /dev/null
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/32921-01.html
@@ -0,0 +1,4 @@
+Black Wizard Lapathia:
+I asked the Adventure Guild to send an adventurer but didn't expect they would send you. I'd like to see how good you are.
+(To do "Basic Mission: Altar of Evil," you must do "The Purification Ritual" and "Wash Blood with Blood" through Black Wizard Lapathia.)
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/32921-02.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/32921-02.html
new file mode 100644
index 0000000000..6243f5d4fc
--- /dev/null
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/32921-02.html
@@ -0,0 +1,5 @@
+Black Wizard Lapathia:
+You completed all the missions I gave you, meaning that you also completed those of the Adventure Guildsman. Are you going back to the Town of Aden? How?
+Don't tell me you're going to walk all the way up there. I know a better way.
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/32921-03.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/32921-03.html
new file mode 100644
index 0000000000..2280a859d9
--- /dev/null
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/32921-03.html
@@ -0,0 +1,5 @@
+Black Wizard Lapathia:
+When setting out for a joumey, veteran adventurers always pack Scrolls of Escape, it teleports the user immediately to the closest village or to the check point.
+If you have these useful items, you can move easily after hunting or when you are far away from the village. Since you've been a great help to me, I'll give you the scroll that can teleport you directly to the Town of Aden.
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/32921-04.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/32921-04.html
new file mode 100644
index 0000000000..a62abbb849
--- /dev/null
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/32921-04.html
@@ -0,0 +1,6 @@
+Black Wizard Lapathia:
+You can use the scroll now or later. Just don't forget to pack enough Scrolls of Escape once you retum to town.
+You can easily buy Scrolls of Escape at stores. Be safe until we meet again.
+
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/33100-01.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/33100-01.html
new file mode 100644
index 0000000000..469d6de030
--- /dev/null
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/33100-01.html
@@ -0,0 +1,4 @@
+Gatekeeper Bella:
+ Do you have something else you need?
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/33100-02.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/33100-02.html
new file mode 100644
index 0000000000..195a8cc6e3
--- /dev/null
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/33100-02.html
@@ -0,0 +1,6 @@
+Gatekeeper Bella:
+Are you here on a mission from the Adventure Guild? I've seen many who are. If so, I'll explain the details.
+You'll have to select Dark Elf Village from the teleport link I give you and go there. The area for an active mission will appear at the top of the teleport list so it won't be hard to find.
+But you have to watch out for one thing.
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/33100-03.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/33100-03.html
new file mode 100644
index 0000000000..3f5c6e5103
--- /dev/null
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/33100-03.html
@@ -0,0 +1,5 @@
+Gatekeeper Bella:
+There's no Gatekeeper in the Dark Elf Village. In the past, there had been a Gatekeeper, however, now, due to a tragic accident, there is only a Teleport Device.
+Anyway, there's no other option. Go and check the missions.
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-01.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-01.htm
new file mode 100644
index 0000000000..e42613f2e1
--- /dev/null
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-01.htm
@@ -0,0 +1,4 @@
+Adventure Guildsman Penny:
+Your're the one that Hephah has sent, right? If not, you should go meet Herphah and receive a mission from her before you continue. If you think it doesn't matter, I can continue anyway. Do you want me to continue?
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-02.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-02.htm
new file mode 100644
index 0000000000..bf83816c8a
--- /dev/null
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-02.htm
@@ -0,0 +1,4 @@
+Adventure Guildsman Penny:
+Herphah wants you to do some missions, and I'll chose an appropriate mission depending on your relationship with us at the Adventure Guild.
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-03.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-03.htm
new file mode 100644
index 0000000000..2c7f40cb66
--- /dev/null
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-03.htm
@@ -0,0 +1,4 @@
+Adventure Guildsman Penny:
+Your mission is to assist with the task at the Altar of Evil. If successful, our Adventure Guild will give you additional rewards on top of the mission payment and your relationship with our faction will grow even stronger.
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-04.htm b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-04.htm
new file mode 100644
index 0000000000..002c33c6d6
--- /dev/null
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-04.htm
@@ -0,0 +1,6 @@
+Adventure Guildsman Penny:
+You've already leamed everything you need to know about the mission. By that I mean, how to go to the Altar of Evil. You should be able to start the mission right away without further explanation.
+But if you want to listen to the explanation again, I'd be happy to tell you.
+
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-05.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-05.html
new file mode 100644
index 0000000000..6a2b0fce5e
--- /dev/null
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-05.html
@@ -0,0 +1,3 @@
+Adventure Guildsman Penny:
+Good choice. Now, go to Black Wizard Lapathia at the Altar of Evil and do the mission that she gives you. When the mission is done, come back to me.
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-06.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-06.html
new file mode 100644
index 0000000000..02bed5e9b8
--- /dev/null
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-06.html
@@ -0,0 +1,4 @@
+Adventure Guildsman Penny:
+Welcome back! So, did you do a good job?
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-07.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-07.html
new file mode 100644
index 0000000000..ba0fe1f086
--- /dev/null
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-07.html
@@ -0,0 +1,3 @@
+Adventure Guildsman Penny:
+Thanks, you've done a great job! I'm sure eveyone in the Adventure Guild will know your name now. If there is another opportunity, we'd love for you to help us again. Good luck and farewell!
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-08.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-08.html
new file mode 100644
index 0000000000..190351d034
--- /dev/null
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-08.html
@@ -0,0 +1,3 @@
+Adventure Guildsman Penny:
+To do the mission, you have to go to Black Wizard Lapathia at the Altar of Evil. Do the mission that Lapathia gives. Then, come back to me.
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-09.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-09.html
new file mode 100644
index 0000000000..05b3a3231b
--- /dev/null
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-09.html
@@ -0,0 +1,4 @@
+Adventure Guildsman Penny:
+I'm sure the Gatekeeper of the town, Gatekeeper Elise, could give you a better explanation. Go to her and ask how you can go to the Altar of Evil. She's very friendly so don't be shy.
+If you anive successfully, meet the black wizard, Lapathia, and ask about the mission.
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-10.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-10.html
new file mode 100644
index 0000000000..3ecc46dbe2
--- /dev/null
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-10.html
@@ -0,0 +1,4 @@
+Adventure Guildsman Penny:
+You need to leam how to get there first. Go to Gatekeeper Elise and ask how to go to the Altar of Evil. She will give you a detailed explanation.
+If you arive successfully, meet the black wizard, Lapathia, and ask about the mission.
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-11.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-11.html
new file mode 100644
index 0000000000..7f547de891
--- /dev/null
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-11.html
@@ -0,0 +1,4 @@
+Truth Seeker Devianne:
+In order to take on this mission, you must first build more trust with us.
+(Only characters with faction level 3 or above with the Blackbird Clan may undertake this quest.)
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/Q00565_BasicMissionFairySettlementWest.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/Q00565_BasicMissionFairySettlementWest.java
new file mode 100644
index 0000000000..a28ca31185
--- /dev/null
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/Q00565_BasicMissionFairySettlementWest.java
@@ -0,0 +1,276 @@
+/*
+ * 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 .
+ */
+package quests.Q00565_BasicMissionFairySettlementWest;
+
+import org.l2jmobius.gameserver.enums.Faction;
+import org.l2jmobius.gameserver.enums.QuestType;
+import org.l2jmobius.gameserver.model.Location;
+import org.l2jmobius.gameserver.model.actor.Npc;
+import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
+import org.l2jmobius.gameserver.model.quest.Quest;
+import org.l2jmobius.gameserver.model.quest.QuestState;
+import org.l2jmobius.gameserver.model.quest.State;
+
+/**
+ * Basic Mission: Fairy Settlement - West
+ * @URL https://l2wiki.com/Basic_Mission:_Fairy_Settlement_-_West
+ * @author Dmitri
+ */
+public class Q00565_BasicMissionFairySettlementWest extends Quest
+{
+ // NPCs
+ private static final int PENNY = 34413;
+ private static final int FAIRY_CITY_DWELLER = 32921;
+ private static final int ELISA = 30848;
+ private static final int RADA = 33100;
+ private static final int DE_VILLAGE_TELEPORT_DEVICE = 30134;
+ // Rewards
+ private static final long EXP = 527029380;
+ private static final int SP = 527010;
+ private static final int FP = 240; // Faction points
+ private static final int SCROLL_OF_ESCAPE_FAIRY_COLONY = 39498;
+ private static final int SCROLL_OF_ESCAPE_TOWN_OF_ADEN = 48413;
+ // Misc
+ private static final int MIN_LEVEL = 88;
+ private static final int MAX_LEVEL = 92;
+ // Location
+ private static final Location TOWN_OF_ADEN = new Location(146632, 26760, -2213);
+
+ public Q00565_BasicMissionFairySettlementWest()
+ {
+ super(565);
+ addStartNpc(PENNY);
+ addTalkId(PENNY, FAIRY_CITY_DWELLER, ELISA, RADA, DE_VILLAGE_TELEPORT_DEVICE);
+ addCondLevel(MIN_LEVEL, MAX_LEVEL, "nolevel.html");
+ addFactionLevel(Faction.ADVENTURE_GUILD, 3, "34413-11.html");
+ }
+
+ @Override
+ public String onAdvEvent(String event, Npc npc, PlayerInstance player)
+ {
+ final QuestState qs = getQuestState(player, false);
+
+ if (qs == null)
+ {
+ return null;
+ }
+
+ String htmltext = null;
+ switch (event)
+ {
+ case "34413-02.htm":
+ case "34413-03.htm":
+ case "34413-06.html":
+ case "33100-02.html":
+ case "32921-03.html":
+ {
+ htmltext = event;
+ break;
+ }
+ case "34413-04.htm":
+ {
+ qs.startQuest();
+ htmltext = event;
+ break;
+ }
+ case "34413-05.html":
+ {
+ qs.setCond(5, true);
+ htmltext = event;
+ break;
+ }
+ case "34413-09.html":
+ {
+ qs.setCond(2, true);
+ htmltext = event;
+ break;
+ }
+ case "34413-07.html":
+ {
+ StringBuilder str = new StringBuilder("00");
+ checkQuestCompleted(player, str); // Initialize the array with all quests completed
+
+ if (str.indexOf("11") != -1) // verify if all quests completed
+ {
+ giveItems(player, SCROLL_OF_ESCAPE_FAIRY_COLONY, 1);
+ addExpAndSp(player, EXP, SP);
+ addFactionPoints(player, Faction.ADVENTURE_GUILD, FP); // add FP points to ADVENTURE_GUILD Faction
+ qs.exitQuest(QuestType.DAILY, true);
+ htmltext = event;
+ }
+ else
+ {
+ htmltext = "34413-08.html";
+ }
+ break;
+ }
+ case "30848-02.html": // ELISA
+ {
+ qs.setCond(3, true);
+ htmltext = event;
+ break;
+ }
+ case "33100-03.html": // RADA
+ {
+ qs.setCond(4, true);
+ htmltext = event;
+ break;
+ }
+ case "32921-04.html": // LEPATHIA
+ {
+ giveItems(player, SCROLL_OF_ESCAPE_TOWN_OF_ADEN, 1);
+ htmltext = event;
+ break;
+ }
+ case "usescroll":
+ {
+ // TODO: force player to use item SCROLL_OF_ESCAPE_TOWN_OF_ADEN
+ player.teleToLocation(TOWN_OF_ADEN); // Town of Aden near Npc Penny - temp solution
+ takeItems(player, SCROLL_OF_ESCAPE_TOWN_OF_ADEN, -1); // remove SOE - temp solution
+ qs.setCond(8, true);
+ break;
+ }
+ case "keepscroll":
+ {
+ qs.setCond(8, true);
+ break;
+ }
+ }
+ return htmltext;
+ }
+
+ @Override
+ public String onTalk(Npc npc, PlayerInstance player)
+ {
+ final QuestState qs = getQuestState(player, true);
+ String htmltext = getNoQuestMsg(player);
+
+ switch (qs.getState())
+ {
+ case State.CREATED:
+ {
+ if (npc.getId() == PENNY)
+ {
+ htmltext = "34413-01.htm";
+ }
+ break;
+ }
+ case State.STARTED:
+ {
+ switch (npc.getId())
+ {
+ case PENNY:
+ {
+ if (qs.getCond() == 1)
+ {
+ htmltext = "34413-04.htm";
+ }
+ else if (qs.getCond() == 2)
+ {
+ // htmltext = qs.getCond() == 2 ? "34413-10.htm" : "34413-06.html";
+ htmltext = "33509-10.htm";
+ }
+ else if (qs.getCond() == 5)
+ {
+ // htmltext = qs.getCond() == 5 ? "34413-08.htm" : "34413-06.html";
+ htmltext = "34413-08.html";
+ }
+ else
+ {
+ htmltext = "34413-06.html";
+ }
+ break;
+ }
+ case ELISA:
+ {
+ htmltext = "30848-01.html";
+ break;
+ }
+ case RADA:
+ {
+ htmltext = "33100-01.html";
+ break;
+ }
+ case DE_VILLAGE_TELEPORT_DEVICE:
+ {
+ qs.setCond(5, true);
+ htmltext = "30134-01.html";
+ break;
+ }
+ case FAIRY_CITY_DWELLER:
+ {
+ if (qs.getCond() == 5)
+ {
+ qs.setCond(6, true);
+ htmltext = "32921-01.html";
+ }
+ else
+ {
+ StringBuilder str = new StringBuilder("00");
+ checkQuestCompleted(player, str); // Initialize the array with all quests completed
+ if (str.indexOf("11") != -1) // verify if all quests completed
+ {
+ qs.setCond(7, true);
+ htmltext = "32921-02.html";
+ }
+ else
+ {
+ htmltext = "32921-01.html";
+ }
+ }
+ break;
+ }
+ }
+ break;
+ }
+ case State.COMPLETED:
+
+ {
+ if (qs.isNowAvailable())
+ {
+ qs.setState(State.CREATED);
+ htmltext = "34413-01.htm";
+ }
+ else
+ {
+ htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY);
+ }
+ break;
+ }
+ }
+ return htmltext;
+ }
+
+ private StringBuilder checkQuestCompleted(PlayerInstance player, StringBuilder string)
+ {
+ int index = 0;
+ char ch = '1';
+ final QuestState st1 = player.getQuestState("Q00773_ToCalmTheFlood");
+ if ((st1 != null) && st1.isCompleted())
+ {
+ index = 0;
+ string.setCharAt(index, ch);
+ }
+ final QuestState st2 = player.getQuestState("Q00585_CantGoAgainstTheTime");
+ if ((st2 != null) && st2.isCompleted())
+ {
+ index = 1;
+ string.setCharAt(index, ch);
+ }
+ return string;
+ }
+}
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/nolevel.html b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/nolevel.html
new file mode 100644
index 0000000000..671b338438
--- /dev/null
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/nolevel.html
@@ -0,0 +1,4 @@
+Penny:
+I don't understand why someone like you is interested in this mission?
+(Only characters above Lv.88-92.)
+
\ No newline at end of file
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/QuestMasterHandler.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/QuestMasterHandler.java
index 6042fe1dcf..ff0b5ea5db 100644
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/QuestMasterHandler.java
+++ b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/QuestMasterHandler.java
@@ -119,6 +119,7 @@ import quests.Q00561_BasicMissionHarnakUndergroundRuins.Q00561_BasicMissionHarna
import quests.Q00562_BasicMissionAltarOfEvil.Q00562_BasicMissionAltarOfEvil;
import quests.Q00563_BasicMissionBloodySwampland.Q00563_BasicMissionBloodySwampland;
import quests.Q00564_BasicMissionKartiasLabyrinthSolo.Q00564_BasicMissionKartiasLabyrinthSolo;
+import quests.Q00565_BasicMissionFairySettlementWest.Q00565_BasicMissionFairySettlementWest;
import quests.Q00580_BeyondTheMemories.Q00580_BeyondTheMemories;
import quests.Q00581_ThePurificationRitual.Q00581_ThePurificationRitual;
import quests.Q00582_WashBloodWithBlood.Q00582_WashBloodWithBlood;
@@ -531,7 +532,7 @@ public class QuestMasterHandler
Q00562_BasicMissionAltarOfEvil.class,
Q00563_BasicMissionBloodySwampland.class,
Q00564_BasicMissionKartiasLabyrinthSolo.class,
- Q00565_BasicMissionFairySettlementWest.class, // TODO: Not done.
+ Q00565_BasicMissionFairySettlementWest.class,
Q00566_BasicMissionFairySettlementEast.class, // TODO: Not done.
Q00567_BasicMissionIsleOfSouls.class, // TODO: Not done.
Q00568_SpecialMissionNornilsCave.class, // TODO: Not done.
diff --git a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q00565_BasicMissionFairySettlementWest.java b/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q00565_BasicMissionFairySettlementWest.java
deleted file mode 100644
index bf3c15317d..0000000000
--- a/L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/not_done/Q00565_BasicMissionFairySettlementWest.java
+++ /dev/null
@@ -1,36 +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 .
- */
-package quests.not_done;
-
-import org.l2jmobius.Config;
-import org.l2jmobius.gameserver.model.quest.Quest;
-
-/**
- * @author Mobius
- */
-public class Q00565_BasicMissionFairySettlementWest extends Quest
-{
- private static final int START_NPC = 34413;
-
- public Q00565_BasicMissionFairySettlementWest()
- {
- super(565);
- addStartNpc(START_NPC);
- addTalkId(START_NPC);
- addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null));
- }
-}
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/30134-01.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/30134-01.html
new file mode 100644
index 0000000000..0e25e61045
--- /dev/null
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/30134-01.html
@@ -0,0 +1,4 @@
+Teleport Device:
+(According to Gatekeeper Bella, in order to reach the Altar of Evil, you need to go to the Bloody SwamplandGo there and look for Lapathiaa Mystic of Dark Arts.)
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/30848-01.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/30848-01.html
new file mode 100644
index 0000000000..e2b2020041
--- /dev/null
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/30848-01.html
@@ -0,0 +1,4 @@
+Gatekeeper Elisa:
+You want to know how to go to the Altar of Evil? It must be because of your mission from the Adventure Guild! Alright, I'll tell you.
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/30848-02.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/30848-02.html
new file mode 100644
index 0000000000..021cbb0551
--- /dev/null
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/30848-02.html
@@ -0,0 +1,5 @@
+Gatekeeper Elisa:
+The Altar of Evil is a Hunting Zone that can be accessed by the Dark Elf Village. But, there is no direct channel to teleport from the Town of Aden to the Dark Elf Village. So, you'll have to go somewhere that has teleporting routes to the Dark Elf Village.
+You should go to the Town of Gludio. Once you get there, ask Gatekeeper Bella about how to teleport. For now, why don't you just focus on getting to the Town of Gludio.
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/32921-01.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/32921-01.html
new file mode 100644
index 0000000000..f6bbf7a149
--- /dev/null
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/32921-01.html
@@ -0,0 +1,4 @@
+Black Wizard Lapathia:
+I asked the Adventure Guild to send an adventurer but didn't expect they would send you. I'd like to see how good you are.
+(To do "Basic Mission: Altar of Evil," you must do "The Purification Ritual" and "Wash Blood with Blood" through Black Wizard Lapathia.)
+
\ No newline at end of file
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/32921-02.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/32921-02.html
new file mode 100644
index 0000000000..6243f5d4fc
--- /dev/null
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/32921-02.html
@@ -0,0 +1,5 @@
+Black Wizard Lapathia:
+You completed all the missions I gave you, meaning that you also completed those of the Adventure Guildsman. Are you going back to the Town of Aden? How?
+Don't tell me you're going to walk all the way up there. I know a better way.
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/32921-03.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/32921-03.html
new file mode 100644
index 0000000000..2280a859d9
--- /dev/null
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/32921-03.html
@@ -0,0 +1,5 @@
+Black Wizard Lapathia:
+When setting out for a joumey, veteran adventurers always pack Scrolls of Escape, it teleports the user immediately to the closest village or to the check point.
+If you have these useful items, you can move easily after hunting or when you are far away from the village. Since you've been a great help to me, I'll give you the scroll that can teleport you directly to the Town of Aden.
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/32921-04.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/32921-04.html
new file mode 100644
index 0000000000..a62abbb849
--- /dev/null
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/32921-04.html
@@ -0,0 +1,6 @@
+Black Wizard Lapathia:
+You can use the scroll now or later. Just don't forget to pack enough Scrolls of Escape once you retum to town.
+You can easily buy Scrolls of Escape at stores. Be safe until we meet again.
+
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/33100-01.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/33100-01.html
new file mode 100644
index 0000000000..469d6de030
--- /dev/null
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/33100-01.html
@@ -0,0 +1,4 @@
+Gatekeeper Bella:
+ Do you have something else you need?
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/33100-02.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/33100-02.html
new file mode 100644
index 0000000000..195a8cc6e3
--- /dev/null
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/33100-02.html
@@ -0,0 +1,6 @@
+Gatekeeper Bella:
+Are you here on a mission from the Adventure Guild? I've seen many who are. If so, I'll explain the details.
+You'll have to select Dark Elf Village from the teleport link I give you and go there. The area for an active mission will appear at the top of the teleport list so it won't be hard to find.
+But you have to watch out for one thing.
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/33100-03.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/33100-03.html
new file mode 100644
index 0000000000..3f5c6e5103
--- /dev/null
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/33100-03.html
@@ -0,0 +1,5 @@
+Gatekeeper Bella:
+There's no Gatekeeper in the Dark Elf Village. In the past, there had been a Gatekeeper, however, now, due to a tragic accident, there is only a Teleport Device.
+Anyway, there's no other option. Go and check the missions.
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-01.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-01.htm
new file mode 100644
index 0000000000..e42613f2e1
--- /dev/null
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-01.htm
@@ -0,0 +1,4 @@
+Adventure Guildsman Penny:
+Your're the one that Hephah has sent, right? If not, you should go meet Herphah and receive a mission from her before you continue. If you think it doesn't matter, I can continue anyway. Do you want me to continue?
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-02.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-02.htm
new file mode 100644
index 0000000000..bf83816c8a
--- /dev/null
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-02.htm
@@ -0,0 +1,4 @@
+Adventure Guildsman Penny:
+Herphah wants you to do some missions, and I'll chose an appropriate mission depending on your relationship with us at the Adventure Guild.
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-03.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-03.htm
new file mode 100644
index 0000000000..2c7f40cb66
--- /dev/null
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-03.htm
@@ -0,0 +1,4 @@
+Adventure Guildsman Penny:
+Your mission is to assist with the task at the Altar of Evil. If successful, our Adventure Guild will give you additional rewards on top of the mission payment and your relationship with our faction will grow even stronger.
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-04.htm b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-04.htm
new file mode 100644
index 0000000000..002c33c6d6
--- /dev/null
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-04.htm
@@ -0,0 +1,6 @@
+Adventure Guildsman Penny:
+You've already leamed everything you need to know about the mission. By that I mean, how to go to the Altar of Evil. You should be able to start the mission right away without further explanation.
+But if you want to listen to the explanation again, I'd be happy to tell you.
+
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-05.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-05.html
new file mode 100644
index 0000000000..6a2b0fce5e
--- /dev/null
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-05.html
@@ -0,0 +1,3 @@
+Adventure Guildsman Penny:
+Good choice. Now, go to Black Wizard Lapathia at the Altar of Evil and do the mission that she gives you. When the mission is done, come back to me.
+
\ No newline at end of file
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-06.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-06.html
new file mode 100644
index 0000000000..02bed5e9b8
--- /dev/null
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-06.html
@@ -0,0 +1,4 @@
+Adventure Guildsman Penny:
+Welcome back! So, did you do a good job?
+
+
\ No newline at end of file
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-07.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-07.html
new file mode 100644
index 0000000000..ba0fe1f086
--- /dev/null
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-07.html
@@ -0,0 +1,3 @@
+Adventure Guildsman Penny:
+Thanks, you've done a great job! I'm sure eveyone in the Adventure Guild will know your name now. If there is another opportunity, we'd love for you to help us again. Good luck and farewell!
+
\ No newline at end of file
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-08.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-08.html
new file mode 100644
index 0000000000..190351d034
--- /dev/null
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-08.html
@@ -0,0 +1,3 @@
+Adventure Guildsman Penny:
+To do the mission, you have to go to Black Wizard Lapathia at the Altar of Evil. Do the mission that Lapathia gives. Then, come back to me.
+
\ No newline at end of file
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-09.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-09.html
new file mode 100644
index 0000000000..05b3a3231b
--- /dev/null
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-09.html
@@ -0,0 +1,4 @@
+Adventure Guildsman Penny:
+I'm sure the Gatekeeper of the town, Gatekeeper Elise, could give you a better explanation. Go to her and ask how you can go to the Altar of Evil. She's very friendly so don't be shy.
+If you anive successfully, meet the black wizard, Lapathia, and ask about the mission.
+
\ No newline at end of file
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-10.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-10.html
new file mode 100644
index 0000000000..3ecc46dbe2
--- /dev/null
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-10.html
@@ -0,0 +1,4 @@
+Adventure Guildsman Penny:
+You need to leam how to get there first. Go to Gatekeeper Elise and ask how to go to the Altar of Evil. She will give you a detailed explanation.
+If you arive successfully, meet the black wizard, Lapathia, and ask about the mission.
+
\ No newline at end of file
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-11.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-11.html
new file mode 100644
index 0000000000..7f547de891
--- /dev/null
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/34413-11.html
@@ -0,0 +1,4 @@
+Truth Seeker Devianne:
+In order to take on this mission, you must first build more trust with us.
+(Only characters with faction level 3 or above with the Blackbird Clan may undertake this quest.)
+
\ No newline at end of file
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/Q00565_BasicMissionFairySettlementWest.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/Q00565_BasicMissionFairySettlementWest.java
new file mode 100644
index 0000000000..a28ca31185
--- /dev/null
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/Q00565_BasicMissionFairySettlementWest.java
@@ -0,0 +1,276 @@
+/*
+ * 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 .
+ */
+package quests.Q00565_BasicMissionFairySettlementWest;
+
+import org.l2jmobius.gameserver.enums.Faction;
+import org.l2jmobius.gameserver.enums.QuestType;
+import org.l2jmobius.gameserver.model.Location;
+import org.l2jmobius.gameserver.model.actor.Npc;
+import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
+import org.l2jmobius.gameserver.model.quest.Quest;
+import org.l2jmobius.gameserver.model.quest.QuestState;
+import org.l2jmobius.gameserver.model.quest.State;
+
+/**
+ * Basic Mission: Fairy Settlement - West
+ * @URL https://l2wiki.com/Basic_Mission:_Fairy_Settlement_-_West
+ * @author Dmitri
+ */
+public class Q00565_BasicMissionFairySettlementWest extends Quest
+{
+ // NPCs
+ private static final int PENNY = 34413;
+ private static final int FAIRY_CITY_DWELLER = 32921;
+ private static final int ELISA = 30848;
+ private static final int RADA = 33100;
+ private static final int DE_VILLAGE_TELEPORT_DEVICE = 30134;
+ // Rewards
+ private static final long EXP = 527029380;
+ private static final int SP = 527010;
+ private static final int FP = 240; // Faction points
+ private static final int SCROLL_OF_ESCAPE_FAIRY_COLONY = 39498;
+ private static final int SCROLL_OF_ESCAPE_TOWN_OF_ADEN = 48413;
+ // Misc
+ private static final int MIN_LEVEL = 88;
+ private static final int MAX_LEVEL = 92;
+ // Location
+ private static final Location TOWN_OF_ADEN = new Location(146632, 26760, -2213);
+
+ public Q00565_BasicMissionFairySettlementWest()
+ {
+ super(565);
+ addStartNpc(PENNY);
+ addTalkId(PENNY, FAIRY_CITY_DWELLER, ELISA, RADA, DE_VILLAGE_TELEPORT_DEVICE);
+ addCondLevel(MIN_LEVEL, MAX_LEVEL, "nolevel.html");
+ addFactionLevel(Faction.ADVENTURE_GUILD, 3, "34413-11.html");
+ }
+
+ @Override
+ public String onAdvEvent(String event, Npc npc, PlayerInstance player)
+ {
+ final QuestState qs = getQuestState(player, false);
+
+ if (qs == null)
+ {
+ return null;
+ }
+
+ String htmltext = null;
+ switch (event)
+ {
+ case "34413-02.htm":
+ case "34413-03.htm":
+ case "34413-06.html":
+ case "33100-02.html":
+ case "32921-03.html":
+ {
+ htmltext = event;
+ break;
+ }
+ case "34413-04.htm":
+ {
+ qs.startQuest();
+ htmltext = event;
+ break;
+ }
+ case "34413-05.html":
+ {
+ qs.setCond(5, true);
+ htmltext = event;
+ break;
+ }
+ case "34413-09.html":
+ {
+ qs.setCond(2, true);
+ htmltext = event;
+ break;
+ }
+ case "34413-07.html":
+ {
+ StringBuilder str = new StringBuilder("00");
+ checkQuestCompleted(player, str); // Initialize the array with all quests completed
+
+ if (str.indexOf("11") != -1) // verify if all quests completed
+ {
+ giveItems(player, SCROLL_OF_ESCAPE_FAIRY_COLONY, 1);
+ addExpAndSp(player, EXP, SP);
+ addFactionPoints(player, Faction.ADVENTURE_GUILD, FP); // add FP points to ADVENTURE_GUILD Faction
+ qs.exitQuest(QuestType.DAILY, true);
+ htmltext = event;
+ }
+ else
+ {
+ htmltext = "34413-08.html";
+ }
+ break;
+ }
+ case "30848-02.html": // ELISA
+ {
+ qs.setCond(3, true);
+ htmltext = event;
+ break;
+ }
+ case "33100-03.html": // RADA
+ {
+ qs.setCond(4, true);
+ htmltext = event;
+ break;
+ }
+ case "32921-04.html": // LEPATHIA
+ {
+ giveItems(player, SCROLL_OF_ESCAPE_TOWN_OF_ADEN, 1);
+ htmltext = event;
+ break;
+ }
+ case "usescroll":
+ {
+ // TODO: force player to use item SCROLL_OF_ESCAPE_TOWN_OF_ADEN
+ player.teleToLocation(TOWN_OF_ADEN); // Town of Aden near Npc Penny - temp solution
+ takeItems(player, SCROLL_OF_ESCAPE_TOWN_OF_ADEN, -1); // remove SOE - temp solution
+ qs.setCond(8, true);
+ break;
+ }
+ case "keepscroll":
+ {
+ qs.setCond(8, true);
+ break;
+ }
+ }
+ return htmltext;
+ }
+
+ @Override
+ public String onTalk(Npc npc, PlayerInstance player)
+ {
+ final QuestState qs = getQuestState(player, true);
+ String htmltext = getNoQuestMsg(player);
+
+ switch (qs.getState())
+ {
+ case State.CREATED:
+ {
+ if (npc.getId() == PENNY)
+ {
+ htmltext = "34413-01.htm";
+ }
+ break;
+ }
+ case State.STARTED:
+ {
+ switch (npc.getId())
+ {
+ case PENNY:
+ {
+ if (qs.getCond() == 1)
+ {
+ htmltext = "34413-04.htm";
+ }
+ else if (qs.getCond() == 2)
+ {
+ // htmltext = qs.getCond() == 2 ? "34413-10.htm" : "34413-06.html";
+ htmltext = "33509-10.htm";
+ }
+ else if (qs.getCond() == 5)
+ {
+ // htmltext = qs.getCond() == 5 ? "34413-08.htm" : "34413-06.html";
+ htmltext = "34413-08.html";
+ }
+ else
+ {
+ htmltext = "34413-06.html";
+ }
+ break;
+ }
+ case ELISA:
+ {
+ htmltext = "30848-01.html";
+ break;
+ }
+ case RADA:
+ {
+ htmltext = "33100-01.html";
+ break;
+ }
+ case DE_VILLAGE_TELEPORT_DEVICE:
+ {
+ qs.setCond(5, true);
+ htmltext = "30134-01.html";
+ break;
+ }
+ case FAIRY_CITY_DWELLER:
+ {
+ if (qs.getCond() == 5)
+ {
+ qs.setCond(6, true);
+ htmltext = "32921-01.html";
+ }
+ else
+ {
+ StringBuilder str = new StringBuilder("00");
+ checkQuestCompleted(player, str); // Initialize the array with all quests completed
+ if (str.indexOf("11") != -1) // verify if all quests completed
+ {
+ qs.setCond(7, true);
+ htmltext = "32921-02.html";
+ }
+ else
+ {
+ htmltext = "32921-01.html";
+ }
+ }
+ break;
+ }
+ }
+ break;
+ }
+ case State.COMPLETED:
+
+ {
+ if (qs.isNowAvailable())
+ {
+ qs.setState(State.CREATED);
+ htmltext = "34413-01.htm";
+ }
+ else
+ {
+ htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY);
+ }
+ break;
+ }
+ }
+ return htmltext;
+ }
+
+ private StringBuilder checkQuestCompleted(PlayerInstance player, StringBuilder string)
+ {
+ int index = 0;
+ char ch = '1';
+ final QuestState st1 = player.getQuestState("Q00773_ToCalmTheFlood");
+ if ((st1 != null) && st1.isCompleted())
+ {
+ index = 0;
+ string.setCharAt(index, ch);
+ }
+ final QuestState st2 = player.getQuestState("Q00585_CantGoAgainstTheTime");
+ if ((st2 != null) && st2.isCompleted())
+ {
+ index = 1;
+ string.setCharAt(index, ch);
+ }
+ return string;
+ }
+}
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/nolevel.html b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/nolevel.html
new file mode 100644
index 0000000000..671b338438
--- /dev/null
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q00565_BasicMissionFairySettlementWest/nolevel.html
@@ -0,0 +1,4 @@
+Penny:
+I don't understand why someone like you is interested in this mission?
+(Only characters above Lv.88-92.)
+
\ No newline at end of file
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/QuestMasterHandler.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/QuestMasterHandler.java
index ac9396ac4b..6cef3a1470 100644
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/QuestMasterHandler.java
+++ b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/QuestMasterHandler.java
@@ -119,6 +119,7 @@ import quests.Q00561_BasicMissionHarnakUndergroundRuins.Q00561_BasicMissionHarna
import quests.Q00562_BasicMissionAltarOfEvil.Q00562_BasicMissionAltarOfEvil;
import quests.Q00563_BasicMissionBloodySwampland.Q00563_BasicMissionBloodySwampland;
import quests.Q00564_BasicMissionKartiasLabyrinthSolo.Q00564_BasicMissionKartiasLabyrinthSolo;
+import quests.Q00565_BasicMissionFairySettlementWest.Q00565_BasicMissionFairySettlementWest;
import quests.Q00580_BeyondTheMemories.Q00580_BeyondTheMemories;
import quests.Q00581_ThePurificationRitual.Q00581_ThePurificationRitual;
import quests.Q00582_WashBloodWithBlood.Q00582_WashBloodWithBlood;
@@ -542,7 +543,7 @@ public class QuestMasterHandler
Q00562_BasicMissionAltarOfEvil.class,
Q00563_BasicMissionBloodySwampland.class,
Q00564_BasicMissionKartiasLabyrinthSolo.class,
- Q00565_BasicMissionFairySettlementWest.class, // TODO: Not done.
+ Q00565_BasicMissionFairySettlementWest.class,
Q00566_BasicMissionFairySettlementEast.class, // TODO: Not done.
Q00567_BasicMissionIsleOfSouls.class, // TODO: Not done.
Q00568_SpecialMissionNornilsCave.class, // TODO: Not done.
diff --git a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q00565_BasicMissionFairySettlementWest.java b/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q00565_BasicMissionFairySettlementWest.java
deleted file mode 100644
index bf3c15317d..0000000000
--- a/L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/not_done/Q00565_BasicMissionFairySettlementWest.java
+++ /dev/null
@@ -1,36 +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 .
- */
-package quests.not_done;
-
-import org.l2jmobius.Config;
-import org.l2jmobius.gameserver.model.quest.Quest;
-
-/**
- * @author Mobius
- */
-public class Q00565_BasicMissionFairySettlementWest extends Quest
-{
- private static final int START_NPC = 34413;
-
- public Q00565_BasicMissionFairySettlementWest()
- {
- super(565);
- addStartNpc(START_NPC);
- addTalkId(START_NPC);
- addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null));
- }
-}