Esempio n. 1
0
        public override void OnDoubleClick( Mobile from )
        {
            base.OnDoubleClick(from);

            if(!(from is PlayerMobile)) return;

            // make a quest note
            QuestHolder newquest = new QuestHolder();
            newquest.PlayerMade = true;
            newquest.Creator = from as PlayerMobile;
            newquest.Hue = 500;
            from.AddToBackpack(newquest);
            from.SendMessage("A blank quest has been added to your pack!");
        }
Esempio n. 2
0
        public override void OnDoubleClick(Mobile from)
        {
            base.OnDoubleClick(from);

            if (!(from is PlayerMobile))
            {
                return;
            }

            // make a quest note
            QuestHolder newquest = new QuestHolder();

            newquest.PlayerMade = true;
            newquest.Creator    = from as PlayerMobile;
            newquest.Hue        = 500;
            from.AddToBackpack(newquest);
            from.SendMessage("A blank quest has been added to your pack!");
        }