Example #1
0
 public virtual void EquipItem(Item item)
 {
     if (this.item != null)
     {
         UnequipCurrentItem();
     }
     SetIcon(item);
     this.item = item;
     connectedInventory.DeleteItem(item);
 }
Example #2
0
 void RemoveItemFromRecycler(Item item)
 {
     list.DeleteItem(item);
     playerInventory.AddItem(item);
     RecycleValue -= item.GetSellValue();
 }