void PayForInfo(int rupeeTriggerID) { int payAmount = 0; switch (rupeeTriggerID) { case 0: payAmount = GrottoSpawnPoint.saleItemPriceA; break; case 1: payAmount = GrottoSpawnPoint.saleItemPriceB; break; case 2: payAmount = GrottoSpawnPoint.saleItemPriceC; break; default: break; } Inventory inv = Inventory.Instance; if (!inv.TrySpendRupees(payAmount)) { return; } ShowTheGoods(false); string info = GrottoSpawnPoint.payForInfoText[rupeeTriggerID]; Grotto.DisplayMessage(true, info); _hasMadePurchase = true; }
override public void ShowTheGoods(bool doShow = true) { Inventory.Instance.TrySpendRupees(-GiftAmount); ShowRupeeDeduction(doShow); Grotto.DisplayMessage(doShow); }
override public void ShowTheGoods(bool doShow = true) { ShowGift(doShow); Grotto.DisplayMessage(doShow); }
virtual public void ShowTheGoods(bool doShow = true) { Grotto.DisplayMessage(doShow); }
override public void ShowTheGoods(bool doShow = true) { ShowPayForInfoChoices(doShow); Grotto.DisplayMessage(doShow); }
override public void ShowTheGoods(bool doShow = true) { ShowTheShopItems(doShow); Grotto.DisplayMessage(!IsSoldOut); }