- Updated WhoGump visibility of same AccessLevel players to resemble regular visibility.

- Vendors should not handle speech starting with their name, only if it is followed by *buy* or *sell*.
- Added most Prism of Light mobiles.
This commit is contained in:
eos 2012-05-06 03:46:11 +00:00
parent fd6d28d56b
commit 6962ed06bf
12 changed files with 805 additions and 10 deletions

View file

@ -125,7 +125,7 @@ namespace Server.Mobiles
((BaseVendor)m_Mobile).VendorSell( from );
m_Mobile.FocusMob = from;
}
else if ( e.HasKeyword( 0x3C ) )
else if ( e.HasKeyword( 0x3C ) ) // *vendor buy*
{
e.Handled = true;
@ -134,12 +134,18 @@ namespace Server.Mobiles
}
else if ( WasNamed( e.Speech ) )
{
e.Handled = true;
if ( e.HasKeyword( 0x177 ) ) // *sell*
{
e.Handled = true;
((BaseVendor)m_Mobile).VendorSell( from );
}
else if ( e.HasKeyword( 0x171 ) ) // *buy*
{
e.Handled = true;
((BaseVendor)m_Mobile).VendorBuy( from );
}
m_Mobile.FocusMob = from;
}