mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-23 21:25:52 +12:00
start work on auto sell
This commit is contained in:
parent
adc52f3b35
commit
770f078992
6 changed files with 94 additions and 4 deletions
|
@ -10,6 +10,9 @@ namespace HISP.Game
|
|||
{
|
||||
public static int RequiredChatViolations;
|
||||
|
||||
// Message Queue
|
||||
public static string MessageQueueHeader;
|
||||
|
||||
// Mod isle
|
||||
public static string ModIsleMessage;
|
||||
|
||||
|
@ -677,6 +680,7 @@ namespace HISP.Game
|
|||
public static string HorseProfileButtonFormat;
|
||||
|
||||
public static string HorseNoAutoSell;
|
||||
public static string HorseAutoSellOthersFormat;
|
||||
public static string HorseAutoSellFormat;
|
||||
public static string HorseAutoSellPriceFormat;
|
||||
public static string HorseCantAutoSellTacked;
|
||||
|
@ -1994,6 +1998,10 @@ namespace HISP.Game
|
|||
{
|
||||
return HorseAutoSellPriceFormat.Replace("%MONEY%", money.ToString("N0", CultureInfo.InvariantCulture));
|
||||
}
|
||||
public static string FormatAutoSellOthers(int price)
|
||||
{
|
||||
return HorseAutoSellOthersFormat.Replace("%PRICE%", price.ToString("N0", CultureInfo.InvariantCulture));
|
||||
}
|
||||
public static string FormatAutoSell(string autoSellStr)
|
||||
{
|
||||
return HorseAutoSellFormat.Replace("%AUTOSELL%", autoSellStr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue