public void UseInventory() { if (inventory != null && inventory.CanBeUsed(this)) { UseConsumable(inventory); inventory = null; } }