Esempio n. 1
0
        public SorcerersPlateController()
            : base(0x1F13)
        {
            Name    = "Sorcerers Plate Controller - Do not remove !!";
            Visible = false;
            Movable = false;

            MoveToWorld(new Point3D(100, 49, -22), Map.Ilshenar);

            CreateSorcerersPlates();

            Item decor;

            decor = new BrightDaemonBloodDecor();
            decor.MoveToWorld(new Point3D(149, 26, -28), Map.Ilshenar);

            decor = new BurlyBoneDecor();
            decor.MoveToWorld(new Point3D(159, 7, -23), Map.Ilshenar);

            decor = new BurstingBrimstoneDecor();
            decor.MoveToWorld(new Point3D(125, 9, -28), Map.Ilshenar);

            decor = new MightyMandrakeDecor();
            decor.MoveToWorld(new Point3D(98, 36, -18), Map.Ilshenar);

            decor = new PerfectBlackPearlDecor();
            decor.MoveToWorld(new Point3D(161, 63, -21), Map.Ilshenar);

            decor = new SorcerersRewardChest();
            decor.MoveToWorld(new Point3D(100, 41, -22), Map.Ilshenar);
        }
        protected override void OnTarget(Mobile from, object o)
        {
            if (o is SorcerersRewardChest)
            {
                SorcerersRewardChest chest = (SorcerersRewardChest)o;

                Container box = (Container)chest;

                box.DropItem(new SalvagerSuitPlans());

                m_From.PublicOverheadMessage(MessageType.Regular, 0x3B2, 1154228); // *You insert the key into the mechanism and turn it. To your delight the lock opens with a click and you remove the contents*

                chest.Locked = false;

                m_Key.Delete();
            }
        }
Esempio n. 3
0
 public ResetTimer(SorcerersRewardChest chest)
     : base(TimeSpan.FromMinutes(Utility.Random(chest.MinSpawnTime, chest.MaxSpawnTime)))
 {
     this.m_Chest  = chest;
     this.Priority = TimerPriority.OneMinute;
 }