public override void OnKilledBy( Mobile mob ) { PlayerMobile pm = mob as PlayerMobile; if ( pm != null && pm.Backpack != null && !pm.SacredQuest ) { YellowKeyFragment key = pm.Backpack.FindItemByType<YellowKeyFragment>(); if ( key != null ) return; key = new YellowKeyFragment(); if ( pm.AddToBackpack( key ) ) { // You have received a glowing key fragment. pm.SendLocalizedMessage( 1113701 ); } else { key.Delete(); // You attempt to retrieve a key fragment but your bag is too full. The master key vanishes. pm.SendLocalizedMessage( 1113702 ); } } }