public int isCurrencySlot(int slot)
  {
    if (slot == smallCurrencySlot) return smallCurrency;
    if (slot == mediumCurrencySlot) return mediumCurrency;
    if (slot == largeCurrencySlot) return largeCurrency;
    return 0;
  }