示例#1
0
        public override void OnDoubleClick(Mobile from)
        {
            Target t;

            if (!IsChildOf(from.Backpack))
            {
                from.SendLocalizedMessage(1060640);                   // The item must be in your backpack to use it.
            }
            else
            {
                from.SendMessage("Select the character you wish to have this sculptor represent.");
                t           = new WaxTarget(this);
                from.Target = t;
            }
        }
示例#2
0
        public override void OnDoubleClick(Mobile from)
        {
            Target t;

            if (!IsChildOf(from.Backpack))
            {
                from.SendLocalizedMessage(1060640);                   // The item must be in your backpack to use it.
            }
            else
            {
                from.SendMessage("What metal object do you want to rub this wax on?");
                t           = new WaxTarget(this);
                from.Target = t;
            }
        }