示例#1
0
            public ResetKeyNumber(Mobile m, SecretChest c)
                : base(1151609, -1) // Reset Key Number
            {
                Mobile = m;
                Chest  = c;

                if (!c.IsChildOf(m.Backpack) || !Chest.Locked)
                {
                    Flags |= CMEFlags.Disabled;
                }
            }
示例#2
0
            public SetEditKeyNumber(Mobile m, SecretChest c)
                : base(1151608, -1) // Set/Edit Key Number
            {
                Mobile = m;
                Chest  = c;

                if (!c.IsChildOf(m.Backpack))
                {
                    Flags |= CMEFlags.Disabled;
                }
            }