mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-23 05:05:53 +12:00
Shops fully implemented :D
This commit is contained in:
parent
979007c5d8
commit
de6b04562e
3 changed files with 117 additions and 50 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue