Shops fully implemented :D

This commit is contained in:
SilicaAndPina 2020-12-12 16:05:18 +13:00
parent 979007c5d8
commit de6b04562e
3 changed files with 117 additions and 50 deletions

View file

@ -155,6 +155,10 @@ namespace HISP.Game
{
return Sold1Format.Replace("%ITEM%", itemName).Replace("%PRICE%", price.ToString());
}
public static string FormatSellAllMessage(string itemName, int price, int sellAmount)
{
return SoldAllFormat.Replace("%AMOUNT%",sellAmount.ToString()).Replace("%ITEM%", itemName).Replace("%PRICE%", price.ToString());
}
public static string FormatBuy25Message(string itemName, int price)
{
return Brought25Format.Replace("%ITEM%", itemName).Replace("%PRICE%", price.ToString());