public void AddItem(Items.ItemList item, int ItemAMT = 1, bool ShowMessage = true)
 {
     foreach (Items Itemz in ItemList)
     {
         if (item.ToString() == Itemz.Name)
         {
             Itemz.Amt += ItemAMT;
         }
     }
 }
 public void UseItem(Items.ItemList ItemChoosen)
 {
     foreach (Items Itemz in ItemList)
     {
         if (ItemChoosen.ToString() == Itemz.Name)
         {
             Itemz.UseItem();
         }
     }
 }
Пример #3
0
 public void OpenMessage(Items.ItemList message)
 {
     TimerStart = true;
     Message    = "Item Get: " + message.ToString();
     MenuFlag   = true;
 }