public bool BuyShopSlot(ShopSlot slot, IInventory inventory)
 {
     if (slot.Item.Amount <= 0 || !CheckPrice(slot) || !CheckInventorySpace(slot, inventory))
     {
         return(false);
     }
     DarkestDungeonManager.Campaign.Estate.Currencies["gold"].amount -= slot.Cost;
     slot.Item.Amount--;
     slot.UpdateAmount();
     currencyPanel.CurrencyDecreased("gold");
     currencyPanel.UpdateCurrency();
     return(true);
 }