Example #1
0
 public override void GetContextMenuEntries(Mobile from, List <ContextMenuEntry> list)
 {
     if (m_Owner == null)
     {
         return;
     }
     else
     {
         if (m_Owner != from)
         {
             from.SendMessage("Only my owner can release me.  They forgot to. I'm forgetable you see.");
             return;
         }
         else
         {
             base.GetContextMenuEntries(from, list);
             ForgottenContainer.GetContextMenuEntries(from, this, list);
         }
     }
 }
Example #2
0
 public ReleaseEntry(Mobile from, Item item) : base(6118)     // uses "MRelease" entry
 {
     m_Item   = ( ForgottenContainer )item;
     m_Mobile = from;
 }