예제 #1
0
 public EmergencyRepairEntry(GalleonPilot pilot, Mobile from)
     : base(1116589, 5) // Emergency Repairs
 {
     m_Pilot = pilot;
     m_From  = from;
 }
예제 #2
0
 public RelocateTarget(GalleonPilot pilot, BaseGalleon galleon)
     : base(12, false, TargetFlags.None)
 {
     m_Pilot   = pilot;
     m_Galleon = galleon;
 }
예제 #3
0
 public SecuritySettingsEntry(GalleonPilot pilot, Mobile from)
     : base(1149786, 3)
 {
     m_Pilot = pilot;
     m_From  = from;
 }
예제 #4
0
 public RenameShipEntry(GalleonPilot pilot, Mobile from)
     : base(1111680, 3)
 {
     m_Pilot = pilot;
     m_From  = from;
 }
예제 #5
0
 public RelocateTillermanEntry(GalleonPilot pilot, Mobile from)
     : base(1061829, 3)
 {
     m_Pilot = pilot;
     m_From  = from;
 }
예제 #6
0
 public ResetSecuritySettings(GalleonPilot pilot, Mobile from)
     : base(1060700, 5) // Reset Security
 {
     m_Pilot = pilot;
     m_From  = from;
 }
예제 #7
0
 public ShipRepairEntry(GalleonPilot pilot, Mobile from)
     : base(1116590, 3)
 {
     m_Pilot = pilot;
     m_From  = from;
 }
예제 #8
0
 public ShipRepairEntry(GalleonPilot pilot, Mobile from)
     : base(1116590, 5) // Permanent Repairs
 {
     m_Pilot = pilot;
     m_From  = from;
 }
예제 #9
0
 public MoveTillermanEntry(GalleonPilot pilot, Mobile from)
     : base(1116729, 5) // Move Tillerman
 {
     m_Pilot = pilot;
     m_From  = from;
 }
예제 #10
0
 public SecuritySettingsEntry(GalleonPilot pilot, Mobile from)
     : base(1149786, 3)
 {
     m_Pilot = pilot;
     m_From = from;
 }
예제 #11
0
        public void AddGalleonPilotAndWheel(Direction direction)
        {
            int dir = GetValueForDirection(this.Facing);

            ShipWheel wheel = new ShipWheel(this);
            wheel.ItemID = WheelItemIDs[dir][0];

            GalleonPilot pilot = new GalleonPilot(this);
            pilot.Direction = direction;

            m_Wheel = wheel;
            TillerMan = pilot;
            m_GalleonPilot = pilot;

            switch (direction)
            {
                default:
                case Direction.North:
                    pilot.Location = new Point3D(X, Y + TillerManDistance, Z + ZSurface);
                    wheel.Location = new Point3D(X, Y + WheelDistance, Z + 1);
                    break;
                case Direction.South:
                    pilot.Location = new Point3D(X, Y - TillerManDistance, Z + ZSurface);
                    wheel.Location = new Point3D(X, Y - WheelDistance, Z + 1);
                    break;
                case Direction.East:
                    pilot.Location = new Point3D(X - TillerManDistance, Y, Z + ZSurface);
                    wheel.Location = new Point3D(X - WheelDistance, Y, Z + 1);
                    break;
                case Direction.West:
                    pilot.Location = new Point3D(X + TillerManDistance, Y, Z + ZSurface);
                    wheel.Location = new Point3D(X + WheelDistance, Y, Z + 1);
                    break;
            }
        }
예제 #12
0
 public RelocateTarget(GalleonPilot pilot, BaseGalleon galleon)
     : base(12, false, TargetFlags.None)
 {
     m_Pilot = pilot;
     m_Galleon = galleon;
 }
예제 #13
0
 public RelocateTillermanEntry(GalleonPilot pilot, Mobile from)
     : base(1061829, 3)
 {
     m_Pilot = pilot;
     m_From = from;
 }
예제 #14
0
 public RenameShipEntry(GalleonPilot pilot, Mobile from)
     : base(1111680, 3)
 {
     m_Pilot = pilot;
     m_From = from;
 }
예제 #15
0
 public ShipRepairEntry(GalleonPilot pilot, Mobile from)
     : base(1116590, 3)
 {
     m_Pilot = pilot;
     m_From = from;
 }
예제 #16
0
 public EmergencyRepairEntry(GalleonPilot pilot, Mobile from) : base (1116589, 3)
 {
     m_Pilot = pilot;
     m_From = from;
 }