Пример #1
0
            protected override void OnTarget(Mobile from, object targeted)
            {
                PlayerMobile target = targeted as PlayerMobile;

                if (target != null)
                {
                    if (from.Equals(target))
                    {
                        target.DisplayPaperdollTo(from);
                        from.Send(new DisplayProfile(!from.ProfileLocked, from, "Description of " + from.RawName, from.Profile, "Use the space above to describe your character."));
                    }
                    else
                    {
                        target.SendMessage("You notice that {0} is looking at you.", from.Name);
                        target.DisplayPaperdollTo(from);
                        from.CloseGump(typeof(LookGump));
                        from.SendGump(new LookGump(target));
                    }
                }
                else
                {
                    from.SendMessage("There's nothing special about it, it isn't worth looking...");
                }
            }