This commit is contained in:
mobius
2015-01-01 20:02:50 +00:00
parent eeae660458
commit a6a3718849
17894 changed files with 2818932 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
<html><body>Airship Controller:<br>
You see a floating piece of stone filled with a mysterious power. The green light is flashing, so there doesn't appear to be anything wrong with its function.<br><br>
By manipulating this, you should be able to control the Airship.<br>
<a action="bypass -h Quest SoDController board">Board the Airship.</a><br>
<a action="bypass -h Quest SoDController summon">Summon the Airship.</a><br>
<a action="bypass -h npc_%objectId%_Quest">Quest</a>
</body></html>

View File

@@ -0,0 +1,87 @@
/*
* Copyright (C) 2004-2014 L2J DataPack
*
* This file is part of L2J DataPack.
*
* L2J DataPack 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.
*
* L2J DataPack 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 gracia.vehicles.SoDController;
import com.l2jserver.gameserver.model.Location;
import com.l2jserver.gameserver.model.VehiclePathPoint;
import gracia.vehicles.AirShipController;
public final class SoDController extends AirShipController
{
private static final int DOCK_ZONE = 50601;
private static final int LOCATION = 102;
private static final int CONTROLLER_ID = 32605;
private static final VehiclePathPoint[] ARRIVAL =
{
new VehiclePathPoint(-246445, 252331, 4359, 280, 2000),
};
private static final VehiclePathPoint[] DEPART =
{
new VehiclePathPoint(-245245, 251040, 4359, 280, 2000)
};
private static final VehiclePathPoint[][] TELEPORTS =
{
{
new VehiclePathPoint(-245245, 251040, 4359, 280, 2000),
new VehiclePathPoint(-235693, 248843, 5100, 0, 0)
},
{
new VehiclePathPoint(-245245, 251040, 4359, 280, 2000),
new VehiclePathPoint(-195357, 233430, 2500, 0, 0)
}
};
private static final int[] FUEL =
{
0,
100
};
public SoDController()
{
super(-1, SoDController.class.getSimpleName(), "gracia/vehicles");
addStartNpc(CONTROLLER_ID);
addFirstTalkId(CONTROLLER_ID);
addTalkId(CONTROLLER_ID);
_dockZone = DOCK_ZONE;
addEnterZoneId(DOCK_ZONE);
addExitZoneId(DOCK_ZONE);
_shipSpawnX = -247702;
_shipSpawnY = 253631;
_shipSpawnZ = 4359;
_oustLoc = new Location(-247746, 251079, 4328);
_locationId = LOCATION;
_arrivalPath = ARRIVAL;
_departPath = DEPART;
_teleportsTable = TELEPORTS;
_fuelTable = FUEL;
_movieId = 1003;
validityCheck();
}
}