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..."); }
protected override void OnTarget( Mobile from, object targeted ) { if ( from is PlayerMobile && targeted is PlayerMobile ) { if(from.Equals(targeted)) { ((Mobile)targeted).DisplayPaperdollTo( from ); from.Send( new DisplayProfile( !from.ProfileLocked, from, "Description of " + from.RawName, from.Profile, "You are " + ((Account)from.Account).GetTag("Age of " + (from.RawName)) + " years old.") ); } else { ((Mobile)targeted).SendMessage("You notice that {0} is looking at you.", from.Name ); ((Mobile)targeted).DisplayPaperdollTo( from ); from.CloseGump( typeof( lookGump ) ); from.SendGump(new lookGump( from, (Mobile)targeted )); } } else from.SendMessage("There's nothing special about it, it isn't worth looking..."); }
protected override void OnTarget( Mobile from, object targeted ) { if ( from is PlayerMobile && targeted is PlayerMobile ) { if(from.Equals(targeted)) { ((Mobile)targeted).DisplayPaperdollTo( from ); from.Send( new DisplayProfile( !from.ProfileLocked, from, "Opis " + from.Name, from.Profile, "Uzyj tego aby opisac siebie") ); } else { ((Mobile)targeted).SendMessage("Zauwazyles ze {0} spoglada na ciebie.", ((Mobile)targeted).GetNameUseBy(from)); ((Mobile)targeted).DisplayPaperdollTo( from ); from.CloseGump( typeof( lookGump ) ); from.SendGump(new lookGump( from, (Mobile)targeted )); } } else from.SendMessage("Niezuwazasz nic szczegolnego wartego zapamietania..."); }