예제 #1
0
        public override void OnDoubleClick(Mobile from)
        {
            if (!m_Chamber.IsOpened() && from.InRange(this, 1))
            {
                Effects.PlaySound(Location, Map, 0x3E8);

                switch (ItemID)
                {
                case 0x108F: ItemID = 0x1090; break;

                case 0x1090: ItemID = 0x108F; break;

                case 0x1091: ItemID = 0x1092; break;

                case 0x1092: ItemID = 0x1091; break;
                }

                m_Chamber.Open();
            }
        }