Exemple #1
0
            public LockingMechanismGump(PlayerMobile pm, EnclosureDoor door)
                : base(25, 25)
            {
                Door = door;
                User = pm;

                Progress = new List <int>();
                Progress.Add(0);

                AddGumpLayout();
            }
Exemple #2
0
        public CubEnclosure()
        {
            AddComponent(new AddonComponent(2103), 0, 0, 0);
            AddComponent(new AddonComponent(2103), 0, 1, 0);
            AddComponent(new AddonComponent(2103), 0, 2, 0);
            AddComponent(new AddonComponent(2102), 1, 2, 0);
            AddComponent(new AddonComponent(2101), 3, 2, 0);
            AddComponent(new AddonComponent(2103), 3, 1, 0);
            AddComponent(new AddonComponent(2103), 3, 0, 0);
            AddComponent(new AddonComponent(2102), 2, -1, 0);
            AddComponent(new AddonComponent(2102), 1, -1, 0);
            AddComponent(new AddonComponent(2102), 3, -1, 0);

            Door          = new EnclosureDoor(this);
            Cub           = new TigerCub();
            Cub.Blessed   = true;
            Cub.RangeHome = 5;

            Cub.Location = new Point3D(Location.X + 1, Location.Y + 1, Location.Z);
        }