Addition of quest related teleporter dialogs.

Contributed by NightBR.
This commit is contained in:
MobiusDevelopment
2019-04-11 12:48:04 +00:00
parent 167b4557d7
commit e5c1a7fdf3
42 changed files with 447 additions and 21 deletions

View File

@ -16,6 +16,7 @@
*/
package com.l2jmobius.gameserver.model.actor.instance;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@ -51,12 +52,18 @@ public final class TeleporterInstance extends Npc
};
private static final Map<Integer, List<TeleporterQuestRecommendationHolder>> QUEST_RECOMENDATIONS = new HashMap<>();
// static
// {
// QUEST_RECOMENDATIONS.put(30848, new ArrayList<>());
// QUEST_RECOMENDATIONS.get(30848).add(new TeleporterQuestRecommendationHolder(30848, "Q00561_BasicMissionHarnakUndergroundRuins", -1, "30848-Q561-Q562"));
// QUEST_RECOMENDATIONS.get(30848).add(new TeleporterQuestRecommendationHolder(30848, "Q00562_BasicMissionAltarOfEvil", -1, "30848-561-562"));
// }
static
{
QUEST_RECOMENDATIONS.put(30006, new ArrayList<>()); // Gatekeeper Milia
QUEST_RECOMENDATIONS.get(30006).add(new TeleporterQuestRecommendationHolder(30006, "Q00561_BasicMissionHarnakUndergroundRuins", -1, "30006-Q561"));
QUEST_RECOMENDATIONS.put(30134, new ArrayList<>()); // Dark Elf Village Teleport Device
QUEST_RECOMENDATIONS.get(30134).add(new TeleporterQuestRecommendationHolder(30134, "Q00562_BasicMissionAltarOfEvil", -1, "30134-Q562"));
QUEST_RECOMENDATIONS.put(30256, new ArrayList<>()); // Gatekeeper Bella
QUEST_RECOMENDATIONS.get(30256).add(new TeleporterQuestRecommendationHolder(30256, "Q00562_BasicMissionAltarOfEvil", -1, "30256-Q562"));
QUEST_RECOMENDATIONS.put(30848, new ArrayList<>()); // Gatekeeper Elisa
QUEST_RECOMENDATIONS.get(30848).add(new TeleporterQuestRecommendationHolder(30848, "Q00561_BasicMissionHarnakUndergroundRuins", -1, "30848-Q561-Q562"));
QUEST_RECOMENDATIONS.get(30848).add(new TeleporterQuestRecommendationHolder(30848, "Q00562_BasicMissionAltarOfEvil", -1, "30848-Q561-Q562"));
}
public TeleporterInstance(NpcTemplate template)
{