Moved Talking Island scripts to zones package.

This commit is contained in:
MobiusDev
2016-04-28 19:44:21 +00:00
parent 324f0a3ddb
commit df77a72295
117 changed files with 96 additions and 438 deletions

View File

@@ -50,7 +50,6 @@ ai/group_template/SummonPc.java
ai/group_template/TurekOrcs.java ai/group_template/TurekOrcs.java
ai/group_template/WarriorFishingBlock.java ai/group_template/WarriorFishingBlock.java
ai/group_template/Wasteland.java ai/group_template/Wasteland.java
ai/group_template/YeSagira.java
# Individual # Individual
ai/individual/Antharas/Antharas.java ai/individual/Antharas/Antharas.java
@@ -60,38 +59,20 @@ ai/individual/Venom/Venom.java
ai/individual/Anais.java ai/individual/Anais.java
ai/individual/Ballista.java ai/individual/Ballista.java
ai/individual/Beleth.java ai/individual/Beleth.java
ai/individual/Banette.java
ai/individual/Bink.java
ai/individual/CrimsonHatuOtis.java ai/individual/CrimsonHatuOtis.java
ai/individual/Core.java ai/individual/Core.java
ai/individual/Devno.java
ai/individual/DarkWaterDragon.java ai/individual/DarkWaterDragon.java
ai/individual/DivineBeast.java ai/individual/DivineBeast.java
ai/individual/DrillSergeant.java
ai/individual/Eleve.java
ai/individual/Epidos.java ai/individual/Epidos.java
ai/individual/EvasGiftBox.java ai/individual/EvasGiftBox.java
ai/individual/FrightenedRagnaOrc.java ai/individual/FrightenedRagnaOrc.java
ai/individual/Gagabu.java
ai/individual/Galad.java
ai/individual/Gordon.java ai/individual/Gordon.java
ai/individual/GraveRobbers.java ai/individual/GraveRobbers.java
ai/individual/GuardSoldier.java
ai/individual/Handermonkey.java
ai/individual/Heymond.java
ai/individual/Holly.java
ai/individual/Karonf.java
ai/individual/Lailly.java ai/individual/Lailly.java
ai/individual/LeopardDragonHachling.java ai/individual/LeopardDragonHachling.java
ai/individual/Luderic.java
ai/individual/Lumi.java
ai/individual/Mahram.java
ai/individual/Mai.java
ai/individual/MarinSmith.java
ai/individual/MercenaryCaptain.java ai/individual/MercenaryCaptain.java
ai/individual/Namo.java ai/individual/Namo.java
ai/individual/Orfen.java ai/individual/Orfen.java
ai/individual/Oris.java
ai/individual/QueenAnt.java ai/individual/QueenAnt.java
ai/individual/QueenShyeed.java ai/individual/QueenShyeed.java
ai/individual/RagnaOrcCommander.java ai/individual/RagnaOrcCommander.java
@@ -99,15 +80,8 @@ ai/individual/RagnaOrcSeer.java
ai/individual/RagnaOrcHero.java ai/individual/RagnaOrcHero.java
ai/individual/Rakun.java ai/individual/Rakun.java
ai/individual/ScarletVanHalisha.java ai/individual/ScarletVanHalisha.java
ai/individual/Shannon.java
ai/individual/SinEater.java ai/individual/SinEater.java
ai/individual/SinWardens.java ai/individual/SinWardens.java
ai/individual/Sodian.java
ai/individual/Stiller.java
ai/individual/Theodore.java
ai/individual/TomaJunior.java
ai/individual/TrainingGolem.java
ai/individual/TrainningSoldier.java
ai/individual/Valakas.java ai/individual/Valakas.java
ai/individual/WindVortex.java ai/individual/WindVortex.java
@@ -118,10 +92,8 @@ ai/npc/Alarm/Alarm.java
ai/npc/Alexandria/Alexandria.java ai/npc/Alexandria/Alexandria.java
ai/npc/AltarOfSouls/AltarOfSouls.java ai/npc/AltarOfSouls/AltarOfSouls.java
ai/npc/AlchemistManager/AlchemistManager.java ai/npc/AlchemistManager/AlchemistManager.java
ai/npc/Apprentice/Apprentice.java
ai/npc/ArenaManager/ArenaManager.java ai/npc/ArenaManager/ArenaManager.java
ai/npc/AvantGarde/AvantGarde.java ai/npc/AvantGarde/AvantGarde.java
ai/npc/AwakeningMaster/AwakeningMaster.java
ai/npc/BlackJudge/BlackJudge.java ai/npc/BlackJudge/BlackJudge.java
ai/npc/BlackMarketeerOfMammon/BlackMarketeerOfMammon.java ai/npc/BlackMarketeerOfMammon/BlackMarketeerOfMammon.java
ai/npc/CastleAmbassador/CastleAmbassador.java ai/npc/CastleAmbassador/CastleAmbassador.java
@@ -141,7 +113,6 @@ ai/npc/ForgeOfTheGods/Rooney.java
ai/npc/FortressArcherCaptain/FortressArcherCaptain.java ai/npc/FortressArcherCaptain/FortressArcherCaptain.java
ai/npc/FortressSiegeManager/FortressSiegeManager.java ai/npc/FortressSiegeManager/FortressSiegeManager.java
ai/npc/FreyasSteward/FreyasSteward.java ai/npc/FreyasSteward/FreyasSteward.java
ai/npc/Hardin/Hardin.java
ai/npc/Jinia/Jinia.java ai/npc/Jinia/Jinia.java
ai/npc/KainVanHalter/KainVanHalter.java ai/npc/KainVanHalter/KainVanHalter.java
ai/npc/KetraOrcSupport/KetraOrcSupport.java ai/npc/KetraOrcSupport/KetraOrcSupport.java
@@ -149,17 +120,13 @@ ai/npc/LaVieEnRose/LaVieEnRose.java
ai/npc/Mammons/Mammons.java ai/npc/Mammons/Mammons.java
ai/npc/ManorManager/ManorManager.java ai/npc/ManorManager/ManorManager.java
ai/npc/MentorGuide/MentorGuide.java ai/npc/MentorGuide/MentorGuide.java
ai/npc/Milia/Milia.java
ai/npc/Minigame/Minigame.java ai/npc/Minigame/Minigame.java
ai/npc/MonkOfChaos/MonkOfChaos.java
ai/npc/MonumentOfHeroes/MonumentOfHeroes.java ai/npc/MonumentOfHeroes/MonumentOfHeroes.java
ai/npc/Merlot/Merlot.java ai/npc/Merlot/Merlot.java
ai/npc/Nomi/Nomi.java ai/npc/Nomi/Nomi.java
ai/npc/NpcBuffers/NpcBuffers.java ai/npc/NpcBuffers/NpcBuffers.java
ai/npc/Pantheon/Pantheon.java
ai/npc/Proclaimer/Proclaimer.java ai/npc/Proclaimer/Proclaimer.java
ai/npc/Rignos/Rignos.java ai/npc/Rignos/Rignos.java
ai/npc/Raina/Raina.java
ai/npc/RemembranceTower/RemembranceTower.java ai/npc/RemembranceTower/RemembranceTower.java
ai/npc/Scarecrow/Scarecrow.java ai/npc/Scarecrow/Scarecrow.java
ai/npc/Sirra/Sirra.java ai/npc/Sirra/Sirra.java
@@ -175,7 +142,6 @@ ai/npc/Teleports/GainakUndergroundEntrance/GainakUndergroundEntrance.java
ai/npc/Teleports/GardenOfSpirits/GardenOfSpirits.java ai/npc/Teleports/GardenOfSpirits/GardenOfSpirits.java
ai/npc/Teleports/GiantServant/GiantServant.java ai/npc/Teleports/GiantServant/GiantServant.java
ai/npc/Teleports/GrandBossTeleporters/GrandBossTeleporters.java ai/npc/Teleports/GrandBossTeleporters/GrandBossTeleporters.java
ai/npc/Teleports/HarnakUnderground/HarnakUnderground.java
ai/npc/Teleports/KargosTeleport/KargosTeleport.java ai/npc/Teleports/KargosTeleport/KargosTeleport.java
ai/npc/Teleports/Klemis/Klemis.java ai/npc/Teleports/Klemis/Klemis.java
ai/npc/Teleports/MithrilMinesTeleporter/MithrilMinesTeleporter.java ai/npc/Teleports/MithrilMinesTeleporter/MithrilMinesTeleporter.java
@@ -193,7 +159,6 @@ ai/npc/Teleports/TeleportToUndergroundColiseum/TeleportToUndergroundColiseum.jav
ai/npc/Teleports/TeleportWithCharm/TeleportWithCharm.java ai/npc/Teleports/TeleportWithCharm/TeleportWithCharm.java
ai/npc/Teleports/ToIVortex/ToIVortex.java ai/npc/Teleports/ToIVortex/ToIVortex.java
ai/npc/Teleports/Warpgate/Warpgate.java ai/npc/Teleports/Warpgate/Warpgate.java
ai/npc/Teleports/YeSagiraTeleporter/YeSagiraTeleporter.java
ai/npc/Toyron/Toyron.java ai/npc/Toyron/Toyron.java
ai/npc/Trainers/HealerTrainer/HealerTrainer.java ai/npc/Trainers/HealerTrainer/HealerTrainer.java
ai/npc/Trandon/Trandon.java ai/npc/Trandon/Trandon.java
@@ -218,6 +183,38 @@ ai/zones/Magmeld/ArcanRitual.java
ai/zones/Magmeld/OrbisTempleStatues.java ai/zones/Magmeld/OrbisTempleStatues.java
ai/zones/Magmeld/OrbisTempleTeleports.java ai/zones/Magmeld/OrbisTempleTeleports.java
# Talking Island
ai/zones/TalkingIsland/Banette.java
ai/zones/TalkingIsland/Bink.java
ai/zones/TalkingIsland/Devno.java
ai/zones/TalkingIsland/DrillSergeant.java
ai/zones/TalkingIsland/Eleve.java
ai/zones/TalkingIsland/Gagabu.java
ai/zones/TalkingIsland/Handermonkey.java
ai/zones/TalkingIsland/Heymond.java
ai/zones/TalkingIsland/Karonf.java
ai/zones/TalkingIsland/Lumi.java
ai/zones/TalkingIsland/Mahram.java
ai/zones/TalkingIsland/Mai.java
ai/zones/TalkingIsland/MarinSmith.java
ai/zones/TalkingIsland/Milia.java
ai/zones/TalkingIsland/Oris.java
ai/zones/TalkingIsland/Shannon.java
ai/zones/TalkingIsland/Sodian.java
ai/zones/TalkingIsland/Stiller.java
ai/zones/TalkingIsland/Theodore.java
ai/zones/TalkingIsland/TrainingGolem.java
ai/zones/TalkingIsland/TrainningSoldier.java
ai/zones/TalkingIsland/YeSagiraGuards.java
ai/zones/TalkingIsland/Apprentice/Apprentice.java
ai/zones/TalkingIsland/AwakeningMaster/AwakeningMaster.java
ai/zones/TalkingIsland/Hardin/Hardin.java
ai/zones/TalkingIsland/HarnakUnderground/HarnakUnderground.java
ai/zones/TalkingIsland/MonkOfChaos/MonkOfChaos.java
ai/zones/TalkingIsland/Pantheon/Pantheon.java
ai/zones/TalkingIsland/Raina/Raina.java
ai/zones/TalkingIsland/YeSagiraTeleporter/YeSagiraTeleporter.java
# Village Master # Village Master
village_master/Clan/Clan.java village_master/Clan/Clan.java
village_master/Alliance/Alliance.java village_master/Alliance/Alliance.java

View File

@@ -1,63 +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 ai.individual;
import com.l2jmobius.gameserver.enums.ChatType;
import com.l2jmobius.gameserver.model.actor.L2Npc;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
import com.l2jmobius.gameserver.network.NpcStringId;
import ai.npc.AbstractNpcAI;
/**
* Galad AI.
* @author Gladicek
*/
final class Galad extends AbstractNpcAI
{
// NPCs
private static final int GALAD = 33572;
private Galad()
{
super(Galad.class.getSimpleName(), "ai/individual");
addSpawnId(GALAD);
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
if (event.equals("SPAM_TEXT") && (npc != null))
{
npc.broadcastSocialAction(3);
broadcastNpcSay(npc, ChatType.NPC_GENERAL, NpcStringId.OCCASIONALLY_RARE_JEWELS_OF_GIANTS_ARE_DISCOVERED_IN_THE_BEACH, 1000);
}
return super.onAdvEvent(event, npc, player);
}
@Override
public String onSpawn(L2Npc npc)
{
startQuestTimer("SPAM_TEXT", 8000, npc, null, true);
return super.onSpawn(npc);
}
public static void main(String[] args)
{
new Galad();
}
}

View File

@@ -1,68 +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 ai.individual;
import com.l2jmobius.gameserver.enums.ChatType;
import com.l2jmobius.gameserver.model.actor.L2Npc;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
import com.l2jmobius.gameserver.network.NpcStringId;
import ai.npc.AbstractNpcAI;
/**
* Guard Soldier AI.
* @author Gladicek
*/
final class GuardSoldier extends AbstractNpcAI
{
// NPCs
private static final int GUARD_SOLDIER = 33286;
private GuardSoldier()
{
super(GuardSoldier.class.getSimpleName(), "ai/individual");
addSpawnId(GUARD_SOLDIER);
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
if (event.equals("SPAM_TEXT") && (npc != null))
{
npc.broadcastSocialAction(3);
broadcastNpcSay(npc, ChatType.NPC_GENERAL, NpcStringId.LADY_YOU_MUST_GO_IN, 1000);
}
else if (event.equals("SOCIAL_ACTION") && (npc != null))
{
npc.broadcastSocialAction(2);
}
return super.onAdvEvent(event, npc, player);
}
@Override
public String onSpawn(L2Npc npc)
{
startQuestTimer("SPAM_TEXT", 12000, npc, null, true);
startQuestTimer("SOCIAL_ACTION", 15000, npc, null, true);
return super.onSpawn(npc);
}
public static void main(String[] args)
{
new GuardSoldier();
}
}

View File

@@ -1,67 +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 ai.individual;
import com.l2jmobius.gameserver.enums.ChatType;
import com.l2jmobius.gameserver.model.actor.L2Npc;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
import com.l2jmobius.gameserver.network.NpcStringId;
import ai.npc.AbstractNpcAI;
/**
* Holly AI.
* @author Gladicek
*/
final class Holly extends AbstractNpcAI
{
// NPCs
private static final int HOLLY = 33219;
private Holly()
{
super(Holly.class.getSimpleName(), "ai/individual");
addSpawnId(HOLLY);
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
if (event.equals("SPAM_TEXT") && (npc != null))
{
broadcastNpcSay(npc, ChatType.NPC_GENERAL, NpcStringId.GIRAN_SHUTTLE_DOES_NOT_COME_ANYMORE_IT_S_ALL_IN_THE_PAST, 1000);
}
else if (event.equals("SOCIAL_ACTION") && (npc != null))
{
npc.broadcastSocialAction(6);
}
return super.onAdvEvent(event, npc, player);
}
@Override
public String onSpawn(L2Npc npc)
{
startQuestTimer("SPAM_TEXT", 10000, npc, null, true);
startQuestTimer("SOCIAL_ACTION", 2000, npc, null, true);
return super.onSpawn(npc);
}
public static void main(String[] args)
{
new Holly();
}
}

View File

@@ -1,73 +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 ai.individual;
import com.l2jmobius.gameserver.enums.ChatType;
import com.l2jmobius.gameserver.model.actor.L2Npc;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
import com.l2jmobius.gameserver.network.NpcStringId;
import ai.npc.AbstractNpcAI;
/**
* Luderic AI.
* @author Gladicek
*/
final class Luderic extends AbstractNpcAI
{
// NPCs
private static final int LUDERIC = 33575;
// Misc
private static final NpcStringId[] LUDERIC_SHOUT =
{
NpcStringId.THERE_IS_A_DAY_WHERE_YOU_CAN_SEE_EVEN_THE_ADEN_CONTINENT_IF_THE_WEATHER_IS_GOOD,
NpcStringId.IF_I_M_HERE_IT_FEELS_LIKE_TIME_HAS_STOPPED
};
private Luderic()
{
super(Luderic.class.getSimpleName(), "ai/individual");
addSpawnId(LUDERIC);
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
if (event.equals("SPAM_TEXT") && (npc != null))
{
broadcastNpcSay(npc, ChatType.NPC_GENERAL, LUDERIC_SHOUT[getRandom(2)], 1000);
}
else if (event.equals("SOCIAL_ACTION") && (npc != null))
{
npc.broadcastSocialAction(1);
}
return super.onAdvEvent(event, npc, player);
}
@Override
public String onSpawn(L2Npc npc)
{
startQuestTimer("SPAM_TEXT", 7000, npc, null, true);
startQuestTimer("SOCIAL_ACTION", 3000, npc, null, true);
return super.onSpawn(npc);
}
public static void main(String[] args)
{
new Luderic();
}
}

View File

@@ -1,68 +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 ai.individual;
import com.l2jmobius.gameserver.enums.ChatType;
import com.l2jmobius.gameserver.model.actor.L2Npc;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
import com.l2jmobius.gameserver.network.NpcStringId;
import ai.npc.AbstractNpcAI;
/**
* Guard Soldier AI.
* @author Gladicek
*/
final class TomaJunior extends AbstractNpcAI
{
// NPCs
private static final int TOMA_JUNIOR = 33571;
private TomaJunior()
{
super(GuardSoldier.class.getSimpleName(), "ai/individual");
addSpawnId(TOMA_JUNIOR);
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
if (event.equals("SPAM_TEXT") && (npc != null))
{
npc.broadcastSocialAction(3);
broadcastNpcSay(npc, ChatType.NPC_GENERAL, NpcStringId.THE_BEACH_WHERE_RELICS_OF_GIANTS_HAD_FALLEN_HAS_NOW_BECOME_CLEAN, 1000);
}
else if (event.equals("SOCIAL_ACTION") && (npc != null))
{
npc.broadcastSocialAction(6);
}
return super.onAdvEvent(event, npc, player);
}
@Override
public String onSpawn(L2Npc npc)
{
startQuestTimer("SPAM_TEXT", 9000, npc, null, true);
startQuestTimer("SOCIAL_ACTION", 15000, npc, null, true);
return super.onSpawn(npc);
}
public static void main(String[] args)
{
new TomaJunior();
}
}

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
package ai.npc.Apprentice; package ai.zones.TalkingIsland.Apprentice;
import com.l2jmobius.gameserver.enums.ChatType; import com.l2jmobius.gameserver.enums.ChatType;
import com.l2jmobius.gameserver.model.actor.L2Npc; import com.l2jmobius.gameserver.model.actor.L2Npc;
@@ -30,14 +30,14 @@ import ai.npc.AbstractNpcAI;
*/ */
final class Apprentice extends AbstractNpcAI final class Apprentice extends AbstractNpcAI
{ {
// NPCs // NPC
private static final int APPRENTICE = 33124; private static final int APPRENTICE = 33124;
// Skill // Skill
private static final SkillHolder KUKURU = new SkillHolder(9204, 1); // Kukuru private static final SkillHolder KUKURU = new SkillHolder(9204, 1); // Kukuru
private Apprentice() private Apprentice()
{ {
super(Apprentice.class.getSimpleName(), "ai/npc"); super(Apprentice.class.getSimpleName(), "ai/zones/TalkingIsland");
addSpawnId(APPRENTICE); addSpawnId(APPRENTICE);
addStartNpc(APPRENTICE); addStartNpc(APPRENTICE);
addTalkId(APPRENTICE); addTalkId(APPRENTICE);

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
package ai.npc.AwakeningMaster; package ai.zones.TalkingIsland.AwakeningMaster;
import com.l2jmobius.gameserver.ThreadPoolManager; import com.l2jmobius.gameserver.ThreadPoolManager;
import com.l2jmobius.gameserver.data.xml.impl.SkillTreesData; import com.l2jmobius.gameserver.data.xml.impl.SkillTreesData;
@@ -84,7 +84,7 @@ public final class AwakeningMaster extends AbstractNpcAI
private AwakeningMaster() private AwakeningMaster()
{ {
super(AwakeningMaster.class.getSimpleName(), "ai/npc"); super(AwakeningMaster.class.getSimpleName(), "ai/zones/TalkingIsland");
addStartNpc(SIGEL_MASTER, TYRR_MASTER, OTHELL_MASTER, YUL_MASTER, FEOH_MASTER, ISS_MASTER, WYNN_MASTER, AEORE_MASTER); addStartNpc(SIGEL_MASTER, TYRR_MASTER, OTHELL_MASTER, YUL_MASTER, FEOH_MASTER, ISS_MASTER, WYNN_MASTER, AEORE_MASTER);
addTalkId(SIGEL_MASTER, TYRR_MASTER, OTHELL_MASTER, YUL_MASTER, FEOH_MASTER, ISS_MASTER, WYNN_MASTER, AEORE_MASTER); addTalkId(SIGEL_MASTER, TYRR_MASTER, OTHELL_MASTER, YUL_MASTER, FEOH_MASTER, ISS_MASTER, WYNN_MASTER, AEORE_MASTER);
addFirstTalkId(SIGEL_MASTER, TYRR_MASTER, OTHELL_MASTER, YUL_MASTER, FEOH_MASTER, ISS_MASTER, WYNN_MASTER, AEORE_MASTER); addFirstTalkId(SIGEL_MASTER, TYRR_MASTER, OTHELL_MASTER, YUL_MASTER, FEOH_MASTER, ISS_MASTER, WYNN_MASTER, AEORE_MASTER);

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
package ai.individual; package ai.zones.TalkingIsland;
import com.l2jmobius.gameserver.enums.ChatType; import com.l2jmobius.gameserver.enums.ChatType;
import com.l2jmobius.gameserver.model.actor.L2Npc; import com.l2jmobius.gameserver.model.actor.L2Npc;
@@ -41,7 +41,7 @@ final class Banette extends AbstractNpcAI
private Banette() private Banette()
{ {
super(Banette.class.getSimpleName(), "ai/individual"); super(Banette.class.getSimpleName(), "ai/zones/TalkingIsland");
addSpawnId(BANETTE); addSpawnId(BANETTE);
} }

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
package ai.individual; package ai.zones.TalkingIsland;
import com.l2jmobius.gameserver.enums.ChatType; import com.l2jmobius.gameserver.enums.ChatType;
import com.l2jmobius.gameserver.model.actor.L2Npc; import com.l2jmobius.gameserver.model.actor.L2Npc;
@@ -34,7 +34,7 @@ final class Bink extends AbstractNpcAI
private Bink() private Bink()
{ {
super(Bink.class.getSimpleName(), "ai/individual"); super(Bink.class.getSimpleName(), "ai/zones/TalkingIsland");
addSpawnId(BINK); addSpawnId(BINK);
} }

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
package ai.individual; package ai.zones.TalkingIsland;
import com.l2jmobius.gameserver.enums.ChatType; import com.l2jmobius.gameserver.enums.ChatType;
import com.l2jmobius.gameserver.model.Location; import com.l2jmobius.gameserver.model.Location;
@@ -55,7 +55,7 @@ final class Devno extends AbstractNpcAI
private Devno() private Devno()
{ {
super(Devno.class.getSimpleName(), "ai/individual"); super(Devno.class.getSimpleName(), "ai/zones/TalkingIsland");
addSpawnId(DEVNO); addSpawnId(DEVNO);
} }

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
package ai.individual; package ai.zones.TalkingIsland;
import com.l2jmobius.gameserver.model.actor.L2Character; import com.l2jmobius.gameserver.model.actor.L2Character;
import com.l2jmobius.gameserver.model.actor.L2Npc; import com.l2jmobius.gameserver.model.actor.L2Npc;
@@ -38,7 +38,7 @@ final class DrillSergeant extends AbstractNpcAI
private DrillSergeant() private DrillSergeant()
{ {
super(DrillSergeant.class.getSimpleName(), "ai/individual"); super(DrillSergeant.class.getSimpleName(), "ai/zones/TalkingIsland");
addSpawnId(SERGANT); addSpawnId(SERGANT);
} }

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
package ai.individual; package ai.zones.TalkingIsland;
import com.l2jmobius.gameserver.enums.ChatType; import com.l2jmobius.gameserver.enums.ChatType;
import com.l2jmobius.gameserver.model.Location; import com.l2jmobius.gameserver.model.Location;
@@ -54,7 +54,7 @@ final class Eleve extends AbstractNpcAI
private Eleve() private Eleve()
{ {
super(Eleve.class.getSimpleName(), "ai/individual"); super(Eleve.class.getSimpleName(), "ai/zones/TalkingIsland");
addSpawnId(ELEVE); addSpawnId(ELEVE);
} }

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
package ai.individual; package ai.zones.TalkingIsland;
import com.l2jmobius.gameserver.enums.ChatType; import com.l2jmobius.gameserver.enums.ChatType;
import com.l2jmobius.gameserver.model.actor.L2Npc; import com.l2jmobius.gameserver.model.actor.L2Npc;
@@ -40,7 +40,7 @@ final class Gagabu extends AbstractNpcAI
private Gagabu() private Gagabu()
{ {
super(Gagabu.class.getSimpleName(), "ai/individual"); super(Gagabu.class.getSimpleName(), "ai/zones/TalkingIsland");
addSpawnId(GAGABU); addSpawnId(GAGABU);
} }

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
package ai.individual; package ai.zones.TalkingIsland;
import com.l2jmobius.gameserver.ai.CtrlIntention; import com.l2jmobius.gameserver.ai.CtrlIntention;
import com.l2jmobius.gameserver.model.Location; import com.l2jmobius.gameserver.model.Location;
@@ -34,7 +34,7 @@ final class Handermonkey extends AbstractNpcAI
private Handermonkey() private Handermonkey()
{ {
super(Handermonkey.class.getSimpleName(), "ai/npc"); super(Handermonkey.class.getSimpleName(), "ai/zones/TalkingIsland");
addSpawnId(HANDERMONKEY); addSpawnId(HANDERMONKEY);
} }

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
package ai.npc.Hardin; package ai.zones.TalkingIsland.Hardin;
import com.l2jmobius.gameserver.data.xml.impl.CategoryData; import com.l2jmobius.gameserver.data.xml.impl.CategoryData;
import com.l2jmobius.gameserver.enums.CategoryType; import com.l2jmobius.gameserver.enums.CategoryType;
@@ -37,7 +37,7 @@ final class Hardin extends AbstractNpcAI
private Hardin() private Hardin()
{ {
super(Hardin.class.getSimpleName(), "ai/npc"); super(Hardin.class.getSimpleName(), "ai/zones/TalkingIsland");
addFirstTalkId(HARDIN); addFirstTalkId(HARDIN);
addCondRace(Race.ERTHEIA, "no_race.html"); // TODO: Find proper HTML addCondRace(Race.ERTHEIA, "no_race.html"); // TODO: Find proper HTML
} }

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
package ai.npc.Teleports.HarnakUnderground; package ai.zones.TalkingIsland.HarnakUnderground;
import com.l2jmobius.gameserver.model.Location; import com.l2jmobius.gameserver.model.Location;
import com.l2jmobius.gameserver.model.actor.L2Npc; import com.l2jmobius.gameserver.model.actor.L2Npc;
@@ -36,7 +36,7 @@ final class HarnakUnderground extends AbstractNpcAI
private HarnakUnderground() private HarnakUnderground()
{ {
super(HarnakUnderground.class.getSimpleName(), "ai/npc/Teleports"); super(HarnakUnderground.class.getSimpleName(), "ai/zones/TalkingIsland");
addStartNpc(HADEL); addStartNpc(HADEL);
addTalkId(HADEL); addTalkId(HADEL);
} }

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
package ai.individual; package ai.zones.TalkingIsland;
import com.l2jmobius.gameserver.enums.ChatType; import com.l2jmobius.gameserver.enums.ChatType;
import com.l2jmobius.gameserver.model.actor.L2Npc; import com.l2jmobius.gameserver.model.actor.L2Npc;
@@ -41,7 +41,7 @@ final class Heymond extends AbstractNpcAI
private Heymond() private Heymond()
{ {
super(Heymond.class.getSimpleName(), "ai/individual"); super(Heymond.class.getSimpleName(), "ai/zones/TalkingIsland");
addSpawnId(HEYMOND); addSpawnId(HEYMOND);
} }

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
package ai.individual; package ai.zones.TalkingIsland;
import com.l2jmobius.gameserver.enums.ChatType; import com.l2jmobius.gameserver.enums.ChatType;
import com.l2jmobius.gameserver.model.Location; import com.l2jmobius.gameserver.model.Location;
@@ -54,7 +54,7 @@ final class Karonf extends AbstractNpcAI
private Karonf() private Karonf()
{ {
super(Karonf.class.getSimpleName(), "ai/individual"); super(Karonf.class.getSimpleName(), "ai/zones/TalkingIsland");
addSpawnId(KARONF); addSpawnId(KARONF);
} }

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
package ai.individual; package ai.zones.TalkingIsland;
import com.l2jmobius.gameserver.enums.ChatType; import com.l2jmobius.gameserver.enums.ChatType;
import com.l2jmobius.gameserver.model.actor.L2Npc; import com.l2jmobius.gameserver.model.actor.L2Npc;
@@ -41,7 +41,7 @@ final class Lumi extends AbstractNpcAI
private Lumi() private Lumi()
{ {
super(Lumi.class.getSimpleName(), "ai/individual"); super(Lumi.class.getSimpleName(), "ai/zones/TalkingIsland");
addSpawnId(LUMI); addSpawnId(LUMI);
} }

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
package ai.individual; package ai.zones.TalkingIsland;
import com.l2jmobius.gameserver.enums.ChatType; import com.l2jmobius.gameserver.enums.ChatType;
import com.l2jmobius.gameserver.model.actor.L2Npc; import com.l2jmobius.gameserver.model.actor.L2Npc;
@@ -34,7 +34,7 @@ final class Mahram extends AbstractNpcAI
private Mahram() private Mahram()
{ {
super(Mahram.class.getSimpleName(), "ai/individual"); super(Mahram.class.getSimpleName(), "ai/zones/TalkingIsland");
addSpawnId(MAHRAM); addSpawnId(MAHRAM);
} }

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
package ai.individual; package ai.zones.TalkingIsland;
import com.l2jmobius.gameserver.enums.ChatType; import com.l2jmobius.gameserver.enums.ChatType;
import com.l2jmobius.gameserver.model.actor.L2Npc; import com.l2jmobius.gameserver.model.actor.L2Npc;
@@ -34,7 +34,7 @@ final class Mai extends AbstractNpcAI
private Mai() private Mai()
{ {
super(Mai.class.getSimpleName(), "ai/individual"); super(Mai.class.getSimpleName(), "ai/zones/TalkingIsland");
addSpawnId(MAI); addSpawnId(MAI);
} }

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
package ai.individual; package ai.zones.TalkingIsland;
import com.l2jmobius.gameserver.enums.ChatType; import com.l2jmobius.gameserver.enums.ChatType;
import com.l2jmobius.gameserver.model.actor.L2Npc; import com.l2jmobius.gameserver.model.actor.L2Npc;
@@ -34,7 +34,7 @@ final class MarinSmith extends AbstractNpcAI
private MarinSmith() private MarinSmith()
{ {
super(MarinSmith.class.getSimpleName(), "ai/individual"); super(MarinSmith.class.getSimpleName(), "ai/zones/TalkingIsland");
addSpawnId(MARIN_SMITH); addSpawnId(MARIN_SMITH);
} }

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
package ai.npc.Milia; package ai.zones.TalkingIsland;
import com.l2jmobius.gameserver.enums.ChatType; import com.l2jmobius.gameserver.enums.ChatType;
import com.l2jmobius.gameserver.model.Location; import com.l2jmobius.gameserver.model.Location;
@@ -37,7 +37,7 @@ final class Milia extends AbstractNpcAI
private Milia() private Milia()
{ {
super(Milia.class.getSimpleName(), "ai/npc"); super(Milia.class.getSimpleName(), "ai/zones/TalkingIsland");
addSpawnId(MILIA); addSpawnId(MILIA);
addStartNpc(MILIA); addStartNpc(MILIA);
addTalkId(MILIA); addTalkId(MILIA);

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
package ai.npc.MonkOfChaos; package ai.zones.TalkingIsland.MonkOfChaos;
import java.util.List; import java.util.List;
@@ -57,7 +57,7 @@ final class MonkOfChaos extends AbstractNpcAI
private MonkOfChaos() private MonkOfChaos()
{ {
super(MonkOfChaos.class.getSimpleName(), "ai/npc"); super(MonkOfChaos.class.getSimpleName(), "ai/zones/TalkingIsland");
addStartNpc(MONK_OF_CHAOS); addStartNpc(MONK_OF_CHAOS);
addTalkId(MONK_OF_CHAOS); addTalkId(MONK_OF_CHAOS);
addFirstTalkId(MONK_OF_CHAOS); addFirstTalkId(MONK_OF_CHAOS);

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
package ai.individual; package ai.zones.TalkingIsland;
import com.l2jmobius.gameserver.enums.ChatType; import com.l2jmobius.gameserver.enums.ChatType;
import com.l2jmobius.gameserver.model.actor.L2Npc; import com.l2jmobius.gameserver.model.actor.L2Npc;
@@ -34,7 +34,7 @@ final class Oris extends AbstractNpcAI
private Oris() private Oris()
{ {
super(Oris.class.getSimpleName(), "ai/individual"); super(Oris.class.getSimpleName(), "ai/zones/TalkingIsland");
addSpawnId(ORIS); addSpawnId(ORIS);
} }

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
package ai.npc.Pantheon; package ai.zones.TalkingIsland.Pantheon;
import com.l2jmobius.gameserver.enums.ChatType; import com.l2jmobius.gameserver.enums.ChatType;
import com.l2jmobius.gameserver.model.Location; import com.l2jmobius.gameserver.model.Location;
@@ -42,7 +42,7 @@ final class Pantheon extends AbstractNpcAI
private Pantheon() private Pantheon()
{ {
super(Pantheon.class.getSimpleName(), "ai/npc"); super(Pantheon.class.getSimpleName(), "ai/zones/TalkingIsland");
addSpawnId(PANTHEON); addSpawnId(PANTHEON);
addStartNpc(PANTHEON); addStartNpc(PANTHEON);
addFirstTalkId(PANTHEON); addFirstTalkId(PANTHEON);

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
package ai.npc.Raina; package ai.zones.TalkingIsland.Raina;
import static com.l2jmobius.gameserver.model.base.ClassLevel.THIRD; import static com.l2jmobius.gameserver.model.base.ClassLevel.THIRD;
@@ -136,7 +136,7 @@ public final class Raina extends AbstractNpcAI
private Raina() private Raina()
{ {
super(Raina.class.getSimpleName(), "ai/npc"); super(Raina.class.getSimpleName(), "ai/zones/TalkingIsland");
addStartNpc(RAINA); addStartNpc(RAINA);
addFirstTalkId(RAINA); addFirstTalkId(RAINA);
addTalkId(RAINA); addTalkId(RAINA);

Some files were not shown because too many files have changed in this diff Show More