mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-23 05:05:53 +12:00
Allow for purchasing multiple items at a time.
This commit is contained in:
parent
68975171bb
commit
979007c5d8
5 changed files with 112 additions and 28 deletions
|
@ -103,8 +103,10 @@ namespace HISP.Game
|
|||
public static string CantAfford25;
|
||||
public static string Brought1Format;
|
||||
public static string Brought1ButInventoryFull;
|
||||
public static string Brought5;
|
||||
public static string Brought25;
|
||||
public static string Brought5ButInventoryFull;
|
||||
public static string Brought25ButInventoryFull;
|
||||
public static string Brought5Format;
|
||||
public static string Brought25Format;
|
||||
public static string Sold1Format;
|
||||
public static string SoldAllFormat;
|
||||
|
||||
|
@ -153,6 +155,14 @@ namespace HISP.Game
|
|||
{
|
||||
return Sold1Format.Replace("%ITEM%", itemName).Replace("%PRICE%", price.ToString());
|
||||
}
|
||||
public static string FormatBuy25Message(string itemName, int price)
|
||||
{
|
||||
return Brought25Format.Replace("%ITEM%", itemName).Replace("%PRICE%", price.ToString());
|
||||
}
|
||||
public static string FormatBuy5Message(string itemName, int price)
|
||||
{
|
||||
return Brought5Format.Replace("%ITEM%", itemName).Replace("%PRICE%", price.ToString());
|
||||
}
|
||||
public static string FormatBuyMessage(string itemName, int price)
|
||||
{
|
||||
return Brought1Format.Replace("%ITEM%", itemName).Replace("%PRICE%", price.ToString());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue