KeucereusSouthController.java 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. /*
  2. * Copyright (C) 2004-2014 L2J DataPack
  3. *
  4. * This file is part of L2J DataPack.
  5. *
  6. * L2J DataPack is free software: you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation, either version 3 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * L2J DataPack is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. * General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  18. */
  19. package gracia.vehicles.KeucereusSouthController;
  20. import com.l2jserver.gameserver.model.Location;
  21. import com.l2jserver.gameserver.model.VehiclePathPoint;
  22. import gracia.vehicles.AirShipController;
  23. public final class KeucereusSouthController extends AirShipController
  24. {
  25. private static final int DOCK_ZONE = 50603;
  26. private static final int LOCATION = 100;
  27. private static final int CONTROLLER_ID = 32517;
  28. private static final VehiclePathPoint[] ARRIVAL =
  29. {
  30. new VehiclePathPoint(-185312, 246544, 2500),
  31. new VehiclePathPoint(-185312, 246544, 1336)
  32. };
  33. private static final VehiclePathPoint[] DEPART =
  34. {
  35. new VehiclePathPoint(-185312, 246544, 1700, 280, 2000),
  36. new VehiclePathPoint(-186900, 251699, 1700, 280, 2000)
  37. };
  38. private static final VehiclePathPoint[][] TELEPORTS =
  39. {
  40. {
  41. new VehiclePathPoint(-185312, 246544, 1700, 280, 2000),
  42. new VehiclePathPoint(-186900, 251699, 1700, 280, 2000),
  43. new VehiclePathPoint(-186373, 234000, 2500, 0, 0)
  44. },
  45. {
  46. new VehiclePathPoint(-185312, 246544, 1700, 280, 2000),
  47. new VehiclePathPoint(-186900, 251699, 1700, 280, 2000),
  48. new VehiclePathPoint(-206692, 220997, 3000, 0, 0)
  49. },
  50. {
  51. new VehiclePathPoint(-185312, 246544, 1700, 280, 2000),
  52. new VehiclePathPoint(-186900, 251699, 1700, 280, 2000),
  53. new VehiclePathPoint(-235693, 248843, 5100, 0, 0)
  54. }
  55. };
  56. private static final int[] FUEL =
  57. {
  58. 0,
  59. 50,
  60. 100
  61. };
  62. public KeucereusSouthController()
  63. {
  64. super(-1, KeucereusSouthController.class.getSimpleName(), "gracia/vehicles");
  65. addStartNpc(CONTROLLER_ID);
  66. addFirstTalkId(CONTROLLER_ID);
  67. addTalkId(CONTROLLER_ID);
  68. _dockZone = DOCK_ZONE;
  69. addEnterZoneId(DOCK_ZONE);
  70. addExitZoneId(DOCK_ZONE);
  71. _shipSpawnX = -184527;
  72. _shipSpawnY = 243611;
  73. _shipSpawnZ = 3000;
  74. _locationId = LOCATION;
  75. _arrivalPath = ARRIVAL;
  76. _departPath = DEPART;
  77. _teleportsTable = TELEPORTS;
  78. _fuelTable = FUEL;
  79. _oustLoc = new Location(-186148, 246296, 1360);
  80. _movieId = 1000;
  81. validityCheck();
  82. }
  83. }