/// <summary> /// Tries to have this Character purchase another Stable Slot. /// </summary> /// <returns>True if successful.</returns> public bool TryBuyStableSlot() { if (StableSlotCount >= PetMgr.MaxStableSlots) { return(false); } var price = PetMgr.GetStableSlotPrice(StableSlotCount); if (Money < price) { return(false); } Money -= price; StableSlotCount++; return(true); }